Commit Graph

12553 Commits

Author SHA1 Message Date
Tracy Zhou 6d8afb2187 Allow two finger gesture from trackpad to pull down notification from home
Fixes: 255602235
Test: manual
Change-Id: I99742320b322a1e7b04bad0e374fcc48f8871ce1
2022-10-25 19:03:52 +00:00
Holly Jiuyu Sun ba1c20d2a3 Merge "Log a-z apps count." into tm-qpr-dev am: 381ba3319d am: 52cebe3a69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20029946

Change-Id: I1e8520025c91510c711cd378431b51e281a8048c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 18:17:12 +00:00
Schneider Victor-tulias 9274de0695 Merge "Remove obsolete cancel recents animation logic" into tm-qpr-dev am: 4c9a93c04f am: 536f3ede15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20272754

Change-Id: I79eaf811072f56feba6befcdfa53a22baa4453dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 18:17:02 +00:00
Holly Jiuyu Sun 52cebe3a69 Merge "Log a-z apps count." into tm-qpr-dev am: 381ba3319d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20029946

Change-Id: Iedca65de9f046fba4d3d4595970adeb0f4ebc24f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 18:14:39 +00:00
Holly Jiuyu Sun 381ba3319d Merge "Log a-z apps count." into tm-qpr-dev 2022-10-25 17:50:19 +00:00
Schneider Victor-tulias 536f3ede15 Merge "Remove obsolete cancel recents animation logic" into tm-qpr-dev am: 4c9a93c04f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20272754

Change-Id: Iff0729ff836ed1648ebf488af2c0f840a3d97b98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 17:40:27 +00:00
Schneider Victor-tulias 4c9a93c04f Merge "Remove obsolete cancel recents animation logic" into tm-qpr-dev 2022-10-25 17:02:29 +00:00
Andras Kloczl fb65436fae Improve All Set page UI for large screens
Test: manual
Screenrecordings: https://drive.google.com/drive/folders/1S6kjenZn0kP-W2tPpUemre2x0368ACyr?usp=sharing
Bug: 233610579
Change-Id: I9a33efe193a96e752766feb1e91cf0ac9b30246f
2022-10-25 13:16:47 +00:00
Tony Huang 65af7f8c07 Merge "Snapshot 2 tasks when swipe up split case" into tm-qpr-dev am: c33c69c1c3 am: 54d58c1f1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20223761

Change-Id: Ifa616ab224472c537b29f4c51503af57155e8a00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 07:13:37 +00:00
Tony Huang 54d58c1f1a Merge "Snapshot 2 tasks when swipe up split case" into tm-qpr-dev am: c33c69c1c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20223761

Change-Id: I974373c26c8e48283287ea4954e08ee4b74959d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 06:17:56 +00:00
Tony Huang c33c69c1c3 Merge "Snapshot 2 tasks when swipe up split case" into tm-qpr-dev 2022-10-25 05:42:39 +00:00
Sihua Ma af210f70fd Merge "Get rid of setInteractionHandler call to the host in launcher" into tm-qpr-dev am: 4421353ce8 am: 82eba8a3bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20274922

Change-Id: I1c6327a673d0444d317d5983255c80d2b823d596
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 04:01:22 +00:00
Sihua Ma 82eba8a3bf Merge "Get rid of setInteractionHandler call to the host in launcher" into tm-qpr-dev am: 4421353ce8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20274922

Change-Id: Ib5219481f120ed86021b59c80509303bd1073f97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 03:25:37 +00:00
Sihua Ma 4421353ce8 Merge "Get rid of setInteractionHandler call to the host in launcher" into tm-qpr-dev 2022-10-25 02:44:16 +00:00
Wei Sheng Shih 65aa338ab6 Merge "Fixs NPE when start back-to-home animation." 2022-10-25 02:07:45 +00:00
Tracy Zhou 6445fc9102 Merge "Support swipe gesture on trackpad to swipe up from app" 2022-10-25 01:41:54 +00:00
Sunny Goyal 97ae16e80c Updating AIDL interface and removing unused methods
Bug: 193244407
Test: Presubmit
Change-Id: If87ef08e16e541921cde4e7a15a675b07c388fef
2022-10-24 15:50:25 -07:00
Saumya Prakash 96cad794d7 Removed disabled overview actions at end of scroll
Updated visibility of the overview action bar so that when viewing
the clear all button at the end of the tasks it becomes hidden.
Previously, the overview actions were disabled so they were not
usable anyways. Updated the corresponding tests because expected
behavior was changed.

Test: Manual
Fix: 230508197
Change-Id: I17628f1fa3869b575ec404a2a630a6927e3c1d14
2022-10-24 22:47:24 +00:00
Sihua Ma 8ca56fe1cd Get rid of setInteractionHandler call to the host in launcher
Bug: 235358918
Test: N/A
Change-Id: I0defac1831825bf0a13a601dd1502b4ca022bc2e
2022-10-24 14:56:11 -07:00
TreeHugger Robot b4977f4f38 Merge "Removing unnecessary RemoteAnimationTargetCompat" into tm-qpr-dev am: b9bced07c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20239831

Change-Id: I435e09e315997ed9ac0cdf3e691a6573371a7ce6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 21:43:02 +00:00
Sunny Goyal d859060860 Merging MultiValueAlpha with MultiPropertyFactory
Bug: 246644619
Test: Presubmi
Change-Id: Id5abc5f3169544656f1139ae17ca59e34ac65dac
2022-10-24 14:38:18 -07:00
TreeHugger Robot b9bced07c2 Merge "Removing unnecessary RemoteAnimationTargetCompat" into tm-qpr-dev 2022-10-24 21:32:34 +00:00
Ats Jenk 7344ff6306 Merge "Clicking on desktop tile brings apps to front" into tm-qpr-dev am: 1236c812f1 am: a8dcda1d7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20249369

Change-Id: Ib009395ff5ba90d8fdc25e5b8f054a65a0c1bfa6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 21:29:31 +00:00
Ats Jenk a8dcda1d7b Merge "Clicking on desktop tile brings apps to front" into tm-qpr-dev am: 1236c812f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20249369

Change-Id: I1f1e327666da267638ae98d5f4fd56b935072a88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 21:24:57 +00:00
Ats Jenk 1236c812f1 Merge "Clicking on desktop tile brings apps to front" into tm-qpr-dev 2022-10-24 20:57:25 +00:00
Mady Mellor 344a5974cd Merge "Hide launcher when freeform tasks are visible" into tm-qpr-dev am: b5c2565447 am: f602559b25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20017950

Change-Id: Ie285233ddb6e8bf53c1482c7385a04b9629519b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 18:04:24 +00:00
Jeremy Sim 0525e3a462 Add transitions to DWB banner when app thumbnail progresses from Overview tile to fullscreen
This patch makes it so that the DWB banner transitions out neatly when a user in Overview drags a tile downward to launch the app. Previously, the banner would stick around throughout the transition, creating visual clutter and drawing attention to the corners of the app.

Fixed by creating an exit transition in setFullscreenProgress(), similar to other UI elements like Overview action chips.

There is another outstanding issue where sometimes the transition can get clipped and jump to the final frame. The cause is still unknown, but issue is tracked at b/250976138 for a future fix.

Fixes: 249825524
Test: Manual
Change-Id: Iea47a9bc643537f0b716ce11b104803d9ca25fd2
2022-10-24 10:47:29 -07:00
Mady Mellor f602559b25 Merge "Hide launcher when freeform tasks are visible" into tm-qpr-dev am: b5c2565447
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20017950

Change-Id: I1605450eac52bed58566c55259246009c59b27b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 17:21:45 +00:00
Sunny Goyal 8a11443333 Removing unnecessary RemoteAnimationTargetCompat
Merged-In: I12a4c29eaf9bd7d97d3c02074b4cc1ca452fc88a
Bug: 221961069
Test: Presubmit
Change-Id: I12a4c29eaf9bd7d97d3c02074b4cc1ca452fc88a
2022-10-24 17:17:36 +00:00
Sunny Goyal 0d77cd7166 Merge "Removing unnecessary RemoteAnimationTargetCompat" 2022-10-24 17:16:49 +00:00
Schneider Victor-tulias 0130252c00 Remove obsolete cancel recents animation logic
This logic was used as a workaroung for 2-button navigation mode. This mode is now obsolete, however the leftover logic clashes with gesture navigation mode. Removed old logic and unused variables.

Test: manually tapped nav handle, then quickly swipped up
Fixes: 255348258
Change-Id: Ib4e179c0c4d9769acae24f93cfde65d2c7a4dfd9
2022-10-24 10:12:45 -07:00
Mady Mellor b5c2565447 Merge "Hide launcher when freeform tasks are visible" into tm-qpr-dev 2022-10-24 16:04:59 +00:00
wilsonshih 0988afc44e Fixs NPE when start back-to-home animation.
Animation target should get from parameter.

Bug: 238475284
Test: build/flash, monitor launcher won't crash while start
back-to-home animation

Change-Id: I7bd254a436ddcf250d90827b9d81d628bcd4313c
2022-10-24 22:36:23 +08:00
Shan Huang 2b6c7f8b0c Merge "Use spring-y progress in back to home animation." 2022-10-22 13:47:14 +00:00
Tracy Zhou daad3fefea Support swipe gesture on trackpad to swipe up from app
Bug: 254783214
Test: https://recall.googleplex.com/projects/3388b17c-d22f-46f8-b140-a102690377b4/sessions/92d385dd-bad5-49ea-a0b4-b4bf4010aabb
Change-Id: I74ba4a9e5c5096aaf6475f9cb8f1dc30de48024d
2022-10-22 07:18:16 +00:00
Shan Huang deee3c1a46 DO NOT MERGE Use spring-y progress in back to home animation. am: f31bf4e1e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20123116

Change-Id: I926c3b4e4f20a740c29337459228859018bc5e1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-22 00:11:52 +00:00
Shan Huang e3279da4fc Merge "DO NOT MERGE Use spring-y progress in back to home animation." into tm-qpr-dev 2022-10-21 23:54:12 +00:00
Shan Huang 09465d5070 Use spring-y progress in back to home animation.
Bug: 241788651
Test: m -j. Visual inspection.
Change-Id: Ia003136b17fb8e0a383768ccc3c0fcf4ca4cadeb
2022-10-21 15:40:28 -07:00
Shan Huang f31bf4e1e3 DO NOT MERGE Use spring-y progress in back to home animation.
Bug: 241788651
Test: m -j. Visual inspection.

Change-Id: If2b0218367680853ae4ee89c5ecff224ab9b6f04
2022-10-21 22:14:38 +00:00
Vinit Nayak fef51c7628 Merge "Use updateButtonLayoutSpacing() for all states" into tm-qpr-dev am: cb26c1a245 am: 812bb6604d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20247867

Change-Id: Ib97b1cce072bcd58f32ba18817c498d533d6b57f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 21:31:59 +00:00
Vinit Nayak 812bb6604d Merge "Use updateButtonLayoutSpacing() for all states" into tm-qpr-dev am: cb26c1a245
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20247867

Change-Id: Ifbb6aff2ede81eff756128c7b2b35612bee6d86d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 21:00:14 +00:00
Vinit Nayak cb26c1a245 Merge "Use updateButtonLayoutSpacing() for all states" into tm-qpr-dev 2022-10-21 20:32:10 +00:00
Sunny Goyal 2e0bdd4f49 Merge "Optimizing some icon generation code:" into tm-qpr-dev am: 415fe0c183 am: ef188e8c23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040405

Change-Id: Ia9595c728b3ab46b8530a689598bb6cc7c433477
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 20:04:34 +00:00
Sunny Goyal ef188e8c23 Merge "Optimizing some icon generation code:" into tm-qpr-dev am: 415fe0c183
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20040405

Change-Id: Id325662e61d5cdcc625923536a8458eb44fdd9b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 19:17:35 +00:00
Schneider Victor-tulias ee0bc03d58 Decrease TAPL All Apps scrolling flakiness
scrolling in all apps did not factor in additional top padding in the all apps list recycler. This made it so that apps could occasionally scroll and be obcured by that top padding, making them un-tappable. Added this padding to the scrolling logic to make scrolling less flaky.

Test: TaplTestsTaskbar, TaplTestsLauncher3 and presubmit
Fixes: 248064856
Change-Id: Id76b92b4bc354917f3688ac53673d0ed7a905f02
2022-10-21 12:12:38 -07:00
Sunny Goyal 415fe0c183 Merge "Optimizing some icon generation code:" into tm-qpr-dev 2022-10-21 18:27:54 +00:00
Mady Mellor 9a90c2d521 Hide launcher when freeform tasks are visible
This CL introduces a new controller to manage the visibility of the
launcher workspace when desktop mode is active and freeform tasks
are visible.

This controller will be notified when the sysui state flag related
to freeform task visibility is changed.

The controller will modify the workspace visibility as well as
the flags on the activity indicating if it's been paused / resumed
based on freeform tasks being visible or not.

Bug: 245569277
Test: manual -  enable desktop mode and open some freeform tasks
             => observe that the contents of launcher is hidden and
                taskbar shows
             -  remove all of the freeform tasks
             => observe that the contents of launcher reappears along
                with the hotseat.
Change-Id: I378ab97b40cbb954a06f4e2426b195efddad905c
2022-10-21 10:06:54 -07:00
Vinit Nayak 2a2fbfe319 Use updateButtonLayoutSpacing() for all states
* During a merge conflict we prevented
updateButtonLayoutSpacing() from running if device was
in setup mode, however the code that does setup layout
is in there.

Fixes: 254589281
Test: Went through setup, back button shows up
where expected

Change-Id: Ib496bfc0e3ac9023a9fc5071867c3779721ab8ab
2022-10-20 23:11:33 -07:00
Vinit Nayak 61d94834f7 Merge "Improve TaskMenuView layouts for split pairs" into tm-qpr-dev am: b9b7c38d55 am: 05e238ff32
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20169868

Change-Id: I5c1a164b627794f1f25007ce467bd33bcc26c84f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 01:16:27 +00:00
Vinit Nayak 05e238ff32 Merge "Improve TaskMenuView layouts for split pairs" into tm-qpr-dev am: b9b7c38d55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20169868

Change-Id: I2d4308adb3a6396732b663a2f05e9af115318261
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 00:43:22 +00:00