Commit Graph

20478 Commits

Author SHA1 Message Date
Andy Wickham 573be9e5d0 Merge "Revert "Switch ScrimView to use view alpha"" into udc-qpr-dev am: a3808a8e33 am: b80029b72b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23717038

Change-Id: I71b3b6882a50f52824f296453aa560e2068a7e78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 10:03:15 +00:00
Treehugger Robot 1841a37bee Merge "Simplifying taskbar recreation logic" into udc-qpr-dev am: ca533b1254
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23703457

Change-Id: Iff7cb3519b86e4199303cde76d869801c627d94f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 09:09:27 +00:00
Treehugger Robot ca533b1254 Merge "Simplifying taskbar recreation logic" into udc-qpr-dev 2023-06-21 08:15:10 +00:00
Treehugger Robot e17ee42258 Merge "Don't remove the overflow from the bubble bar" into udc-qpr-dev am: a81e601afc am: 473d7850f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23727848

Change-Id: I2e2fd80134389ad1eef5fac3e073856b6dc0298a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 07:33:02 +00:00
Bill Yi 5204db1fa2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5b7ded4d11a74593e2cfa3ddc54e564523c7546d
2023-06-20 20:23:19 -07:00
Mateusz Cicheński 1cfbc3633c Reparent PiP overlay under task as soon as possible am: 357f68275c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23751345

Change-Id: Iae8ab008365b5a0fcfa746e4f14ff7b9c9dcfea5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 00:14:09 +00:00
Winson Chung c27a43ba30 Restore specific colors for floating rotation button
- The rotation button background does not change based on the current
  light/dark mode

Bug: 288126260
Test: Check rotation button color with dark mode enabled/disabled
Change-Id: If4d5edfd4b118e4f16b6d472f206587e7cd61f98
2023-06-20 22:45:25 +00:00
Vinit Nayak 1c81f07eb5 Allow starting split from home, selecting second app from overview
* KI: After entering overview, swiping to exit doesn't
clear split state. That's because LauncherRecentsView#reset()
gets called both when entering and exiting overview.
We'd need to check or pass through what state we're moving to
to determine whether or not actually to reset state in
SplitSelectStateController, or handle that at the gesture level

Flag: ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE
Test: Manual, split paths work w/ and w/o flag enabled
Bug: 276361926
Change-Id: I39391ac5f92b774d8198930829caabe84d950598
2023-06-20 15:17:48 -07:00
Mateusz Cicheński 357f68275c Reparent PiP overlay under task as soon as possible
For enter PiP animations started from Launcher, we send the signal to
WMShell to reparent the overlay under task as soon as possible.

This avoids flicker issue caused by race condition of cleaning up the
transition leash before the reparenting was done, which made the issue
of overlay being not attached to anything for few frames.

Bug: 281711939
Test: winscope trace from comment#28, leash follows task
Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/ewrarENSYYOmUCa0b3fdtp

Change-Id: Ia16afd49a94d9ba8456287c2cdffb2a84e5a2bc7
2023-06-20 21:04:24 +00:00
Tracy Zhou 00c2c68ee3 Allow trackpad gestures in immersive mode ignoring bar visibility
For more context of this change, please check out go/trackpad-immersive-mode

Bug: 287813022
Test: Swipe up in sticky immersive mode (e.g. YouTube)
Change-Id: I11986e5db25bb82504644469190354a98403e2c1
2023-06-20 13:57:17 -07:00
Jagrut Desai 8fb793c195 Merge "Match Navigation Icon Colors Folded/unfolded" into udc-qpr-dev am: bde7e310c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23731676

Change-Id: I5c1bd3a52b4db2b1ce825c426fa1a8d8b663d372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 20:49:26 +00:00
Jagrut Desai bde7e310c5 Merge "Match Navigation Icon Colors Folded/unfolded" into udc-qpr-dev 2023-06-20 20:04:55 +00:00
Alex Chau 8f19421a87 Add detailed exception for snappedIndex == -1 when dismissing tasks
Bug: 269956477
Test: manual
Change-Id: Ia95a3b2ffe5c677af34183639ba8a2742626c340
2023-06-20 19:04:55 +01:00
Andy Wickham b80029b72b Merge "Revert "Switch ScrimView to use view alpha"" into udc-qpr-dev am: a3808a8e33
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23717038

Change-Id: I2cd2434e72373b2771a938e4a7486c8b1cf88457
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 17:12:20 +00:00
Treehugger Robot 473d7850f4 Merge "Don't remove the overflow from the bubble bar" into udc-qpr-dev am: a81e601afc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23727848

Change-Id: I6dc24cd7417390bfe2e6d4f7b6c89d6344b95ec0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 17:08:53 +00:00
Andy Wickham a3808a8e33 Merge "Revert "Switch ScrimView to use view alpha"" into udc-qpr-dev 2023-06-20 17:04:42 +00:00
Randy Pfohl bdfaf926b4 Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev am: 6ec21cbe45 am: 7f44f3c6b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23699415

Change-Id: I68ba3799ec44f1910e8ea2327fe5de519ef538c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 16:56:14 +00:00
Treehugger Robot a81e601afc Merge "Don't remove the overflow from the bubble bar" into udc-qpr-dev 2023-06-20 16:29:03 +00:00
Jon Miranda 883ce5f131 Merge "Fade in/out taskbar bg alpha when unstash/stashing." into udc-dev am: 613cc95c8a am: 004ed77d11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23696768

Change-Id: I7ed64a239bff6254151032758bc8ca9cff360c49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-19 06:45:22 +00:00
Randy Pfohl 16263cabca Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev am: 6ec21cbe45 am: 7f44f3c6b6 am: a9ab712989
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23699415

Change-Id: I552829cd02525d6f598f20e72f477557854818f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-17 01:14:07 +00:00
Randy Pfohl 8309c32216 Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev am: 6ec21cbe45 am: 575bdf8f6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23699415

Change-Id: Ieafd1d8e6a4f3316fba19772c635447925226fee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-17 00:30:20 +00:00
Randy Pfohl a9ab712989 Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev am: 6ec21cbe45 am: 7f44f3c6b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23699415

Change-Id: I95469ce4590a9dc5e49eedb1ec51f215cd10324f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-17 00:29:14 +00:00
Randy Pfohl ffa30075a1 Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev am: 6ec21cbe45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23699415

Change-Id: Id29e58e97afa9bbd7b23bbeb26d9e1ce8584fae7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 23:47:41 +00:00
Randy Pfohl 387a841d9b Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev am: 6ec21cbe45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23699415

Change-Id: Iac823b4df8247e264453055f928f9916338b13ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 23:46:37 +00:00
Randy Pfohl 575bdf8f6c Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev am: 6ec21cbe45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23699415

Change-Id: I572282ce580f631c76e85f3ad94be849a1757952
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 23:45:57 +00:00
Randy Pfohl 6ec21cbe45 Merge "Aligning the intialization process with groupedtaskview to set content description Test: built locally, tested against tablet with bluetooth keyboard." into udc-dev 2023-06-16 23:18:02 +00:00
Jagrut Desai 68ca974330 Suspend immersive mode autohide while pending transient taskbar timeout
Test: open Youtube fullscreen video, swipe up on taskbar; ensure taskbar autostashes before immersive mode autohides
Fixes: 260765455
Flag: none
Change-Id: Ic579a20c60949e12ffc7f9548eded52fbdb06e0c
2023-06-16 15:42:57 -07:00
Jagrut Desai 6bf3af0b81 Match Navigation Icon Colors Folded/unfolded
Recently we did color token migration for Taskbar which included navigation icon also, but phones and foldable device can't really adapt to new color tokens because of contrast issue with underlying wallpapers.

As a result, now home screen which default back to balck and white nav icon colors while all apps and in app navigation icon color will be themed to new GM3 Color tokens.

Test: Manual
Bug: 284408922
Flag: Not needed
Change-Id: I8c8ea11ebb7237885ae4673fda0409ab463b37db
2023-06-16 20:13:15 +00:00
Schneider Victor-tulias 0e2ae733fb Merge "Remove TIS command line arg handling" into udc-qpr-dev am: af1932ebf7 am: 0925abea7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23712630

Change-Id: I21fa82ab758c0e9e7f93bd51cc09e244a2c5fde5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 19:31:49 +00:00
Liran Binyamin cd5591a773 Don't remove the overflow from the bubble bar
When a new bubble is added to the bar and we're over the limit
remove the second to last bubble instead of the overflow.

This change also updates the key of the overflow bubble to
match the one in wmshell.

Bug: 287121592
Test: manual - Add 6 bubbles to the bubble bar
             - The overflow bubble should still be there
Change-Id: Ibd3ab73be5d3afb49f771a1925ebda2c45b55136
2023-06-16 14:51:33 -04:00
Schneider Victor-tulias 0925abea7a Merge "Remove TIS command line arg handling" into udc-qpr-dev am: af1932ebf7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23712630

Change-Id: Ib0aad7e05d1acf68661ea19702f24860ebd77b09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 18:50:20 +00:00
Schneider Victor-tulias af1932ebf7 Merge "Remove TIS command line arg handling" into udc-qpr-dev 2023-06-16 18:10:50 +00:00
Vadim Tryshev f83a5a8e7d Merge "Saving view capture data before cleaning it in ViewCaptureRule" into udc-qpr-dev am: d285515c12 am: e286a47256
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23717438

Change-Id: I4296e780e217bca504c26bcb3b2792ba0fa7b0f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 17:43:48 +00:00
Vadim Tryshev e286a47256 Merge "Saving view capture data before cleaning it in ViewCaptureRule" into udc-qpr-dev am: d285515c12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23717438

Change-Id: I9a2b4a32b8f0e2dce130e92d4a9fed00d75313dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 17:40:40 +00:00
Vadim Tryshev d285515c12 Merge "Saving view capture data before cleaning it in ViewCaptureRule" into udc-qpr-dev 2023-06-16 17:03:32 +00:00
Jeremy Sim aeec6ad584 Merge "Fix two bugs with thumbnail screenshotting for split apps" into udc-qpr-dev am: 5ee79af27e am: af1acaf054
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23502664

Change-Id: I01ae5defcae27c4cb035effd39f838f773a5b1fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 01:37:52 +00:00
Jeremy Sim af1acaf054 Merge "Fix two bugs with thumbnail screenshotting for split apps" into udc-qpr-dev am: 5ee79af27e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23502664

Change-Id: I027de8a3518e4dba47416417b5efd07dd586ebd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 00:56:13 +00:00
Jeremy Sim 5ee79af27e Merge "Fix two bugs with thumbnail screenshotting for split apps" into udc-qpr-dev 2023-06-16 00:03:27 +00:00
vadimt 95c1dc70b4 Saving view capture data before cleaning it in ViewCaptureRule
This makes it reliably available to FailureWatcher who saves the
 artifact afterwards.

Test: local, presubmit
Flag: N/A
Bug: 286251603
Change-Id: I11b4854684f6ba5c798096eac223760d76f004b1
2023-06-15 16:20:04 -07:00
Andy Wickham 88dd86bda9 Revert "Switch ScrimView to use view alpha"
This reverts commit 99c4becf24.

Reason for revert: b/287488354

Change-Id: Ic4db08ca771f1d744ba2c19eb55b9f2d277ad529
2023-06-15 22:27:28 +00:00
Jon Miranda bfd7f9cb6d Merge "Revert "Suspend immersive mode autohide while pending transient taskbar timeout"" into udc-dev am: 6352c9bc88 am: b375d82a55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23678091

Change-Id: I5f5299385f50b09b39833b3bea04647e571d36b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 22:16:48 +00:00
randypfohl 3c2ab1de45 Aligning the intialization process with groupedtaskview to set content description
Test: built locally, tested against tablet with bluetooth keyboard.

Bug: 287287064
Change-Id: I2be667b2a4b0a08f73c3233a05bbaf7eec08c0e4
2023-06-15 15:11:57 -07:00
Sunny Goyal c87f7c74ef Simplifying taskbar recreation logic
Using the same config changes as used by the Launcher activity to
avoid any inconsistencies

Bug: 269409332
Test: Tentative fix, can't reproduce the original bug
Flag: N/A
Change-Id: I3d7503cf13e6b3112151f1db520486d87871584c
2023-06-15 15:03:30 -07:00
Vinit Nayak ae6beea07b Add logs to RemoteTargetGluer for index exception
Bug: 286144914
Change-Id: I16a8d22a281903574c282b08c06695e4f0e46168
2023-06-15 19:38:37 +00:00
Vadim Tryshev 6bcc1ed352 Merge "Moving ViewCaptureRule to inside of FailureWatcher" into udc-qpr-dev am: 2b23dcb094 am: a28604accb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23698242

Change-Id: Ib0b3b784a78acf0ad897623027dea0e1b1806d08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 18:30:29 +00:00
Liran Binyamin 3e94d52732 Fade the bubble bar arrow in and out when the bubble bar expands and collapses.
Demo: http://recall/-/bJtug1HhvXkkeA4MQvIaiP/hKhpM98JZe1gT8bwtYkNeW

Bug: 280604480
Test: Tested on a physical device
Change-Id: Iaee9aeb0a8c1e2bd61816964e4cae5f7bea926ff
2023-06-15 18:07:54 +00:00
Schneider Victor-tulias 8ab395c445 Remove TIS command line arg handling
These args did not have much usage and only complicate the code.

Flag: not needed
Fixes: 287306282
Test: dumped TIS logs
Change-Id: Iafc07723345d8ddbe15f7ca280579f6b42d5c3b6
2023-06-15 17:55:11 +00:00
Vadim Tryshev a28604accb Merge "Moving ViewCaptureRule to inside of FailureWatcher" into udc-qpr-dev am: 2b23dcb094
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23698242

Change-Id: I03e66d5b0e3e1a5e32a78e22f4b96879a6a57f1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 17:47:15 +00:00
Liran Binyamin 35b1f38403 Animate the bubble bar width and the bubbles within it as it expands and collapses.
Fixes: 280604480
Test: Tested on a physical device
Change-Id: I76587cf6ba97700b49c902d42cf4db5f7f3a7152
2023-06-15 17:39:20 +00:00
Vadim Tryshev 2b23dcb094 Merge "Moving ViewCaptureRule to inside of FailureWatcher" into udc-qpr-dev 2023-06-15 17:05:20 +00:00