Commit Graph

60459 Commits

Author SHA1 Message Date
Bill Yi 9e81be78cb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I21146fdc56ff40c5ab2c7e96584f0f8684b7f15d
2022-10-09 22:33:09 -07:00
Android Build Coastguard Worker 13ea0d0faf Snap for 9154961 from 926d04ec14 to tm-qpr2-release
Change-Id: Id603b68a947ae257755b6e4b21003920eecb9c19
2022-10-08 21:29:24 +00:00
Brandon Dayauon f18f58c438 Merge "Add variable to check if button should apply keyboard insets" into tm-qpr-dev am: 926d04ec14 am: b38f5045ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20129357

Change-Id: I3a04e0e5930e10280345d7d0a28dac47e2f9e2c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-08 13:23:14 +00:00
Brandon Dayauon b38f5045ee Merge "Add variable to check if button should apply keyboard insets" into tm-qpr-dev am: 926d04ec14
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20129357

Change-Id: I894d3ff753468847ad3f0af8d560d82400aae343
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-08 12:50:53 +00:00
Brandon Dayauon 926d04ec14 Merge "Add variable to check if button should apply keyboard insets" into tm-qpr-dev 2022-10-08 12:15:26 +00:00
Alex Chau 8949c583ee Fix positioning of split instruction and share targets with taskbar in overview
- When taskbar is in overview, overview actions has dedicated space and no need to align to nav buttons
- Add a bottom margin to split instruction and share targetse that is equal to the space below overview actions

Bug: 245320601
Test: Test split select and share target with different screen sizes
Change-Id: I6aec325da9cc4c43c84ba8bed5f0e087c57d6925
2022-10-08 10:15:58 +01:00
Android Build Coastguard Worker 94c2e3e203 Snap for 9153129 from 1874371aab to tm-qpr2-release
Change-Id: I692934d789e29c01d36ac3f587ce930d82c853ac
2022-10-08 01:25:52 +00:00
Holly Sun 9b024eb01f [QL-v2] Use subtitle as hint if title doesn't apply.
Test: manual
Change-Id: Ib5ace9acda9618de905a85854d92e6f865f5fad0
2022-10-07 16:40:38 -07:00
Brandon Dayauon b1840e3f36 Add variable to check if button should apply keyboard insets
bug: 251460671
test: manual
Change-Id: I90045c96c0fbf385ad8dd5978089491f3f106dd8
2022-10-07 15:32:23 -07:00
Vinit Nayak 8f54d597bf Round split layout values instead of using int cast
* Silly us, we forgot that int casting always floors.
Math.round() does a mathematical round.

Fixes: 248575056
Test: Wallpaper no longer bleeds through on split
animation.

Change-Id: I068c030ce6b86fc12faee7778c0d87a0d5aea487
2022-10-07 14:46:25 -07:00
Andy Wickham 09e4c86b4c Merge "Differentiate between app row and shortcut icons." into tm-qpr-dev am: 1874371aab am: 299b025b9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20119299

Change-Id: Ic4188160e10e6c394be66a31ece6162d881a6351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 21:38:56 +00:00
Sebastián Franco 28f5901264 Merge "Fix ReorderWidgets by removing faulty 4x4 cases" into tm-qpr-dev am: 9eeeeacf30 am: 35c4d65dc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20003360

Change-Id: Iee094d591a60938cd2ba54ac7e66e45b23fdbf92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 21:38:44 +00:00
Andy Wickham 299b025b9f Merge "Differentiate between app row and shortcut icons." into tm-qpr-dev am: 1874371aab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20119299

Change-Id: Ic761d878fadad33fa9fa6be61c324bf3f229b93b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 21:06:29 +00:00
Sebastián Franco 35c4d65dc2 Merge "Fix ReorderWidgets by removing faulty 4x4 cases" into tm-qpr-dev am: 9eeeeacf30
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20003360

Change-Id: I3eafdb4bd3c95786a267604854462b7fa5cf6d7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 21:06:14 +00:00
Andy Wickham 1874371aab Merge "Differentiate between app row and shortcut icons." into tm-qpr-dev 2022-10-07 20:42:51 +00:00
Sebastián Franco 9eeeeacf30 Merge "Fix ReorderWidgets by removing faulty 4x4 cases" into tm-qpr-dev 2022-10-07 20:33:41 +00:00
Andy Wickham 22a2af82be Merge "Hide FloatingHeaderView while in Search state." into tm-qpr-dev am: 2c5f545d0b am: b089ed4d94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20104878

Change-Id: Ia0517f6eea842155ac62a5de95929d1fd7d2cacd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 18:38:59 +00:00
Andy Wickham b089ed4d94 Merge "Hide FloatingHeaderView while in Search state." into tm-qpr-dev am: 2c5f545d0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20104878

Change-Id: I00190aa54aef4dedaf1d2bb954a6d1105590c094
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 18:07:01 +00:00
Winson Chung 5708bf9e1b [automerger skipped] Merge "Update constants used for resolving shell services" into tm-qpr-dev am: 0c1dfbc1d8 am: 92d8335efa -s ours
am skip reason: Merged-In I0bf0d258fb9c6c9e7d6ce2a17bd120fe7a45ad9f with SHA-1 24dd34f1c0 is already in history

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

Change-Id: If5d3c34fdc37c3f5ae2faf038fb776d5f480c005
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 17:26:03 +00:00
Holly Jiuyu Sun 6705c89207 Merge "Quick launch v2." into tm-qpr-dev am: 6fa0562aee am: 3760ce9774
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20075881

Change-Id: Id851534638fe499513e1ce0e47d17a4186c21d8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 17:25:32 +00:00
Andy Wickham 2c5f545d0b Merge "Hide FloatingHeaderView while in Search state." into tm-qpr-dev 2022-10-07 17:20:12 +00:00
Winson Chung 92d8335efa Merge "Update constants used for resolving shell services" into tm-qpr-dev am: 0c1dfbc1d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20058025

Change-Id: I1246025016560225e2fbc55835ae41192dcff343
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 17:07:36 +00:00
Holly Jiuyu Sun 3760ce9774 Merge "Quick launch v2." into tm-qpr-dev am: 6fa0562aee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20075881

Change-Id: I1ab635290518d63fc00cc7ce8d65c02d74f69189
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 17:02:00 +00:00
Winson Chung 0c1dfbc1d8 Merge "Update constants used for resolving shell services" into tm-qpr-dev 2022-10-07 16:55:55 +00:00
Holly Jiuyu Sun 6fa0562aee Merge "Quick launch v2." into tm-qpr-dev 2022-10-07 16:38:14 +00:00
Alex Chau edbc342d00 [automerger skipped] Merge "Add logging to help debug flake when swiping home to overview." into tm-qpr-dev am: b7b88b66bb am: 7a72217ebc -s ours
am skip reason: Merged-In I8ee9af4f4a331c43761ba3738e12acb376ababc2 with SHA-1 1edba8b0a6 is already in history

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

Change-Id: I37d46ab9c7c03e144dfdf13f77d238b106a4a2b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 14:35:21 +00:00
Jeremy Sim 93e0d50b40 Merge "Use correct interpolator for tablet split confirm" into tm-qpr-dev am: 65d95a8dae am: 78bb2a4850
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20130929

Change-Id: I1906946336bffe8889c36f9043b120ff38fe81bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 14:34:06 +00:00
Jeremy Sim a3bab991e9 Merge "Fix bug with DWB banners causing Action Bar to vanish" into tm-qpr-dev am: 15bab334cc am: e0b3e263c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20124476

Change-Id: I73e868fa66a3b72a7d7aed8c720b53da7fca845f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 14:31:58 +00:00
Alex Chau 7a72217ebc Merge "Add logging to help debug flake when swiping home to overview." into tm-qpr-dev am: b7b88b66bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19570889

Change-Id: I225de5cbd96ab12ddb07e18bac72537efd14e504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 13:59:53 +00:00
Jeremy Sim 78bb2a4850 Merge "Use correct interpolator for tablet split confirm" into tm-qpr-dev am: 65d95a8dae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20130929

Change-Id: I7aff10b877477b9cb77279a5e1d5b79213706c60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 13:57:35 +00:00
Jeremy Sim e0b3e263c3 Merge "Fix bug with DWB banners causing Action Bar to vanish" into tm-qpr-dev am: 15bab334cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20124476

Change-Id: If96e3cf116419fc128b698ca0c00be95ac94f467
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 13:54:10 +00:00
Thales Lima 51e164688e Remove KtR workaround
Bug: 229947409
Test: m -j128 Launcher3QuickStep Launcher3QuickStepGo Launcher3 Launcher3Go NexusLauncherRelease NexusLauncherDebug SearchLauncherQuickStep SearchLauncher LauncherGoGoogle
Change-Id: I5792cc6b30dfa856747a1576ef3cb195952c25c7
2022-10-07 11:29:16 +00:00
Alex Chau b7b88b66bb Merge "Add logging to help debug flake when swiping home to overview." into tm-qpr-dev 2022-10-07 11:24:43 +00:00
Jeremy Sim 65d95a8dae Merge "Use correct interpolator for tablet split confirm" into tm-qpr-dev 2022-10-07 08:20:58 +00:00
Jeremy Sim 15bab334cc Merge "Fix bug with DWB banners causing Action Bar to vanish" into tm-qpr-dev 2022-10-07 08:20:16 +00:00
Jerry Chang b1d38aa2a8 Merge "Support starts a pair of intent/shortcut and task to split" into tm-qpr-dev am: 21373a8521 am: a61d270791
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111333

Change-Id: I8836d0a92f041054b26c44985af6f06ec7f873a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 05:26:55 +00:00
Jerry Chang b69b02e290 Merge "Remove stage concept from split screen APIs" into tm-qpr-dev am: 6aca959b5b am: 080a4f5cb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111332

Change-Id: Ia7a1cb479873a7a4563204b21af1a38b9b1d39b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 05:25:53 +00:00
Jerry Chang a61d270791 Merge "Support starts a pair of intent/shortcut and task to split" into tm-qpr-dev am: 21373a8521
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111333

Change-Id: Ia8a0a91c0945ab38c3582f8e0c526eb3666e601e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 05:06:44 +00:00
Jerry Chang 080a4f5cb8 Merge "Remove stage concept from split screen APIs" into tm-qpr-dev am: 6aca959b5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111332

Change-Id: I0fda136883773fdbcb14c9f12cd459d650a1ab84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 05:05:26 +00:00
Jerry Chang 21373a8521 Merge "Support starts a pair of intent/shortcut and task to split" into tm-qpr-dev 2022-10-07 04:33:32 +00:00
Jerry Chang 6aca959b5b Merge "Remove stage concept from split screen APIs" into tm-qpr-dev 2022-10-07 04:32:29 +00:00
Vinit Nayak c7d676ce15 Improve splitscreen recents animation in seascape
* We need to swap the primary and secondary thumbnail
positions in fake seascape since the primary is the
visually left app (which is the bottom in portrait)

Bug: 249693334
Change-Id: I325133ab86e4fcd26c6162a3de007d68e9ba6bf1
2022-10-06 21:32:20 -07:00
Jeremy Sim 696fbd66bd Fix bug with DWB banners causing Action Bar to vanish
This patch fixes a bug where entering Overview with 3+ DWB banners active would cause the Actions Bar to disappear, rendering it unusable.

The bug occurred because while the Actions Bar was animating itself in, the entry animation of the DWB banners caused a competing animation to be fired, which attempted to set the Actions Bar alpha back to 0 in a race-conditiony situation.

Fixed by using setAutoCancel() on the Actions View alpha animator, which auto-cancels a running animation when another animation is called on the same target, preventing race conditions.

Outstanding issue: 251277899
Fixes: 241163178
Test: Manual

Change-Id: I4edb5678b4aad5612cd5ef58141d8e22bf8587f0
2022-10-06 17:01:47 -07:00
Android Build Coastguard Worker 23461f2dd0 Snap for 9148167 from 9860628fcc to tm-qpr2-release
Change-Id: Ib98d0679528d22397578ca4e4adb134f0ba149bf
2022-10-06 23:25:57 +00:00
Jeremy Sim a1d24cb85e Use correct interpolator for tablet split confirm
This patch makes it so that the split-to-confirm animation on tablets uses the EMPHASIZED interpolator instead of the (incorrect) LINEAR interpolator.

Fixes: 241126570
Test: Manual
Change-Id: Ic3c91d439a79a492da7f32bdcd56b954edf6c947
2022-10-06 16:23:20 -07:00
Winson Chung 73ab56a355 Update constants used for resolving shell services
Bug: 238217847
Test: atest WMShellUnitTests
Change-Id: I0bf0d258fb9c6c9e7d6ce2a17bd120fe7a45ad9f
Merged-In: I0bf0d258fb9c6c9e7d6ce2a17bd120fe7a45ad9f
2022-10-06 22:49:26 +00:00
TreeHugger Robot 8527e5c623 Merge "Include additional error log around widget removal" into tm-qpr-dev am: 78ec4e0890 am: b415cd1e24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20105908

Change-Id: Ibfa9e8a2e7466d379cb240d2ed779e77715c11a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 22:19:45 +00:00
TreeHugger Robot b415cd1e24 Merge "Include additional error log around widget removal" into tm-qpr-dev am: 78ec4e0890
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20105908

Change-Id: I732099ca6853d421a8b6d156224b0aa7f06ef943
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 21:53:23 +00:00
TreeHugger Robot 78ec4e0890 Merge "Include additional error log around widget removal" into tm-qpr-dev 2022-10-06 21:31:10 +00:00
Alex Chau 2e72e4cda6 Fix taskbar in overview touch and stash behavior
- When taskbar is unstashed in Launcher (e.g. overview), make the unstashed height touchable
- When AllApps button is pressed in taskbar overview, also stash taskbar

Bug: 245320601
Test: manual
Change-Id: Iadd0bea13cf9a779c68e953d25f21f663c15865a
2022-10-06 21:37:56 +01:00