Jon Miranda
0c3692d5ef
Fix bugs related to swipe up to home animation.
...
- Added ConstantState support for FolderAdaptiveIcon and
ShiftedBitmapDrawable.
- Quick fix for NPE in Workspace#mapOverCellLayout while I investigate
further.
Bug: 128460496
Change-Id: I5ec02e25dcf9f17aeb37928e675a033bdc8819ae
2019-03-13 01:12:18 +00:00
Jon Miranda
29cde586f9
Only get drawable on the background thread, everything else on main thread.
...
Bug: 128259687
Change-Id: I6230bfdc292e9a43ab935cfb6debb7a6fac4d4f7
(cherry picked from commit 270d29c43e )
2019-03-13 01:00:10 +00:00
Jon Miranda
95f821ac24
Fix crash when trying to load SystemShortcut drawable.
...
Bug: 127807969
Change-Id: I9d7e8bf5b6b45fe6ad61984ab2c0326926076d75
(cherry picked from commit 93e0594b3d )
2019-03-13 00:59:19 +00:00
Tony Wickham
74fc2abc59
Merging ub-launcher3-master, build 5358885
...
Test: Manual
Bug: 112934365
Bug: 123900446
Change-Id: I79335da22c872a59bf0238d478943eb6a5a04a23
2019-03-07 13:25:35 -08:00
Vadim Tryshev
b2b6fbbe66
Merge "Logging switching Quickstep on and off for tests" into ub-launcher3-master
2019-03-07 01:21:41 +00:00
vadimt
7977961f73
Logging switching Quickstep on and off for tests
...
Change-Id: I9ff70850a86542715b5ef88c1f2a492bd3797ab1
2019-03-06 17:08:13 -08:00
vadimt
28b1988289
Attempt to disable assistant and seeing if this helps with lab tests
...
Change-Id: I4950eeee06555ca199208f678f670c3406b38d5a
2019-03-06 16:22:47 -08:00
Sunny Goyal
826405d095
Merge "Using the new contract for some systemUI constants" into ub-launcher3-master
2019-03-06 21:40:12 +00:00
TreeHugger Robot
5ac7eb1e37
Merge "Updates to app to icon animation, and turns on ADAPTIVE_ICON_WINDOW_ANIM flag." into ub-launcher3-master
2019-03-06 21:34:44 +00:00
Jon Miranda
4334874f1f
Updates to app to icon animation, and turns on ADAPTIVE_ICON_WINDOW_ANIM flag.
...
- getFirstMatchForAppClose now only looks at the current page, since switching
pages is disruptive and the animation for app closing to an icon on a
different page is unclear.
- Searches for package name and user id (in case of work profile app)
instead of component name to handle shortcuts and trampoline activities.
- Adaptive icon background drawable is now always centered
- Fix crash that occurs when ADAPTIVE_ICON_WINDOW_ANIM is off. We were trying
to set FolderAdaptiveIcon as the background drawable. Simplest solution is
to not use folder as a search criteria when the flag is off.
- Similar to DragView, FloatingIconView now uses BubbleTextView icon when
adaptive icon support is not available. This handles legacy-treated apps.
Bug: 123900446
Change-Id: Idaf292bb39d78db511cf2ee04a16b191454846b3
2019-03-06 13:25:22 -08:00
Sunny Goyal
b7dafa6a04
Using the new contract for some systemUI constants
...
Change-Id: I1a0351bc9b1ac5b8fe866a92c1bda93126189543
2019-03-06 12:32:24 -08:00
TreeHugger Robot
f520c6ca8e
Merge "Do not consume motion events when there is no assistant available" into ub-launcher3-master
2019-03-06 20:17:07 +00:00
Matthew Ng
04d58e841f
Do not consume motion events when there is no assistant available
...
Bug: 112934365
Test: manual
Change-Id: If9254d974a34772357ce32d5ba2734db5a173f6b
2019-03-06 19:43:29 +00:00
Vadim Tryshev
cd3df17d80
Merge "Slowing down gestures to get rid of flakiness" into ub-launcher3-master
2019-03-06 19:42:14 +00:00
vadimt
6cd7e864aa
Slowing down gestures to get rid of flakiness
...
Change-Id: If36476e21629fba1a0cf26fb9d2c172097a9c0b5
2019-03-06 11:25:33 -08:00
Tony Wickham
b980947c8a
Merging ub-launcher3-master, build 5356125
...
Test: Manual
Bug: 112934365
Bug: 114136250
Bug: 118441555
Bug: 123900446
Bug: 123904290
Bug: 123906429
Bug: 124288578
Bug: 124620962
Bug: 124730625
Bug: 125364936
Bug: 125551024
Bug: 126045978
Bug: 126229665
Bug: 126289691
Bug: 126327184
Bug: 126336729
Bug: 126416861
Bug: 126767319
Bug: 127282292
Bug: 127345257
Bug: 127532177
Change-Id: I6f56221b8a7009d1f14ba47a0c63822d3f3ba06a
2019-03-06 10:26:28 -08:00
Tony Wickham
40e0693234
Merge "Revert "Temporarily make TouchInteractionService direct boot unaware"" into ub-launcher3-master
2019-03-06 17:43:15 +00:00
Tony Wickham
84062d4b5d
Revert "Temporarily make TouchInteractionService direct boot unaware"
...
This reverts commit 3a4f503e5d .
Reason for revert: need TouchInteractionService to be direct boot aware for the merge
Change-Id: I5b3c651df77f8df1d5f07245b062f2384cd760a0
2019-03-06 17:31:40 +00:00
TreeHugger Robot
3ab55d42a7
Merge "Revert "Add launcher-log-proto-nano rule in Android.bp""
2019-03-06 02:24:24 +00:00
Tracy Zhou
74130d2cea
Merge "Make task launching interpolators consistent" into ub-launcher3-master
2019-03-06 01:42:40 +00:00
TreeHugger Robot
c63e196ea1
Merge "Revert "Add launcher-log-proto-nano rule in Android.bp"" into ub-launcher3-master
2019-03-06 01:02:10 +00:00
TreeHugger Robot
6f74083520
Merge "Revert "Include Launcher3QuickstepLib for tapl"" into ub-launcher3-master
2019-03-06 01:02:08 +00:00
Vadim Tryshev
5b367af3ca
Revert "Add launcher-log-proto-nano rule in Android.bp"
...
This reverts commit 0a13878b96 .
Reason for revert: We decided to get launcher dimensions differently in the short-term
Change-Id: I875f0dab36922e7f85f4dff7af1ab1f22a9c4bd8
2019-03-06 00:52:00 +00:00
Vadim Tryshev
cb1de403cc
Revert "Add launcher-log-proto-nano rule in Android.bp"
...
This reverts commit 46e1145ecc .
Reason for revert: We decided to get launcher dimensions differently in the short-term
Change-Id: I0ff98ed815ca933f53c2318edde96f012ff244e1
2019-03-06 00:48:44 +00:00
Vadim Tryshev
bcde95efec
Revert "Include Launcher3QuickstepLib for tapl"
...
This reverts commit 494dd8da82 .
Reason for revert: Breaks ub tests
Change-Id: I8f0d4a67e7a4cae21f5c9448abcc4d614f730fa4
2019-03-06 00:44:53 +00:00
Tracy Zhou
797210acad
Make task launching interpolators consistent
...
Fixes: 127532177
Test: Manual
Change-Id: I36aba881cc34c3d99af1dc1dd095c6082e2ea815
2019-03-05 16:38:12 -08:00
Tony Wickham
7550c1227e
Merge "Fix some issues with MotionPauseDetector" into ub-launcher3-master
2019-03-05 22:00:24 +00:00
TreeHugger Robot
cde9f450c4
Merge "Fixing some Launcher crashes because of using old model data even after launcher has reloaded" into ub-launcher3-master
2019-03-05 21:59:31 +00:00
Tony Wickham
eb6cb3b943
Merge "Don't allow swipe up for all apps above shelf" into ub-launcher3-master
2019-03-05 21:59:14 +00:00
TreeHugger Robot
55f6416748
Merge "Using a single array instead of a list of array for trcking events" into ub-launcher3-master
2019-03-05 21:44:11 +00:00
Winson Chung
e09f47cd1f
Merge "Fix issue with flashing on overscroll" into ub-launcher3-master
2019-03-05 21:32:40 +00:00
TreeHugger Robot
111213b0f8
Merge "Fix app to folder icon animation." into ub-launcher3-master
2019-03-05 21:25:17 +00:00
Sunny Goyal
5654949bd0
Using a single array instead of a list of array for trcking events
...
In case events come out of order, the list is not properly initialized
which can lead to missing invalid states
Bug: 127282292
Change-Id: I3b4784b8e3eec890e80e62c2ea613e1ba84b6c95
2019-03-05 12:45:23 -08:00
Sunny Goyal
2db5342f04
Fixing some Launcher crashes because of using old model data even
...
after launcher has reloaded
Bug: 126289691
Bug: 124288578
Change-Id: Id7fb29716241a13f4e03ee0fc0e879523de4f878
2019-03-05 12:43:50 -08:00
Jon Miranda
69b35e0195
Fix app to folder icon animation.
...
- Needed to account for the preview bounds (similar to BubbleTextView icon
bounds)
- Also needed to update the bitmap shift amount so that it is re-centered
- Moved ShiftedBitmapDrawable to its own class in graphics package
Bug: 123900446
Change-Id: Ifa9e3f688e55d017cf86a0285f5cdb1b014f01e6
2019-03-05 12:23:28 -08:00
Jonathan Miranda
78499e708d
Merge "Fix bug caused by trying to set background to AdaptiveIconDrawable." into ub-launcher3-master
2019-03-05 19:22:17 +00:00
TreeHugger Robot
9cf493a735
Merge "Lint fix: Invalid vector path in horizontal_ellipsis" into ub-launcher3-master
2019-03-05 19:21:44 +00:00
TreeHugger Robot
b67ea2a0e9
Merge "Removing dependency on XmlResourceParser in default layout parsing" into ub-launcher3-master
2019-03-05 19:18:53 +00:00
TreeHugger Robot
36382cb4af
Merge "Changed assistant debug flag to global" into ub-launcher3-master
2019-03-05 18:41:15 +00:00
Tobias Dubois
fb0544e512
Lint fix: Invalid vector path in horizontal_ellipsis
...
Use 0.9 instead of .9 in the vector drawable path to
avoid crashes on some devices.
Test: Manual
Change-Id: I9d5889fdf48fbb2f09995b75d4f20c47454ef591
2019-03-05 10:31:56 -08:00
Sunny Goyal
0d74231fec
Removing dependency on XmlResourceParser in default layout parsing
...
This is allow support for generating and parsing default layout at
runtime by a different app.
Change-Id: Id3bfcf1d353417102429ab137402ccfedc4e6cc5
2019-03-05 10:22:57 -08:00
Tobias Dubois
51591cc20e
Merge "Lint fix: Invalid vector path in horizontal_ellipsis" am: b15c137466 am: 032d5f742b
...
am: 0e22e744ae
Change-Id: If1639ace39ef444dc01b2e9aa4bd06f6fd3729ee
2019-03-05 02:24:11 -08:00
Tobias Dubois
0e22e744ae
Merge "Lint fix: Invalid vector path in horizontal_ellipsis" am: b15c137466
...
am: 032d5f742b
Change-Id: I825411d5c3e8033904a3b9e4b46ed46e1c5424e9
2019-03-05 02:20:05 -08:00
Tobias Dubois
032d5f742b
Merge "Lint fix: Invalid vector path in horizontal_ellipsis"
...
am: b15c137466
Change-Id: If5dd26b27db18df9e882abc2d48763e9013ad47a
2019-03-05 02:16:03 -08:00
Treehugger Robot
b15c137466
Merge "Lint fix: Invalid vector path in horizontal_ellipsis"
2019-03-05 10:07:29 +00:00
Jon Miranda
3145839f65
Fix bug caused by trying to set background to AdaptiveIconDrawable.
...
Solution is to flatten the drawable when useDrawableAsIs is true.
Bug: 123900446
Change-Id: I3b86db201ef4fccf10ac42ec367c0538573b7ad8
2019-03-04 20:54:53 -08:00
TreeHugger Robot
a4c3d066dd
Merge "Switching to setting QS on and off via writing settings." into ub-launcher3-master
2019-03-05 01:26:51 +00:00
Vadim Tryshev
8675deee02
Switching to setting QS on and off via writing settings.
...
We can do this now because we hav all 6 devices in the lab.
Change-Id: I5d5fcd89086a3f945ed3fc204461cacbdde61a8a
2019-03-04 16:49:50 -08:00
TreeHugger Robot
34691cffe3
Merge "Drop target NPE due to wrong android:theme usage" into ub-launcher3-master
2019-03-04 23:42:28 +00:00
TreeHugger Robot
9f8ebbe70c
Merge "Fix hotseat translated upwards when dragging from all apps" into ub-launcher3-master
2019-03-04 23:09:53 +00:00