Commit Graph

20478 Commits

Author SHA1 Message Date
Winson Chung 4b5b50be80 Merge "Always provide mandatory bottom gesture insets" into tm-qpr-dev 2023-04-06 21:40:06 +00:00
Treehugger Robot 199b08efc8 Merge "Close system dialogs on Taskbar home button tap" into tm-qpr-dev 2023-04-06 21:30:51 +00:00
Treehugger Robot 4c61c48dd4 Merge "Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING" into udc-dev 2023-04-06 21:28:38 +00:00
Saumya Prakash 4bce09c01c Merge "Add spacing to gesture nav edu for large fonts." into udc-dev am: 2a7803c42c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22513805

Change-Id: I2cb909d98b992744e2f3ea3d4bd34b2e4d4468d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 21:00:44 +00:00
Saumya Prakash 2a7803c42c Merge "Add spacing to gesture nav edu for large fonts." into udc-dev 2023-04-06 20:54:20 +00:00
TreeHugger Robot 587a41eccf Merge "Cleanup ENABLE_TASKBAR_POPUP_MENU" into udc-dev am: a47bd20ce4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22496955

Change-Id: Icdc281b82c92807633d68bbae75aaabdf7be308f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 20:33:17 +00:00
TreeHugger Robot a47bd20ce4 Merge "Cleanup ENABLE_TASKBAR_POPUP_MENU" into udc-dev 2023-04-06 20:30:30 +00:00
Winson Chung cd111f2ba4 Always provide mandatory bottom gesture insets am: 3d03a208ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22511941

Change-Id: Ib8a675990aae4a68a9332562e81073e9fe491b89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 19:31:38 +00:00
Jeremy Sim a2d9d1de48 Merge "Fix bug with split screen not recognizing user differences" into tm-qpr-dev am: 4bce4f6193
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22463688

Change-Id: I6a9d3d87d27ee922d7aed85a4e4d3369902bef8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 19:30:44 +00:00
Vinit Nayak 5bda089e2b Close system dialogs on Taskbar home button tap
Fixes: 255879258
Test: Able to go home w/ shade down in app and
in overview

Change-Id: Ia706148b4437e18b16b711bda572c4ba28958718
2023-04-06 12:09:35 -07:00
Winson Chung 48e6b4ccd9 Always provide mandatory bottom gesture insets
Bug: 265614886
Bug: 277185135
Test: atest WindowInsetsPolicyTest
Change-Id: I0cf4d5b72e54caf7c671a5d52a93d2066a79ed65
Merged-In: I964e0b759170c127cb05615ce5bf6fa827621187
2023-04-06 19:08:26 +00:00
Jeremy Sim 4bce4f6193 Merge "Fix bug with split screen not recognizing user differences" into tm-qpr-dev 2023-04-06 19:02:50 +00:00
Saumya Prakash b4e34d831f Add spacing to gesture nav edu for large fonts.
For devices with smaller screens and the largest fonts and display
sizes, the end screen of the gesture navigation tutorial would cut off
the `Done` button at the bottom. This adds margins so that the button
remains visible on the screen.

Screenshot of Pixel 5 with the largest font and display:
https://screenshot.googleplex.com/AU5rYYBisZ9Azbr.png

Fix: 275540512
Test: Went through the tutorial with default and largest font sizes on both smaller devices and tablets to ensure the button is always visible.
Change-Id: I66baf9b9044211550395bb3823797127de5e1f99
2023-04-06 18:49:59 +00:00
Tracy Zhou 5a56d022cb Log the input type for gesture nav gestures
Test: N/A
Bug: 276152142
Change-Id: I84a7a9470aa3151d4c6b9dbfc61d8f158987ea47
2023-04-06 09:49:28 -07:00
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 804abfc76b Merge "Fade navbar-handle in/out during TRANSITION_HANDLE_FADE" into tm-qpr-dev am: 2a20958f4b am: 0264036b64 am: 5bd3864c79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22433065

Change-Id: I716cccaa1ad38d54687d441b1172fd7e58e357be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 16:31:53 +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
Jeremy Sim 8e92e94c86 Merge "Fix bug with split screen not recognizing user differences" into udc-dev am: 3b5d0ea09d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22503308

Change-Id: I349f8c5079a9a6420506d971dda53b40a4ce33ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 15:35: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 7eb5cf150d Fade out navbar on lockscreen -> homescreen transition am: 975fa69260 am: 6353f6b8e4 am: 7d7b23e6b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22422409

Change-Id: Ifbca82acb7acc4c421bcc9afdabd7127d5fdec12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 11:55:18 +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 9d5bad994d Revert "Implement two intents or shortcuts to active split" am: 0b69d38787
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22506283

Change-Id: I78a42ee8e5418801d086f1af01536305dd821a96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 08:58:35 +00: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 021ba2af3b Implement two intents or shortcuts to active split am: e1826dbdc7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22343296

Change-Id: I5fceaa02aea13f0d7fd4c6dd79a15a6220a7fda7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 05:52:16 +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 1b75c85305 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.

Fixes: 275410160
Test: Manual
Change-Id: Ic904672769be8fd116180d457b36eb567c5ee304
Merged-In: Ic904672769be8fd116180d457b36eb567c5ee304
Merged-In: I1ec49c75d562e4309a41d98010f0eff113c81e9d
2023-04-06 03:44:33 +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 1cab940110 Merge "Allow grids to specify if we should start align taskbar in 3 button nav." into tm-qpr-dev am: 65ac592f40 am: a2b770b484 am: 75f7bbc150
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22361600

Change-Id: I42fe5668a3af9c2ec1788d1e9b137c8aa5f435a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 22:55:34 +00:00
Schneider Victor-tulias bbe9ca616a Cleanup ENABLE_TASKBAR_POPUP_MENU
Flag: ENABLE_TASKBAR_POPUP_MENU
Fixes: 270392477
Test: opened a popup menu from the taskbar
Change-Id: I779e5410163aa1c9042d2fe128e0c528d168a964
2023-04-05 15:42:40 -07:00
Schneider Victor-tulias 7d8a0df175 Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING
flag: ENABLE_INPUT_CONSUMER_REASON_LOGGING
Fixes: 270390028
Test: ran launcher and printed gesture nav logs
Change-Id: I0fd0b82c1c812ddc43beba03bd456795f68ada55
2023-04-05 15:40:32 -07: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 646315ab2d Merge "Write ViewCapture data to WmTrace when WindowManager dumps." into udc-dev am: 3d877d3b04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22189048

Change-Id: Ia44f32d543c045f7552288460117bb5d16f2a283
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 20:35:21 +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 8e71c52e3d Merge "Allow user gesture to take priority over taskbar translation reset animnatiuon." into tm-qpr-dev am: 4288be12a7 am: b5482137ef am: a65e16fc67
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22464244

Change-Id: I085d1d023edfde39a8d194f29c2fc98a6ed59314
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 20:16:08 +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
Brian Isganitis c466d9f384 Merge "Support simple A-Z search in Taskbar All Apps." into udc-dev am: 296f8776f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22454482

Change-Id: If048c95ad487ae7127645dc18d88312568351991
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 17:55:14 +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 7dfeb90521 Hide taskbar content while dreaming. am: f0f94f2ed9 am: 472fe81e62 am: bfc556793c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22387402

Change-Id: Ifc5f87e7589559bbf57ec2bf97f947663b58e0c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 13:21:05 +00:00
Mike Schneider 0200fde6e6 Factor out explicit animation types for the stash/unstash animations. am: 2ebfc41966 am: 5172dd3e36 am: 74e1aa40b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22359836

Change-Id: I63729b10150fe637c469bf11adc3d05340a7aca4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 13:19:43 +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