Commit Graph

58436 Commits

Author SHA1 Message Date
David Saff 31aabd93ee Merge "Mark broken tests that are blocking presubmit" 2022-11-01 13:37:21 +00:00
Luca Zuccarini 350fdc6ec6 Merge "Make sure that PropertySetter applies the final state." into tm-qpr-dev am: 938dde8111 am: a20c6df786
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20298523

Change-Id: Iae18b1b3bacca6ccebe7905f10dd7538603b3ba2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 13:36:12 +00:00
Luca Zuccarini a20c6df786 Merge "Make sure that PropertySetter applies the final state." into tm-qpr-dev am: 938dde8111
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20298523

Change-Id: Iea1793aa1d7f0f7f037f36fe7b3b3318e9be49d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 13:04:04 +00:00
Luca Zuccarini 938dde8111 Merge "Make sure that PropertySetter applies the final state." into tm-qpr-dev 2022-11-01 12:28:54 +00:00
TreeHugger Robot 6089d3aa23 Merge "Change padding of widget recommendation table for correct size" into tm-qpr-dev am: 2022681cc2 am: 83d09d9aea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20114323

Change-Id: I96947423778c771256978dffbe833fec45c598d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 11:06:32 +00:00
TreeHugger Robot 83d09d9aea Merge "Change padding of widget recommendation table for correct size" into tm-qpr-dev am: 2022681cc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20114323

Change-Id: I359b4965903907a00fb3980c30687088965115aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 10:18:55 +00:00
TreeHugger Robot 2022681cc2 Merge "Change padding of widget recommendation table for correct size" into tm-qpr-dev 2022-11-01 09:43:37 +00:00
TreeHugger Robot f56fe1758b Merge "Move DropTargetBar to bottom" into tm-qpr-dev am: 86dc1edbf8 am: 004c11d7d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20283568

Change-Id: I9279dcd7805b5cc5110e46fd462b189b819c7a3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 08:26:10 +00:00
TreeHugger Robot 004c11d7d4 Merge "Move DropTargetBar to bottom" into tm-qpr-dev am: 86dc1edbf8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20283568

Change-Id: Ia9c7815cf47463ebaba1170e1c5bc27c8bae8f7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 07:52:04 +00:00
TreeHugger Robot 86dc1edbf8 Merge "Move DropTargetBar to bottom" into tm-qpr-dev 2022-11-01 07:21:31 +00:00
TreeHugger Robot a09e7f49dd Merge "Add dot pagination in workspace" into tm-qpr-dev am: d20e6676b1 am: b4293273df
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20251840

Change-Id: I76fcda067c80cea327ab732191e3db32d7e20638
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 05:26:46 +00:00
TreeHugger Robot b4293273df Merge "Add dot pagination in workspace" into tm-qpr-dev am: d20e6676b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20251840

Change-Id: Icaba792ef48f244f08f35bb68a87db217b0739b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 04:53:10 +00:00
TreeHugger Robot d20e6676b1 Merge "Add dot pagination in workspace" into tm-qpr-dev 2022-11-01 04:33:29 +00:00
Tracy Zhou ba0b5952c8 Support split from fullscreen with shortcuts
Recording: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/978a3a55-2982-4026-9726-2a73cb694258

TODO: improve transition animation

Bug: 246661484
Test: manual
Change-Id: Id0d1aec0685bc18f4b273f8e466996efc1d9a3d8
Merged-In: Id0d1aec0685bc18f4b273f8e466996efc1d9a3d8
2022-11-01 04:30:39 +00:00
Tracy Zhou 5b07f1d145 Merge "Support split from fullscreen with shortcuts" 2022-11-01 04:29:29 +00:00
TreeHugger Robot 2b00255d5c Merge "Add app window thresholds for transient taskbar." into tm-qpr-dev am: 59228a6511 am: f86b82df6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20212939

Change-Id: Id659dacc585cb8c0c3cccba202f35b06ef25a0d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 02:57:08 +00:00
TreeHugger Robot f86b82df6a Merge "Add app window thresholds for transient taskbar." into tm-qpr-dev am: 59228a6511
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20212939

Change-Id: I9b34d1b7428724caecda5b67ae91560344a6a746
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 02:09:32 +00:00
TreeHugger Robot 59228a6511 Merge "Add app window thresholds for transient taskbar." into tm-qpr-dev 2022-11-01 01:44:14 +00:00
Sunny Goyal 7550a67d90 Merge "Adding screenrecord for debug failing test" into tm-qpr-dev am: c93eb630e6 am: 4f5d276233
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20330482

Change-Id: I039c65677505a6e77b6d2b2e87ef0f21afad30f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 00:57:57 +00:00
Sunny Goyal 4f5d276233 Merge "Adding screenrecord for debug failing test" into tm-qpr-dev am: c93eb630e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20330482

Change-Id: Ia0aca60a4bd8f8fd14d7eff2f17f53012234dc2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 00:24:59 +00:00
Sebastián Franco f5615dda63 Merge "Decoupling finding the solution and animation of a reorder in CellLayout" into tm-qpr-dev am: 0c3f990b34 am: c55ae777db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20284695

Change-Id: I73db3a8b39044d308f9cf91ae3c6449f5ad92477
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-01 00:11:45 +00:00
Sunny Goyal c93eb630e6 Merge "Adding screenrecord for debug failing test" into tm-qpr-dev 2022-10-31 23:53:43 +00:00
Sebastián Franco c55ae777db Merge "Decoupling finding the solution and animation of a reorder in CellLayout" into tm-qpr-dev am: 0c3f990b34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20284695

Change-Id: Ib528d4b9ee676cd2da976eeaeaa5f82c60fa2ab7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 23:39:14 +00:00
Sebastián Franco 0c3f990b34 Merge "Decoupling finding the solution and animation of a reorder in CellLayout" into tm-qpr-dev 2022-10-31 23:02:44 +00:00
Federico Baron 8bf1bca59a Tapping on a "folder" on the Homescreen right after returning home results in it starting to open, then canceling.
Fix: 243531200, 253264925
Test: manual
Change-Id: I180300e8333536346ad07ce7bc9956d3b84d82e6
2022-10-31 15:12:17 -07:00
Holly Jiuyu Sun 1194a6156c Merge "Log sub event type to latency logger." into tm-qpr-dev am: c5f43eb9f7 am: 1acb878078
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20296334

Change-Id: Ief1c24b7af455e0e1daba155f3cf8291e91bb564
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 20:57:29 +00:00
Holly Jiuyu Sun 1acb878078 Merge "Log sub event type to latency logger." into tm-qpr-dev am: c5f43eb9f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20296334

Change-Id: Ib77b601b328cdc102beb57cb8c4c0674e9a4cd30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 20:25:58 +00:00
Sunny Goyal d6e9c601d8 Adding screenrecord for debug failing test
Bug: 256659409
Test: n/a
Change-Id: I1d804a92f81069df8d86f5b4ee2f21179f390d98
2022-10-31 13:25:17 -07:00
Holly Jiuyu Sun c5f43eb9f7 Merge "Log sub event type to latency logger." into tm-qpr-dev 2022-10-31 19:28:27 +00:00
Mady Mellor 10856068bc Remove floating task button from taskbar
Not POR to have a button in taskbar for this so removing this bit
of the prototype.

Test: manual - enable floating tasks on tablet and check if there's
               a button in taskbar (there shouldn't be).
Bug: 237678727
Change-Id: Ifb57f6528946f89592649afda84101e4f9cbb198
2022-10-31 11:56:14 -07:00
Pinyao Ting 0bae1f55e3 Grant Launcher permission to access AppSearch
This CL grants aosp launcher the permission to access appsearch to fetch
data that are explicitly made visible to the app that uses the HOME
role. One concrete example are shortcuts, with this CL aosp launchers
will now have the permission to query shortcuts directly from appsearch.

Bug: 254383738
Test: manual
Change-Id: I1a2260c7bde0d52fedff38ae56572101d51abdef
2022-10-31 10:51:31 -07:00
Sunny Goyal 66a2d8cf67 Merge "Fixing flakyness in widget tests" into tm-qpr-dev am: 276e72c249 am: d23fc2405f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20312118

Change-Id: Iaec13e95b7c8793705e4b9a7cde7eb85da17da3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 17:25:55 +00:00
Sebastian Franco c8392ea881 Return the right radius to start reorder when dragging a Widget
Currently the radius is only one cell but in the case of a widget
we want the radius of the whole widget.

Fix: 255421400
Test: this case only happens when dagging comming from outside of the cell layuot in the corners dragging a widget
Change-Id: I3fe294d18283dbecb27df1a2d4748dd44db9b956
2022-10-31 10:20:53 -07:00
Sunny Goyal d23fc2405f Merge "Fixing flakyness in widget tests" into tm-qpr-dev am: 276e72c249
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20312118

Change-Id: I94f52325e89138ecdd9352e6b18e350a6b44ad94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 16:53:12 +00:00
David Saff ef47bf0071 Mark broken tests that are blocking presubmit
Bug: 256615483
Test: presubmit
Change-Id: Ie42885b65f1e4652a36cf9018bf43573fd0fec9f
2022-10-31 16:31:05 +00:00
Sunny Goyal 276e72c249 Merge "Fixing flakyness in widget tests" into tm-qpr-dev 2022-10-31 16:23:08 +00:00
Tracy Zhou b9baae22bc Support split from fullscreen with shortcuts
Recording: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/978a3a55-2982-4026-9726-2a73cb694258

TODO: improve transition animation

Bug: 246661484
Test: manual
Change-Id: Id0d1aec0685bc18f4b273f8e466996efc1d9a3d8
2022-10-31 06:36:26 +00:00
Jeff Sharkey 1090fe96cf Merge "RemoteActionShortcut: try avoiding Activity leaks." 2022-10-29 15:25:25 +00:00
Jeff Sharkey d081c041c3 RemoteActionShortcut: try avoiding Activity leaks.
Hold a WeakReference into the closure, allowing the Activity to be
GC'ed if nobody else is keeping it alive.

Bug: 255833934
Test: atest --rerun-until-failure 100 NexusLauncherTests:WellbeingTests
Change-Id: Ica06d10a442390fe499d4d75e985d3510e2e63e1
2022-10-28 19:56:16 -06:00
Holly Jiuyu Sun 2750fa19bc Merge "[QL-v2] Use subtitle as hint if title doesn't apply." into tm-qpr-dev am: 35b0378d45 am: c9196b45d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20142072

Change-Id: I950807bb528f6afb1d52c00ebfb4e164bcbfc63b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 21:06:32 +00:00
Holly Jiuyu Sun c9196b45d4 Merge "[QL-v2] Use subtitle as hint if title doesn't apply." into tm-qpr-dev am: 35b0378d45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20142072

Change-Id: I35ea0bf09957566e42319c418977811c96a5e87c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 20:34:38 +00:00
Holly Jiuyu Sun 35b0378d45 Merge "[QL-v2] Use subtitle as hint if title doesn't apply." into tm-qpr-dev 2022-10-28 19:35:33 +00:00
Sunny Goyal 1d76159de4 Fixing flakyness in widget tests
For some predicted app widgets, the layout happens before the recyclerView
can layout completely (because of preview layout invalidation), causing the
scroll cache to get in a wrong state.
Checking for scroll cache validity everytime instead of only during
data changes

Bug: 255797215
Test: Verified by hardcoing the chrome widget as predicted widget
Change-Id: Id2c68560baa45de89e08c53bdb9ee6820eab68c4
2022-10-28 12:25:04 -07:00
Sebastian Franco 53a15a4b1f Decoupling finding the solution and animation of a reorder in CellLayout
Adding new functions to CellLayout, two of them return a solution
(calculateReorder, getSimpleReorder) and the other one takes a
solution and animates that solution (void performReorder) and it can
either submit the solution or just show it for a preview.

Right now this two things are done under the same function:
int[] performReorder. The need to separate this two functions is
because to add this functionality b/188081026 which needs to find
soluion without animation and animation solutions that can be
calculated in another place.

Bug: 188081026
Test: atest ReorderWidgets
Change-Id: Ib519d4346f58f9b55aff5008cd3ccbcfe8443d2d
2022-10-28 11:55:50 -07:00
Alex Chau 945c312eb7 Set autoSizeMaxTextSize for digital wellbeing toast
Fix: 253970740
Test: Enable app timer with normal display size and font size
Test: Enable app timer with largest display size and font size
Change-Id: I9a795dcf709a15c6e2c0eb24e31f09c84ea8eb2e
2022-10-28 16:03:24 +01:00
Jeremy Sim cf86c53419 Merge "Add transitions to DWB banner when app thumbnail progresses from Overview tile to fullscreen" into tm-qpr-dev am: 4972822c60 am: 11d815d752
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20115063

Change-Id: Ic1556b89b1470789081542ff9fd201ecb8beb8be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 01:30:50 +00:00
Jeremy Sim 11d815d752 Merge "Add transitions to DWB banner when app thumbnail progresses from Overview tile to fullscreen" into tm-qpr-dev am: 4972822c60
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20115063

Change-Id: I00e7a4b85ff362573557c38517eac0eb919c6086
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 00:53:18 +00:00
Jeremy Sim 570ddadcf9 Change tablet split confirm timing slightly
This patch changes the split confirm animation on tablets to 500ms. Based on UX discussion at b/241126570.

Fixes: 241126570
Test: Manual
Change-Id: I1de0e0f8882db059de09685f7756343d8a387b4f
2022-10-27 16:43:07 -07:00
Jeremy Sim 4972822c60 Merge "Add transitions to DWB banner when app thumbnail progresses from Overview tile to fullscreen" into tm-qpr-dev 2022-10-27 23:38:31 +00:00
Holly Sun 4d6fa05c83 Log sub event type to latency logger.
Bug: 255355348
Test: build
Change-Id: Idac85b5e31e2abdd98f6fd1bed4ec687d8bb5cd5
2022-10-27 16:37:18 -07:00