Commit Graph

4603 Commits

Author SHA1 Message Date
TreeHugger Robot e864cb28d1 Merge "Update TaskView corner radius as RecentsView scale changes" into sc-v2-dev am: d238074c39 am: a41dbd3204
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101499

Change-Id: Ia3e15aab8905ec0d05284b4de072ee00f95f18da
2021-10-21 15:40:01 +00:00
TreeHugger Robot d238074c39 Merge "Update TaskView corner radius as RecentsView scale changes" into sc-v2-dev 2021-10-21 15:12:16 +00:00
Alex Chau 3c6795e355 Update TaskView corner radius as RecentsView scale changes
Fix: 192253697
Test: manual
Change-Id: I45825c955b759163792d704408e348c198830fc8
2021-10-21 14:23:11 +01:00
Nick Chameyev d3d43cc392 Merge "Do not animate statusbar unfold when in portrait orientation" into sc-v2-dev am: 8523412470 am: 9790455748
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16057110

Change-Id: Ieee1d02232f6b6b7588e51b68ad02a16e90b4115
2021-10-21 10:24:01 +00:00
Nick Chameyev 8523412470 Merge "Do not animate statusbar unfold when in portrait orientation" into sc-v2-dev 2021-10-21 10:02:00 +00:00
TreeHugger Robot f0c43eac90 Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev am: 6409130f29 am: a62931ebb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16093822

Change-Id: I3f63577fe88715e33634ed656d8c21a1d50b4242
2021-10-20 23:59:07 +00:00
TreeHugger Robot 6409130f29 Merge "Cache TISBinder for multiple onBind() calls" into sc-v2-dev 2021-10-20 23:34:49 +00:00
Vinit Nayak 45fbe5b563 Cache TISBinder for multiple onBind() calls
Bug: 202986128
Change-Id: I29a0963ff2880c9970859bc1437c7624bc7f0aea
2021-10-20 13:51:40 -07:00
Schneider Victor-tulias c1a99b8712 Merge "Generalize the icon popup menu types." into sc-v2-dev am: e9bd364390 am: e650a048fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065857

Change-Id: Ibef5acdb235ff1b0f30dd18e90330584ec037fa1
2021-10-20 19:23:18 +00:00
Schneider Victor-tulias e9bd364390 Merge "Generalize the icon popup menu types." into sc-v2-dev 2021-10-20 18:32:56 +00:00
Pat Manning 011d37be5a Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev am: 3c647ff30a am: 2e5511ad4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15992810

Change-Id: I368651cbc9255f50baf3e741b561bebb16b18dd2
2021-10-20 15:55:07 +00:00
Pat Manning 3c647ff30a Merge "Add new quickstep test for many tasks open at once." into sc-v2-dev 2021-10-20 15:20:26 +00:00
Pat Manning ccec1de6ae Add new quickstep test for many tasks open at once.
This test is needed for testing overview-grid-related functionality.
- Opening non-focused tasks
- Dismissing a non-focused task from the grid
- Grid rows rebalancing after dismissal, which only happens when enough
apps are open to be off-screen.
- Grid tasks do not scroll after dismissal.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ic907db4643cdc2eb9e4610dab917347e234e470c
2021-10-20 14:40:32 +01:00
Schneider Victor-tulias 16e04e29d2 Generalize the icon popup menu types.
Generalized popup menu types and logic to allow wider uses outside of launcher.

Bug: 198438631
Test: long pressed launcher icons and pressed menu options
Change-Id: Iadcbb1796496c0061dcee362784e426ff55dc94a
2021-10-19 16:06:16 -07:00
TreeHugger Robot 68b2de5a40 Merge "Delaying taskbar loading until user setup completed" into sc-v2-dev am: bc9dd92220 am: c85b7a0cbe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16080048

Change-Id: I8584932278e3d6afc25f0c7d26c9ec08e1661649
2021-10-19 22:11:55 +00:00
TreeHugger Robot bc9dd92220 Merge "Delaying taskbar loading until user setup completed" into sc-v2-dev 2021-10-19 21:49:02 +00:00
TreeHugger Robot bb29cc115f Merge "Add log to RemoteTargetGluer to determine which array is empty." into sc-v2-dev am: 741cba2fc3 am: 75454fc871
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087353

Change-Id: Ib08760687ca0bcfec0630697fe1ed3d032f340f6
2021-10-19 20:34:06 +00:00
Sunny Goyal 2a528a43c1 Delaying taskbar loading until user setup completed
> Also keeping it stashed while all-set activity is visible
> Creating a shared state (simiar to saved instance state) for taskbar
> Keeping taskbar stashed while all-set activity is visible

Bug: 194786060
Bug: 201782272
Test: Manual
Change-Id: Iab5e082243a206772266aece62d3028f5acb6400
2021-10-19 12:38:02 -07:00
Schneider Victor-tulias 11c6ecd1df Merge "Update gesture navigation tutorial with new specs for foldable devices." into sc-v2-dev am: b4307ff8aa am: 1f056c5544
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15952947

Change-Id: I716bf7efcd18e2c543ab7a3ac1563c35b32c665c
2021-10-19 18:23:52 +00:00
Vinit Nayak 75465b2d7f Add log to RemoteTargetGluer to determine which array is empty.
Bug: 199658495
Change-Id: I069044d8ee0173fa3870f48d50374c634e0d58d7
2021-10-19 18:10:06 +00:00
Schneider Victor-tulias b4307ff8aa Merge "Update gesture navigation tutorial with new specs for foldable devices." into sc-v2-dev 2021-10-19 17:59:31 +00:00
Tracy Zhou b38fe7f1a4 Merge "Track LauncherState for task bar stashing better" into sc-v2-dev am: fc0b21596f am: e268bda30d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951094

Change-Id: Iabfbc700313c098ad67b0e4664fe098416b9a9e0
2021-10-19 07:43:26 +00:00
Tracy Zhou fc0b21596f Merge "Track LauncherState for task bar stashing better" into sc-v2-dev 2021-10-19 07:06:14 +00:00
Vinit Nayak c6535c2ca4 Merge "Ensure RecentsView RemoteTargetHandle's are non-null" into sc-v2-dev am: 6f6e97c653 am: 9cb63858a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16067210

Change-Id: I2d2566971847205d263e662a7587e7bb8b964e60
2021-10-18 23:52:25 +00:00
Vinit Nayak 6f6e97c653 Merge "Ensure RecentsView RemoteTargetHandle's are non-null" into sc-v2-dev 2021-10-18 23:19:21 +00:00
Mady Mellor dc0aa95242 Merge "Add a scrim to taskbar for bubbles expanded state" into sc-v2-dev am: 20c05fbd4c am: 228537ec0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910463

Change-Id: I0a76e9d33c2617d6708b72458c013ddc2b448428
2021-10-18 20:00:16 +00:00
Mady Mellor 20c05fbd4c Merge "Add a scrim to taskbar for bubbles expanded state" into sc-v2-dev 2021-10-18 19:35:05 +00:00
Tracy Zhou ae88197e5f Track LauncherState for task bar stashing better
- Animate in onStateTransitionStart
- Commit in onStateTransitionComplete

Fixes: 193938970
Fixes: 200765631
Fixes: 201644899
Test: Go home from overview; Go to all apps from home; Go to overview from home
Change-Id: I393022c86f09806fea29fb5bc7191304b473f231
2021-10-18 10:51:51 -07:00
Tony Wickham bda29dbea8 Merge "Fix taskbar layout issues in setup wizard" into sc-v2-dev am: e202a64e56 am: e88faac7ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16061630

Change-Id: I4828b7340c47a08c79048f3b19f2b100a81dc9f1
2021-10-18 16:26:19 +00:00
Tony Wickham e202a64e56 Merge "Fix taskbar layout issues in setup wizard" into sc-v2-dev 2021-10-18 16:01:38 +00:00
Vinit Nayak 5672e37cb7 Merge "Handle race between creating and assigning RemoteTargetHandles" into sc-v2-dev am: 30d46ef842 am: 088b6ad1ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065856

Change-Id: If0c5efa1c07803304b6d243212a484d193c321c4
2021-10-16 06:14:13 +00:00
Vinit Nayak 30d46ef842 Merge "Handle race between creating and assigning RemoteTargetHandles" into sc-v2-dev 2021-10-16 05:39:24 +00:00
Vinit Nayak 15028e030b Handle race between creating and assigning RemoteTargetHandles
* Getting a callback from shell to inform when task is in split
and when it's been removed is asynchronous, and not
coordinated with launcher's swipe up gesture.
* There's a chance that user can quickswitch to single app
and start swipe up before shell could notify
LauncherSplitScreenListener, which would cause mismatched state.

Bug: 199658495
Change-Id: I722eeb26d83e99b2a2f77748984d0d7c390b5fec
2021-10-15 22:18:46 +00:00
Vinit Nayak 775fcb3fcf Ensure RecentsView RemoteTargetHandle's are non-null
Fixes: 201246959
Change-Id: Ifb8463e62765c92377db2a57ff7568e31da667aa
2021-10-15 15:16:20 -07:00
TreeHugger Robot 8d70c127a5 Merge "Removing overscroll pluging support" into sc-v2-dev am: 27e294a973 am: dd336bbff6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951928

Change-Id: Ibc7592143466c95181fef342a773cec30cf1668f
2021-10-15 20:01:22 +00:00
TreeHugger Robot 27e294a973 Merge "Removing overscroll pluging support" into sc-v2-dev 2021-10-15 19:27:25 +00:00
Vinit Nayak f037534622 Merge "Align 3 button nav with hotseat" into sc-v2-dev am: 2a7c0c4ed8 am: da87bc753d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16045012

Change-Id: I0ff83b0cc9840948b62a4d675787e72f4724c1a6
2021-10-15 15:46:57 +00:00
Vinit Nayak 2a7c0c4ed8 Merge "Align 3 button nav with hotseat" into sc-v2-dev 2021-10-15 15:25:16 +00:00
Nick Chameyev ae818dfe42 Do not animate statusbar unfold when in portrait orientation
Disables unfold animation for statusbar when it is
perpendicular to the screen fold.
Moves ScopedUnfoldTransitionProgressProvider from launcher
to shared SysUI/Launcher code

Bug: 201518277
Test: manual
Test: atest com.android.systemui.unfold.util.NaturalRotationUnfoldProgressProviderTest
Change-Id: I1417ee89b132b541d5a3ed0e5ddcbc56d827da96
2021-10-15 14:06:42 +01:00
Vinit Nayak 23c40bee98 Merge "Suspend auto-hiding taskbar when folder is open" into sc-v2-dev am: 22762d91cd am: 55c5ae2395
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16010272

Change-Id: I43c74433fb4534ee89af77a43a870f4e7375a2d5
2021-10-15 09:42:08 +00:00
Tony Wickham bb6e278f14 Fix taskbar layout issues in setup wizard
- Align nav buttons (only back is enabled) to start instead of end
- Don't animate from init()
- Provide 0 contentInsets.bottom
  - Auto-stash the taskbar during setup
  - Hide the stashed handle by adding an alpha channel for home disabled
  - Report 0 contentInsets when stashed if the handle isn't visible
- Tint nav buttons according to theme

Test: adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
Bug: 194786060
Change-Id: I4a40501e8aad2a38ec00398efe9ea3dbfa7428cd
2021-10-14 21:50:03 -07:00
Vinit Nayak 74b25ca266 Align 3 button nav with hotseat
* Animate translationY alongside icons
* When device rotates on home, update
translationY
* Add padding to contextual buttons to center
it

Bug: 189807374
Change-Id: I149ef25df570fb1fd385f1da960c827105ff975d
2021-10-14 18:32:35 -07:00
Schneider Victor-tulias 97b85ee6cb Update gesture navigation tutorial with new specs for foldable devices.
- Added new layout files for mock screens.
- Added new mock hotseat

Bug: 198434693
Test: launched and completed tutorial on regular phone and foldable device.
Change-Id: I1ad04f9e8e3a012528d6fd8fbaa0366687c65d06
2021-10-14 12:37:34 -07:00
Vinit Nayak 22762d91cd Merge "Suspend auto-hiding taskbar when folder is open" into sc-v2-dev 2021-10-14 19:11:53 +00:00
TreeHugger Robot c3496b686d Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev am: 5ec8046f6a am: 953476e27b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16008751

Change-Id: I98df0ac08e5da6bc39be00809a876e8b214a4e7b
2021-10-11 23:32:47 +00:00
TreeHugger Robot 5ec8046f6a Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev 2021-10-11 23:01:31 +00:00
TreeHugger Robot d411c4a41e Merge "Sending Launcher resume event to app predictor" into sc-v2-dev am: 60c64adeed am: 5e5bbff723
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16020107

Change-Id: I8ba97e7d4a92194cd347a762c5d79bc4a547e439
2021-10-11 21:59:36 +00:00
TreeHugger Robot 60c64adeed Merge "Sending Launcher resume event to app predictor" into sc-v2-dev 2021-10-11 21:22:50 +00:00
Tracy Zhou a4a4002fa5 Transform touch events in landscape mode now that app is on top
Fixes: 193375232
Test: Swipe up from app in landscape mode, interact with Overview, and make sure it's interactive
Change-Id: Ib1838f02d537918b7a13d51a1fdcacbf3d02b99d
2021-10-11 14:04:51 -07:00
TreeHugger Robot 44ac266686 Merge "Fix split select scroll range when TaskView aren't shifting" into sc-v2-dev am: 11579eea19 am: 21192886c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16015203

Change-Id: I91b37c5388f5e0eb7d2f53ea71ad8c8272fb6f09
2021-10-11 20:22:20 +00:00