Commit Graph

10472 Commits

Author SHA1 Message Date
Abhilasha Chahal 364c7ec720 Merge "Check if launcher has touch interaction service when registering touch events" into tm-dev am: 43d68e9f6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18185510

Change-Id: Iebcd00682765aea19b90557aae70fe31b71ca47a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 22:18:36 +00:00
Abhilasha Chahal 43d68e9f6b Merge "Check if launcher has touch interaction service when registering touch events" into tm-dev 2022-05-06 21:58:36 +00:00
Alex Chau 5785b43698 Merge "Fix overview and quickswitch gesture logging" into tm-dev am: 950437ce26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18140263

Change-Id: I32c8523dcad5ac2999e3895e581a5cc735846f9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 19:09:57 +00:00
Alex Chau 950437ce26 Merge "Fix overview and quickswitch gesture logging" into tm-dev 2022-05-06 19:05:43 +00:00
Schneider Victor-tulias 8ca3a8f5ae Merge changes from topic "presubmit-am-1224af9ca3f341a895e4bc19976e2bb8" into tm-dev am: a78e070a2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18010518

Change-Id: Ia7fd71b82231433a87be754d04f81c9e89a6582c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 19:02:50 +00:00
Schneider Victor-tulias a78e070a2e Merge changes from topic "presubmit-am-1224af9ca3f341a895e4bc19976e2bb8" into tm-dev
* changes:
  Fix recents animation flicker
  Fix janky overview animation.
2022-05-06 18:48:29 +00:00
Abhilasha Chahal 997a757661 Check if launcher has touch interaction service when registering touch events
Bug: 228014625
Test: Refactoring change

Change-Id: I3b94f4f7fabf7cb2964eefd5cf1e099d2bb80ca6
2022-05-06 16:21:48 +00:00
Becky Qiu 33e2cc178b [Toast] Create one search tapl tests for opening qsb and calculator app. am: 6183c4dd74
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17727848

Change-Id: Id22d91edaebcff095310202e92eee6a23ba36e1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 05:24:56 +00:00
Becky Qiu 6183c4dd74 [Toast] Create one search tapl tests for opening qsb and calculator app.
Test design doc: https://docs.google.com/document/d/1aPtMvegzn4hdwC0CNuIkfkalqG7v0FNCfyoO7qIOfN4/edit?usp=sharing&resourcekey=0-71oNHp1KKOdDKxr7Vd4dGQ

Bug: 225935921
Bug: 225935929
Test: ran test in android studio
Change-Id: I74197a9d81fc75a44269ab3bc1bba910de5e17fe
2022-05-05 18:47:34 -07:00
Alex Chau 6612d6ed4e Allow BaseState.getTransitionDuration to read DeviceProfile am: a717d1621d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18185502

Change-Id: Id08db226dd3c011f214d3d9a81b0d1f149fdb92a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-05 18:30:49 +00:00
Alex Chau a717d1621d Allow BaseState.getTransitionDuration to read DeviceProfile
- Changed handheld duration to AllApps to 600

Bug: 227745955
Test: manual
Change-Id: I6f6642440dda3e39947231c2d38e8b60d152e08f
2022-05-05 14:44:00 +01:00
Alex Chau a70e23384f Fix overview and quickswitch gesture logging
- Log Home -> Overview gesture
- Log Home -> quickswitch as LAUNCHER_QUICKSWITCH_RIGHT

Bug: 219686410
Test: Local log in StatsLogCompatManager
Change-Id: Ic88fefd5af58dc03779f77b12611843c40706b1c
2022-05-05 14:33:27 +01:00
Schneider Victor-tulias 9f922d3598 Fix recents animation flicker
The recents animation can sometimes start before launcher has started when started with 3-button mode. This causes the animation to start before the recents UI has been initialized by Launcher. Added a callback to properly synchronize launcher start and the recents animation.

Fixes: 229360539
Test: started the recents animation and checked logs (order of operations), when the recents animation or launcher started first
Change-Id: I5938bbba778a2886b4a1e4ee4844eaf28c6fac0e
2022-05-04 22:27:50 +00:00
Shan Huang bc2e411eb5 Merge "Close icon folder for predictive back to home animation." into tm-dev am: 9cb46e4327
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17947386

Change-Id: Ie80f770e617585d18c616d431b3622df984a7fab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-04 20:54:34 +00:00
Shan Huang 9cb46e4327 Merge "Close icon folder for predictive back to home animation." into tm-dev 2022-05-04 20:26:59 +00:00
Pat Manning 980d03057d Merge "Update workspace, cell layout, shortcut and widget, and cell size calculations." into tm-dev am: f4bd9b6304
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18140265

Change-Id: I146d34bcf0dd1ee4849d9a7c5aa441de883dec1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-04 18:45:00 +00:00
Pat Manning f4bd9b6304 Merge "Update workspace, cell layout, shortcut and widget, and cell size calculations." into tm-dev 2022-05-04 18:19:02 +00:00
Pat Manning b45d6c421d Update workspace, cell layout, shortcut and widget, and cell size calculations.
Test: DeviceProfileGridDimensionsTest.kt
Fix: 230862148
Change-Id: Ib1d577bf21beb45b2f8b3d4bd57e72c188e0f71b
2022-05-04 15:39:03 +01:00
TreeHugger Robot b3dd748a86 Merge "Use isTablet instead of isPhone for check" into tm-dev am: 3fd92a955e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18152029

Change-Id: Ic225790ef3976c72aff8134c34c371dedd63d1a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-04 12:20:09 +00:00
TreeHugger Robot 3fd92a955e Merge "Use isTablet instead of isPhone for check" into tm-dev 2022-05-04 11:52:53 +00:00
TreeHugger Robot 94e36d23a7 Merge "Don't fade out live tile when dismissed" into tm-dev am: c8b095e28c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18152027

Change-Id: Ieb82e55f07889a95a236ab1605d02895ccb2fdf5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-04 03:20:30 +00:00
TreeHugger Robot c8b095e28c Merge "Don't fade out live tile when dismissed" into tm-dev 2022-05-04 02:47:02 +00:00
Anushree Ganjam 32a05ae3f0 Use isTablet instead of isPhone for check
Bug: 228803923
Bug: 227565451

Test: Manual.
Change-Id: If7a21495b126230de8e91126ef0f3fcf54f9c900
2022-05-03 23:10:47 +00:00
Vinit Nayak 13b16060f3 Don't fade out live tile when dismissed
* Fading out exposes the wallpaper underneath
since the task is layered below launcher and
we draw a cutout in the scrim

Fixes: 230916221
Test: Swiping up on live tile task doesn't fade
Change-Id: Ie4a81aeed3de242146248ecae7734e5e02985040
2022-05-03 15:35:34 -07:00
Shan Huang 8f45458925 Close icon folder for predictive back to home animation.
Folders are typically closed in launcher#onResume. However in the
predictive back flow, launcher isn't resumed until transition fully goes
through. Therefore we need to explicitly close the folders on transition
start.

Bug: 229861300
Test: Open an opted in app from workspace folder and swipe back (with
animations enabled).

Change-Id: I4b5229cd2590c164ffba892f49eeb2e26438eadf
2022-05-03 22:35:14 +00:00
TreeHugger Robot 418078531b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-03 20:48:34 +00:00
Sunny Goyal 59264fc190 Merge "Replacing ItemInfoMatcher with predicate" into tm-dev am: f76524151d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18124001

Change-Id: I3ee9e003d20cc1c7c49f1a3c87150b7b7023b510
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 20:14:23 +00:00
Vinit Nayak 6eb877f0d7 Merge "Revert "Revert "Use new onStartSplitLegacy when starting split f..."" into tm-dev am: 38ebd4b41c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17944715

Change-Id: I3437f6303a40653ff4fb5392950f1a977cc00ca5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 20:07:25 +00:00
Sunny Goyal f76524151d Merge "Replacing ItemInfoMatcher with predicate" into tm-dev 2022-05-03 20:04:55 +00:00
Vinit Nayak 38ebd4b41c Merge "Revert "Revert "Use new onStartSplitLegacy when starting split f..."" into tm-dev 2022-05-03 19:56:34 +00:00
Schneider Victor-tulias bb44c03b1c Fix janky overview animation.
Switching to overview shortly after switching to 3-button mode caused a janky animation if the PagedView wasn't properly initialized yet. Moved the animation to a callback.

Fixes: 203632659
Fixes: 223719200
Test: manual
Change-Id: I8a345036c6b7322ae3fa50a23bcb7522f57c8a90
2022-05-03 10:38:23 -07:00
Jon Miranda 83d448595a Merge "Fix all app button taskbar animation in LTR and RTL." into tm-dev am: e73c3075c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18119607

Change-Id: I32e35cbbeb6fc284ad4258ba4b5a2030f1e5c61e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 17:20:03 +00:00
Tracy Zhou 79304811ce Merge "Originate split select animation from the original icon view instead of the split menu icon" into tm-dev am: 0c625f7472
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17756848

Change-Id: I0279b8189b4016f97a23343de5ee04bcafe39e6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 17:19:30 +00:00
Sunny Goyal 32084d49d3 Replacing ItemInfoMatcher with predicate
This removed unnecessary componentName lookups when it
is not required. Many checks just rely on IDs and
userHandle

Bug: 231153610
Test: Presubmit
Change-Id: Ief93954abc5861062a9f55dc2ef181d3de106c62
2022-05-03 10:07:22 -07:00
Jon Miranda e73c3075c1 Merge "Fix all app button taskbar animation in LTR and RTL." into tm-dev 2022-05-03 17:03:22 +00:00
Tracy Zhou 0c625f7472 Merge "Originate split select animation from the original icon view instead of the split menu icon" into tm-dev 2022-05-03 16:48:39 +00:00
Justin Weir 4d48c3d528 Merge "Ensure log buffers are dumped to file on uncaught exceptions" into tm-dev am: df073f0e93
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17918464

Change-Id: Iebda5f920fd4035a1fd1fe56b9fdcd07ff796336
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 13:26:30 +00:00
TreeHugger Robot d00ce3a13e Merge "Tune AllApps dismiss animation" into tm-dev am: f1a4296cd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17757986

Change-Id: I9cc735f116c397ccb0f8d97ad5e45b373bd3ec1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 13:25:50 +00:00
Schneider Victor-tulias 890afbc1bb Translate the 3 navigation buttons to/from their in-app position when animating to/from the -1 screen, all apps and widgets. am: 9b6babf839
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17389746

Change-Id: I1575c303020c1ed272fc24052116c71242b93074
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 13:25:36 +00:00
Schneider Victor-tulias 674b552dc0 Fix taskbar 3-button truncation on rotate am: c0b30dc266
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109868

Change-Id: I26e9b1429c9e8e3b386b1dda15386ae64f0af27d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 13:25:33 +00:00
Justin Weir df073f0e93 Merge "Ensure log buffers are dumped to file on uncaught exceptions" into tm-dev 2022-05-03 11:38:58 +00:00
TreeHugger Robot f1a4296cd0 Merge "Tune AllApps dismiss animation" into tm-dev 2022-05-03 11:23:46 +00:00
Jon Miranda e7b977ddd5 Fix all app button taskbar animation in LTR and RTL.
Bug: 225154998
Test: Open app, view taskbar, go back to home
      Repeat for both RTL, LTR

Change-Id: Ifdc8074bef6e5f5a447a1f4110ccb387b18a7ea9
2022-05-02 15:31:21 -07:00
Justin Weir 811e76353a Ensure log buffers are dumped to file on uncaught exceptions
Update PluginManagerWrapper according to changes in ag/17915248

Bug: 213884413
Test: manually verified, added tests, and ran atest
Change-Id: If829fc33769819624530f766178689ecf0374926
2022-05-02 15:28:44 -04:00
Schneider Victor-tulias 9b6babf839 Translate the 3 navigation buttons to/from their in-app position when animating to/from the -1 screen, all apps and widgets.
Bug: 221455508
Test: opened all apps, widgets, -1 screen, notifications shade and keyboard in various combinations and orders; locked screen, launched app, returned home with the back/home buttons, opened overview
Change-Id: Ia0b406aacf72b34bd6b7ff1c01278ab6895a7da4
Merged-In: Ia0b406aacf72b34bd6b7ff1c01278ab6895a7da4
(cherry picked from commit 9c1a452a1d)
2022-05-02 18:45:01 +00:00
Schneider Victor-tulias c0b30dc266 Fix taskbar 3-button truncation on rotate
- Fixed truncation issue in overview and home on rotation
- Fixed 3 buttons translating incorrectly when switching to/from overview

Fixes: 205057824
Fixes: 215482458
Test: Manual
Change-Id: I0b89010a2b6ed03a34c3443fc6e1edc81f8d9f20
Merged-In: I0b89010a2b6ed03a34c3443fc6e1edc81f8d9f20
(cherry picked from commit 8aa99c72b1)
2022-05-02 18:12:00 +00:00
TreeHugger Robot 7ebf29a492 Merge "Provide the back callback instance when unregistering it from SysUI." into tm-dev am: eba6a95a29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17650016

Change-Id: I82583999e087d18b67c96f541cf4b788711621ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-02 16:35:26 +00:00
TreeHugger Robot eba6a95a29 Merge "Provide the back callback instance when unregistering it from SysUI." into tm-dev 2022-05-02 16:18:43 +00:00
Shan Huang 883e7e412b Provide the back callback instance when unregistering it from SysUI.
Bug: 228535747
Test: atest BackAnimationControllerTest
Test: Make sure back to home animation works on tablets and phones.
Change-Id: Iacbd581f382da50e96cfefbefe569800e9e1043b
2022-05-02 04:57:11 +00:00
TreeHugger Robot cf998daa6b Merge "Do not add HOTSEAT_ICONS to visible elements for device type "phone" in ALL_APPS State" into tm-dev am: 002e1fcde5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18084536

Change-Id: I030b797ce4c0312d992253dfb3e25a98bf3a8017
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-30 17:35:36 +00:00