Commit Graph

15101 Commits

Author SHA1 Message Date
Vinit Nayak aa17ce6274 Merge "Allow starting split from home, selecting second app from overview" into udc-qpr-dev 2023-06-21 18:24:09 +00:00
Winson Chung aa4a56aaa1 Merge "Restore specific colors for floating rotation button" into udc-dev am: d827387ffd am: 5c03116eb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23755143

Change-Id: I0c066b9cba339bf16ae2215cbb527c5e3038a03e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 17:30:02 +00:00
Winson Chung 5c03116eb3 Merge "Restore specific colors for floating rotation button" into udc-dev am: d827387ffd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23755143

Change-Id: I8d21b03dfec3522d92d6e4b728de76ad99e01371
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 16:47:23 +00:00
Winson Chung d827387ffd Merge "Restore specific colors for floating rotation button" into udc-dev 2023-06-21 16:06:19 +00:00
Treehugger Robot 41cbb5bc88 Merge "Add detailed exception for snappedIndex == -1 when dismissing tasks" into udc-dev am: dcbe9583fb am: 143e612bc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23535540

Change-Id: Ie51df96182b138aeda874960da8511eaefab1d15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 12:29:19 +00:00
Treehugger Robot 143e612bc4 Merge "Add detailed exception for snappedIndex == -1 when dismissing tasks" into udc-dev am: dcbe9583fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23535540

Change-Id: Id446aaa7fa907aaa4376b9d442f5bbc78a44298c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 11:47:17 +00:00
Treehugger Robot dcbe9583fb Merge "Add detailed exception for snappedIndex == -1 when dismissing tasks" into udc-dev 2023-06-21 11:00:20 +00:00
Treehugger Robot ca533b1254 Merge "Simplifying taskbar recreation logic" into udc-qpr-dev 2023-06-21 08:15:10 +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
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
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 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 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 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
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 af1932ebf7 Merge "Remove TIS command line arg handling" into udc-qpr-dev 2023-06-16 18:10:50 +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 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
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 2b23dcb094 Merge "Moving ViewCaptureRule to inside of FailureWatcher" into udc-qpr-dev 2023-06-15 17:05:20 +00:00
vadimt 62f24f63ad Moving ViewCaptureRule to inside of FailureWatcher
Goal: ViewCaptureRule finishes recording before FailureWatcher starts saving
  artifacts, including view capture.

Also starting recoding without waiting for activity creation if there is
already a Launcher activity.

Test: local, presubmit
Flag: N/A
Bug: 286251603
Change-Id: I191d3cdde76e9f906453b20325862f2bcff9024c
2023-06-14 17:39:48 -07:00
Jon Miranda 613cc95c8a Merge "Fade in/out taskbar bg alpha when unstash/stashing." into udc-dev 2023-06-15 00:02:02 +00:00
Jon Miranda d76713eb08 Fade in/out taskbar bg alpha when unstash/stashing.
This prevents the case where we are drawing both the taskbar bg
renderer and the stashed handle at the same time.

Fixes: 287245176
Test: go home/overview, open/close notif shade, stash/unstash in app
Change-Id: Ib025a0cf1ad5fd8a9afd079aa50210f3b2388d8e
2023-06-14 14:04:27 -07:00
Treehugger Robot 77110f977f Merge "Polish redesgined tutorial home and overview animations" into udc-dev 2023-06-14 18:35:21 +00:00
Anushree Ganjam 1f85e98181 Merge "Adding OVERVIEW entry state for Rocket Gesture." into udc-qpr-dev 2023-06-14 17:45:15 +00:00
Vinit Nayak 9ab1a4a835 Merge "Remove mFirstFloatingTaskView from recents view" into udc-qpr-dev 2023-06-14 16:31:23 +00:00
Treehugger Robot 1a8898f69b Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-06-14 03:32:14 +00:00
Anushree Ganjam 959d2f73c4 Adding OVERVIEW entry state for Rocket Gesture.
Bug: 276820117
Test: NA
Flag: NA
Change-Id: Ibc9062ab0137a554600d278a18fe1243facd3d8a
2023-06-14 01:27:09 +00:00
Jon Miranda 6352c9bc88 Merge "Revert "Suspend immersive mode autohide while pending transient taskbar timeout"" into udc-dev 2023-06-14 01:10:08 +00:00
Sihua Ma d655e07dcc Merge "Fix widget foreground disappearing when swiping back" into udc-qpr-dev 2023-06-14 00:03:34 +00:00
Jeremy Sim 174ba93ed5 Fix two bugs with thumbnail screenshotting for split apps
This patch fixes two bugs with the thumbnail screenshotting flow for split apps. There is no currently filed bug behavior for these bugs, but they look wrong in the code -- this is the proposed fix/refactor.

Fixes: 285191462
Test: Still passes presubmit
Change-Id: I43eefa334d66676b8175919e266b82947f1837e5
2023-06-13 22:14:52 +00:00
Jon Miranda a6653ae660 Revert "Suspend immersive mode autohide while pending transient taskbar timeout"
This reverts commit 0a074648c2.

Reason for revert: caused regression
Bug: 260765455
Fixes: 286808390

Change-Id: I0e017cf8e432f9c36b0ad34154c127c0dbe73504
2023-06-13 20:09:58 +00:00
TreeHugger Robot 5e93596e19 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2023-06-13 19:58:54 +00:00
Vinit Nayak 62a9635970 Remove mFirstFloatingTaskView from recents view
* Part of effort to slowly migrate split state out
of RecentsView and into SplitSelectStateController

Test: Existing split flows work
Bug: 276361926
Change-Id: I099a59cf4820b4b2e4af94b59c464158c5e62806
2023-06-13 12:04:53 -07:00
Brian Isganitis cca18d8028 Merge "Support zero-state suggestions in Taskbar All Apps." into udc-qpr-dev 2023-06-13 18:26:36 +00:00
Schneider Victor-tulias 3b9c654669 Merge "Polish redesgined tutorial home and overview animations" into udc-qpr-dev 2023-06-13 13:47:21 +00:00
Randy Pfohl 27e1e8eddc Merge "switching animation to screenshot to avoid visual jank" into udc-dev am: f5bec7dd30 am: c338164e7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23665476

Change-Id: Id99b6964e18cc7ec7daca9993ec2cffe5c8044b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-13 06:50:06 +00:00
Saumya Prakash 07ed097042 Merge "Scale the gesture tutorial animation to work on smaller devices" into udc-dev am: cb5e2cfd3e am: 83301267f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23632910

Change-Id: I1f12a7dddfa9fd9efbd762fad142e87a2e5842e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-13 06:49:43 +00:00
Randy Pfohl f5bec7dd30 Merge "switching animation to screenshot to avoid visual jank" into udc-dev 2023-06-13 05:43:21 +00:00