Winson Chung
6151a34543
Fix activity NPE when clearing flags
...
- If the activity is already destroyed then skip setting flags
Bug: 183400378
Test: Just adding a null check
Change-Id: Id2fddb5adb3b68302fb58fce340abd29237ca731
2021-03-24 10:01:44 -07:00
TreeHugger Robot
a0d299f5ad
Merge "Clear focus from search bar whenever a header is clicked in search adapter." into sc-dev
2021-03-24 16:28:56 +00:00
Andras Kloczl
243a3559e3
Fix staggered animation on right panel home screen am: a4cb0f02de
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931241
Change-Id: I9b7ce00731846926f5e5f33e33d520623dc7e0d4
2021-03-24 15:23:28 +00:00
Andras Kloczl
ccaa599212
Fix staggered animation on right panel home screen am: a4cb0f02de
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931241
Change-Id: I07519c84611bbc35686d8111964f0fc6bee7e750
2021-03-24 15:20:09 +00:00
Steven Ng
02c4f65e67
Fix scrolling in WidgetsBottomSheet
...
Popup container shouldn't intercept the scroll event if its child
scroll view isn't scrolled to the top yet.
Test: manual
Bug: 183599207
Change-Id: I434ba5e91b154e9862f22c08cd01c9d459e6707b
2021-03-24 14:51:19 +00:00
Zak Cohen
334efebaba
Overview - Adds first pass at making landscape layout real.
...
Adds dynamic sizing to margins around task view, also creates space in the
overview actions view in landscape to make space for the proactive chips if
needed.
Bug: 182529089
Test: Local build and run on two devices
Change-Id: I447de3564a3249ede4e8e8a4d3e5d1c177f6be61
2021-03-24 14:45:48 +00:00
Yogisha Dixit
73c8a366a8
Add a button for reconfiguring widgets.
...
Test: manual
Bug: 183316993
Change-Id: I17bec121e3d07d65979c2b92c285e487a7d64d65
2021-03-24 13:34:29 +00:00
Andras Kloczl
a4cb0f02de
Fix staggered animation on right panel home screen
...
Recently we have added support for multiple panels
on the home screen but the current StaggeredWorkspaceAnim
logic only supports animation for the leftmost panel.
Test: manual
Bug: 183032642
Change-Id: I539e1c1a26292b75801eb3070e22f0fbde1ebc7e
2021-03-24 12:37:22 +01:00
Jon Spivack
375a1bbb92
TaskOverlayFactoryGo: Minor updates for testability
...
Made a few things public and marked them as @VisibleForTesting.
Bug: 179738220
Test: atest -v LauncherGoGoogleRoboTests
Change-Id: I231316ecf9282ad4d54038e218f44f062b3fa413
2021-03-24 04:05:03 -07:00
TreeHugger Robot
8df9869df7
Merge "Fix scrolling in widgets picker tapl tests" into sc-dev am: 59230c3cdd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961495
Change-Id: I1f3731a7bee4cd3cf3a6668956926c689c56180f
2021-03-24 10:53:47 +00:00
TreeHugger Robot
8ac3c86d95
Merge "Fix scrolling in widgets picker tapl tests" into sc-dev am: 59230c3cdd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961495
Change-Id: I7dca61ef0dc25b6b65a266bc3f20e5fa1539f6f1
2021-03-24 10:53:22 +00:00
TreeHugger Robot
59230c3cdd
Merge "Fix scrolling in widgets picker tapl tests" into sc-dev
2021-03-24 10:35:20 +00:00
Alina Zaidi
b3f942e2fc
Merge "Bug fixes for widget picker search (2/n)" into sc-dev am: 305a44c935
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948365
Change-Id: Ie16a6a5303c4765aaf30fb87230c9717bd8d844a
2021-03-24 10:28:22 +00:00
Alina Zaidi
9877eca035
Merge "Bug fixes for widget picker search (2/n)" into sc-dev am: 305a44c935
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948365
Change-Id: Ie90daa0a4ef6459aa366b33d92f2d56ca5062651
2021-03-24 10:27:50 +00:00
Alina Zaidi
2cff164be2
Clear focus from search bar whenever a header is clicked in search adapter.
...
Test: Manually checked
Bug: 183398749
Change-Id: Ie91312ae1e62c6427e3397d1e5f60bc812a790ee
2021-03-24 09:52:45 +00:00
Alina Zaidi
305a44c935
Merge "Bug fixes for widget picker search (2/n)" into sc-dev
2021-03-24 09:47:26 +00:00
android-build-team Robot
32a3b9aabb
Snap for 7230858 from fe974153ab to tm-release
...
Change-Id: I16ff5b8079508214efd38bf3b3ae782bda5e283a
2021-03-24 03:07:22 +00:00
TreeHugger Robot
7d99fd4648
Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev am: bbfef42e48
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13894757
Change-Id: I272dfc1d80721ac58c7076d27879d76f3b0ad9f0
2021-03-24 02:35:51 +00:00
TreeHugger Robot
cee5c008f0
Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev am: bbfef42e48
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13894757
Change-Id: I5742b629255fdb3d84667b27d4ff8fcb316af3be
2021-03-24 01:51:00 +00:00
TreeHugger Robot
bbfef42e48
Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev
2021-03-24 01:46:34 +00:00
TreeHugger Robot
d9bd2e1119
Merge "Fix spring loaded scale when taskbar is present" into sc-dev am: 9187337d15
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13933465
Change-Id: If33ca9ac9934fe9f1ad05ca6600f9e1cb78a39db
2021-03-24 01:42:13 +00:00
TreeHugger Robot
1e1e3a67b0
Merge changes I6ce23251,I56fca1b7 into sc-dev am: cb6dff62d9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931236
Change-Id: I00694651565621415b08a0cabf6936ada9fbbaeb
2021-03-24 01:41:57 +00:00
TreeHugger Robot
20534fcfba
Merge "Update Pin widget dialog UI according to mocks." into sc-dev am: acb3cac938
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13945229
Change-Id: I13871cdc0a071cca0a87c5d95834e781685dbef0
2021-03-24 01:40:35 +00:00
TreeHugger Robot
59dcb4d300
Merge "Remove some unused hotseat/qsb scaling code" into sc-dev am: b9d201a5d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13970240
Change-Id: I77e8352fff913136ad6f3a52ee09c37c4bb3600d
2021-03-24 01:16:10 +00:00
android-build-team Robot
e36a4dc91d
Snap for 7230642 from 0fa5225d57 to sc-v2-release
...
Change-Id: I1553d97bf20900334bd5ec95d6557fcccfc2760c
2021-03-24 01:08:24 +00:00
android-build-team Robot
ae2ce9de22
Snap for 7230642 from 0fa5225d57 to sc-release
...
Change-Id: I801b2f39fae07352380b4283337654d67a8e9385
2021-03-24 01:07:39 +00:00
TreeHugger Robot
357b26c8ab
Merge "Fix spring loaded scale when taskbar is present" into sc-dev am: 9187337d15
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13933465
Change-Id: I976f6989ca91ac616b6b5f6c59dd33a5cadec305
2021-03-24 00:53:03 +00:00
TreeHugger Robot
fd0a0da2ec
Merge changes I6ce23251,I56fca1b7 into sc-dev am: cb6dff62d9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931236
Change-Id: I86cedf2f0fad4764747833ae5b50c8edbc471c7d
2021-03-24 00:52:57 +00:00
TreeHugger Robot
ce0f3a37bf
Merge "Update Pin widget dialog UI according to mocks." into sc-dev am: acb3cac938
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13945229
Change-Id: I8b9c97401701cb595fff5952efbbf5f707d55cf9
2021-03-24 00:52:49 +00:00
TreeHugger Robot
37666718e0
Merge "Remove some unused hotseat/qsb scaling code" into sc-dev am: b9d201a5d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13970240
Change-Id: I17f60a90a42222da2f2f401665c8697743ffc925
2021-03-24 00:52:38 +00:00
TreeHugger Robot
9187337d15
Merge "Fix spring loaded scale when taskbar is present" into sc-dev
2021-03-24 00:43:33 +00:00
TreeHugger Robot
cb6dff62d9
Merge changes I6ce23251,I56fca1b7 into sc-dev
...
* changes:
Update the resize frame to use the forced radius.
Enforce rounded corners on App Widgets.
2021-03-24 00:39:17 +00:00
TreeHugger Robot
acb3cac938
Merge "Update Pin widget dialog UI according to mocks." into sc-dev
2021-03-24 00:29:41 +00:00
TreeHugger Robot
b9d201a5d6
Merge "Remove some unused hotseat/qsb scaling code" into sc-dev
2021-03-24 00:16:01 +00:00
Steven Ng
6c5e02ac27
Fix scrolling in widgets picker tapl tests
...
If the search bar and the target widget item intersect, scroll up to
make the target widget item clickable.
Test: run AddWidgetTest, AddConfigWidgetTest
Bug: 183403949
Change-Id: I847cc34757cb02b1a12e18e511fda749873ad5da
2021-03-24 00:01:53 +00:00
Tony Wickham
aea0cbf9d3
Fix taskbar crash after cleanup
...
- Set LayoutTransition after adding initial views
- End running transitions in cleanup
- Only run update listener if LayoutTransition is active
Test: No crash after taskbar cleanup()
Bug: 182512211
Change-Id: I1049857935d09235388c1ef1fe4d89ef53b79aa5
2021-03-23 15:35:46 -07:00
Jonathan Miranda
e04715c263
Merge "Updating deep shortcut container to new width." into sc-dev am: 0fa5225d57
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13971704
Change-Id: If9097dc1ae8176bcc267d5c3d1c51ede887e9fd3
2021-03-23 22:12:27 +00:00
Jonathan Miranda
fe974153ab
Merge "Updating deep shortcut container to new width." into sc-dev am: 0fa5225d57
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13971704
Change-Id: I6075962e4858f31726009b39d1abf7a03226734c
2021-03-23 22:10:58 +00:00
Jonathan Miranda
0fa5225d57
Merge "Updating deep shortcut container to new width." into sc-dev
2021-03-23 21:30:46 +00:00
Jon Miranda
3f28e0686d
Update All Apps apps per row when DeviceProfile changes.
...
This fixes the bug where # all apps columns does not change as
expected during a grid change.
Bug: 183534910
Test: manual, visual
Change-Id: Id6a6abd3c7c5e9f36be96eef92961ecfdd477ac9
2021-03-23 17:29:31 -04:00
Pierre Barbier de Reuille
452df2d5bb
Update the resize frame to use the forced radius.
...
When forcing the rounded corners, the radius may be smaller than the
default one. When this happens, we should change how the frame is drawn
to only use that reduced radius, or this looks weird.
Bug: 183097166
Test: Manual tests with top 1P App Widgets
Change-Id: I6ce232515ce14059e1168e16735719ea2370132c
2021-03-23 20:57:33 +00:00
Pierre Barbier de Reuille
298526e812
Enforce rounded corners on App Widgets.
...
The feature is controlled by the ENABLE_ENFORCED_ROUNDED_CORNERS flag
(currently set to false).
If does not yet handle P/H flags to control its behavior.
Bug: 183097166
Test: Manual tests with top 1P App Widgets (See bug for results)
Change-Id: I56fca1b717f37ad518588115409f2144a71d4b98
2021-03-23 20:57:33 +00:00
Tony Wickham
48ac789c83
Merge "Add TaskbarView as a child of Hotseat" into sc-dev am: 3629b93546
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13957197
Change-Id: I59374cb5326236433ebeecae158eb0a972d3a61a
2021-03-23 19:10:02 +00:00
Tony Wickham
f2a7426ba6
Merge "Add TaskbarView as a child of Hotseat" into sc-dev am: 3629b93546
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13957197
Change-Id: I29fc8e00b22884ee7a89d32440bc956a6620e5d7
2021-03-23 19:09:41 +00:00
Vinit Nayak
706ff85fe5
Prevent setting task thumbnail during swipe to overview
...
Previously we were setting the incorrect thumbnail when
swiping to overview, then taking a task screenshot right
when the animation ends and replacing the first thumbnail.
This sometimes caused a flicker of the old thumbnail, now
we avoid setting the thumbnail at all for the taskview that
is being swiped up.
Another edge case handled here is when switching nav modes
and then immediately entering overview, Recents receives an
onConfigChange for changing task icon size. That would cause
all taskviews to null out both their existing icon and
thumbnail, now only the icon gets nulled out.
Existing issue where switching to 3 button nav and then
entering overview shows blank icon, doesn't register for
receiving the updated task snapshot fast enough.
Fixes: 179307265
Test: Ask assistant for weather, swipe to overview
Ask assistant for time, swipe to overview, no flicker
Switch nav modes to gesture, swipe to overview.
There's a flicker for config change, but thumbnail is correct
Change-Id: I300b29f999f6d6876f82bc0189b44f4c10ae33fe
2021-03-23 12:00:06 -07:00
Tony Wickham
e63bd38a55
Remove dead taskbar code
...
Test: Works as before
Bug: 182512211
Change-Id: Id4c979f2924f9ae6881a9bed18bcc52fbd80c05b
2021-03-23 11:42:50 -07:00
Tony Wickham
f2c99e9d32
Remove MultiValueAlpha Mode, as all usages are BLEND
...
Test: Compiles, works as before
Bug: 182512211
Change-Id: I79ee683720cdc697d91e7587d8fab4fd2645ba0d
2021-03-23 11:41:30 -07:00
Tony Wickham
3629b93546
Merge "Add TaskbarView as a child of Hotseat" into sc-dev
2021-03-23 18:36:53 +00:00
Steven Ng
3b9f6b98c8
Merge "Update title of bottom widgets tray" into sc-dev am: d8c2a7b2da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13951729
Change-Id: I64d6b74ffbed28eda76c394fba743e0e770785ac
2021-03-23 17:51:53 +00:00
Steven Ng
9143dbe2b2
Merge "Update title of bottom widgets tray" into sc-dev am: d8c2a7b2da
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13951729
Change-Id: I8f9efd0c340d672ce18521a4236d1ceb4f2ed935
2021-03-23 17:51:27 +00:00