Commit Graph

53916 Commits

Author SHA1 Message Date
TreeHugger Robot 3e7a738202 Merge "[QL-v3] Move quick launch v3 flag to AllAppsDeviceConfigFlag" into tm-qpr-dev am: fd9f322bdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21148191

Change-Id: I888224ea320dc4014be4375aa8afeeb5a9208b37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 07:36:51 +00:00
TreeHugger Robot fd9f322bdb Merge "[QL-v3] Move quick launch v3 flag to AllAppsDeviceConfigFlag" into tm-qpr-dev 2023-02-04 06:53:54 +00:00
Jon Miranda 7ab2657623 Merge "Crop taskbar icons during stash/unstash animation." into tm-qpr-dev am: ea134a109d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21271715

Change-Id: Idf7676f66821f0f7326c6ee07367caea09c6d919
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 04:39:06 +00:00
Jon Miranda ea134a109d Merge "Crop taskbar icons during stash/unstash animation." into tm-qpr-dev 2023-02-04 04:05:27 +00:00
Hongwei Wang 81628c047c Merge "Implement app icon overlay for entering PiP" into tm-qpr-dev am: bfcdd23597
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21186942

Change-Id: I2db4a028c4dfb1eb1d4e49650fdfd1ef2280d4bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 03:39:40 +00:00
Hongwei Wang bfcdd23597 Merge "Implement app icon overlay for entering PiP" into tm-qpr-dev 2023-02-04 03:11:00 +00:00
Ats Jenk 6f50ca34c4 Pin desktop tile to the right in overview
When desktop windowing prototype is enabled, pin desktop tile to the
right of the focused tile.
Also making desktop tile persistent so it will always show up,
regardless whether there are tasks added to the desktop or not.
Fixing some nullpointer issues that stem from that.

Bug: 261234155
Test: no recent tasks, go to overview, shows empty view
Test: only desktop tasks, go to overview from home, desktop tile focused
Test: only desktop tasks, desktop open, go to overview, desktop tile
  focused
Test: 1 fullscreen task and some desktop tasks, go to overview from home
  screen, fullscreen tile focused
Test: fullscreen task open and no desktop tasks, go to overview,
  fullscreen task focused and empty desktop tile on the right
Test: fullscreen task open and some desktop tasks in background, go to
  overview, fullscreen tile focused, desktop tile on the right
Test: some desktop tasks focused, some fullscreen tasks in background,
  go to overview, desktop tile focused, fullscreen tasks on the left

Change-Id: Ib28185b40f639d36b82b6d0e3c61026ec84e245c
2023-02-03 17:29:43 -08:00
Brian Isganitis e8d81d0f16 Merge "Support persistent/transient asset variants in EDU tooltip." into tm-qpr-dev am: d98de99af8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21232019

Change-Id: Id2af6799b119c50945ce642ebb0938ebb9597787
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 00:05:41 +00:00
Brian Isganitis d98de99af8 Merge "Support persistent/transient asset variants in EDU tooltip." into tm-qpr-dev 2023-02-03 23:24:58 +00:00
Jon Miranda 11b47c542e Crop taskbar icons during stash/unstash animation.
When we stash, we crop the taskbar icons to the height of the
stashed handle.

In a follow up CL we will translate the icons so that at the
end of the stash animation, the icons will overlap with the
stashed handle for a more seamless handoff.

This will be good to get in first so that we can see if there is
any performance regression by running multiple outline
animations at the same time.

Test: stash/unstash observe cropping
Bug: 267806083
Change-Id: I19b05647a669c11376ac1d3267fd600131246be8
2023-02-03 15:14:42 -08:00
Vinit Nayak 4b76e9123f Set StateManager to BackgroundAppState if end gesture is NEW_TASK
* QUICK_SWITCH_FROM_HOME was incorrectly used as that LauncherState
is only meant for quickswitching for the most recent task from
workspace

Bug: 265734073
Test: Tested quickswitch with fullscreen and splitscreen tasks
Change-Id: Ia81152927f57203cf6adb90254675bcf82a2e836
2023-02-03 14:16:09 -08:00
Sihua Ma 34da4b1a94 Merge "Rename the widget suggestion background drawable for outside usage" into tm-qpr-dev am: 7b7130db3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21227612

Change-Id: I95665fc397d7ad677f8a646d7dd649d3ea307ef2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 21:31:45 +00:00
Sihua Ma 7b7130db3d Merge "Rename the widget suggestion background drawable for outside usage" into tm-qpr-dev 2023-02-03 21:14:04 +00:00
Sebastián Franco 591b511565 Merge "Adding test to make sure the icons seen when unfolded are the same when folded" into tm-qpr-dev am: b57479c189
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21120301

Change-Id: I6b533a97afe291c4211983705e5c8e4caed8bfa5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 21:01:14 +00:00
Sebastián Franco b57479c189 Merge "Adding test to make sure the icons seen when unfolded are the same when folded" into tm-qpr-dev 2023-02-03 20:39:04 +00:00
Vinit Nayak 82b8aa561a Rename LauncherState QUICK_SWITCH to QUICK_SWITCH_FROM_HOME
Test: compiles
Bug: 265734073
Change-Id: I38e23c62b1eeae6a26db9c388655a8ffceb025b6
2023-02-03 10:38:21 -08:00
Fengjiang Li d080b98b76 [Predictive Back] Revert all apps scale when exiting from search
Bug: b/267522879
Test: manual, see before after videos in bug
Change-Id: I7b14739fee23a22920d71841fc1c3c12b34a3d0c
2023-02-03 10:28:46 -08:00
Winson Chung 9d26c12ac4 Merge "Revert "Include SysUI state in stashing check"" into tm-qpr-dev am: 537c380bcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21236591

Change-Id: I7ba45cb519628412cd3761a799b48a00024c3f65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 18:17:15 +00:00
Fengjiang Li b7a9587380 Merge "[Predictive Back] Hide inactive recycler view when work profile is enabled on tablet" into tm-qpr-dev am: 0510c290a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21135806

Change-Id: I04318412a7f6479e2ab21204f8f004b742d2f454
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 18:15:16 +00:00
Tony Wickham 25dd967b05 Merge "Don't applyState if taskbar is already destroyed" into tm-qpr-dev am: 632e9a84c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21238187

Change-Id: I9a176de6fb3a3d03350a8c782e5a1919947fefe3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 18:14:04 +00:00
Winson Chung 537c380bcb Merge "Revert "Include SysUI state in stashing check"" into tm-qpr-dev 2023-02-03 18:02:17 +00:00
Fengjiang Li 0510c290a0 Merge "[Predictive Back] Hide inactive recycler view when work profile is enabled on tablet" into tm-qpr-dev 2023-02-03 18:01:24 +00:00
Tony Wickham 632e9a84c4 Merge "Don't applyState if taskbar is already destroyed" into tm-qpr-dev 2023-02-03 17:55:30 +00:00
Alex Chau bcde1d5aa9 Log sizes being sent to widgets
Bug: 267448330
Test: manual
Change-Id: I25039c9c5721f4746a07e701caffacd0c7bd2609
2023-02-03 17:16:03 +00:00
Pat Manning 442a4fca3a Merge "Move overview actions to task menu when no focused task." into tm-qpr-dev am: cbedc7ed08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980940

Change-Id: Ia6798f67b1f5a735020615bb28767d35974dfa87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 14:13:40 +00:00
Pat Manning cbedc7ed08 Merge "Move overview actions to task menu when no focused task." into tm-qpr-dev 2023-02-03 13:51:54 +00:00
Luca Zuccarini 3be7449605 Disable splash icon when launching a search result.
Bug: 262751986
Test: manual, see videos in bug
Change-Id: I58888ee58f3e02541bcdf6b3e775a2dc077a30b7
2023-02-03 11:49:11 +00:00
Sunny Goyal 459f2c7114 Merge "Exposing method to register content providers in sandbox context" into tm-qpr-dev am: de15772052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21236578

Change-Id: Ifb7c9f2ca49bd029cfe7a7ccd724bd338ac718f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 07:59:44 +00:00
Sunny Goyal de15772052 Merge "Exposing method to register content providers in sandbox context" into tm-qpr-dev 2023-02-03 07:34:10 +00:00
Vinit Nayak 4e1c1faa37 Merge "Unify split options into single option" into tm-qpr-dev am: 6fa1ab9441
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21074650

Change-Id: I6a21549a20a8f90dcc35ed29285023e844e1e627
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 06:36:19 +00:00
Vinit Nayak dc8d558947 Merge "Set StateManager to BackgroundAppState if end gesture is LAST_TASK" into tm-qpr-dev am: c1799a8221
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21233604

Change-Id: If78e768276933ec8d72420508b8ff6b1bd8b4410
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 06:36:08 +00:00
Vinit Nayak 6fa1ab9441 Merge "Unify split options into single option" into tm-qpr-dev 2023-02-03 06:07:41 +00:00
Vinit Nayak c1799a8221 Merge "Set StateManager to BackgroundAppState if end gesture is LAST_TASK" into tm-qpr-dev 2023-02-03 06:05:22 +00:00
Fengjiang Li 5ae643b96e Merge "[Predictive Back] Remove animation on cancel for all apps to home" into tm-qpr-dev am: c717f48a2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21226631

Change-Id: Idca146cd31039acb86df426291274ec38f3447a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 04:02:19 +00:00
Fengjiang Li c717f48a2d Merge "[Predictive Back] Remove animation on cancel for all apps to home" into tm-qpr-dev 2023-02-03 03:44:19 +00:00
Jon Miranda 195e0c9e75 Merge "Iterative improvement to the taskbar stash animation." into tm-qpr-dev am: 554c431d40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21226020

Change-Id: I77cdf5512378cb5ba481a6eaedf6aaa10973154a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 02:50:26 +00:00
Jon Miranda 554c431d40 Merge "Iterative improvement to the taskbar stash animation." into tm-qpr-dev 2023-02-03 02:39:10 +00:00
Jon Miranda 82382fc784 Merge "Update notification dot renderer when we update the taskbar icon size." into tm-qpr-dev am: 5903751ee3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21225224

Change-Id: If372917ea9fa959faf913fa831b533ec8681e27d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 02:00:06 +00:00
Jon Miranda 5903751ee3 Merge "Update notification dot renderer when we update the taskbar icon size." into tm-qpr-dev 2023-02-03 01:34:05 +00:00
Tony Wickham 9fb8883017 Don't applyState if taskbar is already destroyed
Test: Open overview while unfolded, then fold; ensure hotseat remains
visible
Fixes: 260135164

Change-Id: I788a9a682a7d5fabbea7c478231fc7abe92e95b9
2023-02-03 01:00:21 +00:00
Stefan Andonian 424c469513 Merge "Migrate "isRotationAllowed" setting to LauncherPrefs." into tm-qpr-dev am: 6a4e9a34ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21061164

Change-Id: I9c33c9c4e1532a07ea00772e210e221cd9661cd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 00:53:00 +00:00
Stefan Andonian 6a4e9a34ab Merge "Migrate "isRotationAllowed" setting to LauncherPrefs." into tm-qpr-dev 2023-02-03 00:27:14 +00:00
Jon Miranda b1e85e9b70 Iterative improvement to the taskbar stash animation.
Test: manual
Bug: 246632728
Change-Id: I4e4051faaf699a462c90acf87afcee11a0b4165b
2023-02-02 23:52:23 +00:00
Winson Chung 0499f31aa5 Revert "Include SysUI state in stashing check"
This reverts commit 62c74f9633.

Reason for revert: b/267543857

Change-Id: Ifc2fc3abfc07c92acef560fd3eef7d799f3e28bf
2023-02-02 23:33:15 +00:00
Sunny Goyal 305cb87891 Exposing method to register content providers in sandbox context
Bug: 263286512
Test: presubmit
Change-Id: I04a8160afec2ea0d153eca113537a8778d8f3514
2023-02-02 15:20:58 -08:00
Jon Miranda 2b25ded506 Update notification dot renderer when we update the taskbar icon size.
Test: swipe to home with an app that has a notification dot
      observe no jump in dot size
Bug: 264709741

Change-Id: I5d56fe57e74ed7b094477ecd8727152f3f522042
2023-02-02 23:10:42 +00:00
Vinit Nayak 576592575b Set StateManager to BackgroundAppState if end gesture is LAST_TASK
* Setting stateManager to QUICK_SWITCH results in calling
launchTasks() in the current TaskView in recycler view, however
if the end is LAST_TASK, there's no need to launch anything.
* Currently this isn't an issue with fullscreen tasks because
Launcher's onStop() cancels the animation, but that isn't the
case in the specific step of locking/unlocking the device AND
in splitscreen. Tracked at (b/267674372)

Test: Bug no longer repros. Did other quickswitch gestures and
also going to overview with split and fullscreen apps
Fixes: 265734073

Change-Id: Ie553c7b5db7e59e0cd8aba1723c25ad923690d5c
2023-02-02 14:16:31 -08:00
Brian Isganitis 720dcd2d3b Support persistent/transient asset variants in EDU tooltip.
Test: Manual
Fix: 267384293
Change-Id: Ia4aefb7d0e9bf675355ea52f657f78b7533eeb98
2023-02-02 14:15:47 -08:00
Saumya Prakash 2dc342ab7b Merge "Redesign the tutorial for the go home gesture" into tm-qpr-dev am: 334094da9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21150239

Change-Id: Ic9945132bfd6c048136dea36abbfcb846750d954
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-02 22:12:23 +00:00
Saumya Prakash 334094da9e Merge "Redesign the tutorial for the go home gesture" into tm-qpr-dev 2023-02-02 21:54:10 +00:00