Commit Graph
47051 Commits
Author SHA1 Message Date
Sunny Goyal 3f2637faee Adding support for extending back behavior in Launcher
Bug: 231224820
Test: Manual
Change-Id: I9accc30c01dce5f6920b611cfeed9fa0584d2846
2022-05-16 14:40:19 -07:00
TreeHugger Robot 4608bd00dc Merge "Revert "Set mState = mCurrentStableState in onAnimationCancel()"" into tm-dev 2022-05-16 18:15:14 +00:00
Sunny Goyal 6956b5cc7c Merge "Fixing transaction applier holding on to the release check if no frame update was scheduled" into tm-dev 2022-05-16 17:52:11 +00:00
TreeHugger Robot 6ac4f9e882 Merge "Clear recents animation controllers and recents animation snapshots synchronously." into tm-dev 2022-05-16 17:28:36 +00:00
TreeHugger Robot bd4d551a96 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 3fa0fbdfa7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I913660268dfe0138f7511c1edd37515526f2a6e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-16 14:21:41 +00:00
Bill Yi 11add7fc01 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: efc5fffa33 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib5b0203f2ec5591e2aec97ca81f0bc30ee65f8ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-16 14:21:29 +00:00
Bill Yi e7868554c9 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c416eae08b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib5cb9529f8169e1e01112cb5814b9da2048bc59d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-16 14:21:13 +00:00
TreeHugger Robot 3fa0fbdfa7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-05-16 13:35:20 +00:00
Bill Yi efc5fffa33 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I41614dd1043a7d8e93890739a7722486547c7196
2022-05-15 02:13:05 -07:00
Bill Yi c416eae08b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9ecf989635e614d4c922a00e6049d21a9aea7530
2022-05-15 02:11:57 -07:00
Hyunyoung Song ef4da349f8 Merge "Add latency tracking for aiai" into tm-dev 2022-05-15 06:56:01 +00:00
Hyunyoung Song 8536fb78c7 Merge "App row padding is now consistent for all grid sizes. Also fix when 2x2 allApp icons get super big." into tm-dev 2022-05-15 06:08:18 +00:00
Brandon Dayauon 07ca884eea App row padding is now consistent for all grid sizes. Also fix when 2x2 allApp icons get super big.
Added consistent padding to each app row.

Bug: 229789736
Bug: 229791507
Bug: 228320417
Bug: 230870213
Test: Manual on Raven

Change-Id: Ice1c8be361f009994a8e0960a30da04fc1c0c218
2022-05-13 17:10:15 -07:00
Schneider Victor-tulias 9c7551a9c9 Merge "Coordinate the SUW All Set page first reveal with the taskbar unstash to hotseat animation." into tm-dev 2022-05-13 22:33:21 +00:00
TreeHugger Robot 9cf0aa7418 Merge "Extra checks to find the source of flaky tests" into tm-dev 2022-05-13 19:51:45 +00:00
Schneider Victor-tulias 766f2fc346 Coordinate the SUW All Set page first reveal with the taskbar unstash to hotseat animation.
Bug: 220096988
Test: manual
Change-Id: I1f517b322e5c18f825be8b51ebb560a4a195b666
2022-05-13 11:17:10 -07:00
Schneider Victor-tulias 42be8fa0db Clear recents animation controllers and recents animation snapshots synchronously.
Clearing the recents animation controller synchronously immediately after posting a screenshot cleanup was making it almost impossible to cleanup the screenshot when cancelling the recents animation. Moved  the recents animation controller clearing to run synchronously with cleaning up the screenshot.

Bug: 223498680
Test: manually with 3 button mode.
Change-Id: I6af5bd4525976eb6956d0466dceae1787b3b84d8
2022-05-13 11:14:19 -07:00
Alex Chau 69230bbb29 Merge "Consider padding when measuring AllApps in SecondaryDragLayer" into tm-dev 2022-05-13 16:08:18 +00:00
TreeHugger Robot 6c2c619d35 Merge "Add non null check on mViewPager" into tm-dev 2022-05-13 16:06:49 +00:00
Sunny Goyal 3c354421c8 Extra checks to find the source of flaky tests
Bug: 200572078
Test: Presubmit
Change-Id: Ie927f476e3a2c1b5aee84e33bf510bb635e59071
2022-05-13 09:02:02 -07:00
kholoud mohamed 70d63456d3 Add non null check on mViewPager
Bug: 232034849
Test: N/A
Change-Id: I304088baf84dd6f65e096f610ebe11df036ae8d3
2022-05-13 14:33:50 +01:00
Alex Chau 9b5548c56d Consider padding when measuring AllApps in SecondaryDragLayer
Fix: 223595498
Test: adb shell am start -a android.intent.action.MAIN -c android.intent.category.SECONDARY_HOME
Change-Id: I2754eb08daf2657e502a22bf7308561f5d0c9a7f
2022-05-13 11:08:39 +00:00
Alex Chau 19d43e0511 Skip onSharedPreferenceChanged if mIgnoreAutoRotateSettings is true in RotationHelper
Test: manual with DeviceProfile changed followed by settings change
Bug: 232081262
Change-Id: Ibc02bbc7fc015db9511960b565e860e6cb5b6246
2022-05-13 11:33:21 +01:00
TreeHugger Robot 97c6b268cf Merge "Fix Fail to Launch work tab in launcher" into tm-dev 2022-05-13 01:18:46 +00:00
Brian Isganitis a7783dba56 Merge "Revert "Ignore swipe velocity if next task is considered the destination."" into tm-dev 2022-05-13 01:17:44 +00:00
TreeHugger Robot 160b18ab57 Merge "Fix jank when launching the All set page on devices that support vibrations" into tm-dev 2022-05-12 23:58:56 +00:00
Sunny Goyal 46254675da Fixing transaction applier holding on to the release check if no frame update was scheduled
Bug: 232039826
Test: Verified locally
Change-Id: I4face3ceb5985ea71ff718ddc732e6196c934bf4
2022-05-12 16:52:00 -07:00
Brian Isganitis 5064be12db Revert "Ignore swipe velocity if next task is considered the destination."
This reverts commit bde366ddd1.

Reason for revert: b/232441427

Change-Id: I1047435fe39900203b69fdfc87d256b1330a325a
2022-05-12 23:39:13 +00:00
Schneider Victor-tulias 28a24306b3 Fix jank when launching the All set page on devices that support vibrations
Moving haptics from the all set page background animation to the UI helper thread to reduce jank when launching the all set page from SUW.

Bug: 195711508
Test: manual with pixel 6 pro
Change-Id: Icca17a79161f177e3549dd780bfe9b78aa59fe51
2022-05-12 14:04:08 -07:00
Ramneek Kalra 205e39be79 Fix Fail to Launch work tab in launcher
On entering CTS Verifier apk, when test item Launch work tab in Launcher is clicked under BYOD Managed Provisioning, test fails and gives ActivityNotFoundException.

Root cause is because android.intent.action.SHOW_WORK_APPS is not declared for activity com.android.launcher3.uioverrides.QuickstepLauncher

Fix:
After declaring android.intent.action.SHOW_WORK_APPS for activity com.android.launcher3.uioverrides.QuickstepLauncher, the test passes.

Bug:
Test:
1. Download GMS Load
2. Boot Up Device And skip google setup screen
3. Enter Verifier apk,
4. Enter test item
5. BYOD Managed Provisioning, click Launch work tab

Change-Id: I694503acb77454351d572eaa67bcbb66ccc0ae0e
2022-05-12 21:39:39 +01:00
Alex Chau 7c89ac5d8c Merge "Add a scrim to AllApps and Widgets" into tm-dev 2022-05-12 20:09:06 +00:00
Alex Chau 8a7617f168 Merge "Fix slow page animations on large devices" into tm-dev 2022-05-12 19:08:41 +00:00
Pat Manning 8909fc2dcb Merge "Update drop target button alignment across devices." into tm-dev 2022-05-12 18:41:54 +00:00
Brian Isganitis de0c8c7c1b Merge "Ignore swipe velocity if next task is considered the destination." into tm-dev 2022-05-12 18:40:51 +00:00
Tracy Zhou f14d58dfda Merge "Tune dragToFolder test so that it works with the new nav bar height" into tm-dev 2022-05-12 18:17:19 +00:00
Schneider Victor-tulias d4909d3047 Merge "Removing redundant waiting for window change event and adding debug logging for dragging and dropping." into tm-dev 2022-05-12 17:00:53 +00:00
Sunny Goyal d7281d097d Merge "Adding support for easily extending Launcher DragAndDrop support" into tm-dev 2022-05-12 17:00:49 +00:00
James O'Leary 508fbbff56 Merge "Separate color into app color and dot color; specify dot color" into tm-dev 2022-05-12 16:37:39 +00:00
Pat Manning a54d1ab24a Merge "Re-land "Update workspace, cell layout, shortcut and widget, and cell size calculations."" into tm-dev 2022-05-12 16:00:51 +00:00
Alex Chau f4c8da6263 Merge "Tune overview icon size and paddings" into tm-dev 2022-05-12 15:58:08 +00:00
Jon Miranda a3764216a8 Merge "Clear all DragView in onResume" into tm-dev 2022-05-12 15:17:37 +00:00
TreeHugger Robot 566c676dda Merge "Add Developer Options string to xml." into tm-dev 2022-05-12 14:49:49 +00:00
Pat Manning 27bfcaa651 Update drop target button alignment across devices.
Fix: 229789612
Fix: 231711806
Fix: 231706480
Fix: 232063941
Fix: 232283628
Test: manual.
Change-Id: I75d649b953ad1607dbba87a8f758884ff938b6dc
2022-05-12 13:49:58 +00:00
Thales Lima 28a8b9f158 Add a scrim to AllApps and Widgets
Check the size of the scrim and draw on the bottom of AllApps and Widgets.
Add a padding to the bottom of AllApps and Widgets so content is above the scrim.
Change the color of nav buttons for better accessibility.
Correct width of the Widgets sheets to be the same as AllApps sheet.

Fixes: 221107977
Fixes: 214215594
Test: manual, HSV and Window
Change-Id: Ib7510ffcd80231de7fefcdef65b422174dd74593
2022-05-12 09:38:24 -03:00
Pat Manning 25d5334a9d Re-land "Update workspace, cell layout, shortcut and widget, and cell size calculations."
This reverts commit 3e8a04b341.

Reason for revert: b/230862148

Change-Id: I7462e86643816f42fc72e40defffd58a1f77ee8b
2022-05-12 11:57:01 +00:00
Andras Kloczl c2bd15fd2a Fix slow page animations on large devices
- Change non-fling page snap animation duration
- Change fling gesture related minVelocity

Test: Scroll between home pages, allapps, folder pages
Bug: 229073876
Change-Id: Ib39187ec9c832e65dd0b71f8f4a00e1b636423a4
Merge "Hide web settings, if web suggestions is disabled" into tm-dev

Change-Id: Ib39187ec9c832e65dd0b71f8f4a00e1b636423a4
2022-05-12 12:56:41 +01:00
Alex Chau 5d301a6fca Revert "Set mState = mCurrentStableState in onAnimationCancel()"
This reverts commit 22f8ad0dc0.

Bug: 228276181
Reason for revert: b/232336303, b/232347110

Change-Id: I8fd27e011328c222f0947553197fcf448150fae0
2022-05-12 10:13:08 +00:00
Tracy Zhou 001b547499 Tune dragToFolder test so that it works with the new nav bar height
And add screen record in case there is some flakiness

Fixes: 200310506
Test: presubmit
Change-Id: I7716698fe2fb600bf34fe603e4a98bb20fc6018d
2022-05-11 23:38:52 -07:00
Ats Jenk 6e6d747d95 Merge "Skip passing gesture to bubble when notif expanded" into tm-dev 2022-05-12 03:27:29 +00:00
Schneider Victor-tulias 8a01f6af3e Removing redundant waiting for window change event and adding debug logging for dragging and dropping.
Also removing unused TAPL object.

Bug: 231615831
Test: Ran TaplTestsTaskbar with invalid package names and with delays
Change-Id: I9f21c9e263240ccf734993083a5e90f0442314ad
2022-05-11 15:49:50 -07:00