Commit Graph

14731 Commits

Author SHA1 Message Date
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
TreeHugger Robot 04e190e6f4 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: Ifd20c39684d4ef8a63a8697ee870e083e3f780b2
2022-03-08 19:21:48 +00:00
Schneider Victor-tulias 162d013451 Merge "Add method to pause expensive view updates during the app launch aimation" into tm-dev am: ed8f41b5e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17085606

Change-Id: Icf822eb2f2e48110a77beac8e2f31e56ffb15e05
2022-03-08 19:21:30 +00:00
Schneider Victor-tulias 94f7a90774 Merge "Add method to pause expensive view updates during the app launch aimation" into tm-dev am: ed8f41b5e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17085606

Change-Id: Ia6b3ab7aa49a15b8c41de1be1a0a4e6b6e217270
2022-03-08 19:21:10 +00:00
TreeHugger Robot 906e96a68e Merge "Allow icons to take up full width in all cases where width > height." into tm-dev 2022-03-08 19:08:59 +00:00
Schneider Victor-tulias ed8f41b5e2 Merge "Add method to pause expensive view updates during the app launch aimation" into tm-dev 2022-03-08 18:41:04 +00:00
Jon Miranda 4937d79c03 Sync hotseat/taskbar handoff
Bug: 202507555
Test: open/close apps in hotseat/taskbar
Change-Id: Ia5ecff8438f0cf237b39a54b7a78c423c53f9023
2022-03-08 08:22:31 -08:00
Nick Chameyev fe9ec740cc Do not run unfold taskbar animation when in portrait
Limits taskbar icons translation animation
only when the display is in natural orientation.

Bug: 219958588
Test: fold/unfold in portrait and landscape
Change-Id: I33e26829ae37f1df39e8c7234f98d20eb7993b93
2022-03-08 12:03:32 +00:00
TreeHugger Robot 555b148672 Merge "[OneSearch] Add packageId as an int for latency logging." into tm-dev am: f0758df1b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084437

Change-Id: I6aacc12bd7f955e1410e363e6ade5ddc1aa546c7
2022-03-08 09:19:48 +00:00
TreeHugger Robot 8c56b8862f Merge "[OneSearch] Add packageId as an int for latency logging." into tm-dev am: f0758df1b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084437

Change-Id: I519ec9f5f4871655a8d88bc7351b6bdad7fab92a
2022-03-08 09:19:11 +00:00
TreeHugger Robot f0758df1b8 Merge "[OneSearch] Add packageId as an int for latency logging." into tm-dev 2022-03-08 08:39:25 +00:00
Jeremy Sim 51bfabf8b7 Fix UI overlap when rotating in split select mode
Fixes an issue where you could trigger a UI overlap by rotating the phone during split select. The issue occurred because devices with insets were calling TaskView#resetViewTransforms during rotation, and not accounting for the fact that an extra transform was applied for split staging.

Fixes: 220998096
Test: Manual test on inset and non-inset devices
Change-Id: I2d6c969231127aa16c9eae39cf69e08ceb96c44b
2022-03-07 22:42:58 -08:00
Becky Qiu 50c49447cc [OneSearch] Add packageId as an int for latency logging.
Enum defined in NexusLauncher.

Bug: 210790418
Test: manual, see log result in the NL cl.
Change-Id: I03a2a9831fc4cf34f3160f098739a7afd2900ec2
2022-03-07 20:51:22 -08:00
Brian Isganitis 464209c535 Recreate All Apps when Taskbar is recreated.
Test: Manual
Fix: 222039500
Fix: 222037737
Fix: 222034811
Change-Id: I53aa3ae77d03ae2a1d500d906ad2ed90efda6f4a
2022-03-07 18:30:29 -08:00
Jon Miranda 39334f4013 Allow icons to take up full width in all cases where width > height.
Previously we only let the icons take up the max width if the
device was in vertical bar layout. For tablets this meant
that the icons would be smaller than the actual window crop.

We want the full width in any cases where the profile width
is greater than the height, so created a new method to check for that.

Bug: 203157974
Test: phone/tablet in portrait/landscape
Change-Id: I467f142bac87ec7c3b369c01f8d9c96ddf74fc76
2022-03-07 18:17:50 -08:00
Brian Isganitis 04db7091c7 Close Taskbar AFVs when locking screen.
Fix: 223288975
Test: Manual
Change-Id: Ib810b495064922d87391aa0b61b79efe10ada40c
2022-03-07 18:05:55 -08:00
TreeHugger Robot d0f1dfc650 Merge "Revert "Adding better diags when SysUI crashes during Launcher test"" into tm-dev am: 90ab34b1d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109906

Change-Id: I50dca52ded87385e5f0d5b0129f6d0c0ca8b2279
2022-03-07 23:56:16 +00:00
TreeHugger Robot 8eb920a9e8 Merge "Revert "Adding better diags when SysUI crashes during Launcher test"" into tm-dev am: 90ab34b1d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109906

Change-Id: I454451ce2b50e8f854921bf7463e0c135a621b89
2022-03-07 23:55:25 +00:00
TreeHugger Robot 90ab34b1d8 Merge "Revert "Adding better diags when SysUI crashes during Launcher test"" into tm-dev 2022-03-07 23:14:49 +00:00
Vadim Tryshev fcd569055e Revert "Adding better diags when SysUI crashes during Launcher test"
This reverts commit b0e0f5f44a.

Reason for revert: This cl prevents the ability to run tests from android studio.

Change-Id: I8a1cbcd2e8faefdd168aac5bcad4f21c73694839
2022-03-07 20:37:42 +00:00
Brian Isganitis 5804d5132b Merge "Immediately close taskbar all apps on swipe up gesture." into tm-dev am: 90f9499735
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084126

Change-Id: I9e10ac2dfe02c27b2344b4eb029707e8dfd456b4
2022-03-07 18:20:53 +00:00