Commit Graph

14731 Commits

Author SHA1 Message Date
Jeremy Sim 10ec9c603e Merge "Fix paired icon placement in landscape/seascape" into tm-dev am: 8746367f40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17263137

Change-Id: I5c24a581a529efbb7c875ffa71ab744cbe126d5d
2022-03-22 00:38:29 +00:00
Jeremy Sim 7a84442436 Merge "Fix UI overlap when rotating in split select mode" into tm-dev 2022-03-22 00:17:43 +00:00
Jeremy Sim 8746367f40 Merge "Fix paired icon placement in landscape/seascape" into tm-dev 2022-03-22 00:17:43 +00:00
Vinit Nayak fd5c719082 Merge "Use ComponentCallbacks to recreate on fold/unfold" into tm-dev am: 68d5dd82db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17241303

Change-Id: Ibd8565ff8bef68f475ec746ecd772a3c3e7d6554
2022-03-21 22:47:07 +00:00
Vinit Nayak ac7e0af795 Merge "Limit the number of commands in OverviewCommandHelper" into tm-dev am: c55c94880e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17245796

Change-Id: I23d76c103e1a4ff0360cd957079e87f4e64fff59
2022-03-21 22:46:36 +00:00
Alex Chau f9174e82cb Merge "Update overview grid icon sizes and paddings" into tm-dev am: c9f3cc36bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17198305

Change-Id: I2afe9c5118132cae0f98fe39bb9a0002e5352ee3
2022-03-21 22:46:02 +00:00
Jon Miranda cc8dabb7ef Merge "Allow depth animation when user swipes back to home." into tm-dev am: d17cb2722c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17258142

Change-Id: I0ce68bc0316123f84963eecae5e7c8ed0a164c2f
2022-03-21 22:45:30 +00:00
Hongwei Wang ad9c83966b Add auto-enter-pip support in FallbackSwipeHandler
- Deprecate HomeAnimationFactory#supportSwipePipToHome and treat 3rd
  party Launcher supporting auto-enter-pip transition as well
- Add a new FallbackPipToHomeAnimationFactory if auto-enter-pip
  transition is to be launched
- Make sure Launcher is resumed at the end of auto-enter-pip transition
  to actually trigger the PiP task appearing

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/hMPkRXy4vAjC6sQYUIIWUP
Bug: 220665901
Test: `m -j Launcher3` and verify the auto-enter-pip transition \
      see also the video
Change-Id: I6d16f2559d173f695ccbc743eb55e964bf088d04
2022-03-21 14:39:23 -07:00
Sebastián Franco 02458386cf Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."
This reverts commit 5a9dce518e.

Reason for revert: The solution is inefficient. There is already a solution in ag/17060224

Change-Id: I5b5862f1ae426c78062c5a0f481abfb13b3060cc
2022-03-21 20:26:21 +00:00
Vinit Nayak 645b7b64de Merge "Use ComponentCallbacks to recreate on fold/unfold" into tm-dev am: 68d5dd82db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17241303

Change-Id: I14feb0e9c33b99ef08849d22be954b1de917ae8e
2022-03-21 19:36:05 +00:00
Vinit Nayak d043e33fac Merge "Limit the number of commands in OverviewCommandHelper" into tm-dev am: c55c94880e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17245796

Change-Id: Iee3ed0386ec9ccf2a22a8f34d23f7a18a10233b0
2022-03-21 19:35:29 +00:00
Vinit Nayak 68d5dd82db Merge "Use ComponentCallbacks to recreate on fold/unfold" into tm-dev 2022-03-21 19:05:52 +00:00
Vinit Nayak c55c94880e Merge "Limit the number of commands in OverviewCommandHelper" into tm-dev 2022-03-21 18:49:42 +00:00
Alex Chau 11992c7425 Merge "Update overview grid icon sizes and paddings" into tm-dev am: c9f3cc36bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17198305

Change-Id: Ie51ce77b8d1b87079bc8bf96e78ac919c5783a2a
2022-03-21 17:22:12 +00:00
Alex Chau c9f3cc36bb Merge "Update overview grid icon sizes and paddings" into tm-dev 2022-03-21 17:08:31 +00:00
Jon Miranda 56e1b471b0 Merge "Allow depth animation when user swipes back to home." into tm-dev am: d17cb2722c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17258142

Change-Id: Ia109085f573cd8228940b9295c7b59a34db11f94
2022-03-21 15:34:10 +00:00
Jon Miranda d17cb2722c Merge "Allow depth animation when user swipes back to home." into tm-dev 2022-03-21 15:33:08 +00:00
kholoud mohamed 97c299c50d RESTRICT AUTOMERGE Moved enteprise resource updatability to Launcher3 am: e210b47c20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17183244

Change-Id: Ia96d558c6996a31b9802dcba4dec13e420ea6e54
2022-03-19 06:37:01 +00:00
Kholoud Mohamed ac0574781c Merge "RESTRICT AUTOMERGE Moved enteprise resource updatability to Launcher3" into tm-dev 2022-03-19 06:30:09 +00:00
Bill Yi 84508ee1ed Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-19 00:36:09 +00:00
TreeHugger Robot cf96c78b0a Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-03-19 00:35:39 +00:00
Jeremy Sim b4b79142d8 Fix UI overlap when rotating in split select mode
Fixes an issue where you could trigger a UI overlap by rotating the phone during split select. The issue occurred because devices with insets were calling TaskView#resetViewTransforms during rotation, and not accounting for the fact that an extra transform was applied for split staging.

Fixes: 220998096
Test: Manual test on inset and non-inset devices
Change-Id: I2d6c969231127aa16c9eae39cf69e08ceb96c44b
(cherry picked from commit 51bfabf8b7)
2022-03-19 00:10:44 +00:00
Jeremy Sim b42345273c Fix paired icon placement in landscape/seascape
In grouped task view, paired icons will now align better with task thumbnails.

Fixes: 218783211

Test: Extensive manual testing on local device(s).
Change-Id: I372d2ee90302a8d96ace048ff4f82126d9b2b363
(cherry picked from commit d6826c74a4)
2022-03-19 00:10:16 +00:00
Jeremy Sim 64212c5439 Fix crash condition by adding a null check in DigitalWellBeingToast
Fixes a crash condition where TaskView#getRecentsView() could return null when being called from DigitalWellBeingToast#setBanner(), resulting in a crash.

Fixes: 217671133

Test: Manual
Change-Id: I964384d97d26336e9a5e8e4c025f66ab78c63e0a
2022-03-18 16:55:17 -07:00
Stefan Andonian 4f15b6cafb Update text in "get app suggestions" bottom sheet to use Google Sans
font family.

Bug: b/211375020
Test: Verified that the font was different after setting it in the xml.
Screenshot: screenshot.googleplex.com/AEvdCXTufBnbQC5.png
Change-Id: Ie5447344b9e917648b50945414cf58562a1d0ca8
2022-03-18 22:55:57 +00:00
Brian Isganitis d478f555cb Have taskbar all apps extend ActivityAllAppsContainerView.
This step is necessary to have taskbar support search in all apps.
Search is not ready yet, so a fallback search manager is included.

Test: Manual
Bug: 216683257
Change-Id: Id118388bc4baae4b63ef205295caf46cbd541bc8
2022-03-18 15:39:54 -07:00
chaviw 29b8135260 Replace consumeNextDraw with SurfaceSyncer
Test: Builds
Bug: 200284684
Change-Id: I46e9cd89fd6b7c767bb867205400197b305e86a8
2022-03-18 16:20:42 -05:00
TreeHugger Robot 142728d883 Merge "Small improvement for ag/17016891 (unstash taskbar input area size)" into tm-dev am: f1543cb520
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17141712

Change-Id: I118b02cbb5a9473b9b286106b1c14cd8c4206872
2022-03-18 18:56:49 +00:00
TreeHugger Robot f1543cb520 Merge "Small improvement for ag/17016891 (unstash taskbar input area size)" into tm-dev 2022-03-18 18:38:42 +00:00
Jon Miranda f6780f66c3 Allow depth animation when user swipes back to home.
Bug: 221196062
Test: open app, swipe back to home, ensure blurs
Change-Id: I9faff4e41c2e8d22df72e41c7753e2090fa0973d
2022-03-18 09:58:55 -07:00
TreeHugger Robot 9972e2561a Merge "Fix splitPrimaryScrollOffset in RTL" into tm-dev am: 2c608fd7d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17236876

Change-Id: Ib2ecea7e29c1d6a20f36b320832c36cb36c15b52
2022-03-18 15:58:30 +00:00
TreeHugger Robot f4774e71a2 Merge "Fix splitPrimaryScrollOffset in RTL" into tm-dev am: 2c608fd7d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17236876

Change-Id: Ic0833bb398dd9895c472f2d11edae328b9d25444
2022-03-18 15:57:15 +00:00
Vinit Nayak 38397e46cf Limit the number of commands in OverviewCommandHelper
* Rapidly tapping recents button in 3 button nav
puts launcher in a strange state.
Reproing and understanding that state is complex
since so many state transitions are rapidly happening.
* Easier to limit the number of commands a user
will perform for valid use-cases.

Fixes: 207680265
Test: Rapidly pressing recents when unfolded
doesn't show live tile task on workspace.

Change-Id: I7db849e83c2cafc37a419e189479283f2057bde6
2022-03-17 16:26:56 -07:00
TreeHugger Robot c388454d15 Merge "[Merge] Small improvement for ag/17016891 (unstash taskbar input area size)" 2022-03-17 22:34:46 +00:00
Vinit Nayak bacd5e1d21 Use ComponentCallbacks to recreate on fold/unfold
* DisplayController callbacks were sometimes being
called too soon and providing stale window bounds,
which led to the incorrect DeviceProfile being used.
Switched to ComponentCallbacks on the window to get
the most up-to-date callbacks.
* Sadly, for navigation mode changes, ComponentCallbacks
get fired too soon and have a stale navigation mode
so we continue to rely on DisplayController for that
change for now.

Fixes: 219958843
Test: Tested folding/unfolding, no taskbar appears when
it shouldn't.
Tested with changing display/font size as well as
nav mode changes

Change-Id: I1b398934c0ea49f69bad19b13977b7b0906f3190
2022-03-17 12:03:14 -07:00
Alex Chau 8cee1ebed0 Fix splitPrimaryScrollOffset in RTL
Fix: 225165124
Test: split select in RTL and non-RTL, check min/max scroll
Change-Id: I5fb13e39560d9dceb4a53c9c79a355f72faf3dba
2022-03-17 14:55:14 +00:00
Alex Chau 2e48760e97 Update overview grid icon sizes and paddings
- Introduced additional page spacign for clear all button to match mocks

Fix: 222664142
Test: Quick switch to last task and immediately enter overview
Test: Dismiss last task in overview grid
Change-Id: I4d2f93d843c50b10051f3fb17027cd06e86707e1
2022-03-17 13:44:21 +00:00
Bill Yi 496bab5d60 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifb61dcd706a3df8f2c075555bd915294f4a7ed85
2022-03-17 03:00:54 +00:00
Bill Yi c42f30f626 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ief530dbb7ecfea9032c7f5bc18281fa6e4155571
2022-03-17 03:00:17 +00:00
Wei Sheng Shih 6a54663c3c Merge "[Shell Transition]Release floating task view after second task select." into tm-dev am: 5d9a319c76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17184431

Change-Id: I3df17073dfbea6dc6b0012f1fef820d5f0e6ae6d
2022-03-17 00:40:05 +00:00
Wei Sheng Shih 3073d0ebc9 Merge "[Shell Transition]Release floating task view after second task select." into tm-dev am: 5d9a319c76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17184431

Change-Id: I69b8ae73e6cfe3a4bf9ceab65c460bfec159c1ce
2022-03-17 00:39:57 +00:00
Wei Sheng Shih 5d9a319c76 Merge "[Shell Transition]Release floating task view after second task select." into tm-dev 2022-03-17 00:25:34 +00:00
wilsonshih 7315e33630 [Shell Transition]Release floating task view after second task select.
Register animation start callback to RemoteSplitLaunchTransitionRunner,
so there can clear up the floating task view when entering recents.

Bug: 223397364
Test: verify no floating task view remaining on RecentsActivity.
Change-Id: Idedc7950b8954d1376960d5e74aa4c60fefa9c86
2022-03-16 11:30:46 +08:00
TreeHugger Robot b1b9117eef Merge "Fix failing test TaplTaskbarTest#testHideShowTaskbar" into tm-dev am: a66bbdab86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17188987

Change-Id: I730b0ee11ce5c3460155d4a03a1a80c480cbf828
2022-03-15 23:32:35 +00:00
TreeHugger Robot bc6f2374fd Merge "Fix failing test TaplTaskbarTest#testHideShowTaskbar" into tm-dev am: a66bbdab86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17188987

Change-Id: I89e0de9f862d1945e0309cd2acbda4a1b160462f
2022-03-15 23:31:19 +00:00
TreeHugger Robot a66bbdab86 Merge "Fix failing test TaplTaskbarTest#testHideShowTaskbar" into tm-dev 2022-03-15 23:20:08 +00:00
TreeHugger Robot ff04c118c3 Merge "Add event tracking to the gesture navigation tutorial." into tm-dev am: e0380381b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127449

Change-Id: I4f23193e75ee759f60f9550a8207ba8583205156
2022-03-15 22:38:13 +00:00
TreeHugger Robot be4217d19e Merge "Add event tracking to the gesture navigation tutorial." into tm-dev am: e0380381b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127449

Change-Id: Ia417f3d407c7ef254e7bf31f05782f13294a7345
2022-03-15 22:37:51 +00:00
TreeHugger Robot 056f90e232 [Merge] Small improvement for ag/17016891 (unstash taskbar input area size)
Because of a merge conflict in ag/17141712 we have to first accept
this and then the other.

Bug: 204166104
Test: Unstash and stash taskbar, done in both orientations.
Change-Id: I14c3593552939f3be78f3e5c1193020873555d37
2022-03-15 22:16:26 +00:00
TreeHugger Robot e0380381b7 Merge "Add event tracking to the gesture navigation tutorial." into tm-dev 2022-03-15 22:12:29 +00:00