Commit Graph

13651 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 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 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
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 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
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
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
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
Nick Chameyev 70913b90ff 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: Ib6ecd12fc5cc46f62d1659531d024ffcdf57c88c
2022-03-09 12:02:14 +00:00
Sam Dubey 5c8ba15b1c Merge "Revert "Sync hotseat/taskbar handoff"" into tm-dev 2022-03-09 10:58:03 +00:00
Nick Chameyev 41b7f53805 Merge "Do not run unfold taskbar animation when in portrait" into tm-dev 2022-03-09 10:26:21 +00:00
Sam Dubey 8d55819f6e Revert "Sync hotseat/taskbar handoff"
This reverts commit 4937d79c03.

Reason for revert: Breaking launcher tests on cf foldable and tablet targets
Bug: 223485229

Change-Id: I7a54982967426c4da9eb62ba100226102be6549e
2022-03-09 07:53:39 +00:00
Jeremy Sim 4362094b8e Merge "Fix UI overlap when rotating in split select mode" 2022-03-09 03:36:36 +00:00
Vinit Nayak 824d036378 Remove stale log statement for b/195430732
Fixes: 195430732
Change-Id: I29e2ea3930238da4fe37f73a1368c4d233841cd0
2022-03-08 17:24:38 -08:00
Jon Miranda b42e124f5b Never look for matching view in All Apps when swiping up to go home.
The swiping up gesture will never return an app in All Apps,
so we can ignore All Apps state in those cases.

This fixes an edge case where user swipes up and launcher state
is still in All Apps. This causes us to animate the icon to
where it would be in All Apps, even though by the time the
animation starts we are actually in Normal state.

Bug: 222124240
Test: open app from  all apps then quickly swipe up to go home
Change-Id: I756a870660a397d6629aec82e4f5ec4914ed0669
2022-03-08 16:37:35 -08:00
Jon Miranda b2a5f266ad Play fallback animation if there are multiple closing targets.
Bug: 200247089
Test: close app w/ gesture nav, 3 button nav
      close split screen apps

Change-Id: I748f038eaf1542014f3acbb8fa31488936835dfe
2022-03-08 14:45:16 -08:00
Schneider Victor-tulias 38c59cfe4a Update gesture nav tutorial with updated phone landscape layouts
- Updated layout files to support landscape mode on phones
- Updated All Set page to say "tablet" rather than "phone" on tablets
- Hiding feedback view during gestures for better visibility
- Renamed files and resources to say "tablet" rather than "foldable"
- Added custom layout logic for the mock hotseat on foldables
- Updated feedback view margins

Test: manual
Fixes: 215063763
Fixes: 206895841
Fixes: 219251891
Change-Id: I56f7f33dd0617bdeeca4863f7d5de0143376c8bf
2022-03-08 13:57:42 -08:00
Xiang Wang 57092f5c18 Merge "Move the BitmapUtil to com.android.internal package" into tm-dev am: f86e884582
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16934327

Change-Id: I9d96bc86bceba02f3e50c973a7fdbb628fbaa37a
2022-03-08 20:21:59 +00:00
Xiang Wang 5de2a870cf Merge "Move the BitmapUtil to com.android.internal package" into tm-dev am: f86e884582
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16934327

Change-Id: I5909280b3247e7d7612ed5c0d88d3da69a584806
2022-03-08 20:21:50 +00:00
Xiang Wang f86e884582 Merge "Move the BitmapUtil to com.android.internal package" into tm-dev 2022-03-08 20:06:56 +00:00
Evan Rosky 402726f0b3 Merge "Switch to persist.wm.debug" into tm-dev am: 324b07b44b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058517

Change-Id: I552b38c6defc68cb71b64b3b68a1fe224b0be580
2022-03-08 19:45:35 +00:00
Jon Miranda a58d80324d Merge "Sync hotseat/taskbar handoff" into tm-dev am: a95837767b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17111271

Change-Id: Iede9f6c0cb0d5d321eb32b50ddb6d460d820f75a
2022-03-08 19:44:38 +00:00
Evan Rosky eb5e4526b3 Merge "Switch to persist.wm.debug" into tm-dev am: 324b07b44b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058517

Change-Id: I0970115c7ce83e638851e90c1071049335eecad1
2022-03-08 19:36:55 +00:00
Jon Miranda f2a763bbe7 Merge "Sync hotseat/taskbar handoff" into tm-dev am: a95837767b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17111271

Change-Id: I732c81acb678f32fceae3ce7d3d707059d8cc580
2022-03-08 19:35:10 +00:00
Evan Rosky 324b07b44b Merge "Switch to persist.wm.debug" into tm-dev 2022-03-08 19:34:01 +00:00
Jon Miranda a95837767b Merge "Sync hotseat/taskbar handoff" into tm-dev 2022-03-08 19:28:08 +00:00
TreeHugger Robot 56d94c4a8f Merge "Allow icons to take up full width in all cases where width > height." into tm-dev am: 906e96a68e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17074227

Change-Id: I084aa7444ff18f57f85853ee9ff72d39c890cb5b
2022-03-08 19:22:02 +00:00