Tony Wickham
2f245001b7
Merge changes from topic "taskbar-crop-tasks" into sc-v2-dev am: 40f86763bc am: 8372c17e9a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587788
Change-Id: I41769ca27299760614bf370135a79b094347c42d
2021-08-17 15:26:56 +00:00
Tony Wickham
40f86763bc
Merge changes from topic "taskbar-crop-tasks" into sc-v2-dev
...
* changes:
Extend taskbar color to entire screen in overview
Use WindowBounds#insets instead of WindowInsets in DeviceProfile
2021-08-17 14:52:50 +00:00
Dave Mankoff
40e4ae6d1b
Merge "Updates to constructor of PluginInstanceManager.Factory" into sc-v2-dev am: 6eeb12e3eb am: 04b24f0976
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558875
Change-Id: Ic592e3ff056b4b38c7ea85a2bdb4efa27855afad
2021-08-17 13:37:07 +00:00
Dave Mankoff
6eeb12e3eb
Merge "Updates to constructor of PluginInstanceManager.Factory" into sc-v2-dev
2021-08-17 13:07:50 +00:00
Vinit Nayak
bc90338c7d
Merge "Add logs when clearing TaskViewId" into sc-v2-dev am: 2ad3d6b4c3 am: 974f20f333
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15584532
Change-Id: I71b0bfc78cca0cd719b903b6beaf04a342ffe264
2021-08-17 01:31:33 +00:00
Vinit Nayak
2ad3d6b4c3
Merge "Add logs when clearing TaskViewId" into sc-v2-dev
2021-08-17 00:59:41 +00:00
Tony Wickham
635e180e56
Extend taskbar color to entire screen in overview
...
Only when taskbar is unstashed in apps:
- Scrim workspace with the taskbar color when opening apps and in BackgroundAppState
- Crop opening apps to above the taskbar
- Crop TaskViews to above the taskbar during gestures
If taskbar is stashed in apps, behavior is the same as before, i.e. no scrim over the wallpaper and no cropping of tasks.
Added a field DeviceProfile#taskbkarPresentInApps to distinguish these cases. LauncherTaskbarUIController and TaskbarStashController ensure this value is set appropriately.
Test: Ensure tasks don't appear behind taskbar when it's unstashed; set ENABLE_SCRIM_FOR_APP_LAUNCH = true to test the whole screen scrimming when opening an app
Bug: 196257194
Fixes: 190681228
Change-Id: I481501457a5a6d49c380feea3db3b4058e4cf3f8
2021-08-16 16:50:52 -07:00
Vinit Nayak
dda7772452
Add logs when clearing TaskViewId
...
Bug: 195430732
Change-Id: I0554f27e6b82d98dd585afb895b8ee5eababff9e
2021-08-16 14:56:56 -07:00
Thales Lima
47e0bfa104
Merge "overview: rebalance hidden tasks in grid" into sc-v2-dev am: 242c8c0b0f am: 65dc11d1b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15453918
Change-Id: I0cbcf90477d70eef2bfd1680428c4997860488f1
2021-08-16 19:44:01 +00:00
Thales Lima
242c8c0b0f
Merge "overview: rebalance hidden tasks in grid" into sc-v2-dev
2021-08-16 19:16:30 +00:00
Dave Mankoff
423112d1d7
Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev am: 9847a6a75b am: 685338f7c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558874
Change-Id: I20cf971bd58253cb7e50da22fe411571fdcd711d
2021-08-16 15:43:05 +00:00
Dave Mankoff
191e328477
Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev am: d72a60f953 am: cc81d631b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558873
Change-Id: I21f5ec132f552eed8e097fd5307b61863cfdbe1a
2021-08-16 15:42:01 +00:00
Thales Lima
4a08ce60dc
overview: rebalance hidden tasks in grid
...
The tasks that are not showing in the screen will be rearranged. This
doesn't change anything for tasks before the dismissed task because the
grid is already balanced there.
Fixes: 194189955
Test: manual with 10 tasks, normal and RTL mode
Change-Id: I07ddbb752110339751bd1ed6056fe9f645b5497f
2021-08-16 16:24:35 +01:00
Dave Mankoff
9847a6a75b
Merge "Pass main executor to PluginInstanceManager.Factory." into sc-v2-dev
2021-08-16 15:05:20 +00:00
Dave Mankoff
d72a60f953
Merge "Pass Executor to to PluginInstanceManager.Factory." into sc-v2-dev
2021-08-16 15:04:52 +00:00
TreeHugger Robot
e262aede47
Merge "Constrain scroll amount" into sc-v2-dev am: 348065811f am: 33120900b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15564665
Change-Id: I58c2006e93d83fa6aa8917b159cef33736ed7507
2021-08-14 01:26:35 +00:00
TreeHugger Robot
348065811f
Merge "Constrain scroll amount" into sc-v2-dev
2021-08-14 00:57:13 +00:00
Dave Mankoff
bf7f0e5426
Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev am: 78f9648aec am: f3658027c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15558514
Change-Id: Ib91cd33e8f57b79b61790baa0c9f895ee2f49d7f
2021-08-14 00:24:21 +00:00
Lucas Dupin
b259a896f5
Constrain scroll amount
...
Test: scroll vertically and horizontally
Fixes: 196309367
Change-Id: Ibf16fb72cf95e29ed820d5f511e764a388c93bb0
2021-08-13 15:57:41 -07:00
Dave Mankoff
78f9648aec
Merge "Changes to the signature of PluginManagerImpl." into sc-v2-dev
2021-08-13 21:12:40 +00:00
Dave Mankoff
1095a50dfa
Updates to constructor of PluginInstanceManager.Factory
...
Bug: 194781951
Test: manual
Change-Id: I510dcd3b405988320052944b412e1d18360144ef
2021-08-13 10:50:21 -04:00
Dave Mankoff
630ae94833
Pass main executor to PluginInstanceManager.Factory.
...
Bug: 194781951
Test: manual
Change-Id: I1667023887e0c8d1dc86fce1717a3032b6721684
2021-08-13 10:18:01 -04:00
Dave Mankoff
1d5e1dc8d1
Pass Executor to to PluginInstanceManager.Factory.
...
Bug: 194781951
Test: manual
Change-Id: I6dc699869d041aab8f5d1e7a128b4f67adfd78dc
2021-08-13 10:16:09 -04:00
Dave Mankoff
13f50b9898
Changes to the signature of PluginManagerImpl.
...
Bug: 194781951
Test: manual
Change-Id: Iafc5232dfdb1cc1c554de925c2f0d2ad5f6439e2
2021-08-13 10:01:42 -04:00
Ben Lin
15181b54b0
Merge "Do not set user active hints when Shell Transition is on." into sc-v2-dev am: 99b5d13952 am: c3d09d22c1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15524184
Change-Id: I4025427c229838a0104625a266100fcfc184c066
2021-08-13 10:08:32 +00:00
Ben Lin
99b5d13952
Merge "Do not set user active hints when Shell Transition is on." into sc-v2-dev
2021-08-13 01:09:19 +00:00
Ben Lin
1e49216401
Do not set user active hints when Shell Transition is on.
...
Previously, we hint at user active in order to let the launcher know at
an earlier time that the user is about to go home, to provide PiP a
shelf offset. However with Shell Transitions, this is now being done
instantly as the launcher activity is resumed right as user touches down
on the gesture pill. We then no longer need this for shell transitions.
Bug: 165793917
Test: Enable Shell Transitions, go home to enter PIP, and open another
app - see that PIP auto moves downward now that shelf height has changed
Change-Id: I347c885425ce820a42ebfcc15082862d04aa1a7d
2021-08-12 15:17:31 -07:00
TreeHugger Robot
4e9ea58712
Merge "Clean up test logging and ScreenRecord" into sc-v2-dev am: 662af98956 am: 3c7c23aa02
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15542317
Change-Id: I98e7524b37523af64d992768ee073293e748eb71
2021-08-12 18:35:46 +00:00
Alex Chau
2886a13d7a
Clean up test logging and ScreenRecord
...
Bug: 194114179
Bug: 193125090
Test: manual
Change-Id: I086d011a39b74a24d5629d43dc74b741fcf5994e
2021-08-12 11:34:27 +01: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
Nick Chameyev
02c0c924a6
Merge "Add unfold animation to launcher icons and widgets" into sc-v2-dev
2021-08-11 18:04:03 +00: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
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
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
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
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
49ee541bc5
Merge "Tune swipe up resistance" into sc-v2-dev
2021-08-10 17:09:56 +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
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
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
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