Commit Graph

11392 Commits

Author SHA1 Message Date
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 42ff088123 Merge "Add temporary logging to try and debug: b/202414125" into sc-v2-dev am: 427113fa58 am: 78515f70cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16177152

Change-Id: I2144a5749005cf28a85cd8dd0d8d4ceb1b006aee
2021-11-03 00:05:22 +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 78515f70cd 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: Ia31be9a80f63bcfa79eea32af816748ed80ff4e0
2021-11-02 23:48:12 +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 b290e94020 Crop letterbox insets when thumbnail is from different aspect ratio
- Extracted isAspectLargelyDifferent and use that to determine if letterbox inset should be cropped
- Always attempt to fit thumbnail width to avoid drawing area outside the thumbnail

Bug: 199743725
Test: manual
Change-Id: I2a7b20730055858b2376788e3a1fbbc66c0967e2
2021-11-02 18:09:34 +00:00
Tracy Zhou b58eb1bc63 Revert "[Live Tile] App surface is above launcher even after reaching Overview"
This reverts commit e9e5e51d73.

Reason for revert: This change breaks image indicators feature

Fixes: 195665605
Change-Id: I2abff19955e1594a40f06bfb4972721eed1ee16f
2021-11-01 23:49:00 -07:00
Vinit Nayak f89c12fa27 Merge "Align OverviewActionsView for 3 button taskbar" into sc-v2-dev am: ac24e7f6f0 am: 8f4bcaf01f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16094825

Change-Id: I14c54f0b259ab5694c3830de3f6e77e2819dac34
2021-11-02 06:04:12 +00:00
Vinit Nayak 8d3ba33614 Merge "Check if RemoteAnimationTargets apps are present" into sc-v2-dev am: a216ad2c36 am: b8183b8bf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16142291

Change-Id: I5fe155589024eb622b29ed87f68afbca1f6b78b5
2021-11-02 06:03:57 +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 8f4bcaf01f 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: Ic19f93d50fbd4ae72a2baf660647090ae87a9fbb
2021-11-02 05:52:18 +00:00
Vinit Nayak b8183b8bf3 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: Ie2063e2dfd117a2cb18bc3b36976e1ce652ba2c3
2021-11-02 05:52:12 +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
Schneider Victor-tulias 724b7c5c30 Fix lost gesture nav progress on screen rotation.
Rotating the device during the gesture nav tutorial cases the current step to repeat. This is unecessary after a successful gesture. Added some state tracking and handling

Test: roating the device several times while doing the tutorial and after successful gestures.
Bug: 204407899
Change-Id: I2f4102edc187137309f6231b88074f5db82ea0cd
2021-11-01 14:58:43 -07:00
TreeHugger Robot 9008744ae9 Merge "Do not use shared lib resources" into sc-v2-dev am: 651b93bb53 am: 1ba47a8fd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16166672

Change-Id: I1c0f92f939672ea8757235d465f408d2ef32d8e5
2021-11-01 21:10:19 +00:00
TreeHugger Robot 1ba47a8fd1 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: Icac5cbbb004b8dcd3057c0c8e886848361a725d0
2021-11-01 20:53:51 +00: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 aef3645bec Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev am: c29f5441da am: af0b447e29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143050

Change-Id: I4b202a89409cee0136e2248fe3e8cb7584a34114
2021-11-01 20:29:09 +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 af0b447e29 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: Id6cf4eb35c638d303f78930d4fdcb1dc3e205d5c
2021-11-01 20:20:23 +00:00
Tony Wickham c29f5441da Merge "Reapply TaskViewSimulator in onApplyWindowInsets()" into sc-v2-dev 2021-11-01 20:17:53 +00:00
Jonathan Miranda 610f4fd798 Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev am: 9b85616119 am: 470c4ffe3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16151440

Change-Id: I4cf8275faf7a55e3b24aa24175599d32b5bd2098
2021-11-01 19:20:12 +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 470c4ffe3b 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: Ibe2f993cfb5614d4a5a39463277f23ca7c126604
2021-11-01 18:51:55 +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 b689fbcf07 Merge "Clean up RemoteTargetHandles when RecentsAnimation ends" into sc-v2-dev am: 6e5f4e3184 am: 2256ab7ad9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16142695

Change-Id: Ib83a003dc10f4afe7b7919f8f37f3e07bc7aabb2
2021-11-01 18:27:06 +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 2256ab7ad9 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: I889b67a25b2fbadc3f2e400935ededc7e84a543b
2021-11-01 18:14:56 +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 49ea8680a8 Merge "Add null check when settling on LAST_TASK" into sc-v2-dev am: d48fbecd1a am: e62cedb2ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16150962

Change-Id: Ib0abf89969298e56bcc19800a72000b8ca708a04
2021-11-01 16:56:28 +00:00
Thales Lima 9e6b691e99 Merge "add kotlin support for launcher" into sc-v2-dev am: 33f9de0225 am: 997bee0c73
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101503

Change-Id: I6692c0f54d5ba676b84638f9914c15ba81cdaef5
2021-11-01 16:56:10 +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
Thales Lima 277683455c Merge "add kotlin support for launcher" into sc-v2-dev am: 33f9de0225
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101503

Change-Id: I8fe30f433f3ff8a668c8d351e0b95674bd5e81f6
2021-11-01 16:38:23 +00:00
Tony Wickham e62cedb2ec 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: I6555707e2656a3b12a2c5668fd574e7878332d6f
2021-11-01 16:37:59 +00:00
Thales Lima 997bee0c73 Merge "add kotlin support for launcher" into sc-v2-dev am: 33f9de0225
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101503

Change-Id: I9fc3755ff0755512c871e64a632d553b61a65041
2021-11-01 16:37:38 +00:00
Tony Wickham d48fbecd1a Merge "Add null check when settling on LAST_TASK" into sc-v2-dev 2021-11-01 16:22:15 +00:00
Thales Lima 33f9de0225 Merge "add kotlin support for launcher" into sc-v2-dev 2021-11-01 16:03:58 +00:00
Nick Chameyev 5f11bf60a8 Do not use shared lib resources
Temporary removes usages of SysUI shared
resources as it leads to crashes in Launcher
tests.

Bug: 204727471
Test: install launcher, try autorotate suggestion
Change-Id: I1e3c1f5b331a22a753acc3fe0ee544d50fba5c18
2021-11-01 15:49:54 +00:00
Nick Chameyev 686c34237f Move floating rotation button handling to Launcher am: 0288d2e8bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101502

Change-Id: I4207dfc3d0f73ef7a02c2d5602ee67c7c0e09fd4
2021-11-01 12:50:26 +00:00
Nick Chameyev e8dd2e16b8 Move floating rotation button handling to Launcher am: 0288d2e8bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16101502

Change-Id: I1ae7ea211aa8eafaaecbde5b2b356035fc254b6d
2021-11-01 12:50:26 +00:00
Nick Chameyev 0288d2e8bb Move floating rotation button handling to Launcher
Moves handling of floating rotation button when navigation
bar is not created to the launcher. This button was not
showing when taskbar is visible as it was initialized in
navigation bar (which is not created for large screens).

Bug: 200103245
Test: rotate phone when autorotate disabled on inner screen
Test: showing rotate suggestion when gesture nav enabled/disabled
Change-Id: I13dd555bcd811f1524be7ab9ad51b2b012b3b749
2021-11-01 10:36:34 +00:00
Bill Yi 8a573dda95 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib01aa951a3dbdff0e66f9f7591538bbf508a7e8c
2021-10-30 01:24:28 +00:00
Bill Yi dee85291d4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9a64b39bfc779dc7c8261f0571aee1b4e53ea605
2021-10-30 01:20:28 +00:00