Commit Graph

21320 Commits

Author SHA1 Message Date
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
Tony Wickham 57e489c8b5 Fix hotseat translated upwards when dragging from all apps
Before, we just didn't scale or translate when entering spring loaded
state. That worked when dragging from home, but when dragging from all
apps it meant that the hotseat kept its translation from the transition
to all apps. Now we always move the hotseat to scale 1 and translation 0
when going to spring loaded mode.

Change-Id: I0630d5bb899e37e2ab01516adfc1b7e6f8a9e42a
2019-03-04 14:57:07 -08:00
Hyunyoung Song 15f7de8332 Drop target NPE due to wrong android:theme usage
Bug: 127345257
Change-Id: I2774644b304b26f56e380f75d17790d05744def1
2019-03-04 14:46:39 -08:00
TreeHugger Robot 84eb812bcd Merge "Include Launcher3QuickstepLib for tapl" into ub-launcher3-master 2019-03-04 22:25:31 +00:00
Tony Wickham c920b5986d Merge "Scale and translate hotseat with workspace instead of all apps" into ub-launcher3-master 2019-03-04 19:47:38 +00:00
Miranda Kephart 516bb587af Merge "Add AiAi overview chips to Launcher" into ub-launcher3-master 2019-03-04 19:07:50 +00:00
Hyunyoung Song 494dd8da82 Include Launcher3QuickstepLib for tapl
Bug: 123904290
Change-Id: I388061edcc5a2978d6c6f1102d92e09155678e34
2019-03-04 10:57:54 -08:00
TreeHugger Robot ccf00ab063 Merge "Assign default adaptive icon background color" into ub-launcher3-master 2019-03-04 18:29:50 +00:00
Hyunyoung Song de87a22773 Assign default adaptive icon background color
Bug: 126327184
Change-Id: I8c6db3cc0c2bf334862b60b0aa27aee4850039f1
2019-03-04 09:47:45 -08:00
Miranda Kephart cd5beb3e62 Add AiAi overview chips to Launcher
Overview chips are constructed in AiAi and inserted into a Launcher
container (similar to what's done for the SuggestView). This CL
(and its sibling) remove the dependency on the NavBarHint plugin
for chip hint data, and instead obtain the information from AiAi.

BUG: 124390101
Change-Id: I07beb79dba2edaafb231b03e70b647ae211b5c1b
2019-03-04 11:51:53 -05:00
Tony 4bb4b89b9a Scale and translate hotseat with workspace instead of all apps
- Move the hotseat alongside workspace instead of on top of all apps in xml layout
- Set pivot point of hotseat to match the workspace's, and apply the same scale
- Translate the hotseat with the workspace instead of all apps
- SpringLoadedState does not scale or translate the hotseat

Change-Id: Ic45fe99f83f0e0012afa78073d9577e65da444e2
2019-03-03 15:43:50 -08:00
Hyunyoung Song 0a13878b96 Add launcher-log-proto-nano rule in Android.bp
Bug: 123904290
Test: m launcher-log-proto-nano

Change-Id: I71c749be60df20ad474a7b898c8668642a67a72f
(cherry picked from commit 46e1145ecc)
2019-03-02 08:03:27 +00:00
Hyunyoung Song 46e1145ecc Add launcher-log-proto-nano rule in Android.bp
Bug: 123904290
Test: m launcher-log-proto-nano

Change-Id: I71c749be60df20ad474a7b898c8668642a67a72f
2019-03-01 16:58:28 -08:00
Tony Wickham 37d3a1ff41 Don't crash if there's no running task view when going home
Change-Id: Ib5e9ce961aa4dc6b15da34713967f6ad9dde2054
2019-03-01 16:34:59 -08:00
Matthew Ng 3ab13c9de1 Changed assistant debug flag to global
Bug: 112934365
Test: manual
Change-Id: Ibf5f02d41d879f35ba7ee011dc35e264606b751b
2019-03-01 16:21:32 -08:00
TreeHugger Robot 9db9d62b27 Merge "Removing the home button press check" into ub-launcher3-master 2019-03-01 23:07:18 +00:00