Commit Graph

11392 Commits

Author SHA1 Message Date
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
TreeHugger Robot 75454fc871 Merge "Add log to RemoteTargetGluer to determine which array is empty." into sc-v2-dev am: 741cba2fc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16087353

Change-Id: I501b68cc58ce12bab56249db73b61e157d251c32
2021-10-19 20:09:38 +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
Schneider Victor-tulias 1f056c5544 Merge "Update gesture navigation tutorial with new specs for foldable devices." into sc-v2-dev am: b4307ff8aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15952947

Change-Id: Ib4847f452b588a4da7ff4f87ca6b628975f91e34
2021-10-19 18:13:51 +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 e268bda30d Merge "Track LauncherState for task bar stashing better" into sc-v2-dev am: fc0b21596f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951094

Change-Id: If4e76bcb2859ca208746c780dc6d28524757033d
2021-10-19 07:26:28 +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 9cb63858a8 Merge "Ensure RecentsView RemoteTargetHandle's are non-null" into sc-v2-dev am: 6f6e97c653
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16067210

Change-Id: Id69ee02d38ad2c0f6328c5d9f224703855a48641
2021-10-18 23:37:37 +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 228537ec0b Merge "Add a scrim to taskbar for bubbles expanded state" into sc-v2-dev am: 20c05fbd4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910463

Change-Id: I77c022b28d907cd7077b45c06539712f24de7a9a
2021-10-18 19:44:17 +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 e88faac7ce Merge "Fix taskbar layout issues in setup wizard" into sc-v2-dev am: e202a64e56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16061630

Change-Id: Ib1fe910bbd5d82a5002e345ba9bbfad0e7d02176
2021-10-18 16:16:10 +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 088b6ad1ee Merge "Handle race between creating and assigning RemoteTargetHandles" into sc-v2-dev am: 30d46ef842
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16065856

Change-Id: I981c2d1f6a173be05533d0dd736547b0056c67fa
2021-10-16 05:56:42 +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
Samuel Fufa de36e9cf2d Merge "[Search] Hide A-Z list when search is entered from QSB" into sc-v2-dev am: 4ff90a435e am: 201d221400
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049078

Change-Id: If40a07ee2003b1c62b6910b47062e27e79df3bc8
2021-10-16 04:57:00 +00:00
Samuel Fufa 201d221400 Merge "[Search] Hide A-Z list when search is entered from QSB" into sc-v2-dev am: 4ff90a435e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16049078

Change-Id: Ic29aebfb262f1efd9fabadd737b2c90e6d8da812
2021-10-16 04:44:53 +00:00
Samuel Fufa 4ff90a435e Merge "[Search] Hide A-Z list when search is entered from QSB" into sc-v2-dev 2021-10-16 04:28:23 +00:00
sfufa@google.com 7a620d3673 [Search] Hide A-Z list when search is entered from QSB
preview attached to bug report

Bug: 201781284
Test: manual
Change-Id: I572360d2d49b38577a7d77115aede4c3269d42e9
2021-10-15 15:49:43 -07: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 dd336bbff6 Merge "Removing overscroll pluging support" into sc-v2-dev am: 27e294a973
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15951928

Change-Id: Ia88f0c47785a2e8c7c2e24c06e00e9b54cee6a01
2021-10-15 19:45:32 +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 da87bc753d Merge "Align 3 button nav with hotseat" into sc-v2-dev am: 2a7c0c4ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16045012

Change-Id: I80e0ea7e4f363b20e43f2c11b16b8cc8fb853c81
2021-10-15 15:35:55 +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
Vinit Nayak 55c5ae2395 Merge "Suspend auto-hiding taskbar when folder is open" into sc-v2-dev am: 22762d91cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16010272

Change-Id: I3dd86dc6b32e65f87e3c1c37702a964afbdfb8b7
2021-10-15 09:25:39 +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
Tony Wickham 615cf6c431 Fix launching window bounds for immersive apps
Test: Open an immersive app (e.g. fullscreen YT video), ensure it fills
the screen; open a non-immersive app (e.g. Calculator), ensure it only
fills up to the top of the taskbar.
Fixes: 200036592

Change-Id: Id815bbc8140cbaf1e61ac587ae1f1325e7ec5b72
2021-10-13 21:17:16 +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 953476e27b Merge "Transform touch events in landscape mode now that app is on top" into sc-v2-dev am: 5ec8046f6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16008751

Change-Id: I67f6affe4e7b1894ad8993d6e15bb5a51f2e611d
2021-10-11 23:19:48 +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 5e5bbff723 Merge "Sending Launcher resume event to app predictor" into sc-v2-dev am: 60c64adeed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16020107

Change-Id: Ia61fcb85321ec80da8a74fd2a7d2a08870a12463
2021-10-11 21:43:09 +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