Commit Graph

60459 Commits

Author SHA1 Message Date
Sunny Goyal ae1ce47770 Enabling dynamic flag application
Bug: 266854800
Test: Verified by changing flags using adb shell
Change-Id: I29a8b581c9edb21ed4a7204c33f0e5fe8eef51b9
2023-03-15 09:57:59 -07:00
Pat Manning ecc3027c95 Add automirroring to kids mode back button.
Fix: 270629022
Test: manual.
Change-Id: I51957074c0278253a15e0efe9b2b2bcaa8105c4f
2023-03-15 16:03:00 +00:00
Pat Manning 179e97bab2 Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev am: 7fadbd9e86 am: 388942103c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21916480

Change-Id: I141cf3dd2a47392fa622656a316e72f440243266
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 14:41:14 +00:00
Pat Manning 388942103c Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev am: 7fadbd9e86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21916480

Change-Id: Ib1ed89d0435675229a8b82282310e04bbd60e953
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 14:05:44 +00:00
Helen Cheuk 1a55cde8c3 Resize text in drop target button if the text displayed is truncated vertically
“Don’t suggest app” text is cut off at the bottom in tablet when it is set to have largest font and display size before this fix. This change is to check if the text is displayed completely with available height. If not, decrease the text size until it does

Fix: 264732627
Test: manual
Change-Id: I8331a40f2cd767a7b2807c15d9772566baf9f355
2023-03-15 14:03:45 +00:00
Pat Manning 7fadbd9e86 Merge "Stash taskbar on swipe to go home for 3p fallback launcher." into tm-qpr-dev 2023-03-15 13:34:18 +00:00
Mike Schneider a79d460736 Add optional debug logging to on flag changes
FlagDebugUtils.formatFlagChange() utility to always write the set of
updated flags, with a list of actual changes applied. Examples:

[allow_gesture|device_dozing] +[device_dozing]
[] -[state_started]

Additionally, moved the appendFlag utility to the new FlagDebugUtils

Test: manually verifed the output in logcat
Bug: 261418621
Change-Id: Ie4f2cfcd4b34f0a816db7845e1df4331babed07a
2023-03-15 13:36:18 +01:00
Nick Chameyev 87eda343f9 [Unfold animation] Restore clippings before clearing registered views
When launcher rotates during the fold/unfold animation
we clear views registered for the animation but we don't
restore the original clipping options that might be set.

This causes lost of the original property values
as the map that stores original values will store
updated values (after the animation preparation).

Bug: 273554726
Test: manual
Change-Id: I9c44a7ce4867ba0c3d6d1dca728d7c4cd3b378db
2023-03-15 11:12:01 +00:00
Bill Yi 519db9ba13 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie6bed63e03409e5a80eadd0e88cf53dbce4abbe4
2023-03-15 01:27:02 -07:00
Bill Yi 11aa16757e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie3f75adb5fcdf1dddb8ce29d311d67e25c7fbe0b
2023-03-15 01:25:40 -07:00
Stefan Andonian 3043ad729e Merge "Revert "Enable CONTINUOUS_VIEW_TREE_CAPTURE FeatureFlag."" into udc-dev 2023-03-15 06:09:42 +00:00
Manusaran Reddy Avula 17f7406a5e Revert "Enable CONTINUOUS_VIEW_TREE_CAPTURE FeatureFlag."
This reverts commit 2b4e19a01a.

Reason for revert: b/273614966

Change-Id: I2f16b37d2f18c167012cfb9ec42797a7bef3648d
2023-03-15 04:42:07 +00:00
Federico Baron 98395a5984 Merge "Enable dot pagination for workspace" into udc-dev 2023-03-15 02:59:34 +00:00
Vinit Nayak 8ec9348b47 Merge "Add debug logs for WorkTabExists test" into tm-qpr-dev am: 51a864893b am: e1a0fab43d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21550343

Change-Id: I49f743b9fff0d2c58f4a6fdd1d58e91fc7c56406
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:25:39 +00:00
Jon Miranda 603dc3f798 Merge "Fix taskbar spring when going from home to overview." into tm-qpr-dev am: 35d4b6d250 am: 732c9d864a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22074947

Change-Id: If1800be8c33b73ad4507532e87f388096f8a0726
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:18:28 +00:00
Xin Li 9f26adbe0d [automerger skipped] Merge "Merge Android 13 QPR2" am: 050fd1f936 -s ours am: 7735035902 -s ours am: 470df1b09e -s ours
am skip reason: Merged-In I58b416c43fda20b9b028106e6bb4e451addbbbaa with SHA-1 96fbc57162 is already in history

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

Change-Id: Idb29908b8fdbb86793ae3c103385bc55f0ead6e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:08:00 +00:00
Xin Li ff65bd4757 [automerger skipped] Merge Android 13 QPR2 am: b0d15db067 -s ours am: ec0facc1b2 -s ours am: 076def43a8 -s ours
am skip reason: Merged-In I58b416c43fda20b9b028106e6bb4e451addbbbaa with SHA-1 96fbc57162 is already in history

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

Change-Id: Ib03df2f443749467dcae211cd0c935574e242d8b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 00:06:05 +00:00
Vinit Nayak e1a0fab43d Merge "Add debug logs for WorkTabExists test" into tm-qpr-dev am: 51a864893b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21550343

Change-Id: I9c370088fc04039b7a6af7b9d2781a9eca0b3449
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 23:37:36 +00:00
Jon Miranda 732c9d864a Merge "Fix taskbar spring when going from home to overview." into tm-qpr-dev am: 35d4b6d250
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22074947

Change-Id: Ie5f18f89742e4c5ccd7d54fbf04d6a1883ac5e5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 23:33:05 +00:00
Xin Li 470df1b09e [automerger skipped] Merge "Merge Android 13 QPR2" am: 050fd1f936 -s ours am: 7735035902 -s ours
am skip reason: Merged-In I58b416c43fda20b9b028106e6bb4e451addbbbaa with SHA-1 96fbc57162 is already in history

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

Change-Id: Idc7d607a91e3fb6d443ee1e4164d443c504c8d0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 23:07:52 +00:00
Xin Li 076def43a8 [automerger skipped] Merge Android 13 QPR2 am: b0d15db067 -s ours am: ec0facc1b2 -s ours
am skip reason: Merged-In I58b416c43fda20b9b028106e6bb4e451addbbbaa with SHA-1 96fbc57162 is already in history

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

Change-Id: I90206a7b59d392b64b8327a24614b399b12d1637
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 23:05:59 +00:00
Vinit Nayak 51a864893b Merge "Add debug logs for WorkTabExists test" into tm-qpr-dev 2023-03-14 22:46:07 +00:00
Jon Miranda 35d4b6d250 Merge "Fix taskbar spring when going from home to overview." into tm-qpr-dev 2023-03-14 22:40:39 +00:00
Federico Baron 068198f8e4 Enable dot pagination for workspace
Bug: 262741688
Test: N/A
Change-Id: I305cd31381ede212bc242e821fd96a2ff30099c8
2023-03-14 22:39:07 +00:00
Jeremy Sim da75737d63 Revert "Revert "Create TAPL test suite for splitscreen""
This reverts commit 313a44039f.

Merging will reenable the TAPL suite TaplTestsSplitscreen.java, which was failing on phones due to a function call that only works on tablets.

Fixed by conditionally running the function only on tablet devices.

Fixes: 271852893
Test: Ran tests locally on phone and tablet.
Change-Id: If3e692924ed9c5ee113872e4f8ff0652890d1280
2023-03-14 15:36:32 -07:00
Xin Li 7735035902 [automerger skipped] Merge "Merge Android 13 QPR2" am: 050fd1f936 -s ours
am skip reason: Merged-In I58b416c43fda20b9b028106e6bb4e451addbbbaa with SHA-1 96fbc57162 is already in history

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

Change-Id: Ifc6aa009b7fa1914fc89cd449af55c15f3acf31e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 22:33:50 +00:00
Xin Li ec0facc1b2 [automerger skipped] Merge Android 13 QPR2 am: b0d15db067 -s ours
am skip reason: Merged-In I58b416c43fda20b9b028106e6bb4e451addbbbaa with SHA-1 96fbc57162 is already in history

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

Change-Id: Iba7369a8c75fdd2d06839981012c6dfd1861f7a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 22:32:03 +00:00
Brandon Dayauon 798b89252b Merge "Shortcut/people icon horizontal layout polish" into tm-qpr-dev am: 50eef33f20 am: e6b8134769
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21980491

Change-Id: I264f150313f4252607f10a3c4378a2e94acc4fca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 22:14:32 +00:00
Xin Li 050fd1f936 Merge "Merge Android 13 QPR2" 2023-03-14 21:40:25 +00:00
Brandon Dayauon e6b8134769 Merge "Shortcut/people icon horizontal layout polish" into tm-qpr-dev am: 50eef33f20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21980491

Change-Id: I8d04b7e94c912252bd49fcd262630d73f33ce16c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 21:25:37 +00:00
Vinit Nayak 40595ac4c0 Add debug logging for touch handling for all tests
* This information comes up often enough in test failures, good
to have at the outset to rule out obvious issues.

Bug: 270214626
Change-Id: Iee70fffed7a742565f41d8bf5aa38cdabefca3b4
2023-03-14 14:10:33 -07:00
Brandon Dayauon b1957cd6fb Set textSize and compound drawable padding for mDisplay == DISPLAY_SEARCH_RESULT
This is so it matches closely to all apps icons but the difference is that the icon size is 48dp.

bug: 261047689
test: manual - https://screenshot.googleplex.com/83YwnfwSfR6CJRB and https://screenshot.googleplex.com/68Yqz9hk5NHETKK
Change-Id: I381d9415d2a80a9d36291828a1a31d0c83fc395e
2023-03-14 13:27:30 -07:00
Stefan Andonian e74c24d6f4 Merge "Enable CONTINUOUS_VIEW_TREE_CAPTURE FeatureFlag." into udc-dev 2023-03-14 20:21:32 +00:00
Pat Manning ef2e9c51e3 Merge "Scale using workspace width for handheld device on swiping from home to overview." into tm-qpr-dev am: 105d72b6ea am: 285121bddf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21958125

Change-Id: I0852334fd194b2c5478d1945814731dfb3ba09a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 20:20:42 +00:00
Stefan Andonian 2b4e19a01a Enable CONTINUOUS_VIEW_TREE_CAPTURE FeatureFlag.
Bug: 224595733
Test: Feature works wonderfully.
Change-Id: Idf20cc673d32484eeb4501060c58b1d334dd6ad3
2023-03-14 20:20:23 +00:00
Brandon Dayauon 50eef33f20 Merge "Shortcut/people icon horizontal layout polish" into tm-qpr-dev 2023-03-14 20:18:54 +00:00
Pat Manning 285121bddf Merge "Scale using workspace width for handheld device on swiping from home to overview." into tm-qpr-dev am: 105d72b6ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21958125

Change-Id: I86a3c8d0cfb6b258031669d8fb9e6b15a1fb2733
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 19:43:43 +00:00
Charlie Anderson 3ddd00ee3c Revert "Revert "flip app shortcut popup design on for U""
This reverts commit 5156b48f6c.

Reason for revert: Fixed test failures from flipping the flag on in ag/22066273 and ag/21992972

Change-Id: I0478869c22a8f23d81a688bfa07a40230521f638
2023-03-14 19:39:40 +00:00
Pat Manning 105d72b6ea Merge "Scale using workspace width for handheld device on swiping from home to overview." into tm-qpr-dev 2023-03-14 19:13:31 +00:00
Jeremy Sim 0529dbe41f Merge "Fix two issues with splitting from Taskbar" into tm-qpr-dev am: b439c837d8 am: 0389929e5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21966877

Change-Id: I89e1057e9d11c22e06e3dd1bd42851d83fee06f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 18:23:40 +00:00
Brian Isganitis 7654a32a29 Merge "Log when FLAG_STASHED_IN_APP_AUTO changes." into tm-qpr-dev am: 201a8f5ea3 am: c9905fed66
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21778876

Change-Id: I56f40e88f58630b919fc1231fc1b230074c186bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 18:22:53 +00:00
Jeremy Sim 0389929e5f Merge "Fix two issues with splitting from Taskbar" into tm-qpr-dev am: b439c837d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21966877

Change-Id: I0aa5b2f2ee81d12fb3f7157fa8406f96f62eda39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 18:06:34 +00:00
Jon Miranda f262cf989e Fix taskbar spring when going from home to overview.
Bug: 246660243
Test: go home -> overview
Change-Id: Id49d8f7457940ce28684c0259ed1f204b9026609
2023-03-14 11:04:16 -07:00
Brandon Dayauon 2b3343018e Shortcut/people icon horizontal layout polish
- allow two line for SearchResultShortcutIcons (also be used in search_result_icon_container)

bug: 261047689
test: manual - https://screenshot.googleplex.com/9wwjxp3nqf4iyJr
Change-Id: Ie8d1415ea94f843f32abb9e4416064c1b674be6d
2023-03-14 11:03:18 -07:00
Jeremy Sim b439c837d8 Merge "Fix two issues with splitting from Taskbar" into tm-qpr-dev 2023-03-14 17:53:25 +00:00
Jeremy Sim 6152c902ed Fix two issues with splitting from Taskbar
This patch fixes two issues that would arise when the user initiated split from Taskbar:
1) The Overview Actions View would animate out, then erroneously pop back in.
2) When initiating split from home repeatedly, the task thumbnail grid would not animate downward properly, instead staying in the wrong y-position.

Both issues were caused by the fact that we now have a new way to enter OverviewSplitSelect (directly from Taskbar/Home), which rendered some of our old assumptions incorrect. Namely:
1) When we finish transitioning to OverviewSplitSelect, we need to update OverviewActionsView visibility so that it stays hidden.
2) mSplitHiddenTaskView is no longer a good way to tell if we are in split select state or not.

Fixed by adding a new call to updateCurrentTaskActionsVisibility() to the end of the split staging animation, and by making sure translations get reset every time resetFromSplitSelect() is called.

Fixes: 271624078
Fixes: 261544937
Test: Manual, verified on large and small tablet screens with various types of split invocations and rotation combinations.

Change-Id: Ied0f4818ce6da599845ccd07e9dc96ef4ba030c3
2023-03-14 17:53:11 +00:00
Brian Isganitis c9905fed66 Merge "Log when FLAG_STASHED_IN_APP_AUTO changes." into tm-qpr-dev am: 201a8f5ea3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21778876

Change-Id: I4c0f86fb4e29f90468e9f74da5d7ffe3045fb2b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 17:45:09 +00:00
Brian Isganitis 201a8f5ea3 Merge "Log when FLAG_STASHED_IN_APP_AUTO changes." into tm-qpr-dev 2023-03-14 17:16:43 +00:00
Fengjiang Li 7f4d53b074 Merge "[Predictive Back] Taskbar allapps -> home" into udc-dev 2023-03-14 16:40:48 +00:00
Charlie Anderson 63be5b53db polish for the app shortcut popup, fixing padding on several elements.
Bug: 269343928
Test: manually verify against spec
Change-Id: Ib8dd7ab2778644e2220622d43f9774c1de6357e9
2023-03-14 11:33:38 -04:00