OSDN Git Service
Hyunyoung Song [Fri, 30 Sep 2016 23:29:32 +0000 (23:29 +0000)]
Consume ACTION_UP when fling is detected on top of icon
am:
035a516e18
Change-Id: I0eb8f0c83e1a1611d8bb3b9309d69b8df7c7a19d
Hyunyoung Song [Fri, 30 Sep 2016 23:13:55 +0000 (16:13 -0700)]
Consume ACTION_UP when fling is detected on top of icon
Bug: Adam found out that when you swipe down fast on an icon, you can
launch search AND launch an app. Only one should trigger and not both.
Change-Id: I66b9df26d8bb355f011d057dafd45f90f59b82ae
Hyunyoung Song [Fri, 30 Sep 2016 20:57:21 +0000 (20:57 +0000)]
Merge "Agressively change the color of the the all apps background during pull up b/
30502942" into ub-launcher3-calgary-polish
am:
37ecabc88e
Change-Id: I9bd651924636488451e000d805eda3113e334932
Hyunyoung Song [Fri, 30 Sep 2016 20:57:20 +0000 (20:57 +0000)]
Agressively change the color of the the all apps background during pull up b/
30502942
am:
81a56f9acc
Change-Id: I0f3bd04b2bb69dbeb2f4578c74fdbfa5b34c0e8b
Hyunyoung Song [Fri, 30 Sep 2016 20:53:21 +0000 (20:53 +0000)]
Merge "Agressively change the color of the the all apps background during pull up b/
30502942" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 30 Sep 2016 19:57:16 +0000 (12:57 -0700)]
Agressively change the color of the the all apps background during pull up
b/
30502942
Change-Id: Iea072d95ed4f62907b164b2c4ee75ad737eccb7a
Sunny Goyal [Fri, 30 Sep 2016 19:18:25 +0000 (12:18 -0700)]
Removing some TODOs with proper system API
Change-Id: I0d0e667cd6af8a7b9dbf3d0fd417f009ae402519
Bill Yi [Thu, 29 Sep 2016 07:39:42 +0000 (07:39 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
am:
f7f41bd4fa -s ours
Change-Id: Ia9a560e703630cc152ea32c667b49b37a7caee5b
Bill Yi [Thu, 29 Sep 2016 07:39:42 +0000 (07:39 +0000)]
Import translations. DO NOT MERGE
am:
2b7b76c018 -s ours
Change-Id: I834461c358294cc7c6e04cc53b0c04804af799be
TreeHugger Robot [Thu, 29 Sep 2016 07:31:07 +0000 (07:31 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
TreeHugger Robot [Thu, 29 Sep 2016 07:30:45 +0000 (07:30 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
Bill Yi [Thu, 29 Sep 2016 04:51:45 +0000 (21:51 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie8f3d7887e173108cb485370443068a0a346134a
Auto-generated-cl: translation import
Bill Yi [Thu, 29 Sep 2016 04:50:56 +0000 (21:50 -0700)]
Import translations. DO NOT MERGE
Change-Id: I654a22df571448ce858325439e0d73a0d0bbe623
Auto-generated-cl: translation import
Tony Wickham [Thu, 29 Sep 2016 01:36:19 +0000 (01:36 +0000)]
Merge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish
am:
f0fc3c4674
Change-Id: I965c225ab3ab0062c2176af933e019e77011a745
Tony Wickham [Thu, 29 Sep 2016 01:36:18 +0000 (01:36 +0000)]
Some minor fixes for extracted status bar.
am:
345bff3ce6
Change-Id: I3a9e57fb93124b1d462b0fb8173419b887e85a84
Tony Wickham [Thu, 29 Sep 2016 01:27:07 +0000 (01:27 +0000)]
Merge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 28 Sep 2016 23:53:42 +0000 (23:53 +0000)]
Merge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish
am:
d5e1ca2d05
Change-Id: I576f05f943df3b9aaf5e318d9d8afe7f54591a61
Tony Wickham [Wed, 28 Sep 2016 23:53:41 +0000 (23:53 +0000)]
Decrease drop target left and right padding.
am:
e0dab19c71
Change-Id: If9c1fcaa99fb9e41eefa61895752f1a7558c29bf
Tony Wickham [Wed, 28 Sep 2016 22:34:51 +0000 (15:34 -0700)]
Some minor fixes for extracted status bar.
- setLightStatusBar() is now updateStatusBar(), with a forceLight
parameter. We set the status bar to be light if forceLight or
shouldBeLightStatusBar() (based on wallpaper).
- Force status bar to be light if all apps is open.
- Default to dark status bar, not light (light == dark icons)
Bug:
29452834
Change-Id: I7b102ceff2f1ef2ab8defd4a46c698df4feaf2a5
Tony Wickham [Wed, 28 Sep 2016 23:47:07 +0000 (23:47 +0000)]
Merge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 28 Sep 2016 23:22:36 +0000 (16:22 -0700)]
Decrease drop target left and right padding.
Otherwise it looks like we are aggressively truncating the
text even though there is plenty of room to show it.
Bug:
31790418
Change-Id: Ia1cdc232f05815732d4cb95b954e935724a200fd
Sunny Goyal [Wed, 28 Sep 2016 23:01:38 +0000 (23:01 +0000)]
Merge "Fixing the newIntent logic to check the state before it has been reset." into ub-launcher3-calgary-polish
am:
7bb7ead9f7
Change-Id: Ic98c407acb2d0816ea18e2930e137eaa32d6a1e6
Sunny Goyal [Wed, 28 Sep 2016 23:01:38 +0000 (23:01 +0000)]
Fixing the newIntent logic to check the state before it has been reset.
am:
85313735fa
Change-Id: I3a43a49c467a750adb031df4c3b880d453116739
Sunny Goyal [Wed, 28 Sep 2016 22:57:56 +0000 (22:57 +0000)]
Merge "Fixing the newIntent logic to check the state before it has been reset." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 28 Sep 2016 21:40:28 +0000 (14:40 -0700)]
resolve merge conflicts of
9311387 to ub-launcher3-master
Change-Id: I449cd2c91c2906f04ebf844eab2d02befaeb2f4d
Tony Wickham [Wed, 14 Sep 2016 23:46:32 +0000 (16:46 -0700)]
Enable light status bar when top of wallpaper is light.
(Light status bar = dark icons)
Bug:
29452834
Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
Sunny Goyal [Wed, 28 Sep 2016 19:00:07 +0000 (12:00 -0700)]
Fixing the newIntent logic to check the state before it has been reset.
When home button is pressed, we reset all active state (close all-apps,
folder, shortcuts menu). But we do not go to the default screen if the
active state was non-zero (any of the containers were open).
Change-Id: Ia9a06729d65767124471c5b793323a55d822210a
Sunny Goyal [Wed, 28 Sep 2016 19:10:26 +0000 (19:10 +0000)]
Merge "Cleaning up restore instance state logic" into ub-launcher3-master
Sunny Goyal [Tue, 27 Sep 2016 21:38:58 +0000 (14:38 -0700)]
Cleaning up restore instance state logic
Restore instance state is only used for first binding. But in case of restore,
the binding happens synchronously, so there is not need to store the bundle
in a global variable
Change-Id: Ibc496bcd7c0d171056b8afc69f2c4d9a1270d40c
Hyunyoung Song [Wed, 28 Sep 2016 02:54:19 +0000 (02:54 +0000)]
Add user event logging for action on search box b/
31772967
am:
ffad962092
Change-Id: Ifb7364bc68bd4021e85241c793b223514e214f42
Hyunyoung Song [Wed, 28 Sep 2016 01:07:00 +0000 (18:07 -0700)]
Add user event logging for action on search box
b/
31772967
Change-Id: Ide652ddfad931e392b21f5a2bbdf9f07729d0383
Sunny Goyal [Tue, 27 Sep 2016 17:11:10 +0000 (17:11 +0000)]
Merge "Removing reflection from AlphabeticIndexCompat" into ub-launcher3-calgary-polish
am:
1b7e9bc063
Change-Id: I22f83a9850f63a1a2bb00becd7fd1ce2610a2ab9
Sunny Goyal [Tue, 27 Sep 2016 17:11:10 +0000 (17:11 +0000)]
Removing reflection from AlphabeticIndexCompat
am:
70fea7877d
Change-Id: I9e07b178e6911079e8575397167cc0e30aaa4aeb
Sunny Goyal [Tue, 27 Sep 2016 17:03:34 +0000 (17:03 +0000)]
Merge "Removing reflection from AlphabeticIndexCompat" into ub-launcher3-calgary-polish
Sunny Goyal [Mon, 26 Sep 2016 23:46:38 +0000 (16:46 -0700)]
Removing reflection from AlphabeticIndexCompat
Bug:
31596662
Change-Id: I23da4a9747daa3cee6cec961fc590d18bf05791a
Bill Yi [Tue, 27 Sep 2016 03:25:19 +0000 (03:25 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
am:
ef6c04633c -s ours
Change-Id: I64c1545e8fcc4fd1b88f1d31f045a151cc9e0704
Bill Yi [Tue, 27 Sep 2016 03:25:18 +0000 (03:25 +0000)]
Import translations. DO NOT MERGE
am:
eeb712f111 -s ours
Change-Id: Idc91e3b0e07c511aa6ddb15afe910a8d64421e23
TreeHugger Robot [Tue, 27 Sep 2016 03:11:06 +0000 (03:11 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
TreeHugger Robot [Tue, 27 Sep 2016 03:10:36 +0000 (03:10 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
Jonathan Miranda [Tue, 27 Sep 2016 02:43:53 +0000 (02:43 +0000)]
Merge "Ignore long clicks triggered from the edge of screen." into ub-launcher3-master
Jon Miranda [Mon, 26 Sep 2016 21:01:56 +0000 (14:01 -0700)]
Restore AllAppsContainerView UI to match spec.
Did some refactoring with Sunny's help.
Change-Id: Ie4c90c316f1e381829836e11c83eaaedfed4d621
Jon Miranda [Fri, 23 Sep 2016 15:54:40 +0000 (08:54 -0700)]
Ignore long clicks triggered from the edge of screen.
Bug:
31572404
Change-Id: Ie531941669549ce84b92302b95be94555ee0bb73
Tony [Mon, 26 Sep 2016 20:59:51 +0000 (20:59 +0000)]
Don't attempt to add item back to folder when deferring drag.
am:
1cf412ca91
Change-Id: Ic8bf5568b9811558bf20fac721b17dfa80803e8a
Bill Yi [Mon, 26 Sep 2016 14:23:20 +0000 (07:23 -0700)]
Import translations. DO NOT MERGE
Change-Id: I3d2522be78fb84923918d056b22fa00d2ee612f8
Auto-generated-cl: translation import
Bill Yi [Mon, 26 Sep 2016 14:22:30 +0000 (07:22 -0700)]
Import translations. DO NOT MERGE
Change-Id: I52c77c4ced9b7ebb7d00e1256ec9ed82de13a2ba
Auto-generated-cl: translation import
Tony [Sat, 24 Sep 2016 02:42:53 +0000 (19:42 -0700)]
resolve merge conflicts of
6e74e89 to ub-launcher3-master
Change-Id: I34e449ca3a91ee06e1983ac3a83cb7ca53567a91
Tony [Sat, 24 Sep 2016 01:58:37 +0000 (18:58 -0700)]
Don't attempt to add item back to folder when deferring drag.
Since the item hasn't yet been removed until the deferred drag
starts, adding it again will throw an exception (the view
already has a parent).
Bug:
30769920
Change-Id: Icb95aaa64e6e3c5dc105bbf3e54460b529d02033
Tony Wickham [Mon, 19 Sep 2016 21:06:31 +0000 (14:06 -0700)]
Refactor shortcuts drag and drop.
- Instead of creating our own drag view within the container, and
handling logic to determine when to start a real drag, we start
the drag immediately and just defer onDragStart().
- To determine when the deferred drag should start, we add a
DeferDragCondition to DragOptions. The default DeferDragCondition
never defers a drag, but is overridden for apps with shortcuts
to defer until the icon is dragged a given distance.
- Because the drag is handled in DragController, including checking
when to start the deferred drag, DeepShortcutsContainer no longer
needs to handle touch events and ShortcutsContainerListener has
been removed.
This change has several immediate benefits:
- The code is much cleaner, because it allows touch handling to be
done by the DragController through the normal drag flow, without
recreating logic in ShortcutsContainerListener/DeepShortcutContainer.
- The janky second haptic feedback has been removed (now it vibrates
when you long press, like everywhere else, but not again when the
shortcuts close after dragging a distance).
- Drops are animated, instead of just popping the icon back into place.
Bug:
30769920
Bug:
30465972
Bug:
31533078
Change-Id: I679b412b72fbf6c3895d76963311eb5010c8e8db
Jonathan Miranda [Fri, 23 Sep 2016 23:44:30 +0000 (23:44 +0000)]
Merge "Move handling touch logic from AllAppsContainerView to BaseContainerView." into ub-launcher3-master
Sunny Goyal [Fri, 23 Sep 2016 23:23:03 +0000 (23:23 +0000)]
Merge "Resize only one widget at a time" into ub-launcher3-master
Sunny Goyal [Fri, 23 Sep 2016 18:01:10 +0000 (11:01 -0700)]
Resize only one widget at a time
> Removing logic to have multiple widgets in resize mode
> Making ResizeFrame a touch controller, so that it fits well with
other touch interaction in drag layer
> Chaning the method names in touch controller, so that it do not
overlaps with the default View methods
Change-Id: I85d4dbdfc82d078781adbce137dfaaea59c9c83d
Sunny Goyal [Fri, 23 Sep 2016 17:42:56 +0000 (17:42 +0000)]
Removing center vertical from folder gravity.
am:
00341907b7
Change-Id: I436d3577f03dc4178a72e52bd49853c417c3d314
Sunny Goyal [Fri, 23 Sep 2016 17:19:39 +0000 (10:19 -0700)]
Removing center vertical from folder gravity.
Using center vertical alogn with a fixed height, overrides
the custom drawable padding and divides the available space
proportionally between padding and drawable padding
Change-Id: I4523543ab3007ef40eac69d878d2afbca13b483a
Jon Miranda [Thu, 22 Sep 2016 23:50:17 +0000 (16:50 -0700)]
Move handling touch logic from AllAppsContainerView to BaseContainerView.
Now both AllAppsContainerView and WidgetsContainerView will be
dismissed when the background is clicked.
Bug:
27130340
Change-Id: Ie8446e4b8908742ddc8a227fe71ea56ec11c2457
Tony Wickham [Fri, 23 Sep 2016 00:37:14 +0000 (00:37 +0000)]
Merge "Stop jumping to workspace from hotseat on quick drop." into ub-launcher3-calgary-polish
am:
c980735560
Change-Id: Ief6ebc05301a56cf56a72acc433f9ee4a2e60fb3
Tony Wickham [Fri, 23 Sep 2016 00:37:12 +0000 (00:37 +0000)]
Stop jumping to workspace from hotseat on quick drop.
am:
dbf08b4aee
Change-Id: Id1a4c65f14810dcf3e6534796d797603070c5d68
Tony Wickham [Fri, 23 Sep 2016 00:35:14 +0000 (00:35 +0000)]
Merge "Remove shortcuts that no longer exist or are no longer pinned." into ub-launcher3-calgary-polish
am:
39ce3d119b
Change-Id: I04ac79eaf01c0257633e06c64f572a68ab21df87
Tony Wickham [Fri, 23 Sep 2016 00:35:13 +0000 (00:35 +0000)]
Remove shortcuts that no longer exist or are no longer pinned.
am:
7695e603bf
Change-Id: I525c3342a7559f1cd831cbd4f56c2acd8b6875b9
Tony Wickham [Fri, 23 Sep 2016 00:34:53 +0000 (00:34 +0000)]
Merge "Stop jumping to workspace from hotseat on quick drop." into ub-launcher3-calgary-polish
Tony Wickham [Fri, 23 Sep 2016 00:32:21 +0000 (00:32 +0000)]
Merge "Remove shortcuts that no longer exist or are no longer pinned." into ub-launcher3-calgary-polish
Tony Wickham [Fri, 5 Aug 2016 19:44:51 +0000 (12:44 -0700)]
Remove shortcuts that no longer exist or are no longer pinned.
(This change is in the onShortcutsChanged() callback.)
- Remove all workspace icons that correspond to shortcuts that
are now unpinned
- Remove all workspace icons that have the same package and
user handle as passed in onShortcutsChanged(), if they aren't
included in the list of shortcuts that is also passed.
These cases will happen for static and dynamic shortcuts,
respectively, when an app's data is cleared.
Bug:
30316501
Change-Id: I50db6567cb318d087012ab5d8208e765b81c6f99
Tony Wickham [Thu, 22 Sep 2016 21:09:19 +0000 (21:09 +0000)]
Move shortcut fade interpolator outside of loop.
am:
e5a00c6172
Change-Id: I7b2c15b04a7656b136f5d6f0c54f13030c5b9563
Tony Wickham [Thu, 22 Sep 2016 20:08:42 +0000 (20:08 +0000)]
Merge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polish
am:
4d917a9793
Change-Id: I3e6d8d1e8e74c31bffb166f72d3e3e87f017ffea
Tony Wickham [Thu, 22 Sep 2016 20:08:40 +0000 (20:08 +0000)]
Fade deep shorcuts in and out.
am:
b318c0e396
Change-Id: Ib31d1878822ec42ad8fdfcfd78636ea4b2472cae
Tony Wickham [Thu, 22 Sep 2016 20:01:46 +0000 (13:01 -0700)]
Move shortcut fade interpolator outside of loop.
Change-Id: I64806897afcd1062dfbaefd6dca07f024f7346af
Tony Wickham [Thu, 22 Sep 2016 19:55:52 +0000 (19:55 +0000)]
Merge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polish
Tony Wickham [Tue, 20 Sep 2016 23:15:13 +0000 (16:15 -0700)]
Fade deep shorcuts in and out.
Animate open:
- Stagger-fade shortcuts as they open
- Become fully opaque before fully open, at which point the
arrow animates in (scale). This way there is no overlap of
a translucent shortcut over an opaque arrow.
Animate close:
- Stagger-fade shortcuts as they close
- Delay fade until arrow animation is finished, to ensure
there is no overlapping of translucent and opaque.
This is much less visually jarring when quickly dragging
and dropping apps with shortcuts.
Bug:
31533078
Change-Id: I8673ee64e92414c718233ea89b70362187e53696
Jonathan Miranda [Thu, 22 Sep 2016 19:22:50 +0000 (19:22 +0000)]
Merge "Move TransformingTouchDelegate logic to BaseContainerView." into ub-launcher3-master
Hyunyoung Song [Thu, 22 Sep 2016 18:24:23 +0000 (18:24 +0000)]
Merge "Fixing two critical bugs in all apps transition controller" into ub-launcher3-calgary am:
b7d16b7e5c
am:
f4502973cc
Change-Id: I5ff208db9d23b5348aa88015650c962278aaf49b
Hyunyoung Song [Thu, 22 Sep 2016 18:21:53 +0000 (18:21 +0000)]
Merge "Fixing two critical bugs in all apps transition controller" into ub-launcher3-calgary
am:
b7d16b7e5c
Change-Id: I95a6bfc2247eb98d5c3758589989bcaf2657e072
Hyunyoung Song [Thu, 22 Sep 2016 18:20:54 +0000 (18:20 +0000)]
Fixing two critical bugs in all apps transition controller am:
0a9c092c89
am:
ea045e7532
Change-Id: I64a1d4620427d4c7d9dcb67a27dc07fb1f5aa03b
Hyunyoung Song [Thu, 22 Sep 2016 18:17:25 +0000 (18:17 +0000)]
Fixing two critical bugs in all apps transition controller
am:
0a9c092c89
Change-Id: I115b7bc6d165dc9d5e73e1878b96d194bfc62da7
Jon Miranda [Wed, 21 Sep 2016 21:27:41 +0000 (14:27 -0700)]
Move TransformingTouchDelegate logic to BaseContainerView.
In ag/
1460444 we used TransformingTouchDelegate to extend the
touch target for the widgets list. Now both WidgetsContainerView
and AllAppsContainerView will use the same TransformingTouchDelegate logic
to extend the touch target for their respective lists.
This is part of a larger refactor where in a follow up CL, we will
handle the logic for dismissing WCV and AACV when touching outside
of its content in BaseContainerView. (currently broken in WCV).
Change-Id: I7fddb456bba34a6533f8824da0481d308a8b715e
Hyunyoung Song [Thu, 22 Sep 2016 17:36:40 +0000 (17:36 +0000)]
Merge "Fixing two critical bugs in all apps transition controller" into ub-launcher3-calgary
Bill Yi [Thu, 22 Sep 2016 09:56:31 +0000 (09:56 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
am:
abb607fc9b -s ours
Change-Id: Ie324250d9e2f2fab6b2557e1122e9065f96067d1
Bill Yi [Thu, 22 Sep 2016 09:56:30 +0000 (09:56 +0000)]
Import translations. DO NOT MERGE
am:
0fe66d46ae -s ours
Change-Id: I1893eda4c98c2f8c1e88344b026ea94819654b47
TreeHugger Robot [Thu, 22 Sep 2016 09:53:25 +0000 (09:53 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
TreeHugger Robot [Thu, 22 Sep 2016 09:52:46 +0000 (09:52 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
Bill Yi [Thu, 22 Sep 2016 07:18:16 +0000 (00:18 -0700)]
Import translations. DO NOT MERGE
Change-Id: I343b48a459a76f8095562da1d4e6b06ec58acb37
Auto-generated-cl: translation import
Bill Yi [Thu, 22 Sep 2016 07:17:47 +0000 (00:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: Idd135c03ff2a6ff9d08ca6c4e9e5ec6ae1520efa
Auto-generated-cl: translation import
Hyunyoung Song [Thu, 22 Sep 2016 00:30:50 +0000 (00:30 +0000)]
Merge "Make IME less sticky when launching a new app b/
31382106" into ub-launcher3-calgary-polish
am:
1c8c3c1f05
Change-Id: Icbb7207443592d97922cfeeab384e83ee0b8e019
Hyunyoung Song [Thu, 22 Sep 2016 00:30:49 +0000 (00:30 +0000)]
Make IME less sticky when launching a new app b/
31382106
am:
7e83ab90ae
Change-Id: I1f3fac72ce6ba14ea0c116f71f398ff2727469af
Hyunyoung Song [Thu, 22 Sep 2016 00:10:55 +0000 (00:10 +0000)]
Merge "Make IME less sticky when launching a new app b/
31382106" into ub-launcher3-calgary-polish
Hyunyoung Song [Thu, 22 Sep 2016 00:03:56 +0000 (17:03 -0700)]
Make IME less sticky when launching a new app
b/
31382106
Change-Id: Iee60a2f7e6a70858623e80d4b8b68154d1941210
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:55:58 +0000 (19:55 +0000)]
Merge "Created include filters for jacoco" into ub-launcher3-calgary am:
d6925a9f70
am:
98c7c2fc80
Change-Id: Iff4f4e0648251fbc3823c0d3bf079ee2824f0e56
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:55:50 +0000 (19:55 +0000)]
Created include filters for jacoco am:
687c345f9e
am:
62f55c0d1a
Change-Id: Ie6d60eb3bc8623e3fdd607a41f26fc8f43f61242
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:53:20 +0000 (19:53 +0000)]
Merge "Created include filters for jacoco" into ub-launcher3-calgary
am:
d6925a9f70
Change-Id: I163101ef0a64eb38e47597db49b644290d5bb3c3
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:53:20 +0000 (19:53 +0000)]
Created include filters for jacoco
am:
687c345f9e
Change-Id: Iba826f45c2a0c0d5952090d2f454f18c7534403d
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:47:05 +0000 (19:47 +0000)]
Merge "Created include filters for jacoco" into ub-launcher3-calgary
Hyunyoung Song [Wed, 21 Sep 2016 05:50:06 +0000 (22:50 -0700)]
Fixing two critical bugs in all apps transition controller
bug#1: if long press from page indicator region, you can pull up all apps
even though the workspace is in overview state.
bug#2: all apps should not intercept touch not only in overview mode
but also in any modal state.
Change-Id: I91c0a181f037f6c2465a983825da3a2da7e2920f
Tony Wickham [Tue, 13 Sep 2016 01:09:33 +0000 (18:09 -0700)]
Stop jumping to workspace from hotseat on quick drop.
Regression occurred in ag/
1315317.
In that change, Launcher#enterSpringLoadedDragMode() was moved from
the end of startDrag() to the end of onDragStart(). This changed the
sequence of events from:
beginDragShared() --> DragController#startDrag() --> onDragStart -->
dropTarget.onDragOver() --> Launcher#enterSpringLoadedDragMode()
to:
beginDragShared() --> DragController#startDrag() --> onDragStart -->
Launcher#enterSpringLoadedDragMode() --> onDragOver()
Basically, the key difference is that onDragOver() is called after
enterSpringLoadedDragMode(). This matters, because onDragOver()
returns early if Workspace#transitionStateShouldAllowDrop() returns
false, which it does during the spring loaded transition. This meant
that onDragOver() didn't update the layout to be Hotseat, and thus
the current workspace page was used as default, since that is what
was set in onDragEnter(). To fix it, I've copied the logic in
onDragOver() that checks to see if the drag is over the hotseat first
to a new method that onDragEnter() now calls as well.
Bug:
31245181
Change-Id: Ie758921b25fc96516a09c32bdc9706da941522df
Hyunyoung Song [Tue, 20 Sep 2016 21:50:27 +0000 (21:50 +0000)]
Merge "Fix ExtendedEditText not handling touch correctly b/
31555902" into ub-launcher3-calgary-polish
am:
13c14c8f8c
Change-Id: I6dfc939480c54909e34e5ae6747bd22e86fa5368
Hyunyoung Song [Tue, 20 Sep 2016 21:50:26 +0000 (21:50 +0000)]
Fix ExtendedEditText not handling touch correctly b/
31555902
am:
3f9d647de6
Change-Id: I8222f4f386f3322d167bce070070bf473685d789
Hyunyoung Song [Tue, 20 Sep 2016 21:10:34 +0000 (21:10 +0000)]
Merge "Fix ExtendedEditText not handling touch correctly b/
31555902" into ub-launcher3-calgary-polish
Tony Wickham [Tue, 20 Sep 2016 21:05:18 +0000 (21:05 +0000)]
Merge "When shortcuts close, only set text visible if not in hotseat." into ub-launcher3-calgary-polish
am:
4125386687
Change-Id: I10a7cdd6b8eb49633afa4e07e0e1a184760786e5
Tony Wickham [Tue, 20 Sep 2016 21:05:17 +0000 (21:05 +0000)]
When shortcuts close, only set text visible if not in hotseat.
am:
12624a5a17
Change-Id: I0c6fedcb89d626e3bddca98610ec3da808cdc68e
Tony Wickham [Tue, 20 Sep 2016 20:49:37 +0000 (20:49 +0000)]
Merge "When shortcuts close, only set text visible if not in hotseat." into ub-launcher3-calgary-polish
Hyunyoung Song [Tue, 20 Sep 2016 19:37:41 +0000 (12:37 -0700)]
Fix ExtendedEditText not handling touch correctly
b/
31555902
Change-Id: Ife23cf6af29ac47315aee4abc0ffe2dbcde352f9
Shankhoneer Chakrovarty [Thu, 15 Sep 2016 01:30:05 +0000 (18:30 -0700)]
Created include filters for jacoco
Go to for report: https://cnsviewer.corp.google.com/ear/cns/on-d/home/android-test/kharon/shankh/world/test_logs/ub-launcher3-calgary/0/CodeCoverage/inv_5368912399306607305/coverage_8663315225010526892.ear/index.html
go to https://x20web.corp.google.com/users/sh/shankh/coverage/index.html for source code level code coverage statistics
Bug:
29882934
Change-Id: I397537f45ac4611e8a97d4656d0e7d2b694688fc
Jonathan Miranda [Mon, 19 Sep 2016 23:19:31 +0000 (23:19 +0000)]
Merge "Only reset search field when back key is hit if there is no query." into ub-launcher3-calgary-polish
am:
6a7ca92f72
Change-Id: Ib3212c0a393d6e4ccf8e56a456b8642d10e65287