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
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
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
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
TreeHugger Robot
273ccb1452
Merge "Add logs when runningTaskView after re-binding tasks is null." into sc-v2-dev am: 264f6a4b69 am: 7342783ba5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15463436
Change-Id: I328dcbc7d9fb80140fbdd554f7f17744d94a10dc
2021-08-09 22:31:58 +00:00
TreeHugger Robot
7342783ba5
Merge "Add logs when runningTaskView after re-binding tasks is null." into sc-v2-dev am: 264f6a4b69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15463436
Change-Id: I2dbd3b3036ef213bd4e1c1a85147072173dbcb1f
2021-08-09 22:19:36 +00:00
Vinit Nayak
1a8f7120c1
Add logs when runningTaskView after re-binding tasks is null.
...
Bug: 195430732
Change-Id: If776c834bc2b06000230d853aeff58094e1fe88c
2021-08-09 13:42:40 -07:00
Alex Chau
be767c9108
Don't call TaskView.onRecycle when moving focused task to front
...
- onRecycle removes the icon cache resulting on icon disappearing when entering overview
- only call necessary view transform reset in moveFocusedTaskToFront
Bug: 195415765
Test: quick switch, launch app then swipe up
Change-Id: Iadb7287ea307a3a4aa0acce2e37837142aeb90db
2021-08-09 19:06:01 +01:00
TreeHugger Robot
0124f54c9c
Merge "Add logs to MotionPauseDetector" into sc-v2-dev am: e649047f05 am: 27c8f0fa42
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15479531
Change-Id: I0191e17de9a6de29612825ee13522c5f63b0505e
2021-08-09 17:38:58 +00:00
TreeHugger Robot
27c8f0fa42
Merge "Add logs to MotionPauseDetector" into sc-v2-dev am: e649047f05
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15479531
Change-Id: I38665614bf86d1612fbb56a059a1079368f58038
2021-08-09 17:27:04 +00:00
Alex Chau
1338dd7e71
Add logs to MotionPauseDetector
...
- Add logs to MotionPauseDetector to confirm if the current 700ms timeout is enough for tests
Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: Ifc3e8a24c245b1877e3fae5d2cb96636c34e8e4b
2021-08-09 15:56:11 +01:00
Alex Chau
26a5f7f8cb
Tune swipe up resistance
...
- Make TaskView only scale between startResist scale and until maxResist scale's TaskView top touches 100% scale's TaskView top (https://drive.google.com/file/d/1r0qdP9TOTYw2upkJ-jEP8BAfLsrv8EOa/view )
- Tuned the scaling parameter for tablet
Bug: 194190263
Test: manual
Change-Id: Ibc3e82744c5a6a8ce4207dff30d80889c66aa038
2021-08-09 15:52:52 +01:00
Alex Chau
41d913a90f
Merge "Only refresh DISABLED_NO_THUMBNAIL when thumbnail changes" into sc-v2-dev am: 55861dc50b am: 23af5955e8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455164
Change-Id: I9d7b00eb56bdb1760443f7805569dcb219fdbc57
2021-08-06 18:08:48 +00:00
Alex Chau
23af5955e8
Merge "Only refresh DISABLED_NO_THUMBNAIL when thumbnail changes" into sc-v2-dev am: 55861dc50b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455164
Change-Id: I79c9685bfdf9cec713c06cd3a62cf9388867432d
2021-08-06 17:56:31 +00:00
Alex Chau
55861dc50b
Merge "Only refresh DISABLED_NO_THUMBNAIL when thumbnail changes" into sc-v2-dev
2021-08-06 17:41:11 +00:00
TreeHugger Robot
af42b54626
Merge "Prevent NPE when resetting divider bar visibility" into sc-v2-dev am: 5a25696bfd am: 541a1a6da5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472699
Change-Id: I62a970d75b5be3c9a48605e8b343305d2b0fe4ec
2021-08-06 05:34:43 +00:00
TreeHugger Robot
541a1a6da5
Merge "Prevent NPE when resetting divider bar visibility" into sc-v2-dev am: 5a25696bfd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15472699
Change-Id: Id99dd83824f2ebcbf80428f7877d9713a757d3a1
2021-08-06 05:22:58 +00:00
TreeHugger Robot
5a25696bfd
Merge "Prevent NPE when resetting divider bar visibility" into sc-v2-dev
2021-08-06 05:06:54 +00:00
Jerry Chang
6368746a3c
Prevent NPE when resetting divider bar visibility
...
Fix: 195325902
Test: atest
com.android.launcher3.memory.MemoryTests#testActivityRecreation
--rerun-until-failure
Change-Id: I12c48fe2834a225c5f7d042be632ddd29135b7c5
2021-08-06 09:59:31 +08:00
TreeHugger Robot
b30a2798f9
Merge "Invoke home via recents for fallback recents" into sc-v2-dev am: 9b762e9778 am: e10975e88e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15430812
Change-Id: I1a92f87d03c59f53212d8edc27ddce42456f5b9c
2021-08-05 22:34:30 +00:00
TreeHugger Robot
e10975e88e
Merge "Invoke home via recents for fallback recents" into sc-v2-dev am: 9b762e9778
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15430812
Change-Id: Ibfadc5c4a295be844c9a193a9f9a415159f35b8d
2021-08-05 22:24:03 +00:00
TreeHugger Robot
9b762e9778
Merge "Invoke home via recents for fallback recents" into sc-v2-dev
2021-08-05 22:11:13 +00:00
Vinit Nayak
8d51468426
Invoke home via recents for fallback recents
...
Fixes: 194286702
Test: Go home from app and overview for
3P and normal launcher (test via separate recents activity
in debug menu)
Change-Id: Ifac4afbfa549265a80448ee460a780bf0984f9e1
2021-08-05 11:52:25 -07:00
Prabir Pradhan
3c8c3d5a40
Merge "Revert "Enable input window rotation flag"" into sc-v2-dev am: be8d4adf00 am: 7bc2901973
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15468513
Change-Id: Iddf1172e34d1ca8e79f60f3ae91d462c21be5691
2021-08-05 13:41:01 +00:00
Prabir Pradhan
7bc2901973
Merge "Revert "Enable input window rotation flag"" into sc-v2-dev am: be8d4adf00
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15468513
Change-Id: I4548432b027e4729d02f8b1bbdac9ce585aa6298
2021-08-05 13:23:44 +00:00
Prabir Pradhan
be8d4adf00
Merge "Revert "Enable input window rotation flag"" into sc-v2-dev
2021-08-05 13:07:59 +00:00
Arthur Hung
312a44adba
Revert "Enable input window rotation flag"
...
This reverts commit ee75a0f8be .
Reason for revert: This is causing touches on foldable/large screen devices to be registered in the incorrect orientation. b/195617582
Bug: 195617582
Change-Id: I221b5510f1acc56f855d5fc770bc09eab86a4f29
2021-08-05 13:07:15 +00:00
Alex Chau
cae25fe501
Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev am: 42f914e254 am: f8829ff94f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455151
Change-Id: I9e996edb7fe6ec167172e06ffe522e160fd337b7
2021-08-05 10:37:41 +00:00
Alex Chau
f8829ff94f
Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev am: 42f914e254
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455151
Change-Id: Ibc12a6482224012efbaa596e84eda13dd39a2182
2021-08-05 10:19:03 +00:00
Alex Chau
42f914e254
Merge "Make icon drawable for non-focused grid tasks smaller" into sc-v2-dev
2021-08-05 09:57:19 +00:00
TreeHugger Robot
fa90921fd8
Merge "Import translations. DO NOT MERGE ANYWHERE"
2021-08-05 04:19:34 +00:00
TreeHugger Robot
508749e2e8
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2021-08-05 02:15:07 +00:00
Alex Chau
6dd7241400
Merge "Increase motion pause timeout for tests" into sc-v2-dev am: 974635127b am: a2b4e128f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455154
Change-Id: I8047595ab7c363ae24d8de5bfaf4f7d065302181
2021-08-04 22:22:36 +00:00
Bill Yi
03609d13e3
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ia286e83ca0209375454ef6fc71b234aad3d9f70e
2021-08-04 22:18:06 +00:00
Bill Yi
16ed5b8391
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I576aa7ad9e9de9f4305f821ea5d7954b1d7d9c41
2021-08-04 22:15:00 +00:00
Bill Yi
ff049aae0f
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I8da912b3e7ec23e63a5c1436773cd86b8cb8dffc
2021-08-04 22:14:26 +00:00
Alex Chau
a2b4e128f6
Merge "Increase motion pause timeout for tests" into sc-v2-dev am: 974635127b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15455154
Change-Id: Ie601fcf2361a17a4e29c39f2a88b9f3d8dd6402b
2021-08-04 22:11:33 +00:00
Alex Chau
974635127b
Merge "Increase motion pause timeout for tests" into sc-v2-dev
2021-08-04 21:59:53 +00:00
TreeHugger Robot
699668e7ff
Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev am: b78e77f581 am: 707b1d8e66
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15446311
Change-Id: I9f2a9c6e72a0243a030259efff372ca93d6beecc
2021-08-04 20:12:40 +00:00
TreeHugger Robot
707b1d8e66
Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev am: b78e77f581
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15446311
Change-Id: Ib03d851a34a31d8d7a5722a6308b4d8e66d69621
2021-08-04 19:59:57 +00:00
TreeHugger Robot
b78e77f581
Merge "Storing form factor as part of backup and disabling restore if form-factor is different" into sc-v2-dev
2021-08-04 19:12:10 +00:00
Alex Chau
0dfe56cff1
Increase motion pause timeout for tests
...
- In cuttlefish occasionally MOTION_MOVE and MOTION_UP takes more than 300ms due to lag, increasing the motion pause timeout to avoid getting false signals in tests
Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: I0a33f34b5bf96f4f7ae56020c5a27f4ef9a0ff64
2021-08-04 20:09:06 +01:00
Sunny Goyal
68031ca3f9
Storing form factor as part of backup and disabling restore if form-factor is different
...
Bug: 195301649
Test: Manual
Change-Id: I9a9c4bc9246f40af2209cb914b3966319bc78bff
2021-08-04 09:51:04 -07:00