Commit Graph

16084 Commits

Author SHA1 Message Date
Sunny Goyal feca2d8700 Merge "Simplifying some page indicator dots attributes so that it can be easily modularized" into udc-dev 2023-03-17 19:02:01 +00:00
Charlie Anderson e1f1fd0924 Merge "Revert "Revert "flip app shortcut popup design on for U""" into udc-dev 2023-03-17 16:33:47 +00:00
Mike Schneider 06abb655f1 Merge "Add optional debug logging to on flag changes" into tm-qpr-dev am: 8daf6d804e am: ea674e208c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21868395

Change-Id: I3e7c7a84bcaaf37bb55225ea714c46fea999a067
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 09:04:47 +00:00
Mike Schneider ea674e208c Merge "Add optional debug logging to on flag changes" into tm-qpr-dev am: 8daf6d804e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21868395

Change-Id: I8a871b40687dffb7feb45fb7da9b27727e36ba97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 08:28:05 +00:00
Mike Schneider 8daf6d804e Merge "Add optional debug logging to on flag changes" into tm-qpr-dev 2023-03-17 07:54:33 +00:00
Charlie Anderson 7c7ccbb2ad Merge "Fixes tests and issues when toggling new app shortcut popup flag." into tm-qpr-dev am: d4eed6ec90 am: cd6fd73639
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21992972

Change-Id: Id79a204f2f489e35829f2336743d1a06cd0d9908
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 01:21:16 +00:00
Charlie Anderson cd6fd73639 Merge "Fixes tests and issues when toggling new app shortcut popup flag." into tm-qpr-dev am: d4eed6ec90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21992972

Change-Id: Ic4c29770d9b485252bc8e12e7666f8ab0598cdec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 00:45:25 +00:00
Charlie Anderson d4eed6ec90 Merge "Fixes tests and issues when toggling new app shortcut popup flag." into tm-qpr-dev 2023-03-17 00:15:54 +00:00
Brandon Dayauon 678da0e9c4 Merge "Set textSize and compound drawable padding for mDisplay == DISPLAY_SEARCH_RESULT" into tm-qpr-dev am: 26958a0961 am: d8ae733516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22079203

Change-Id: I8cbeee78df7e0b6474cf277689af3b65f5773808
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 23:29:34 +00:00
Brandon Dayauon d8ae733516 Merge "Set textSize and compound drawable padding for mDisplay == DISPLAY_SEARCH_RESULT" into tm-qpr-dev am: 26958a0961
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22079203

Change-Id: Ic18cf7d1cd4e0605202461dc0c1cb1f39cb3f25e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 23:11:49 +00:00
Sunny Goyal a5ead45967 Simplifying some page indicator dots attributes so that it can
be easily modularized

> Moving the color configuration to xml
> Moving auto-hide logic to a subclass as it doesn't
  need to be in the main library

Bug: 274011949
Test: Verified on device
Change-Id: Icf7bd5d1cbde3daa9441f2af51f98a931bcd6ee2
2023-03-16 15:57:06 -07:00
Brandon Dayauon 26958a0961 Merge "Set textSize and compound drawable padding for mDisplay == DISPLAY_SEARCH_RESULT" into tm-qpr-dev 2023-03-16 22:52:47 +00:00
Fengjiang Li d44129149c Merge "[Predictive Back] Remove OnBackPressedHandler" into udc-dev 2023-03-16 21:18:11 +00:00
Fengjiang Li b7860bd85e [Predictive Back] Remove OnBackPressedHandler
OnBackPressedHandler was mimicking android.window.OnBackAnimationCallback because later one was hidden API to T.

Now that we have moved to U, we can remove the former handler.

Test: manual
Bug: 272797556
Change-Id: Ic5302cfa0a6fb15c4a64bdf5dc331834b1f06f38
2023-03-16 09:39:31 -07:00
Charlie Anderson 3a2a69ab3d Fixes tests and issues when toggling new app shortcut popup flag.
Bug: 247880037
Test: manually tested app popup. Also ran Launcher tests locally with U flag on/off.
Change-Id: I93c04f9715d583376c36d823c23353619afd26b6
2023-03-16 12:37:14 -04:00
Helen Cheuk a415a34bad Merge "Resize text in drop target button if the text displayed is truncated vertically" into tm-qpr-dev am: f70036a136 am: 9a452ebb57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21701323

Change-Id: Ic606f2a342d1242b47c435b51a188189378c48d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 01:24:51 +00:00
Fengjiang Li 751d1475be Merge "[Predictive Back] Add extra bottom space in taskbar all apps to home" into udc-dev 2023-03-16 00:46:42 +00:00
Helen Cheuk 9a452ebb57 Merge "Resize text in drop target button if the text displayed is truncated vertically" into tm-qpr-dev am: f70036a136
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21701323

Change-Id: I80f12a51fd252b37248c71f88822e13601f41c03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-16 00:45:27 +00:00
Helen Cheuk f70036a136 Merge "Resize text in drop target button if the text displayed is truncated vertically" into tm-qpr-dev 2023-03-16 00:08:32 +00:00
Charlie Anderson 787cd87ec8 Merge "polish for the app shortcut popup, fixing padding on several elements." into tm-qpr-dev am: da4e07812a am: d52925f9c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21791366

Change-Id: I615cd997eb02a7c6b3e43db556ed64ead68b402d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 22:20:10 +00:00
Charlie Anderson d52925f9c4 Merge "polish for the app shortcut popup, fixing padding on several elements." into tm-qpr-dev am: da4e07812a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21791366

Change-Id: I83ac6a587bf29869708958a86064b55b2f4f756f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 21:38:47 +00:00
Charlie Anderson da4e07812a Merge "polish for the app shortcut popup, fixing padding on several elements." into tm-qpr-dev 2023-03-15 21:18:53 +00:00
Fengjiang Li 11f873da0b [Predictive Back] Add extra bottom space in taskbar all apps to home
Bug: 272797556
Test: manual
Change-Id: Ie84117d4211c382544c9ed8e1226bf70b2bd382d
2023-03-15 10:14:48 -07: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
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
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
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
Vinit Nayak 51a864893b Merge "Add debug logs for WorkTabExists test" into tm-qpr-dev 2023-03-14 22:46:07 +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
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
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
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 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
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
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
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
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
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
Stefan Andonian a353283ec6 Merge "Allow Binding the First Workspace Page before the Rest." into tm-qpr-dev am: df57fd822c am: 0714e68ce7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21546153

Change-Id: I23a96ced9d64fb66f1228ee41896975af13ae848
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 22:05:35 +00:00
Vinit Nayak 7a68378fe4 Add debug logs for WorkTabExists test
Bug: 243688989
Change-Id: Iafec4cae86f1527acac9a25fceb501609ca308f6
2023-03-13 14:27:55 -07:00
Stefan Andonian 0714e68ce7 Merge "Allow Binding the First Workspace Page before the Rest." into tm-qpr-dev am: df57fd822c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21546153

Change-Id: If21d0703c86ec92233bdb25f26cbdbebb41faf77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 21:27:34 +00:00
Stefan Andonian df57fd822c Merge "Allow Binding the First Workspace Page before the Rest." into tm-qpr-dev 2023-03-13 20:54:03 +00:00
Himanshu Gupta 64fadf8fba Merge "Do not display clone apps in launcher work tab." into udc-dev 2023-03-13 17:56:27 +00:00
Charlie Anderson beeffecc62 Merge "Revert "flip app shortcut popup design on for U"" into udc-dev 2023-03-13 16:50:35 +00:00
Charlie Anderson 5156b48f6c Revert "flip app shortcut popup design on for U"
This reverts commit 5d8489e71e.

Reason for revert: regression test failures b/273135788 b/272838823

Change-Id: I8b4747b8b714820648f7816f4b2ea962da5d332c
2023-03-13 15:27:52 +00:00