Commit Graph

10496 Commits

Author SHA1 Message Date
Luca Zuccarini 98d08589a8 Merge "Update the NORMAL->ALL_APPS transition when tapping on QSB on phones." into tm-dev am: e75b1c8a19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18140267

Change-Id: Ia125cddc8f127d6715ebe473ab5aa57d22316b76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 23:06:33 +00:00
Luca Zuccarini e75b1c8a19 Merge "Update the NORMAL->ALL_APPS transition when tapping on QSB on phones." into tm-dev 2022-05-10 22:35:02 +00:00
Kholoud Mohamed 349b2c0b9a Merge "Add missing enterprise string" into tm-dev am: b8e9cbcc65
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18230548

Change-Id: Ib27243428c63e3c6ec93b0abcef4162d22ef28dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 20:22:48 +00:00
Kholoud Mohamed b8e9cbcc65 Merge "Add missing enterprise string" into tm-dev 2022-05-10 09:54:13 +00:00
Sunny Goyal a2924fadd5 Merge changes from topic "revert-17983445-hotseat_span-WQWWPUHOTD" into tm-dev am: b0416cc478
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18236805

Change-Id: I98968b28fa92b60b4a93c575a236af67e865a642
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 00:23:54 +00:00
Sunny Goyal b0416cc478 Merge changes from topic "revert-17983445-hotseat_span-WQWWPUHOTD" into tm-dev
* changes:
  Revert "Fix hotseat width to span a number of columns"
  Revert "Update workspace, cell layout, shortcut and widget, and cell size calculations."
2022-05-09 23:14:38 +00:00
TreeHugger Robot f6ccde8079 Merge "Remove long press on home button for kids mode." into tm-dev am: 8d5c3e91cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18230546

Change-Id: I102b872ee1f2221c3f79f0411d26417ad5154f6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-09 20:41:43 +00:00
Vinit Nayak e50b15862e Merge "Extend recents button hitbox on tablet" into tm-dev am: 46d95995aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17958719

Change-Id: I9324a2e43b21fc60faa4a274e10d034b7f3cfbf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-09 20:30:06 +00:00
Sunny Goyal 89a89d63a4 Revert "Fix hotseat width to span a number of columns"
Revert submission 17983445-hotseat_span

Reason for revert: b/231283023
Reverted Changes:
Ice4e37929:Fix hotseat width to span a number of columns
I9ed508490:Fix hotseat width to span a number of columns

Change-Id: Iabf67c5efd8155131a0c8a88192ddd671a43747b
2022-05-09 19:32:07 +00:00
Sunny Goyal 3e8a04b341 Revert "Update workspace, cell layout, shortcut and widget, and cell size calculations."
This reverts commit b45d6c421d.

Reason for revert: b/231283023

Change-Id: Ic4941ea9ecd382348aae8e099e5a7ebf4ed0bba3
2022-05-09 19:31:45 +00:00
TreeHugger Robot 8d5c3e91cf Merge "Remove long press on home button for kids mode." into tm-dev 2022-05-09 19:22:11 +00:00
kholoud mohamed 00f80ed1ae Add missing enterprise string
Bug: 231592687
Test: manual
Change-Id: I59e4d899084c965dfbca49f6c65c3b9809a89ed8
2022-05-09 19:48:40 +01:00
Vinit Nayak 46d95995aa Merge "Extend recents button hitbox on tablet" into tm-dev 2022-05-09 18:46:01 +00:00
TreeHugger Robot d82e1c0e60 Merge "Avoid logging LAUNCHER_OVERVIEW_GESTURE in 3 button mode" into tm-dev am: 787c0e135b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18230544

Change-Id: I6de91eb4b3c6b366679dd3ccafdceba4dbb22d8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-09 17:55:00 +00:00
Jerry Chang 6da7320840 Merge "Support fade-in divider bar with quick switch gesture" into tm-dev am: 384b521dd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18160666

Change-Id: I9ac293f3a2fc917e2c8dc070819ef5e7acefd392
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-09 17:04:34 +00:00
Pat Manning 52bb52aeb4 Remove long press on home button for kids mode.
Fix: 229961238
Test: manual
Change-Id: Idb50d4e142b1d1b0539a71b7a727d00dc76c6a68
2022-05-09 16:57:33 +01:00
Alex Chau 8a47d5f955 Avoid logging LAUNCHER_OVERVIEW_GESTURE in 3 button mode
- Avoid doLogGesture for app->overview in 3 button mode

Bug: 219686410
Test: app -> overveiw in 3 button mode and gesture mode
Change-Id: I5e65f9182be0388abfc9b07d5f08c96a3334b7b5
2022-05-09 14:54:10 +01:00
Jerry Chang 384b521dd5 Merge "Support fade-in divider bar with quick switch gesture" into tm-dev 2022-05-09 10:57:02 +00:00
TreeHugger Robot 235de12d1f Merge "Finish mIconAlignmentForLauncherState animation before animating to new value" into tm-dev am: 062d96721c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18198384

Change-Id: I2ee45d9697d0f7a794de4bc6e643e538b0319d70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-07 16:10:10 +00:00
TreeHugger Robot 062d96721c Merge "Finish mIconAlignmentForLauncherState animation before animating to new value" into tm-dev 2022-05-07 15:39:42 +00:00
Vinit Nayak b1436b0ae7 Extend recents button hitbox on tablet
* Extends hitbox when recents is tapped
when going from taskbar to overview.
* Extended region lasts for 400ms after
the animation ends.

Fixes: 225885714
Test: Manual, added unit test
Change-Id: I8766279c1a5bf6867f8d69ddd3af2aa3565deec2
2022-05-06 17:04:47 -07:00
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
Alex Chau 78357f7979 Finish mIconAlignmentForLauncherState animation before animating to new value
Fix: 230630665
Test: Launch app and return home, taskbar animation should be smooth
Change-Id: Ie6c7daac7f185a51476a9d076dde628d57ff77eb
2022-05-06 17:34:07 +01: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
Luca Zuccarini ef006c7603 Update the NORMAL->ALL_APPS transition when tapping on QSB on phones.
- New interpolators
- New duration
- Removed workspace translation
- Removed overlapping fades -- are now sequential

See video in the bug.

Bug: 227745955
Test: manual
Change-Id: I19fa19a3806e963a04c5e694a52d3c1b921cf51f
2022-05-06 16:07:17 +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
Jerry Chang ca7c61d385 Support fade-in divider bar with quick switch gesture
Fix: 229613465
Test: quickswitch back to split pair, divider bar will fade-in as
      expected.
Change-Id: I2746ef63ecf9a9cc5563c543cc83583955e0c938
2022-05-04 06:06:07 +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