Commit Graph

35975 Commits

Author SHA1 Message Date
TreeHugger Robot 77ec32edfa Merge "Even further increase FORCE_PAUSE_TIMEOUT in tests" into sc-v2-dev am: 69f2dc2b49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517680

Change-Id: Id7a0758d1a81eccc438b3d4f943afc6172f9a296
2021-08-11 19:32:57 +00:00
TreeHugger Robot 69f2dc2b49 Merge "Even further increase FORCE_PAUSE_TIMEOUT in tests" into sc-v2-dev 2021-08-11 19:19:59 +00:00
TreeHugger Robot f621dc1dcc Merge "Clean up ScreenRecord for AddWidgetTest" into sc-v2-dev am: fcc4dbb65b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517672

Change-Id: Iad2b802f1b931bac8719fb73a2106d8939951be5
2021-08-11 18:57:06 +00:00
TreeHugger Robot fcc4dbb65b Merge "Clean up ScreenRecord for AddWidgetTest" into sc-v2-dev 2021-08-11 18:41:32 +00:00
Thales Lima b9bbafee9d navigation: don't run gesture animation if gestures are not enabled am: 931bc2a38e am: b2206f3c71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517673

Change-Id: I3508172a41175fe111da60d40bbb7f3ddb25a53a
2021-08-11 18:40:06 +00:00
Thales Lima 9d22d27785 navigation: don't run gesture animation if gestures are not enabled am: 931bc2a38e am: 9bbc085710
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517673

Change-Id: I93ecbd24b9631f7a7202e31f88a573e9d4bc0cd5
2021-08-11 18:35:07 +00:00
Thales Lima 9bbc085710 navigation: don't run gesture animation if gestures are not enabled am: 931bc2a38e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517673

Change-Id: I3cbe31061153996668243da5c1b70741093d6948
2021-08-11 18:29:23 +00:00
Thales Lima b2206f3c71 navigation: don't run gesture animation if gestures are not enabled am: 931bc2a38e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517673

Change-Id: I4db182fc09187b88644c0b144048e35413d0335f
2021-08-11 18:29:21 +00:00
Nick Chameyev 79690a5b74 Merge "Add unfold animation to launcher icons and widgets" into sc-v2-dev am: 02c0c924a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15390834

Change-Id: Idd1fc1e9a52f7788d7ed14d0fbfcad9a682b60db
2021-08-11 18:29:09 +00:00
Nick Chameyev 02c0c924a6 Merge "Add unfold animation to launcher icons and widgets" into sc-v2-dev 2021-08-11 18:04:03 +00:00
Alex Chau c2441dffbe Even further increase FORCE_PAUSE_TIMEOUT in tests
- http://b//194114179#comment17 shows that 900ms should work for most cases

Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: Ie2832d7ad25b0844121ecf626903140bfeedc5ba
2021-08-11 18:36:42 +01:00
Nick Chameyev 5e8dbe77e8 Add unfold animation to launcher icons and widgets
Adds unfold animation to launcher which translates
icons and widgets from the center to the sides on
foldable devices.

Bug: 193794541
Test: manual
Change-Id: I9d6e018a0451d342f02dddea47bc180781c31d43
2021-08-11 16:10:18 +01:00
Thales Lima 931bc2a38e navigation: don't run gesture animation if gestures are not enabled
Makes the animation when using 3 button navigation be closer to what we
have in non fallback mode, also fixing the problem when fallback recents
just started and don't have any views.

Fix 194487871
Test: manual with gestures, 2 button and 3 button nav

Change-Id: If3925d6bef1d14f51b86169d06607786972f5f1f
(cherry picked from commit 8d49c4bb29)
2021-08-11 10:26:22 +00:00
Alex Chau 2a4c978371 Clean up ScreenRecord for AddWidgetTest
Bug: 195263971
Test: manual
Change-Id: I5880c9aa0294795d7a5827163f3f51466b67ad35
2021-08-11 10:06:05 +01:00
Tony Wickham 6d407c204a Don't recreate touch controllers when ending gesture am: 0b3b2921c3 am: 148b33b552
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15522688

Change-Id: I9427b5a3c220716ee6987ed04fa9cf2a30349404
2021-08-11 05:13:00 +00:00
Tony Wickham 4e7912aad3 Don't recreate touch controllers when ending gesture am: 0b3b2921c3 am: 26abd0f7a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15522688

Change-Id: I7017b30e960ac498f2acbacb2b1cf0c7883224df
2021-08-11 05:12:22 +00:00
Tony Wickham 26abd0f7a9 Don't recreate touch controllers when ending gesture am: 0b3b2921c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15522688

Change-Id: I889ef533eebca7eb091661df526cc604ccba206b
2021-08-11 04:54:54 +00:00
Tony Wickham 148b33b552 Don't recreate touch controllers when ending gesture am: 0b3b2921c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15522688

Change-Id: I21edf6e83271c749bfd21b3d3a6643a6b0bffa59
2021-08-11 04:54:53 +00:00
Tracy Zhou 490ca1926d Merge "Taskbar should animate immediately when tapping a live tile" into sc-v2-dev am: 255887ccdc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15467635

Change-Id: I1d6855335bf027535308c34c70cd49bdf9c33b51
2021-08-11 04:35:58 +00:00
Tracy Zhou 255887ccdc Merge "Taskbar should animate immediately when tapping a live tile" into sc-v2-dev 2021-08-11 04:24:12 +00:00
Lucas Dupin 5cb3be6139 Merge "Act on scrim visibility" into sc-v2-dev am: f006d37acf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15506183

Change-Id: I61eb6f5acfa835e89ea4c667b54ee4c886f4b163
2021-08-11 03:16:44 +00:00
Lucas Dupin f006d37acf Merge "Act on scrim visibility" into sc-v2-dev 2021-08-11 02:59:05 +00:00
Tracy Zhou ae0c16dd0c Taskbar should animate immediately when tapping a live tile
Fixes: 194728948
Test: manual
Change-Id: Ia2bf9e4d050367ac08e3308a308f19f04577c49e
2021-08-10 16:30:29 -07:00
Tony Wickham 0b3b2921c3 Don't recreate touch controllers when ending gesture
Test: swipe up to overview from an app and swipe up to dismiss it during the transition
Bug: 189700453
Change-Id: I303696f90dbb236ea93e06d94a3c92d783850fa4
(cherry picked from commit 0e9ecaeea8)
2021-08-10 23:26:33 +00:00
Lucas Dupin e4a9469156 Act on scrim visibility
The scrim visibility drives whether the launcher window is opaque or
not. We should track it and apply the flag instead of trying to catch it
through other Launcher life cycles.

Fixes: 195365607
Test: tap on home button while launching app from overview
Change-Id: I2a00b86b602b5dd12c901433b92adcf0170be15e
2021-08-10 14:18:50 -07:00
Bill Yi 51f8f215f1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: be96e2e3e5 -s ours am: 1af51be74a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516

Change-Id: I3eace8debc2629b253351135b151efa78eb3275b
2021-08-10 20:18:33 +00:00
Bill Yi af7d9efec7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: fdd9d1421f -s ours am: 944f397a5b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516

Change-Id: Ieec1e962907d569d909a7e11fec65cb6729dad17
2021-08-10 20:15:14 +00:00
Bill Yi 3ad3398b71 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: be96e2e3e5 -s ours am: 3093dbb89e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516

Change-Id: I7012729e663684945ffaef99a0be412fe24b37fb
2021-08-10 20:07:52 +00:00
Bill Yi 3093dbb89e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: be96e2e3e5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516

Change-Id: I3e1e44c88f927e2c3010fbf54e6ca9c4e4f0acc5
2021-08-10 19:55:29 +00:00
Bill Yi 1af51be74a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: be96e2e3e5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516

Change-Id: I66e0f0c7094a0432c41f9c779ad34444f68cffa8
2021-08-10 19:54:22 +00:00
Bill Yi 944f397a5b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: fdd9d1421f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516

Change-Id: I001747b9e22c39769fb079ffb08e98ca1a80932a
2021-08-10 19:53:06 +00:00
Bill Yi be96e2e3e5 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516

Change-Id: I56065f18ab7ede2373c279263ef8bf6abc53ca98
2021-08-10 19:39:12 +00:00
Bill Yi fdd9d1421f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505516

Change-Id: I1f59d0195111e5346e9dabde61f3657c9aedf3f3
2021-08-10 19:38:23 +00:00
TreeHugger Robot c873fb5ec8 Merge "Use target size to scale down a widget preview image" into sc-v2-dev am: 26b25c222c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15502874

Change-Id: Ia19857bb3e28727fd0a96e40901d418acf33b9a6
2021-08-10 19:11:03 +00:00
TreeHugger Robot 26b25c222c Merge "Use target size to scale down a widget preview image" into sc-v2-dev 2021-08-10 19:01:45 +00:00
Steven Ng caf2e5f350 Use target size to scale down a widget preview image
WidgetCells are being recycled in WidgetFullSheet. getWidth/getHeight
could be a recycled dimension. There is also no guarantee that measure
has taken placed before the scale down logic. Let's use the targeted
width for the scale down logic instead.

Test: Manual
Fix: 195417705
Change-Id: Idfb3cc485604d19658e210709bebde6f163003cf
2021-08-10 18:18:11 +01:00
TreeHugger Robot a1e73e039d Merge "Tune swipe up resistance" into sc-v2-dev am: 49ee541bc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15479547

Change-Id: Ia6e6d46b09826c1c9ecaec2667e15dcfd803b882
2021-08-10 17:12:27 +00:00
TreeHugger Robot 49ee541bc5 Merge "Tune swipe up resistance" into sc-v2-dev 2021-08-10 17:09:56 +00:00
TreeHugger Robot 8911425fdd Merge "Don't call TaskView.onRecycle when moving focused task to front" into sc-v2-dev am: 874d9aff0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15502872

Change-Id: I518cf6feac5dec4ae269f642160bb9e3d663a767
2021-08-10 17:08:45 +00:00
TreeHugger Robot 874d9aff0e Merge "Don't call TaskView.onRecycle when moving focused task to front" into sc-v2-dev 2021-08-10 16:53:51 +00:00
Lucas Dupin 0766953697 Merge "Adjust all apps zoom level" into sc-v2-dev am: 830b12efad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15506188

Change-Id: I0e1909e9449de6cd1ff34044ddf918b01b350617
2021-08-10 15:35:14 +00:00
Lucas Dupin 830b12efad Merge "Adjust all apps zoom level" into sc-v2-dev 2021-08-10 15:21:10 +00:00
Yogisha Dixit e7a47f334a Add logging when item not added due to insufficient space. am: 104d09f143
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15328636

Change-Id: I8e2f729c56d3e7f34a57c4d48a1d35a275995d19
2021-08-10 14:47:16 +00:00
Yogisha Dixit 104d09f143 Add logging when item not added due to insufficient space.
Bug: 194061824
Test: manual
Change-Id: Ib6f6b9ab4a8e1b59b1dbd1c7c137962efa3e880e
2021-08-10 13:57:47 +01:00
TreeHugger Robot 8c0298c489 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 6f12fc09d9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15505517

Change-Id: I38b58ac3e3716521b2be6b4a3d3d5c8687556158
2021-08-10 04:18:14 +00:00
TreeHugger Robot 6f12fc09d9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-10 04:07:34 +00:00
Lucas Dupin f168bb7aaf Adjust all apps zoom level
The All Apps scrim fades in early, covering part of the zoom animation.
We need to adjust the max zoom in order to make All Apps consistent with
Overview, -1, and Shade.

Test: pull up the all apps drawer
Fixes: 195992422
Change-Id: Ia7bbe17fe7f227dd0a16ba7d21b402cff57176f0
2021-08-09 17:45:22 -07:00
Bill Yi 2121fa024a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9756b94a3aa7a2184028620a9c569e6cad763e55
2021-08-09 22:32:39 +00:00
Bill Yi 8bc9c6355a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8a0be2eb6ceb321440efdf75d2b8f6232de201fe
2021-08-09 22:32:00 +00:00
Brian Isganitis 129bbbbc25 Merge "Update folder pagination dot color to match mocks." into sc-v2-dev am: 47f0c5fba4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15466621

Change-Id: I82ab8332ab8e51eca10982f9b80875e86ad17853
2021-08-09 22:19:45 +00:00