Commit Graph
78507 Commits
Author SHA1 Message Date
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
Android Build Coastguard Worker e4dfc831c3 Snap for 9238644 from c5f43eb9f7 to tm-qpr2-release
Change-Id: Ic68f69b508625be6d42e6381d7f37c3622d18d82
2022-10-31 23:29:21 +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
Android Build Coastguard Worker 0e25956880 Snap for 9234388 from 1090fe96cf to udc-release
Change-Id: I0c1e04f267ff7ce20ba688e66214b92dc1779523
2022-10-29 23:25:57 +00:00
Jeff Sharkey 1090fe96cf Merge "RemoteActionShortcut: try avoiding Activity leaks." 2022-10-29 15:25:25 +00:00
Android Build Coastguard Worker ca036f7a1a Snap for 9231933 from cf86c53419 to udc-release
Change-Id: I7fa0694d2b2d69b6ef752230a630c9d082ce2673
2022-10-29 03:26:30 +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
Android Build Coastguard Worker 31ff250d4a Snap for 9232464 from 35b0378d45 to tm-qpr2-release
Change-Id: I48470e0814edb747be4e966d41820406b0bb97ed
2022-10-29 01:25:51 +00: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
Android Build Coastguard Worker 217024a298 Snap for 9227789 from ce1b37ccd4 to udc-release
Change-Id: Ibde0ce4ced49a0384d4904c1b0ac0f28eef3146c
2022-10-28 01:31:08 +00: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
Android Build Coastguard Worker 4609b4e22c Snap for 9227242 from 17137e8bce to tm-qpr2-release
Change-Id: I7ec485e36d710d095504fc3e4e290de65cb2cc10
2022-10-27 23:26:04 +00:00
Jon Miranda 88f61c6f3b Merge "Only draw transient taskbar background for transient taskbar" into tm-qpr-dev am: 0c1714bb45 am: b0e063eb4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20290840

Change-Id: If782a3439dc69dd42e44226cd500e9d00e3dfa46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 22:09:20 +00:00
Vinit Nayak 21d8230b90 Prevent rotating TaskMenuViewWithArrow for large screen
* Only attempt to rotate TaskMenuView on
fake rotation

Fixes: 254198019
Test: Rotation on large screen w/ TaskMenu open doesn't
crash

Change-Id: If8ae8c018e9cc8cb80a2ec3313f5e8d0fda2e148
2022-10-27 22:03:00 +00:00
Sebastian Franco 285b749bcf Wait in ReorderWidgets test for the workapce to load after changing it.
Fix: 252860608
Test: atest ReorderWidgets
Change-Id: Idf99188837a475d0327174e264ab1d23d646d75d
2022-10-27 14:42:19 -07:00
Jon Miranda b0e063eb4e Merge "Only draw transient taskbar background for transient taskbar" into tm-qpr-dev am: 0c1714bb45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20290840

Change-Id: Ie515474f64ea8ac724cc94b946e9eb8cc86ef991
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 21:31:30 +00:00
Federico Baron 626d51c68c Move DropTargetBar to bottom
The DropTargetBar has "Remove" and "Uninstall" buttons for workspace edit mode. We are moving them to the bottom for workspace home gardening

Bug: 251259222
Test: Turn on flag HOME_GARDENING_WORKSPACE_BUTTONS and enter spring loaded mode (edit workspace), notice the buttons are now at the bottom
Change-Id: I739162bdd5764dd8367a63a67fae0fe5c7329b0a
2022-10-27 14:18:00 -07:00
Jon Miranda 0c1714bb45 Merge "Only draw transient taskbar background for transient taskbar" into tm-qpr-dev 2022-10-27 20:42:21 +00:00
Holly Sun 786bdce214 [QL-v2] Add logging for quick launch.
Move logging to DeviceSearchAdapterProvider to take advantage of View so we can log more info attached to the quick launch event. Another reason is currently we can't dynamically change the enter key icon so we can't really distinguish whether it's a quick search or quick launch using the icon (we are working with gboard team to fix this issue).

Bug: 256010819
Test: see wwlogging https://paste.googleplex.com/5668268562972672
Change-Id: I38aad2ae97c9b372f3d76222a82de45fc3bf3eed
2022-10-27 13:18:19 -07:00
Sihua Ma ce1b37ccd4 Merge "Created LauncherWidgetHolder as a wrapper for LauncherAppWidgetHost" into tm-qpr-dev am: 17137e8bce am: fe121a99c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20106227

Change-Id: I67fff40251e2feb6beaf0b45e5352dd5dae642de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 19:01:32 +00:00
Sihua Ma fe121a99c6 Merge "Created LauncherWidgetHolder as a wrapper for LauncherAppWidgetHost" into tm-qpr-dev am: 17137e8bce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20106227

Change-Id: Id6e14023d7c3ca6440517165fe10186601249083
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 18:24:31 +00:00
Sihua Ma 17137e8bce Merge "Created LauncherWidgetHolder as a wrapper for LauncherAppWidgetHost" into tm-qpr-dev 2022-10-27 17:53:28 +00:00
Jon Miranda f80b5f50a3 Only draw transient taskbar background for transient taskbar
Bug: 252905206
Fix: 255925607
Test: disable flag, view taskbar
Change-Id: I1734fa238e3c07f5da6a03659c1079eb1b6b7277
2022-10-27 15:27:38 +00:00
Alex Chau 0b799ce367 Merge "Update pullback animation to use reset FloatProperty for non-active state" into tm-qpr-dev am: b3ab6f5014 am: 37ccd255b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19949846

Change-Id: Ia01c47fb5d2f7695b1da16f76f9e835c0164ce34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 13:53:21 +00:00
Alex Chau 37ccd255b7 Merge "Update pullback animation to use reset FloatProperty for non-active state" into tm-qpr-dev am: b3ab6f5014
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19949846

Change-Id: I9725ae0833648484589bb663b94fd93994a626bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-27 13:17:00 +00:00
Alex Chau b3ab6f5014 Merge "Update pullback animation to use reset FloatProperty for non-active state" into tm-qpr-dev 2022-10-27 12:38:15 +00:00