Commit Graph

35227 Commits

Author SHA1 Message Date
Evan Rosky ef590ff147 Merge "Provide app-process tokens to remote transitions so they can be boosted" into sc-v2-dev am: a3defa4d39
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15633306

Change-Id: I496f45b2c087e2b531fdc3e1035c64c46aa39fca
2021-11-03 21:11:03 +00:00
Evan Rosky a3defa4d39 Merge "Provide app-process tokens to remote transitions so they can be boosted" into sc-v2-dev 2021-11-03 20:59:08 +00:00
Winson Chung eb1626bc08 Merge "Revert "DO NOT MERGE Fix the cutout of magnification border"" into sc-v2-dev am: d9db871f79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182773

Change-Id: Id8e956aac5ff0c1492e1e568a430b35986ba72a8
2021-11-03 17:07:11 +00:00
Alex Chau 2705be5666 Revert "DO NOT MERGE Fix the cutout of magnification border" am: c91a43e110
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16182773

Change-Id: I333af6ef9a8d29385e0cd5e08b4c3c3887f2b801
2021-11-03 17:07:09 +00:00
Winson Chung d9db871f79 Merge "Revert "DO NOT MERGE Fix the cutout of magnification border"" into sc-v2-dev 2021-11-03 16:49:07 +00:00
Alex Chau c91a43e110 Revert "DO NOT MERGE Fix the cutout of magnification border"
Revert "Do NOT MERGE Fix magnification border includes taskbar"

Revert submission 16003793-magnification_border

Bug: 196510717
Reason for revert: Caused NexusLauncherTests and NexusLauncherOutOfProcTests to stop running
Reverted Changes:
Ibbc9c51ea:Do NOT MERGE Fix magnification border includes tas...
Ida2bb5bf1:DO NOT MERGE Fix the cutout of magnification borde...

Change-Id: I6b2123aedd2a2f23142a34f158d2d9ab71948a18
2021-11-03 14:19:23 +00:00
Benno Lin 4c818e40b5 Merge "Implement pressing back button and swiping back" into sc-v2-dev am: 97d749833c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16013509

Change-Id: Ia234ca6bfecc272f19c20b711adfd950556cbcd0
2021-11-03 06:21:01 +00:00
Benno Lin 97d749833c Merge "Implement pressing back button and swiping back" into sc-v2-dev 2021-11-03 06:03:49 +00:00
Ryan Lin 6f505d67e2 Merge "DO NOT MERGE Fix the cutout of magnification border" into sc-v2-dev am: 0ee6940bd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16003757

Change-Id: Ib04fe2c82d9ddd02dbd3025e1a7983d61fa264ce
2021-11-03 05:42:16 +00:00
ryanlwlin 45a20421f6 DO NOT MERGE Fix the cutout of magnification border am: 571df892f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16003757

Change-Id: I110f15d4c315218ace1e1939b5c77d790d48538e
2021-11-03 05:42:15 +00:00
Ryan Lin 0ee6940bd0 Merge "DO NOT MERGE Fix the cutout of magnification border" into sc-v2-dev 2021-11-03 05:24:27 +00:00
Vinit Nayak 9f77b30259 Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev am: 874ea446c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177161

Change-Id: I7943a055038e4c41d5434b4c04dacbbb4deeb8b5
2021-11-03 05:18:55 +00:00
Vinit Nayak 874ea446c9 Merge "Revert "Align OverviewActionsView for 3 button taskbar"" into sc-v2-dev 2021-11-03 05:04:32 +00:00
ryanlwlin 571df892f7 DO NOT MERGE Fix the cutout of magnification border
If the window is unmagnifiable, it might cause the cutout of
magnification region.
To fix it, we set the flag when the touchable region is not the
entier window frame.

Bug: 196510717
Test: manual test on gestural and 3-button navigation
Change-Id: Ida2bb5bf120038ac9153e12790b93bdec195adbc
2021-11-03 10:50:09 +08:00
Benno Lin a5e417feab Merge "Update TAPL to operate on folder icons." into sc-v2-dev am: 8f083ccce3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15757342

Change-Id: Iebd2ca9f88a1975cf533df28aa4a988e3818e098
2021-11-03 02:36:35 +00:00
Benno Lin 6c00386c2b Implement pressing back button and swiping back
This CL implements a pressBack function to press back button or swiping
back in gesture navigation mode.

Bug: 199120092
Test: atest -c Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testPressBack &&
    atest -c NexusLauncherTests:com.android.quickstep.TaplTestsQuickstep#testPressBack
Change-Id: I001cea17d09ae1ab7952d04ee394a2afa5bf1e67
2021-11-03 02:28:37 +00:00
Benno Lin 8f083ccce3 Merge "Update TAPL to operate on folder icons." into sc-v2-dev 2021-11-03 02:14:46 +00:00
Bill Lin 995bd5881d [automerger skipped] Merge "Allow One-handed gesture when densityDpi > 600" into sc-qpr1-dev am: 6648ab32bc -s ours am: 0c93448afa -s ours
am skip reason: Merged-In Ic7ae10e8a47d26b9bb39ab80e22d591d74f89ae5 with SHA-1 2745327c5e is already in history

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

Change-Id: I8c13c961f3bb804d7b54b662129a2d0f085a4734
2021-11-03 01:35:38 +00:00
Bill Lin 0c93448afa [automerger skipped] Merge "Allow One-handed gesture when densityDpi > 600" into sc-qpr1-dev am: 6648ab32bc -s ours
am skip reason: Merged-In Ic7ae10e8a47d26b9bb39ab80e22d591d74f89ae5 with SHA-1 2745327c5e is already in history

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

Change-Id: Ia89da83fc900da12748490859dcda1b3ee1d3617
2021-11-03 01:20:55 +00:00
Bill Lin 6648ab32bc Merge "Allow One-handed gesture when densityDpi > 600" into sc-qpr1-dev 2021-11-03 00:59:46 +00:00
Zak Cohen a4628a3109 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 427113fa58
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177152

Change-Id: I211c0f8aba37cba570a4e666a94d684583285c4b
2021-11-02 23:48:54 +00:00
Zak Cohen 427113fa58 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev 2021-11-02 23:33:31 +00:00
Vinit Nayak 3fabe054c2 Revert "Align OverviewActionsView for 3 button taskbar"
This reverts commit 97d64ea8a1.

Reason for revert: b/204891006

Change-Id: I9d40a5c8c9bce6b818779ebaf748bb9bd9231caf
2021-11-02 22:08:33 +00:00
Zak Cohen 21f6189cd5 Add temporary logging to try and debug: b/202414125
Bug: 202414125
Test: Local
Change-Id: I641f9877972f3f584e5fc618d89c65c52f0d1da0
2021-11-02 14:17:15 -07:00
Alex Chau 6b8c037ace Merge "Add logging of draw / DeviceProfile params for a crash" into sc-v2-dev am: 27794e8fa3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16174366

Change-Id: Ic70e502a0de490ce5d53fcb6816441b295c3441e
2021-11-02 18:44:04 +00:00
Alex Chau 27794e8fa3 Merge "Add logging of draw / DeviceProfile params for a crash" into sc-v2-dev 2021-11-02 18:26:58 +00:00
Alina Zaidi e7235d6787 Merge "Use equals() to compare UserHandle when building LauncherAtom#ItemInfo." into sc-v2-dev am: 6180273e1f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16166973

Change-Id: I47afef39138f138d0d6dee1effa7ae07027923ef
2021-11-02 16:42:02 +00:00
Alina Zaidi 6180273e1f Merge "Use equals() to compare UserHandle when building LauncherAtom#ItemInfo." into sc-v2-dev 2021-11-02 16:27:56 +00:00
Alina Zaidi 08c3e8f526 Use equals() to compare UserHandle when building LauncherAtom#ItemInfo.
Bug: 204756057
Test: Manually verified correct behave through logs
Change-Id: Ic314e38978893984bac89988bfc3229a21d0214e
2021-11-02 14:10:37 +00:00
Alex Chau 05659a3d10 Add logging of draw / DeviceProfile params for a crash
Bug: 203530620
Test: manual
Change-Id: I376157ee3f688b16a05b59a0093f06519533f6c7
2021-11-02 13:11:05 +00:00
Alex Chau 9acb163597 Merge "Adding screen record for a flake" into sc-v2-dev am: a8a51394f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16167587

Change-Id: I1282aebf40cd7b168c8c9c729a572ce7e44f1a67
2021-11-02 11:50:40 +00:00
Alex Chau a8a51394f5 Merge "Adding screen record for a flake" into sc-v2-dev 2021-11-02 11:31:52 +00:00
Vinit Nayak 728bc6b973 Merge "Align OverviewActionsView for 3 button taskbar" into sc-v2-dev am: ac24e7f6f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16094825

Change-Id: Ibcff3be69a02166e6028857a1b63078485c9f1d1
2021-11-02 05:53:00 +00:00
Vinit Nayak d23baa366e Merge "Check if RemoteAnimationTargets apps are present" into sc-v2-dev am: a216ad2c36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16142291

Change-Id: If91c57fe48ba6e5db3a4e1dafc3481273ea20a81
2021-11-02 05:52:55 +00:00
Vinit Nayak ac24e7f6f0 Merge "Align OverviewActionsView for 3 button taskbar" into sc-v2-dev 2021-11-02 05:37:45 +00:00
Vinit Nayak a216ad2c36 Merge "Check if RemoteAnimationTargets apps are present" into sc-v2-dev 2021-11-02 05:37:13 +00:00
Bill Lin 2b74e3c290 Allow One-handed gesture when densityDpi > 600
This logic was aim to prevent tablet device enable One-handed gesture
so added displayInfo.densityDpi < DisplayMetrics.DENSITY_600 before.

However, it seems this densityDpi=600 does not able to represent to
tablet device, instead we already have system property
"ro.support_one_handed_mode" which provides feasibility to config false
on tablet project, as the reason we can safe to remove this condition.

Bug: 203936659
Test: adb shell wm density 600 , and observe OHM gesture is available
Test: atest WMShellUnitTests
Change-Id: Ic7ae10e8a47d26b9bb39ab80e22d591d74f89ae5
Merged-In: Ic7ae10e8a47d26b9bb39ab80e22d591d74f89ae5
2021-11-02 02:50:09 +00:00
Vinit Nayak 97d64ea8a1 Align OverviewActionsView for 3 button taskbar
Bug: 189807374
Change-Id: I028ae31b98e28bc372f0148a28755d067fe50678
2021-11-02 01:13:02 +00:00
Jon Miranda da02250c29 Adding screen record for a flake
Test: presubmit
Bug: 202735477
Change-Id: I4e1d2bc3650e2f52767f57e9b00c9c2bf7974489
2021-11-01 14:25:35 -07:00
TreeHugger Robot 6be5aa8855 Merge "Do not use shared lib resources" into sc-v2-dev am: 651b93bb53
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16166672

Change-Id: I70d3923e5fc739a0149659f207c03ae5429d8b56
2021-11-01 20:53:21 +00:00
TreeHugger Robot 651b93bb53 Merge "Do not use shared lib resources" into sc-v2-dev 2021-11-01 20:40:43 +00:00
Tony Wickham f282735a08 Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev am: c29f5441da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143050

Change-Id: If6ee9defe28dd7c9cb00bebc724bcc1ed8512f34
2021-11-01 20:21:09 +00:00
Tony Wickham c29f5441da Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev 2021-11-01 20:17:53 +00:00
Brian Isganitis 26bcfe19d4 Merge "Decrease character limit for "Home settings" to 20." into sc-v2-dev am: f0fa83e988
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16132965

Change-Id: I695cc5dee4be671cf467221d356430c0243a06cc
2021-11-01 20:13:07 +00:00
Brian Isganitis f0fa83e988 Merge "Decrease character limit for "Home settings" to 20." into sc-v2-dev 2021-11-01 20:00:32 +00:00
Jonathan Miranda 170606543f Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev am: 9b85616119
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16151440

Change-Id: Ie1d4effa0daddbea4f60f693f3e5679fefa19300
2021-11-01 18:53:20 +00:00
Jonathan Miranda 9b85616119 Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev 2021-11-01 18:35:44 +00:00
Vinit Nayak 7af9bae493 Merge "Clean up RemoteTargetHandles when RecentsAnimation ends" into sc-v2-dev am: 6e5f4e3184
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16142695

Change-Id: I67b67494303063640223e2dca971a6d2e24d614f
2021-11-01 18:16:18 +00:00
Vinit Nayak 6e5f4e3184 Merge "Clean up RemoteTargetHandles when RecentsAnimation ends" into sc-v2-dev 2021-11-01 18:01:37 +00:00
Tony Wickham 436a73d2d2 Merge "Add null check when settling on LAST_TASK" into sc-v2-dev am: d48fbecd1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16150962

Change-Id: Ib9d50e6c351d0250b70a0f84db9701ad58cbf521
2021-11-01 16:38:28 +00:00