Commit Graph

58436 Commits

Author SHA1 Message Date
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
Yogisha Dixit 922ef41323 Add logging when item not added due to insufficient space. am: 104d09f143 am: e7a47f334a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15328636

Change-Id: I3777b341359b458b05da3e0f813c7b449fa22bc9
2021-08-10 14:59:42 +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 7d654db6cf [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 6f12fc09d9 -s ours am: 8c0298c489 -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: I9de82e6d455479ecf274fc1a8a0e92500e7cb14f
2021-08-10 04:32:05 +00: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
TreeHugger Robot efab081237 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-08-10 04:06:55 +00:00
Android Build Coastguard Worker c8358387f1 Snap for 7626123 from 60836a1634 to tm-release
Change-Id: I52fb54ce855220059e6feb9a41e961db8c997dc5
2021-08-10 03:08:51 +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
Android Build Coastguard Worker f81193f64c Snap for 7625316 from e649047f05 to sc-v2-release
Change-Id: Ied29124d0cab81ed04aa921786a9f6f4632eddea
2021-08-09 23:08:08 +00:00
Bill Yi 40383acc82 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I781c07c1c2cab40346ae80a3d01e227a475db67c
2021-08-09 22:34:14 +00: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
Brian Isganitis 60836a1634 Merge "Update folder pagination dot color to match mocks." into sc-v2-dev am: 47f0c5fba4 am: 129bbbbc25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15466621

Change-Id: I81079e657fedeb6817e5f28f875e1e86ad29ec98
2021-08-09 22:32:06 +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
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
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
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
Brian Isganitis 47f0c5fba4 Merge "Update folder pagination dot color to match mocks." into sc-v2-dev 2021-08-09 22:08:18 +00:00
TreeHugger Robot 264f6a4b69 Merge "Add logs when runningTaskView after re-binding tasks is null." into sc-v2-dev 2021-08-09 22:07:51 +00:00
TreeHugger Robot 7ec6870d24 Merge "Use windowInsets for bottomGestureSize instead of gestureInsets" into sc-v2-dev am: 758faccca3 am: 798108f711
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15502311

Change-Id: If7c821a37cdf63cabbcfa62eab96adb2bf237320
2021-08-09 21:57:04 +00:00
Steven Ng 99b8aee749 Merge "Fix wallpaper parallax calculation for large screen devices" into sc-v2-dev am: f90ad3be22 am: 0df57648f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15463290

Change-Id: I1397bf9acccfe38c54debf0a64adf7c411f6b2ce
2021-08-09 21:56:56 +00:00
TreeHugger Robot 798108f711 Merge "Use windowInsets for bottomGestureSize instead of gestureInsets" into sc-v2-dev am: 758faccca3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15502311

Change-Id: I8445496c31dc12ebc1c9f9e18257d5f0bf44f987
2021-08-09 21:47:28 +00:00
Steven Ng 0df57648f5 Merge "Fix wallpaper parallax calculation for large screen devices" into sc-v2-dev am: f90ad3be22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15463290

Change-Id: I5df6bf849d85312200ef0b00404682303f50c15d
2021-08-09 21:47:21 +00:00
TreeHugger Robot 758faccca3 Merge "Use windowInsets for bottomGestureSize instead of gestureInsets" into sc-v2-dev 2021-08-09 21:38:18 +00:00
Steven Ng f90ad3be22 Merge "Fix wallpaper parallax calculation for large screen devices" into sc-v2-dev 2021-08-09 21:29:46 +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
Brian Isganitis cbaf149f87 Update folder pagination dot color to match mocks.
Test: Folder page dot color matches mocks in light and dark mode.
Fix: 195045519
Change-Id: Ib485e51fbb903b1345ee865ddd8614f280e7608a
2021-08-09 16:03:54 -04: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
Alex Chau e9dbb0d952 Use windowInsets for bottomGestureSize instead of gestureInsets
- getTargetInsets will be reverted to its behavior before ag/15431427
- getBottomGestureSize will use the new getWindowInset call uses windowInsets instead of the max of windowInsets/gestureInsets, with the taskbar inset calibration

Bug: 195263971
Test: com.android.launcher3.ui.widget.AddWidgetTest#testDragCustomShortcut
Change-Id: I89368edee5252a404ef490db6540734ec4806f2b
2021-08-09 18:49:29 +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
TreeHugger Robot e649047f05 Merge "Add logs to MotionPauseDetector" into sc-v2-dev 2021-08-09 17:13:26 +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