Commit Graph

28165 Commits

Author SHA1 Message Date
TreeHugger Robot e433812907 Merge "Revert "Cleanup code related to ag/11035582"" into ub-launcher3-rvc-dev 2020-04-15 06:13:34 +00:00
Andy Wickham 9f7e434244 Fixes issue where back tutorial animation didn't always appear.
Specifically, when switching from right to left edge, the
animation disappeared. This change forces the animation
to restart whenever you switch to another tutorial.

Bug: 148542211

Change-Id: Ie74c636a4afd1018c7c8e6998a1e7a176bf8099e
(cherry picked from commit e725b6fe56)
2020-04-15 06:06:55 +00:00
Vinit Nayak 770cc42685 Revert "Cleanup code related to ag/11035582"
This reverts commit a2a1f86dff.

Reason for revert: b/154068414

Change-Id: I1db0018fa97d5a5380651cf7d04a05a0abd62857
2020-04-15 05:24:10 +00:00
android-build-team Robot 0fc727750b Snap for 6396429 from fd3fc081d9 to rvc-release
Change-Id: I89cbb8faad98a4f6d537fc8456248801718652ee
2020-04-15 02:10:08 +00:00
Andy Wickham 9c89358c7d Refactors Sandbox to more easily add new tutorials.
- Extracts abstract classes for common functionality
 - Renames some layouts, etc. to not be back-specific
 - Consolidates more logic in the controllers rather
   than classes like BackGestureTutorialTypeInfo
 - Removes redundant TutorialStep enum (combining it
   with TutorialType)

Still considering removing additional layers of
abstraction like the Fragment itself (instead
keeping UI within the Activity, which would still
be controlled by a TutorialController).

Test: Built and went through the Back tutorial to
confirm existing funcitonality was not disrupted.
Bug: 148542211
Change-Id: I590af62f5fe3186a15deb5883e6ef6e6cb7e4665

Change-Id: Id893869cb59609141dcdbdca01744d0f5952b546
2020-04-15 01:26:20 +00:00
TreeHugger Robot 4c61d2b61b Merge "Revert "Show all apps app names in multi window landscape"" into ub-launcher3-rvc-dev am: 2fc1c88448
Change-Id: I7045a43898c01260d1d5856e6f8475158ccd13e9
2020-04-15 00:28:54 +00:00
Hyunyoung Song ffdeb7afe8 Merge "Use UiEvent for constants inside StatsLogManager" into ub-launcher3-rvc-dev am: a613217bd0
Change-Id: I962a569699cbc461fa2e0460e9c4cf33cb1925d1
2020-04-15 00:28:49 +00:00
Sunny Goyal ae190ff807 Revert "Have consistent All Apps UI between grid size changes."
Revert submission 557031-1571265377317-631e3e5

Reason for revert: Breaks multiwindow and secondary display layout
Reverted Changes:
Idee087e31:Remove numAllAppsColumns, allAppsIconSize, allApps...
I6235862c9:Have consistent All Apps UI between grid size chan...

Change-Id: I64156123a8fbaba1a7d2b64cddd5376671123aa2
2020-04-14 17:19:47 -07:00
TreeHugger Robot 2fc1c88448 Merge "Revert "Show all apps app names in multi window landscape"" into ub-launcher3-rvc-dev 2020-04-15 00:12:21 +00:00
Hyunyoung Song a613217bd0 Merge "Use UiEvent for constants inside StatsLogManager" into ub-launcher3-rvc-dev 2020-04-15 00:09:13 +00:00
TreeHugger Robot cdcab733c6 Merge "Cache hotseat predictions" into ub-launcher3-rvc-dev am: 08860aed19
Change-Id: I29c303b9e02c5a6372c8b0cf73e147d2ea81a06d
2020-04-14 23:54:56 +00:00
TreeHugger Robot 08860aed19 Merge "Cache hotseat predictions" into ub-launcher3-rvc-dev 2020-04-14 23:36:34 +00:00
Sunny Goyal 604e7bd667 Revert "Show all apps app names in multi window landscape"
This reverts commit 1c3c3b1d6f.

Reason for revert: Broke multi-window rotation and secondary display

Change-Id: I907b21ca82cf2e25f8abe7a09eafd6dec817f81b
(cherry picked from commit 157e666058)
2020-04-14 23:24:02 +00:00
Jonathan Miranda 03ad7125bb Merge "Fix bug where view stays invisible due to view recycling before it gets reset." into ub-launcher3-rvc-dev am: b263e6fe29
Change-Id: I438fec068ff53eddba9305b208ed3026e56cea7d
2020-04-14 23:11:54 +00:00
Jonathan Miranda b263e6fe29 Merge "Fix bug where view stays invisible due to view recycling before it gets reset." into ub-launcher3-rvc-dev 2020-04-14 22:56:47 +00:00
TreeHugger Robot af4c525054 Merge "Cleanup code related to ag/11035582" into ub-launcher3-rvc-dev am: 8f3c7c23d6
Change-Id: I371d4a7549df0391e50b5423899a1cdc8aae3d3d
2020-04-14 22:31:35 +00:00
TreeHugger Robot 8f3c7c23d6 Merge "Cleanup code related to ag/11035582" into ub-launcher3-rvc-dev 2020-04-14 22:12:01 +00:00
Vinit Nayak e1e93e0687 Disable sensor manager for tests in platform am: fd3fc081d9 am: e21c4ec073 am: 191733840c
Change-Id: Iecd1cabd5815c7971bc1e8cfb3036c87d99ea083
2020-04-14 21:56:49 +00:00
TreeHugger Robot ee7b58f3d6 Merge "Fixing issue with removing tasks immediately after boot" into ub-launcher3-rvc-dev am: c505a95aaf
Change-Id: Ib1e5bb7d2ad156d582163c7602ed2182d476844b
2020-04-14 21:56:39 +00:00
TreeHugger Robot c505a95aaf Merge "Fixing issue with removing tasks immediately after boot" into ub-launcher3-rvc-dev 2020-04-14 21:46:23 +00:00
TreeHugger Robot 8bc38d8fa4 Merge "Trigger onTaskAppeared when a task started from recents becomes ready." into ub-launcher3-rvc-dev am: 04455cdf42
Change-Id: Id30e6d482734e002ebf73082314509084e5e55af
2020-04-14 21:45:34 +00:00
Jon Miranda f8df99fd0a Fix bug where view stays invisible due to view recycling before it gets reset.
Repo steps:
* Drag item out of folder into a space where it won't fit (ie. full workspace)
* Drop item before folder finishes closing

The issue is that the drop completes and we unbind the folder contents
before the postDelayed callback runs to set the view back to visible.

Bug: 153267452
Change-Id: I0bd4e41cc6dda8b908eed3c8789ced54da4ac38a
2020-04-14 14:39:08 -07:00
Vinit Nayak 191733840c Disable sensor manager for tests in platform am: fd3fc081d9 am: e21c4ec073
Change-Id: If383c3888a0c015db0f65d5f2a25e4c380e64e31
2020-04-14 21:36:19 +00:00
TreeHugger Robot 04455cdf42 Merge "Trigger onTaskAppeared when a task started from recents becomes ready." into ub-launcher3-rvc-dev 2020-04-14 21:30:23 +00:00
Vinit Nayak 31fb890ba2 Disable sensor manager for tests in platform am: fd3fc081d9
Change-Id: Ic836a4724fe7951a64ccc4ef34bc8d52a777afdd
2020-04-14 21:16:45 +00:00
Vinit Nayak e21c4ec073 Disable sensor manager for tests in platform am: fd3fc081d9
Change-Id: Ib0e3547a949d09adccb45bfa91dc18a6ac4aca10
2020-04-14 21:15:17 +00:00
Winson Chung 1c32f49199 Fixing issue with removing tasks immediately after boot
- Due to tasks only being loaded in the task list and not in the
  task hierarchy, ensure that we listen to the task list callback
  to invalidate the cached list as well.

Bug: 144892997
Change-Id: I0aa2ac0e629b8883410ebafbdc4ca2d5d9bc0fca
2020-04-14 21:03:40 +00:00
Vinit Nayak a2a1f86dff Cleanup code related to ag/11035582
Bug: 153443049
Change-Id: I2a9e46fa4ffc613751c9f427ce892ddad3878b35
2020-04-14 14:02:49 -07:00
Hyunyoung Song 6b99a7d397 Use UiEvent for constants inside StatsLogManager
Bug: 137777105
Bug: 148533500
Change-Id: I8ebf1110e8d25ab28f7496add9734bd7386b272f
2020-04-14 13:59:31 -07:00
lumark 9494f58409 Trigger onTaskAppeared when a task started from recents becomes ready.
Launcher can now receive onTaskAppeared callback from
RecentsAnimationController to get remote animation target when in quick
switch mode.

Note: This CL just demonstrates how to receive callback and then
calling removeTask & finish recents animation,
in order to really improve quick switch flicking, launcher side needs
to implement the rest of logic to animate task's remote animation target
to make task switching more smoothly.

Bug: 152480470
Test: WIP
Change-Id: Id0371db7339cfe84942cc905a89b0a2c1fab62ec
(cherry picked from commit bec41bc5b9)
2020-04-14 20:51:40 +00:00
TreeHugger Robot 1ff3bbe5f6 Merge "Revert regression where we no longer reverse translation for RTL" into ub-launcher3-rvc-dev am: a8c63ecb13
Change-Id: I740ba42f630afab81469a98fb42fd39e9b42038b
2020-04-14 18:25:56 +00:00
TreeHugger Robot a8c63ecb13 Merge "Revert regression where we no longer reverse translation for RTL" into ub-launcher3-rvc-dev 2020-04-14 18:07:26 +00:00
TreeHugger Robot a198dd42f3 Merge "Change logged hotseat values for beta" into ub-launcher3-rvc-dev am: c5d145f390
Change-Id: I1e1b660d0b0f57f06e01f0013b64261debbd2ff0
2020-04-14 16:46:28 +00:00
TreeHugger Robot c5d145f390 Merge "Change logged hotseat values for beta" into ub-launcher3-rvc-dev 2020-04-14 16:27:30 +00:00
Samuel Fufa 40846c6a35 Change logged hotseat values for beta
Bug: 153741765
Test: Manual
Change-Id: I8514264a2ea36809f6d3398c7aed4ca18e2d1a7f
2020-04-14 08:46:53 -07:00
TreeHugger Robot 583afbb93e Merge "Show migrated items on the last page" into ub-launcher3-rvc-dev am: ba45b6707c
Change-Id: Ie5a9bcf76d845dc1f98517174decd284e7b25a65
2020-04-14 15:28:13 +00:00
Tony Wickham 08f9a5878d Don't scale workspace when going to all apps if ENABLE_OVERVIEW_ACTIONS
Before the two-zone model introduced with ENABLE_OVERVIEW_ACTIONS, we
scaled down the workspace when swiping up, since you could pause at
any time to go to overview (which has workspace scaled down behind it).
But in the two-zone model, that scaling is potentially confusing since
it looks similar to the HintState (when swiping from the nav bar).

Bug: 143361609
Change-Id: I3ee9f6eb45abb0123563d283a3145f27c3a63dd5
2020-04-14 10:24:24 -05:00
TreeHugger Robot ba45b6707c Merge "Show migrated items on the last page" into ub-launcher3-rvc-dev 2020-04-14 15:14:31 +00:00
TreeHugger Robot 3d2d7282a0 Merge "Remove swipe support on WorkModeSwitch" into ub-launcher3-rvc-dev am: eb916b560b
Change-Id: I555d408db2d6f626721cb37286ac452f261b044e
2020-04-14 09:16:23 +00:00
TreeHugger Robot eb916b560b Merge "Remove swipe support on WorkModeSwitch" into ub-launcher3-rvc-dev 2020-04-14 09:04:29 +00:00
Samuel Fufa 87a4d89e80 Cache hotseat predictions
Saves a list of ComponentKeys to allow launcher to show predictions while AiAi is booting up.
Cache is invalidated on new predictor creation, on user changing home screen set up,
or after receiving an empty list of predictions from AiAi.

Bug: 152582306
Test: Manual
Change-Id: I2047aa3bcbf8bc1ef9b7b6a7925ef14a3433a3b4
2020-04-14 01:00:48 -07:00
TreeHugger Robot 4ec0b8d720 Merge "Resolve RTL Work tab highlight" into ub-launcher3-rvc-dev am: dafb4d10ae
Change-Id: Iab10dcc76d1e9273891c0fc1e6c82824762ad23e
2020-04-14 06:19:50 +00:00
TreeHugger Robot dafb4d10ae Merge "Resolve RTL Work tab highlight" into ub-launcher3-rvc-dev 2020-04-14 05:57:22 +00:00
Samuel Fufa b2b1a0b351 Remove swipe support on WorkModeSwitch
Bug: 153063698
Test: Manual
Change-Id: I0c59617772e1cedff364fd18413dcaec8031cd06
2020-04-13 21:54:58 -07:00
TreeHugger Robot 3bebafcbb3 Merge "Revert "Show all apps app names in multi window landscape"" into ub-launcher3-master 2020-04-14 03:51:28 +00:00
Sunny Goyal 157e666058 Revert "Show all apps app names in multi window landscape"
This reverts commit 1c3c3b1d6f.

Reason for revert: Broke multi-window rotation and secondary display

Change-Id: I907b21ca82cf2e25f8abe7a09eafd6dec817f81b
2020-04-14 03:06:01 +00:00
TreeHugger Robot 2b7d731d25 Merge "Communicate homepage layout to AiAi" into ub-launcher3-rvc-dev am: afc0bb0524
Change-Id: I5e4fefd090c705140d06b7e395b2fb1334c8d111
2020-04-14 01:11:16 +00:00
TreeHugger Robot afc0bb0524 Merge "Communicate homepage layout to AiAi" into ub-launcher3-rvc-dev 2020-04-14 00:52:36 +00:00
Samuel Fufa 0d3f8a5410 Merge "Change work paused text style" into ub-launcher3-rvc-dev am: c915e74abe
Change-Id: Ibe9d877dadd77df032684944650ad95cc3e55f03
2020-04-14 00:26:48 +00:00
Samuel Fufa f89dff10f3 Communicate homepage layout to AiAi
Bug: 148813817
Test: Manual
Change-Id: I115decf2a9cf7e483b906a2c9d93e6a83cbb3a6e
2020-04-13 17:10:02 -07:00