Commit Graph

8859 Commits

Author SHA1 Message Date
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
Tony Wickham 30f8e7f45f Merge "Recreate taskbar when dark mode changes" into sc-v2-dev am: d71a4288cf am: 446dfa8b11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16144065

Change-Id: Iff95244b9cc0b75ee4e1ea4e88031d3057b5a025
2021-10-29 18:10:53 +00:00
Tony Wickham 446dfa8b11 Merge "Recreate taskbar when dark mode changes" into sc-v2-dev am: d71a4288cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16144065

Change-Id: I7d5777ed488f8e200cc556e584d29c9cd0545daf
2021-10-29 17:43:38 +00:00
Nick Chameyev 5c446d9ed4 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-10-29 10:17:18 +00:00
Tony Wickham 5a5a926945 Recreate taskbar when dark mode changes
Also dispatch sysui flags to all controllers upon recreate, not just NavbarButtonsViewController. Additionally, tell the controllers to skip the animation due to the flag changes if it's fromInit.

Test: Enable themed icons, switch dark theme in quick settings, ensure taskbar updates
Fixes: 204403933
Change-Id: Ic43a50cf0456175f9beba5c29360440f051cbd2d
2021-10-28 17:49:03 -07:00
Tony Wickham 481a988409 Merge "Fix NPE when TaskView isn't attached to RecentsView" into sc-v2-dev am: 00841576d4 am: e984618610
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143390

Change-Id: I90e5f55362bf4e404f7919792cb5ac0a5ea158d3
2021-10-28 23:11:39 +00:00
Tony Wickham e984618610 Merge "Fix NPE when TaskView isn't attached to RecentsView" into sc-v2-dev am: 00841576d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16143390

Change-Id: I2521d09e43988565816de0c60f5d1a4b9500b808
2021-10-28 22:53:44 +00:00
Tony Wickham 00841576d4 Merge "Fix NPE when TaskView isn't attached to RecentsView" into sc-v2-dev 2021-10-28 22:40:01 +00:00
TreeHugger Robot 5f91e8b617 Merge "Update taskbar drag and drop treatment" into sc-v2-dev am: da86c0e64d am: ccb17341b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134100

Change-Id: I78de1b27ca39cc050b7dd9884e5312e7f12cbbc5
2021-10-28 21:24:28 +00:00
TreeHugger Robot ccb17341b1 Merge "Update taskbar drag and drop treatment" into sc-v2-dev am: da86c0e64d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16134100

Change-Id: I0964f7f4aa1ef9c12758d4cdda22f171279b84ac
2021-10-28 21:11:55 +00:00
TreeHugger Robot da86c0e64d Merge "Update taskbar drag and drop treatment" into sc-v2-dev 2021-10-28 20:54:09 +00:00
Tony Wickham 956ce16f51 Fix NPE when TaskView isn't attached to RecentsView
Test: theoretical
Fixes: 201481275
Change-Id: Ie10b5ebac373e41a4d4113ee3cda737d88adad8a
2021-10-28 13:21:15 -07:00
TreeHugger Robot 92a6bccb4c Merge "Make gesture nav tutorial skip button always visible." into sc-v2-dev am: d84aaad11f am: 3a5e6199eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960473

Change-Id: I726e64a65f5c2fc8fae38c6e6825314c76bce813
2021-10-28 20:11:36 +00:00
bquezada cd996616b7 Change AppTargetId for launcher events to align with other AppTargetId's. am: e12b321d5f am: c9845ed750
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16141869

Change-Id: I8bff854eff8570a0011586bb0a7ffdc65dc5e290
2021-10-28 20:11:28 +00:00
TreeHugger Robot 3a5e6199eb Merge "Make gesture nav tutorial skip button always visible." into sc-v2-dev am: d84aaad11f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960473

Change-Id: I6da155c5df23f3636ec3e6d790908a498f02e06b
2021-10-28 20:00:17 +00:00
bquezada c9845ed750 Change AppTargetId for launcher events to align with other AppTargetId's. am: e12b321d5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16141869

Change-Id: I804e0eb0ee5c449d5b441c78f3128eae5eea4fcb
2021-10-28 20:00:10 +00:00
TreeHugger Robot d84aaad11f Merge "Make gesture nav tutorial skip button always visible." into sc-v2-dev 2021-10-28 19:51:05 +00:00
Tony Wickham 89ef745d1c Update taskbar drag and drop treatment
- Disable the FastBitmapDrawable icon instead of setting it to invisible
- Suspend auto hide during drag and drop (moved to new TaskbarAutoHideSuspendController)

Test: Drag and drop from taskbar and ensure the original icon stays in place but desaturated
Test: Open immersive app, drag and drop from taskbar and ensure taskbar doesn't hide before drop
Fixes: 200816442
Change-Id: I4b895efd043be75e7e7034bd75e751ffdd2cfdd7
2021-10-28 11:43:49 -07:00
bquezada e12b321d5f Change AppTargetId for launcher events to align with other AppTargetId's.
Bug: 202535375
Test: Manual
Change-Id: I0c28f7f64935fdaf08edb7781e4e7378a068e8e6
2021-10-28 17:52:02 +00:00
Alina Zaidi 3623756dcd Merge "Send widget added and removed events to AiAi." into sc-v2-dev am: 29c3f23be5 am: 5c09d7e4cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16006577

Change-Id: I68a7562ec2dd9ee355dcf5dda10e6481092024df
2021-10-28 17:00:29 +00:00
Alina Zaidi 5c09d7e4cd Merge "Send widget added and removed events to AiAi." into sc-v2-dev am: 29c3f23be5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16006577

Change-Id: I573f530b0ce673f7cff3a39d7c54660fbee5fcf1
2021-10-28 16:50:11 +00:00
Alina Zaidi 29c3f23be5 Merge "Send widget added and removed events to AiAi." into sc-v2-dev 2021-10-28 16:45:22 +00:00
TreeHugger Robot 6fef5f8579 Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev am: ce597d786f am: 9531506a3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124504

Change-Id: I08a3f1b2aa478bf1439c67e011f59ac9492517e8
2021-10-28 11:41:25 +00:00
TreeHugger Robot 9531506a3a Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev am: ce597d786f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124504

Change-Id: Ie6b8a70a19c67de942edb094a46a328f5a45b2f2
2021-10-28 11:24:08 +00:00
TreeHugger Robot ce597d786f Merge "Prevent launching app in split if task split is unsupported" into sc-v2-dev 2021-10-28 11:19:39 +00:00
Alex Chau ec75b26c9d Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e am: 552368ee5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: I737ee25cd9bbd56534af3ca4aee07b6662e7e5b4
2021-10-28 10:56:46 +00:00
Alex Chau 552368ee5f Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev am: 14c8f45b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16118656

Change-Id: I25f201e6fe4dd8dee8b66d0cca1b2f5c36622885
2021-10-28 10:45:08 +00:00
Alex Chau 14c8f45b5e Merge "Fix scroll task off screen to support different screen dimensions." into sc-v2-dev 2021-10-28 10:27:30 +00:00
Bill Lin 5e203171b9 Merge "Allow One-handed gesture when densityDpi > 600" into sc-v2-dev am: 497d08aa01 am: e3cb7533b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16113733

Change-Id: Iad355a2f94720775ef2b7b5e1542dfa32376ddbc
2021-10-28 03:01:24 +00:00
Bill Lin e3cb7533b6 Merge "Allow One-handed gesture when densityDpi > 600" into sc-v2-dev am: 497d08aa01
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16113733

Change-Id: I509685116781a6f9fe2966ee12c6f993e20e7fb7
2021-10-28 02:43:07 +00:00
Bill Lin 497d08aa01 Merge "Allow One-handed gesture when densityDpi > 600" into sc-v2-dev 2021-10-28 02:20:24 +00:00
Tony Wickham 4f91ae9b2b Merge "Fix testStressSwipeToOverview" into sc-v2-dev am: c1cdadf6ea am: 46575af511
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16132969

Change-Id: I3385c009f05ce96990302e7186735ab75e635b56
2021-10-27 22:02:29 +00:00
Schneider Victor-tulias 66b2aa07fd Update the hotseat edu layout for foldable devices. am: 9188b6b993 am: 494de979db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16125840

Change-Id: I3c022d1727679b23d80eb5e158b65b0d900538fe
2021-10-27 22:02:21 +00:00
Tony Wickham 46575af511 Merge "Fix testStressSwipeToOverview" into sc-v2-dev am: c1cdadf6ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16132969

Change-Id: I9f03c6938623e88812350981cec06048d888e9b2
2021-10-27 21:42:43 +00:00
Schneider Victor-tulias 494de979db Update the hotseat edu layout for foldable devices. am: 9188b6b993
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16125840

Change-Id: I48c6528cc857d138da7f0dc3754e0d1c661b4ccb
2021-10-27 21:42:38 +00:00
Tony Wickham c1cdadf6ea Merge "Fix testStressSwipeToOverview" into sc-v2-dev 2021-10-27 21:39:45 +00:00
Tony Wickham ce6bf7dd7f Fix testStressSwipeToOverview
- Finish recents controller to app rather than to launcher, to ensure taskbar state uses in-app configuration
- Also fix an issue when a gesture completes before onLauncherStart, which happens in 3 button mode. The error I saw in the test was:
java.lang.AssertionError: http://go/tapl test failure: Failed to receive an event for the state change: expected [Overview], actual: [Background, Normal];
Context: want to switch from background to overview, clicking Recents button; now visible state is Background
(This also accurately describes what I saw on the device, where the LauncherState went to Normal but the task was still running in the live tile)

Test: testStressSwipeToOverview
Fixes: 203577620
Change-Id: I19616f7921c9821f1b45a90a3e4bec4fb3b8a9d3
2021-10-27 12:35:31 -07:00
TreeHugger Robot 90db092f3e Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev am: 3edb8de094 am: 19fbe33337
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15954044

Change-Id: Ida8d9d27084f85271f51d71f6a23c75c0cf8407a
2021-10-27 18:20:41 +00:00
TreeHugger Robot 19fbe33337 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev am: 3edb8de094
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15954044

Change-Id: Ia63d6288408804d5a91d33f73e33f88b96f8329d
2021-10-27 18:02:02 +00:00
Schneider Victor-tulias 9188b6b993 Update the hotseat edu layout for foldable devices.
Test: ran the hotseat edu on folded and unfolded foldable device in portrait and landscape mode and in three-button and gesture nav mode. ran hotseat edu on regular phone
Fixes: 203734732
Change-Id: Iea2140c8241cdea60cb5db37fbfb7f7701d63bd6
2021-10-27 17:48:46 +00:00
TreeHugger Robot 3edb8de094 Merge "Add mock animated taskbar to gesture nav tutorial for foldable devices." into sc-v2-dev 2021-10-27 17:45:38 +00:00
Tracy Zhou 387c3fb2c8 Merge "Delete TaskbarStateHander" into sc-v2-dev am: c6bdd9243a am: 6b9f78e34a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124697

Change-Id: I2b90d34e7d6ac375c67810784999969d4973a385
2021-10-27 02:48:00 +00:00
Tracy Zhou 6b9f78e34a Merge "Delete TaskbarStateHander" into sc-v2-dev am: c6bdd9243a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16124697

Change-Id: I5b2251ff4413ed9b4f6187e3f1d8b09f48aacb4a
2021-10-27 02:28:47 +00:00
Tracy Zhou c6bdd9243a Merge "Delete TaskbarStateHander" into sc-v2-dev 2021-10-27 02:11:12 +00:00
Pablo Gamito dbf20d09bd Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev am: aae8a2a2a5 am: 75a4280b49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15972977

Change-Id: I4475a1661a2abeee5a0dac5de29667c8f34b78e5
2021-10-26 22:25:39 +00:00
Pablo Gamito 75a4280b49 Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev am: aae8a2a2a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15972977

Change-Id: I2954b72b87d49147594c8ff78b556cd6b34bf237
2021-10-26 22:03:16 +00:00
Pablo Gamito aae8a2a2a5 Merge "Set custom task transition spec when taskbar is visible" into sc-v2-dev 2021-10-26 21:32:16 +00:00
TreeHugger Robot 6a74c31e85 Merge "Revert "Temporarily disable Launcher3 tests affected by fling changes"" into sc-v2-dev-plus-aosp 2021-10-26 20:49:43 +00:00
TreeHugger Robot 6f758ff59f Merge "Using a different transition for All-set activity" into sc-v2-dev am: 3cbee2d1d7 am: ebe19c9517
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15960463

Change-Id: Iac047c8ac675ad5cae9213e53e5a907e327f89a5
2021-10-26 20:40:05 +00:00
Tracy Zhou 72f1afcf02 Delete TaskbarStateHander
Bug: 204220602
Test: N/A
Change-Id: I6c26b4d3b8acb35750be56986555350e84f31ecb
2021-10-26 13:26:27 -07:00