Commit Graph

34630 Commits

Author SHA1 Message Date
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
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
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 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 830b12efad Merge "Adjust all apps zoom level" into sc-v2-dev 2021-08-10 15:21:10 +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 6f12fc09d9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-10 04:07:34 +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
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
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
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 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 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
TreeHugger Robot 0a39f6daec Merge "Diagnose when lab device sends fake touch screen events to test" into sc-v2-dev 2021-08-09 11:00:45 +00:00
vadimt 6b534ee54f Diagnose when lab device sends fake touch screen events to test
Bug: 189874683
Test: local
Change-Id: I8ac569ab049bafaa0a6263598f2b43a99386e6d9
2021-08-06 15:49:02 -07: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
Alex Chau b3e8d11b9f Merge "Revert "Revert "Removing workaround for battery defender""" into sc-v2-dev 2021-08-06 09:58:53 +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 9b762e9778 Merge "Invoke home via recents for fallback recents" into sc-v2-dev 2021-08-05 22:11:13 +00:00
Vadim Tryshev ed53d1c21c Revert "Revert "Removing workaround for battery defender""
This reverts commit f9ccf0175d.

Reason for revert: to see whether b/151613234 is fixed

Test: pre-, post- submit
Bug: 151613234
Change-Id: Ieda2907319d796a57494318920c22f3db4527dab
2021-08-05 20:52:58 +00:00
TreeHugger Robot 1ac67e4314 Merge "Allow Sv2 in launcher build version" into sc-v2-dev 2021-08-05 20:28:05 +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
Jonathan Miranda 86d80936ac Merge "Update extra space allocations for taller devices." into sc-dev am: dd16ecbc61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15457550

Change-Id: I8fe398bacbdc11a3ba6d43829c1be75248249740
2021-08-05 18:42:44 +00:00
Jonathan Miranda dd16ecbc61 Merge "Update extra space allocations for taller devices." into sc-dev 2021-08-05 18:33:56 +00:00
Alex Chau 2994df043a Allow Sv2 in launcher build version
Bug: 195632795
Test: atest NexusLauncherTests:com.google.android.apps.nexuslauncher.wellbeing.WellbeingTests#testPauseAppFromOverview
Change-Id: If0c047bfc64e17de71e9861e27c3a1373577e398
2021-08-05 19:10:17 +01:00
Alex Chau 2d96b8b10e Merge "Further increase FORCE_PAUSE_TIMEOUT in tests" into sc-v2-dev 2021-08-05 17:21:21 +00:00
Steven Ng cea65b75d8 Fix wallpaper parallax calculation for large screen devices
Test: manual
Bug: 193403434
Change-Id: Ifaed71f8c3645b012def02a9ea36fc3fb29bac00
2021-08-05 16:05:50 +01: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 3a02b9ce9f Further increase FORCE_PAUSE_TIMEOUT in tests
- Test result has been improved by ag/15455154, but flakiness still exist, further increase the timeout to see if it helps

Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: I0421a969a30d9c8b259aeb21059e2219f43174f7
2021-08-05 13:55:52 +01: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 c7b1ae2acd [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 9d5749fd7f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15465212

Change-Id: Id4fa67a7e046c851fd62da982872a9c2921dfa31
2021-08-05 03:06:09 +00:00
TreeHugger Robot 5c932c632b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: a85c40ebd6 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15465214

Change-Id: Ib2fc8deca6013a25264c938bb28e450ba6b5a410
2021-08-05 03:06:02 +00:00
TreeHugger Robot 9d5749fd7f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-05 03:03:29 +00:00
TreeHugger Robot a85c40ebd6 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-05 02:53:48 +00:00
TreeHugger Robot 508749e2e8 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-05 02:15:07 +00:00
TreeHugger Robot 78e5366329 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-05 02:12:07 +00:00
Brian Isganitis c2a6378fc1 Merge "Fix crash from previewing launcher with unknown wallpaper colors." into sc-dev am: 200d7634d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15462873

Change-Id: I4965f54b75f9762ef51ed15f27f43f73b2919164
2021-08-05 01:28:12 +00:00
Brian Isganitis 200d7634d1 Merge "Fix crash from previewing launcher with unknown wallpaper colors." into sc-dev 2021-08-05 01:08:00 +00:00
Bill Yi de9757333d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0b9d15548e43296333e114040f18d787cef6349
2021-08-04 22:17:33 +00:00