Steven Ng
3914f72cbe
Fix pending restore widget touch issue am: bdffb53843 am: 9b6951db38 am: 8d6d6da71f am: 572228abea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517689
Change-Id: Ib7443097c93b7f86e201573099f999728e6e118c
2021-08-12 00:30:53 +00:00
Steven Ng
572228abea
Fix pending restore widget touch issue am: bdffb53843 am: 9b6951db38 am: 8d6d6da71f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517689
Change-Id: I4a72860db35f611706656d9779f189fa4ebbf0af
2021-08-12 00:05:57 +00:00
Steven Ng
8d6d6da71f
Fix pending restore widget touch issue am: bdffb53843 am: 9b6951db38
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517689
Change-Id: I8bcb8f6cc657b24c4bba64e1183ff0a5853c6652
2021-08-11 23:57:48 +00:00
Steven Ng
237a1236d0
Fix pending restore widget touch issue am: bdffb53843 am: 95439ffdcc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517689
Change-Id: Ib92420ee6bf644413fda35febd94bc7dc5725fef
2021-08-11 23:57:24 +00:00
Steven Ng
95439ffdcc
Fix pending restore widget touch issue am: bdffb53843
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517689
Change-Id: I236f9ed002f3a31e4d0a26a60d84601bd00f33b6
2021-08-11 23:48:39 +00:00
Steven Ng
9b6951db38
Fix pending restore widget touch issue am: bdffb53843
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517689
Change-Id: I41dd1c03f6ba6c1b9e6d477fd9809d7d37d2b133
2021-08-11 23:48:34 +00:00
Steven Ng
638597aae1
Merge "Preview layout scaling for RemoteViews preview" into sc-v2-dev am: b014e9098b am: bf99115554
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517677
Change-Id: Id9d70eb074dddadb306145d8ee6d0355f2e85d41
2021-08-11 22:46:30 +00:00
Steven Ng
bf99115554
Merge "Preview layout scaling for RemoteViews preview" into sc-v2-dev am: b014e9098b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517677
Change-Id: Ia784b79b24f657c63a03cf3d041b924cfee3d657
2021-08-11 22:22:29 +00:00
Steven Ng
b014e9098b
Merge "Preview layout scaling for RemoteViews preview" into sc-v2-dev
2021-08-11 21:59:45 +00:00
Steven Ng
bdffb53843
Fix pending restore widget touch issue
...
After http://ag/14980850 , we block updateAppWidget until app widget
is restored. However, PendingAppWidgetHostView constructor relies
on updateAppWidget(null) to trigger set listener in getDefaultView().
We should call super.updateAppWidget(null) in the constructor instead.
Test: manual
Bug: 14980850
Change-Id: I30af9778a636af2ad822e7abc152b6f0bfdea1bf
2021-08-11 22:40:06 +01:00
TreeHugger Robot
1e1ec9b74f
Merge "Even further increase FORCE_PAUSE_TIMEOUT in tests" into sc-v2-dev am: 69f2dc2b49 am: 77ec32edfa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517680
Change-Id: Icf3a7416b74735199299e365653882901c5bcfe5
2021-08-11 19:46:14 +00:00
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
5084dbd5fa
Merge "Clean up ScreenRecord for AddWidgetTest" into sc-v2-dev am: fcc4dbb65b am: f621dc1dcc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517672
Change-Id: I0e62f7a94b31aa4684723ae28912ac544e542524
2021-08-11 19:06:30 +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
878a8b7c81
navigation: don't run gesture animation if gestures are not enabled am: 931bc2a38e am: b2206f3c71 am: b9bbafee9d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517673
Change-Id: I43fda2c89eaa010e0ff7348950518bce8dd4608e
2021-08-11 18:40:25 +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
e0004d0346
navigation: don't run gesture animation if gestures are not enabled am: 931bc2a38e am: 9bbc085710 am: 9d22d27785
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517673
Change-Id: I3743506a7d1625b077a9e180ffaf6f720f70670a
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
Nick Chameyev
41bbb285a7
Merge "Add unfold animation to launcher icons and widgets" into sc-v2-dev am: 02c0c924a6 am: 79690a5b74
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15390834
Change-Id: I28062ec9243c25e44ae496647475d13da74fe239
2021-08-11 18:30:29 +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
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
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
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