Commit Graph

58436 Commits

Author SHA1 Message Date
TreeHugger Robot 5e862806ad Merge "Remove stale log statement for b/195430732" into tm-dev am: 94a54982b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17125713

Change-Id: Ida11bbefeb5ec90c3ce578add4b0a53af1cb7925
2022-03-09 22:38:11 +00:00
Tony Wickham 808b6c2fed Merge "Keep reporting > 0 insets on home screen" into tm-dev 2022-03-09 22:37:13 +00:00
TreeHugger Robot d586e1948b Merge "Updating window manager estimation logic:" into tm-dev 2022-03-09 22:24:12 +00:00
TreeHugger Robot 94a54982b9 Merge "Remove stale log statement for b/195430732" into tm-dev 2022-03-09 22:22:15 +00:00
Brian Isganitis 6c620ac5c9 Merge "Close Taskbar AFVs when locking screen." into tm-dev am: 3f7ac842e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17114550

Change-Id: Ibb43f1f95df77b30df86b3c7a95df5fdcf81cc03
2022-03-09 22:15:08 +00:00
Brian Isganitis 4f6da077ca Merge "Close Taskbar AFVs when locking screen." into tm-dev am: 3f7ac842e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17114550

Change-Id: I0a9315f715d3e266f057697ae1383702632d4ea9
2022-03-09 22:15:02 +00:00
Brian Isganitis 3f7ac842e0 Merge "Close Taskbar AFVs when locking screen." into tm-dev 2022-03-09 21:47:55 +00:00
Schneider Victor-tulias d23c7e42cc Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev am: 18bc66e365 am: f7a6b04ad0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126576

Change-Id: Id208c7aa0f727a556d7acc1097ed378917b80389
2022-03-09 21:28:11 +00:00
TreeHugger Robot bf334b3ff0 Merge "Play fallback animation if there are multiple closing targets." into tm-dev am: 441a7d76ef am: 95cbde4ae3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127939

Change-Id: I0d8cbeabda3b370708459c54e0fd0ad2cbec9f29
2022-03-09 21:28:04 +00:00
Schneider Victor-tulias f7a6b04ad0 Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev am: 18bc66e365
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126576

Change-Id: I483ca8b2d7cf7b79f1d8376d632ad36c2703e711
2022-03-09 21:05:52 +00:00
TreeHugger Robot 95cbde4ae3 Merge "Play fallback animation if there are multiple closing targets." into tm-dev am: 441a7d76ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127939

Change-Id: I0f927b2f59bfb5a38187731b22f798ac92877b8a
2022-03-09 21:05:44 +00:00
Schneider Victor-tulias 2ab75e9489 Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev am: 18bc66e365
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126576

Change-Id: I3b57c080a828872076f28864efaea705ef090089
2022-03-09 21:05:43 +00:00
TreeHugger Robot 3d46d030b6 Merge "Play fallback animation if there are multiple closing targets." into tm-dev am: 441a7d76ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17127939

Change-Id: Icff8c50b7e000b999f2c423ea62ccbd7d33962d0
2022-03-09 21:05:34 +00:00
Schneider Victor-tulias 18bc66e365 Merge "Update gesture nav tutorial with updated phone landscape layouts" into tm-dev 2022-03-09 21:04:24 +00:00
TreeHugger Robot 441a7d76ef Merge "Play fallback animation if there are multiple closing targets." into tm-dev 2022-03-09 20:44:18 +00:00
TreeHugger Robot e5be21cf48 Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev am: df022bd4c9 am: 064cd357ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016891

Change-Id: I46262c81b93d24f0a44e50c7dcd984d22b6bd25e
2022-03-09 19:46:03 +00:00
Schneider Victor-tulias 79e76f4e7b Update home settings subheads' style to Google Sans Text
Fixes: 187671205
Test: manual
Change-Id: I980b6b71900cf90934b562e9b2c313351cdb9e2c
2022-03-09 11:19:37 -08:00
TreeHugger Robot 064cd357ba Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev am: df022bd4c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016891

Change-Id: Icf79f043a286f31ae1062d4f60166d44932cc0d3
2022-03-09 19:18:26 +00:00
TreeHugger Robot bd20c78803 Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev am: df022bd4c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17016891

Change-Id: I31b51fc6b808819c18cfb362aaaf4edd98e83817
2022-03-09 19:18:22 +00:00
Sunny Goyal 187b16cb91 Updating window manager estimation logic:
> Moving the code from ApiWrapper to Resource overlays for better maintainability
> Accounting for display cutouts in insets estimation
> Using same logic in display controller and view inset dispatching

Test: Verified on device
Bug: 221961069
Change-Id: I78466353563692ce3f7512b0146ef8b61ef14bc0
2022-03-09 11:15:58 -08:00
TreeHugger Robot 50ec0e897f Small improvement for ag/17016891 (unstash taskbar input area size)
Get the device width form DeviceProfile instead of context for efficiency.

Bug: 204166104
Test: Unstash and stash taskbar, done in both orientations.
Change-Id: I14c3593552939f3be78f3e5c1193020873555d37
2022-03-09 19:15:51 +00:00
TreeHugger Robot df022bd4c9 Merge "Restrict the area for the input to unsatsh the taskbar" into tm-dev 2022-03-09 18:51:36 +00:00
Schneider Victor-tulias 149360b59f Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev am: 59534c7a24 am: 59ab0043be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109867

Change-Id: I049b63d2c72c25e3406a461bbb7da00bc0e9fe5f
2022-03-09 18:34:01 +00:00
Schneider Victor-tulias 59ab0043be Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev am: 59534c7a24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109867

Change-Id: Icf97ae1c9de028d9081198a1d7dc831c8b542fd8
2022-03-09 18:33:55 +00:00
Schneider Victor-tulias cb36451121 Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev am: 59534c7a24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109867

Change-Id: I39b15b54d99aa3ac9c2015e071b580dd112d99c0
2022-03-09 18:33:15 +00:00
Sam Dubey 2cbc43c8b3 Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev am: a57dc7d402 am: a728b72970
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17141723

Change-Id: I19675c4eef223f206df9b9a5fa0cdf3bcb5456cf
2022-03-09 18:32:53 +00:00
Schneider Victor-tulias 59534c7a24 Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev 2022-03-09 18:13:18 +00:00
Jon Miranda ede8718e63 Sync hotseat/taskbar handoff
+ Do not allow sync during tests

Bug: 223443781
Bug: 202507555
Test: open/close apps in hotseat/taskbar
Change-Id: I2f434d440a26999219e785b8671768e27d0dcad3
2022-03-09 10:06:47 -08:00
Sam Dubey 523fc8afcf Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev am: a57dc7d402
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17141723

Change-Id: Ifb7d6af1e3c61fbd85518043c3c6d57dacefb358
2022-03-09 18:00:34 +00:00
Sam Dubey a728b72970 Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev am: a57dc7d402
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17141723

Change-Id: I70919c339613a6e4e124c8c8d891c928d56d57c4
2022-03-09 18:00:32 +00:00
Abhilasha Chahal 9c7096c8ac Revert "Revert "Extract out common adapter logic to support diff..."
Revert^2 "Fixing AdapterItem import"

1a27c278d6c6594b552b620b4d2b67e68bef23f2

Change-Id: Ia3bf9f0b3aaff0d1e2d102320e917462b38935b2
2022-03-09 17:45:45 +00:00
Sam Dubey a57dc7d402 Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev 2022-03-09 17:32:34 +00:00
Sam Dubey 4f1a232cca Revert "Extract out common adapter logic to support different Al..."
Revert "Fixing AdapterItem import"

Revert submission 17044827-tm-dev-216150568

Reason for revert: Broke builds
Bug: 223609269
Reverted Changes:
I53eba3c8c:Fixing AdapterItem import
I1068e75d0:Extract out common adapter logic to support differ...
I24d8e54e8:Fix AdapterItem imports

Change-Id: I931c666db7dcb2c8eef1894b56b59ed688218def
2022-03-09 17:25:15 +00:00
Abhilasha Chahal ed61c3800a Merge "Extract out common adapter logic to support different AllApps layouts" into tm-dev am: c19c0f9eab am: 20571b7164
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17044827

Change-Id: I606a6fb8edc832b234d5296f2819954967ac95ea
2022-03-09 17:04:39 +00:00
TreeHugger Robot fdad094a0b Merge "Shrink hotseat icons size in large tablet portrait" into tm-dev am: 22d263a080 am: 82f23689ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17136843

Change-Id: If2cf72238b71580c1c65e27c733b0276d83c91db
2022-03-09 17:04:16 +00:00
Abhilasha Chahal 20571b7164 Merge "Extract out common adapter logic to support different AllApps layouts" into tm-dev am: c19c0f9eab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17044827

Change-Id: I99dcde171532431936671eccdbb919ceb59fc7ed
2022-03-09 16:40:51 +00:00
Abhilasha Chahal 27ef4654b6 Merge "Extract out common adapter logic to support different AllApps layouts" into tm-dev am: c19c0f9eab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17044827

Change-Id: Ic14c2bc75f1c700d68adc6352f316535789218af
2022-03-09 16:40:48 +00:00
TreeHugger Robot 82f23689ff Merge "Shrink hotseat icons size in large tablet portrait" into tm-dev am: 22d263a080
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17136843

Change-Id: I0d14537f2b3521a445496daad3bec66d2fdb8f09
2022-03-09 16:40:20 +00:00
TreeHugger Robot 19a62ee714 Merge "Shrink hotseat icons size in large tablet portrait" into tm-dev am: 22d263a080
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17136843

Change-Id: I3832a887db6ceafb0ab599be91738df91bfbfddc
2022-03-09 16:40:12 +00:00
Abhilasha Chahal c19c0f9eab Merge "Extract out common adapter logic to support different AllApps layouts" into tm-dev 2022-03-09 16:25:00 +00:00
TreeHugger Robot 22d263a080 Merge "Shrink hotseat icons size in large tablet portrait" into tm-dev 2022-03-09 16:11:14 +00:00
Thiru Ramasamy 694407ce08 Make AllAppsEntry and exit events optional.
This change will allow us to skip logging AllApps entry and exit events when entering into AllApps state from QSB.

Bug: 210792253
Test: wwdebug && wwlogcat
Change-Id: I658ff0842c72aa27335d426abaa46435ae312941
2022-03-09 07:14:36 -08:00
Thiru Ramasamy 2f733b6ce9 [OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event.
* Simplified logcat message
* Log latency events with different tag to help filter event logs from latency logs.

Bug: 210792253
Test: wwdebug && wwlogcat - http://gpaste/6546219850530816
Change-Id: I975a7140d14d3cb45f50d7db64aac3fa83ccd389
2022-03-09 07:14:01 -08:00
Alex Chau fe9a07bb96 Pass in dbFile from idpGridState for grid migration
- IDP can get re-initializeed during grid migration task, causing src/dest dbFile to be the same when prepareForMigration, which fails the migration and causes a wipe
- The fix is to cache IDP state as DeviceGridState, and use DeviceGridState to determine migration, trigger migration and save configuration after migration
- This should avoid migration failure in b/198965093 that causes homescreen wipe. Homescreen icon may still be messed up by the migration, but won't completely disappear

Bug: 198965093
Fix: 223579388
Test: manually trigger grid migration
Change-Id: I9890a6d5d530ff87aed8f601ec7d35a672b7cd46
2022-03-09 14:52:17 +00:00
Alex Chau 8175da9644 Shrink hotseat icons size in large tablet portrait
Fix: 214882090
Test: large tablet shrink hotseat icons size in both orientation
Test: Launcher3 without inline QSB does not shrink hotseat icon size
Change-Id: I5e325924aae056d42f01c08624b97a57359dbf08
2022-03-09 13:36:23 +00:00
Sam Dubey b763e0aa69 Merge "Revert "Sync hotseat/taskbar handoff"" into tm-dev am: 5c8ba15b1c am: a8eb22eee0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17129371

Change-Id: I704d4dd503f18035818118e5a21e82d0c4d121e8
2022-03-09 13:21:36 +00:00
Nick Chameyev a822736590 Merge "Do not run unfold taskbar animation when in portrait" into tm-dev am: 41b7f53805 am: a2a5004c9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070204

Change-Id: I31be2f3b10ad5e5f955736a968253a671566d6f8
2022-03-09 12:41:37 +00:00
Sam Dubey a8eb22eee0 Merge "Revert "Sync hotseat/taskbar handoff"" into tm-dev am: 5c8ba15b1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17129371

Change-Id: Ib7eac876fc2f6267179f114f4f265fa2b4f3736e
2022-03-09 12:29:10 +00:00
Sam Dubey c7d4e2a2a2 Merge "Revert "Sync hotseat/taskbar handoff"" into tm-dev am: 5c8ba15b1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17129371

Change-Id: I9649b293f2e8cc3fac4d8029ee58500a6f02674b
2022-03-09 12:26:09 +00:00
Nick Chameyev a2a5004c9c Merge "Do not run unfold taskbar animation when in portrait" into tm-dev am: 41b7f53805
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070204

Change-Id: Id8eff2b4ac6b4dcb8532670fe9efd93a27ab0089
2022-03-09 12:09:40 +00:00