Commit Graph

47938 Commits

Author SHA1 Message Date
Lucas Dupin 3f6a4e6bf5 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
(cherry picked from commit f168bb7aaf)
2021-08-11 15:55:04 +00:00
Steven Ng f64b08dcb9 Preview layout scaling for RemoteViews preview
RemoteViews may contain multiple layouts. The best fit layout is
picked after layout. Let's ensure the best fit layout is picked
before scaling a preview

Test: Manual
Fix: 196044656
Change-Id: I41b9f70040befaf96a9af95f9399a816eb0b71cb
2021-08-11 16:37:58 +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 efb66f0937 Don't recreate touch controllers when ending gesture am: 0b3b2921c3 am: 148b33b552 am: 6d407c204a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15522688

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

Change-Id: Ia45c1bb9b97d1f73dbde4a9686e9e4ca2a988601
2021-08-11 05:33:03 +00: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 c84a005e8c Merge "Taskbar should animate immediately when tapping a live tile" into sc-v2-dev am: 255887ccdc am: 490ca1926d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15467635

Change-Id: I94e8157686cadc71556c6307770b19b593fc5421
2021-08-11 04:45:26 +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 d7780bfc1b Merge "Act on scrim visibility" into sc-v2-dev am: f006d37acf am: 5cb3be6139
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15506183

Change-Id: I3093cf40a13fcafe3188edd9f5b4bd61f3cb3132
2021-08-11 03:27:53 +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
vadimt a1e0b01a44 Removing some instrumentation for a workarounded bug
Bug: 187080582
Test: Local, presubmit
Change-Id: I2334072bebc9d4e40d632fe068943bf5560f02e4
2021-08-10 18:43:40 -07:00
Android Build Coastguard Worker c4cb01cdea Snap for 7629706 from 8bc9c6355a to sc-release
Change-Id: I830efc3e3b2e044003b091fa64be1d04b7a55783
2021-08-11 01:09:00 +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
Brian Isganitis ec8a994d54 Update preferences to Material Next styling
There should be enough free space to merge this change into S V2.

Test: Settings root, all apps, and about have new style on S
Bug: 187732263
Fix: 188254205, 188012913
Change-Id: I346bbf819f3fe1eb13b47125b53c15baab11e439
Merged-In: I346bbf819f3fe1eb13b47125b53c15baab11e439
2021-08-10 23:29:54 +00: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
Android Build Coastguard Worker 0db70a0f23 Snap for 7628048 from 830b12efad to sc-v2-release
Change-Id: I562ab2671a9f975ccb549c3ebba8e57bef2362b3
2021-08-10 23:08:58 +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 7d638e6a8a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: be96e2e3e5 -s ours am: 1af51be74a -s ours am: 51f8f215f1 -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: I09bd86850793922a2be7b7a1a5700f4ca5298b7e
2021-08-10 21:12:50 +00:00
Bill Yi 2e33048a41 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: fdd9d1421f -s ours am: 944f397a5b -s ours am: af7d9efec7 -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: Ia09233249c0e951cf4ad21663640863975fbe404
2021-08-10 21:11:27 +00:00
Bill Yi 0883b2bd60 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: be96e2e3e5 -s ours am: 3093dbb89e -s ours am: 3ad3398b71 -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: If1657e7652a33c3bbee194d779799f5634904a66
2021-08-10 21:08:22 +00: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 fbf58bd02f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8bc9c6355a -s ours am: 010078c9d4 -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: I15f1c84e252c216cbd1e9f113b6b61f6a76d6726
2021-08-10 19:58:45 +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 010078c9d4 [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: I32afb4560fe828795cee72e8d5653e0e373df74d
2021-08-10 19:43:45 +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 c3252e6da1 Merge "Use target size to scale down a widget preview image" into sc-v2-dev am: 26b25c222c am: c873fb5ec8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15502874

Change-Id: I2be7f16308a41a85f747ff4dc0d680a64f70fedc
2021-08-10 19:31:14 +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
TreeHugger Robot 69aa055900 Merge "Tune swipe up resistance" into sc-v2-dev am: 49ee541bc5 am: a1e73e039d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15479547

Change-Id: I450691305a9531bd171dbea01cb376765c84b7ff
2021-08-10 17:22:22 +00:00
TreeHugger Robot 4596fc4eff Merge "Don't call TaskView.onRecycle when moving focused task to front" into sc-v2-dev am: 874d9aff0e am: 8911425fdd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15502872

Change-Id: I29e5058092c2d686fa7c44bbb22c9e2127e1b7c3
2021-08-10 17:22:15 +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 ebb72046b4 Merge "Adjust all apps zoom level" into sc-v2-dev am: 830b12efad am: 0766953697
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15506188

Change-Id: Id182848158e9e3aa1d7c28cbbe960b60be7a03d1
2021-08-10 15:45:46 +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