Winson Chung
3d03a208ac
Always provide mandatory bottom gesture insets
...
Bug: 265614886
Bug: 277185135
Test: atest WindowInsetsPolicyTest
Change-Id: I964e0b759170c127cb05615ce5bf6fa827621187
2023-04-06 16:43:16 +00:00
Mike Schneider
5bd3864c79
Merge "Fade navbar-handle in/out during TRANSITION_HANDLE_FADE" into tm-qpr-dev am: 2a20958f4b am: 0264036b64
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22433065
Change-Id: I779cae347ca106349f0567cb1660a7f1165b3e5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-06 16:01:27 +00:00
Mike Schneider
0264036b64
Merge "Fade navbar-handle in/out during TRANSITION_HANDLE_FADE" into tm-qpr-dev am: 2a20958f4b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22433065
Change-Id: Ib0a5f6cea3574815e0f6557c4171ba7d1efe8c6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-06 15:33:19 +00:00
Jeremy Sim
3b5d0ea09d
Merge "Fix bug with split screen not recognizing user differences" into udc-dev
2023-04-06 15:12:35 +00:00
Mike Schneider
7d7b23e6b6
Fade out navbar on lockscreen -> homescreen transition am: 975fa69260 am: 6353f6b8e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22422409
Change-Id: I83f8ad85e4fbc990afdfc4b88191a10fa989dae1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-06 11:23:41 +00:00
Mike Schneider
6353f6b8e4
Fade out navbar on lockscreen -> homescreen transition am: 975fa69260
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22422409
Change-Id: Ic1b27f08c277fcda8332a37ef596228a9871f2e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-06 10:54:00 +00:00
Mike Schneider
0d7713780f
Fade navbar-handle in/out during TRANSITION_HANDLE_FADE
...
The existing code relied on the INSTANT / FINAL_FRAME interpolators,
however these did not work as expected for sub-animations with shorter durations,
since the INSTANT / FINAL_FRAME interpolator applies to the sub-animations durations
This caused the stashed handle to jumpcut in/out, while the taskbar icons were
actually visible in the area of the navbar.
This is fixed to polish the lock/unlock animation (b/275319714), but happenes to fix b/276941963 as well.
Before: http://shortn/_uxw2oe7QeA
After: http://shortn/_yMY8IQIM60
Bug: 275319714
Bug: 276941963
Fixed: 275319714
Fixed: 276941963
Test: manual (http://shortn/_rnGNSkRH3w ), tapl tests
Change-Id: I79e431e9ee21ede069864ee217bb343f0c32dfc7
2023-04-06 12:39:46 +02:00
Tony Huang
0b69d38787
Revert "Implement two intents or shortcuts to active split"
...
Revert submission 22349283-intents-split
Reason for revert: Cause master branch build break
Reverted changes: /q/submissionid:22349283-intents-split
Change-Id: I1030f801385b6f17e8565f2f64f71ba5229aed73
2023-04-06 08:08:35 +00:00
Tony Huang
e1826dbdc7
Implement two intents or shortcuts to active split
...
Implement two intents or shortcuts to active split with shell
transition.
Fix: 259368992
Test: manual
Test: pass existing tests
Change-Id: I13522531022b635dc8508a3213b6f414a6b50ce9
2023-04-06 05:19:50 +00:00
Mike Schneider
975fa69260
Fade out navbar on lockscreen -> homescreen transition
...
Introduces a new SYSUI_STATE_STATUS_BAR_KEYGUARD_GOING_AWAY QuickStepContract flag, to get an early signal when the keyguard is going away
Bug: 275319714
Test: transitions manual (http://shortn/_ySNBaPFHRZ ), existing tapl tests
Change-Id: Ie0044ea8e934afa793ca56a4eacc2b776edbdf0e
2023-04-06 05:08:28 +00:00
Jeremy Sim
0c5262b9e1
Fix bug with split screen not recognizing user differences
...
This patch fixes a bug where split screen did not fully support launching intents with different users.
The bug arose because SplitSelectStateController only had one place to store user information about the staged intent, mUser, but this disregarded the fact that the secondary app could also be passed in as an intent, and could belong to a different user from that of the initial app and the existing context. We need to support this case now since we now allow second-app selection from Taskbar.
Fixed by splitting the field into mInitialUser and mSecondUser, which will be tightly bound with mInitialTaskIntent and mSecondTaskIntent to make sure that Intents are always launched with the correct UserHandle.
Change-Id: I1ec49c75d562e4309a41d98010f0eff113c81e9d
Fixes: 275410160
Test: Manual
Merged-In: Ic904672769be8fd116180d457b36eb567c5ee304
2023-04-06 03:42:55 +00:00
TreeHugger Robot
75f7bbc150
Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40 am: a2b770b484
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600
Change-Id: I41eea8cf3fa15c9c5c3f3184f2ba75318332f623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-05 22:36:14 +00:00
TreeHugger Robot
a2b770b484
Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600
Change-Id: I71c7f33286ccfa770f87b812c8ec27fa4ecb25ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-05 22:06:49 +00:00
TreeHugger Robot
65ac592f40
Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev
2023-04-05 21:46:40 +00:00
Stefan Andonian
3d877d3b04
Merge "Write ViewCapture data to WmTrace when WindowManager dumps." into udc-dev
2023-04-05 20:19:42 +00:00
Jon Miranda
a65e16fc67
Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev am: 4288be12a7 am: b5482137ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22464244
Change-Id: I94b42f6ae10da01e70f6d5555ff596a5d7263785
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-05 19:39:11 +00:00
Jon Miranda
b5482137ef
Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev am: 4288be12a7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22464244
Change-Id: I75fdac300d2875b28ef0b230c27396c68b469ade
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-05 18:47:26 +00:00
Jon Miranda
4288be12a7
Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev
2023-04-05 18:20:16 +00:00
Jon Miranda
04f051045c
Allow grids to specify if we should start align taskbar in 3 button
...
nav.
Bug: 259712417
Test: check layout on tablet
check layout on multi_display devices
Change-Id: I282f51e5d76a30e9ad9d8c52d03d4853e965d65a
2023-04-05 10:29:51 -07:00
Brian Isganitis
296f8776f7
Merge "Support simple A-Z search in Taskbar All Apps." into udc-dev
2023-04-05 17:13:52 +00:00
Mike Schneider
bfc556793c
Hide taskbar content while dreaming. am: f0f94f2ed9 am: 472fe81e62
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22387402
Change-Id: Ib3d617628644087d9db762562506d1a429e29636
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-05 12:49:22 +00:00
Mike Schneider
74e1aa40b5
Factor out explicit animation types for the stash/unstash animations. am: 2ebfc41966 am: 5172dd3e36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22359836
Change-Id: I25371fc12c63fa7eff1f49f32c4cc22416dba5bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-05 12:49:13 +00:00
Mike Schneider
472fe81e62
Hide taskbar content while dreaming. am: f0f94f2ed9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22387402
Change-Id: I9a701bd2edcc4d0cadff91eb9983c29d0772364c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-05 12:16:40 +00:00
Mike Schneider
5172dd3e36
Factor out explicit animation types for the stash/unstash animations. am: 2ebfc41966
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22359836
Change-Id: I962f6be19245efef84a70ccd67c5ebf86422c80f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-05 12:16:32 +00:00
Mike Schneider
f0f94f2ed9
Hide taskbar content while dreaming.
...
When entering the dreaming state, the TaskbarDragLayer is faded out.
Upon wake up, a slight delay is added to allow the SFPS reader to do
its magic, so the lockscreen-navbar does not pop-in just to be removed
again.
Bug: 271440683
Bug: 275319714
Fixes: 271440683
Test: manual (http://shortn/_cQudGXDSDU )
Change-Id: I34e02f02288bace39626d531d115fc994b11f371
2023-04-05 09:40:21 +02:00
Mike Schneider
2ebfc41966
Factor out explicit animation types for the stash/unstash animations.
...
This consolidates the logic on what animation to play into one place, and will simplify tuning the lock/unlock transitions
Bug: 275319714
Test: manually (http://shortn/_Q1dTzmIpqK ), unit tests
Change-Id: I9ba9c9f13dbbff88d8515e567fdb3dfe5556553e
2023-04-05 09:40:21 +02:00
Brian Isganitis
728d19a0e2
Support simple A-Z search in Taskbar All Apps.
...
Supporting the Launcher3 search box is low hanging fruit, so we might as
well do it.
Also renamed the feature flag to be for search in general.
Test: Launching, split screen, and popups work in search.
Bug: 216683257
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR=false
Change-Id: I056b89be6f458d1d90100e34551baa34037574d1
2023-04-04 20:35:31 -04:00
Jon Miranda
41b580bc63
Allow user gesture to take priority over taskbar translation reset animnatiuon.
...
Bug: 273948325
Test: open overview
tap to open main app
quickly swipe up to show taskbar
Change-Id: I0bbb3a354baf9b56652f029a357d8a5803281da5
2023-04-04 17:06:04 -07:00
Brian Isganitis
d063cc0025
Merge "Dispatch insets from overlay drag layer." into udc-dev
2023-04-04 20:33:31 +00:00
Tracy Zhou
7a8cbd3186
Merge "Support second meta key closing the all apps tray" into udc-dev
2023-04-04 20:13:23 +00:00
Tony Wickham
af02f865ee
Merge "Add debug logs for why taskbar might not be destroyed" into tm-qpr-dev am: c8d8c58f5b am: 3979706e06
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22391708
Change-Id: I6213932faa483c24c9d083b95ee9247c47127128
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-04 16:37:08 +00:00
Tony Wickham
3979706e06
Merge "Add debug logs for why taskbar might not be destroyed" into tm-qpr-dev am: c8d8c58f5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22391708
Change-Id: I1bea5537e4bfbe6bac55010f58979c2f9fcf6fe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-04 16:07:16 +00:00
Tony Wickham
c8d8c58f5b
Merge "Add debug logs for why taskbar might not be destroyed" into tm-qpr-dev
2023-04-04 15:40:28 +00:00
Tracy Zhou
cb93ec5f21
Support second meta key closing the all apps tray
...
Bug: 270244718
Test: Tap meta key twice, see all apps tray open an close
Change-Id: I6db84aa16b7d21663053bf1b269af6ba36874e47
2023-04-03 20:26:39 -07:00
Brian Isganitis
ecded08ddd
Dispatch insets from overlay drag layer.
...
This simplifies insets handling for All Apps and EDU, and also fixes
some edge cases with All Apps popup menus. KeyboardQuickSwitchView now
needs to ignore insets since it has a hardcoded top margin,
keyboard_quick_switch_margin_top.
Fix: 276804708
Test: All Apps, EDU, and Quick Switch all have proper insets handling.
Change-Id: I93237a057b4f9ae62f71a70c59a58f3c8401c102
2023-04-03 20:37:11 -04:00
Tony Wickham
df59884370
Add debug logs for why taskbar might not be destroyed
...
Test: Manually read log output
Flag: None
Bug: 254119092
Change-Id: Ibaa7ffdc91030c5c999ddc5f2807a55763854331
2023-04-03 23:20:57 +00:00
Sebastián Franco
60ad6b5abb
Merge "Correctly disposing of LauncherUnlockAnimationController" into udc-dev
2023-04-03 22:54:36 +00:00
Jon Miranda
529ee0e426
Merge "Fix badged icons / icons with notification dot being cropped." into tm-qpr-dev am: 175f5c865b am: 6e74ffac80
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22432562
Change-Id: I80033a60fe7988754b4fdc4943a86eda1a728732
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-03 21:34:56 +00:00
TreeHugger Robot
a889f63ca1
Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev am: f00e831f05 am: 08e0083ee9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22424377
Change-Id: I8706f34ac82ab61e2816ee414cd48c427ff7af33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-03 21:34:27 +00:00
Mike Schneider
7d00aa3b75
Merge "Change the use of ScreenLifecycle to WakefulnessLifecycle." into tm-qpr-dev am: 99cd75e9e3 am: efbe9408e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22322154
Change-Id: Ie5ca28c4097893ea79b3eb5281bd46ec7f237eb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-03 21:33:31 +00:00
Jon Miranda
6e74ffac80
Merge "Fix badged icons / icons with notification dot being cropped." into tm-qpr-dev am: 175f5c865b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22432562
Change-Id: Iba768bfb5b850ed44ba992051cd2e6a1da71e2be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-03 21:29:48 +00:00
Jon Miranda
175f5c865b
Merge "Fix badged icons / icons with notification dot being cropped." into tm-qpr-dev
2023-04-03 21:06:21 +00:00
TreeHugger Robot
08e0083ee9
Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev am: f00e831f05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22424377
Change-Id: I04e48379582caf6a102774c5e15dc40993580f3b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-03 21:00:33 +00:00
Mike Schneider
efbe9408e0
Merge "Change the use of ScreenLifecycle to WakefulnessLifecycle." into tm-qpr-dev am: 99cd75e9e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22322154
Change-Id: I85b794c9e41f0ce371d9d507ded2f6e599563af0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-03 20:59:34 +00:00
TreeHugger Robot
f00e831f05
Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev
2023-04-03 19:47:40 +00:00
Mike Schneider
99cd75e9e3
Merge "Change the use of ScreenLifecycle to WakefulnessLifecycle." into tm-qpr-dev
2023-04-03 19:44:23 +00:00
Fengjiang Li
9529f08b1b
Merge "[Predictive Back] Gate feature under experiment flag" into udc-dev
2023-04-03 17:39:56 +00:00
Jon Miranda
b0195376d4
Fix badged icons / icons with notification dot being cropped.
...
For icons, we use radius = 0 during the reveal animation so
that the entire view will be visible.
Fixes: 276625136
Test: - have work profile icon or badged shortcut in taskbar/hotseat
- swipe up to close
- also check swipe back to close
- ensure entire icon is visible at the end of the animation so
that there is a clean handoff
- run same test with icons that have notification dot
Flag: ENABLE_TRANSIENT_TASKBAR true
Change-Id: I3fef1eede5cac189dab1bf1be4ebd048720727c7
2023-04-03 10:06:16 -07:00
Vinit Nayak
02f20dddb0
Merge "Default to using SplitSelectSource drawable if TaskView icon drawable is null" into tm-qpr-dev am: 8e307ba50a am: 3e5b212204
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22347415
Change-Id: I2f3da1c74ed5ae04ff9cbc4bc06e280da5390b4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-03 15:54:11 +00:00
Vinit Nayak
3e5b212204
Merge "Default to using SplitSelectSource drawable if TaskView icon drawable is null" into tm-qpr-dev am: 8e307ba50a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22347415
Change-Id: I9fe261fdaa96ab8d5a0792a3d69cb201beebdb9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-04-03 15:22:57 +00:00