Commit Graph

9984 Commits

Author SHA1 Message Date
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 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
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 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 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 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 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
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
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 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
Brian Isganitis 90f9499735 Merge "Immediately close taskbar all apps on swipe up gesture." into tm-dev 2022-03-07 17:52:22 +00:00
Alex Chau ba022bc59d Merge "Moving NavigationMode to display controller" into tm-dev am: 86cbea3dc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084125

Change-Id: I623051990b6b5ada50684bdf104def23bafc2273
2022-03-07 12:52:00 +00:00
Alex Chau 86cbea3dc4 Merge "Moving NavigationMode to display controller" into tm-dev 2022-03-07 12:29:53 +00:00
Thiru Ramasamy 5e6b1176c8 Merge "Add support for logging multiple attributes per item." into tm-dev am: 6dd3fc9465
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17075672

Change-Id: Ia5935a895384a3d19cb154b16aed984400ae5f1b
2022-03-05 19:12:00 +00:00
Thiru Ramasamy 6dd3fc9465 Merge "Add support for logging multiple attributes per item." into tm-dev 2022-03-05 18:55:12 +00:00
TreeHugger Robot 6c1df7f7f7 Merge "Transfer PipContentOverlay when swipe to home with Shell transition" into tm-dev am: a4babdb6b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17049970

Change-Id: Iee2df7eb4f40966d74a45704a5d23dcea929863f
2022-03-05 15:59:46 +00:00
TreeHugger Robot a4babdb6b2 Merge "Transfer PipContentOverlay when swipe to home with Shell transition" into tm-dev 2022-03-05 15:34:07 +00:00
Brian Isganitis 56b179350b Immediately close taskbar all apps on swipe up gesture.
Test: Manual
Fix: 219981339
Change-Id: I306a8aa1c55464718a1318f87007d68c383e461e
2022-03-04 19:56:06 -08:00
Sunny Goyal 4403d078a6 Moving NavigationMode to display controller
Navigation mode affects display properties like bounds and
most listeners already had a similar display listener. This
will remove race conditions when managing the two events.

Bug: 221961069
Test: Presubmit
Change-Id: If7a22e006e6b969ecddf075001066809aa72995c
2022-03-04 18:11:33 -08:00
Xiang Wang 8dd3e6e7ce Move the BitmapUtil to com.android.internal package
Bug: 219992742
Test: N/A
Change-Id: I1fa145c18799904a63613ab861a7635cc74dcfce
2022-03-04 17:23:08 -08:00
TreeHugger Robot c7567ad622 Merge "Add logging for OneSearch entry point." into tm-dev am: 2aae0ad17e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17086364

Change-Id: Ie194f4cd4f0a2e1c2c6acf5cd1f81e8fdb2c2cce
2022-03-05 00:14:28 +00:00
TreeHugger Robot 2aae0ad17e Merge "Add logging for OneSearch entry point." into tm-dev 2022-03-04 23:49:27 +00:00
Schneider Victor-tulias 789a6a95cc Add method to pause expensive view updates during the app launch aimation
Fixes: 220922269
Test: Manual
Change-Id: I39066f575c0ddfc4868ab9e27149e2bd9492b39c
2022-03-04 13:59:33 -08:00
Thiru Ramasamy b0b289d6ef Add logging for OneSearch entry point.
Test: wwdebug && wwlogcat
Change-Id: Iaf57093fbe227bde670524ce1694ce91a749a3d6
2022-03-04 13:23:08 -08:00
Nicolò Mazzucato 6ad3b6769e Merge "Register hinge angle sensor listener in a background thread" into tm-dev am: 1ffc81c7ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002677

Change-Id: I66d65be57f738dafbe179c7d56515c12fd23ce1f
2022-03-04 18:31:19 +00:00
Nicolò Mazzucato 1ffc81c7ba Merge "Register hinge angle sensor listener in a background thread" into tm-dev 2022-03-04 18:18:55 +00:00
Tony Wickham 5fe08e731f Merge "Properly animate canceled deep shortcut drag back to original icon" into tm-dev am: 80fed35379
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17075671

Change-Id: I0cbbda08058d8a85f242336c3b3d3b4cde81c8d0
2022-03-04 17:34:14 +00:00
Tony Wickham 80fed35379 Merge "Properly animate canceled deep shortcut drag back to original icon" into tm-dev 2022-03-04 17:07:12 +00:00
Thiru Ramasamy 9767c2e9ae Merge "Adds StatsLatencyLogger library." into tm-dev am: 18b9d159ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070491

Change-Id: I339ebf7cbe6a4a35d1d9a04262cff951c1f52ba8
2022-03-04 16:49:35 +00:00
Thiru Ramasamy d7af3cc784 Add support for logging multiple attributes per item.
This change will make use of new attributes field in LauncherAtoms to log multiple item attributes by converting them int array and then writes proto bytes into statsd.

Test: wwdebug && wwlogcat http://gpaste/5985977337118720
Change-Id: Iabda0b14100558f5625d01ba829d3ad96a6419fc
2022-03-04 08:40:44 -08:00
Thiru Ramasamy 18b9d159ce Merge "Adds StatsLatencyLogger library." into tm-dev 2022-03-04 16:17:56 +00:00
Riddle Hsu 14fc5bbc7a Merge "Get display id from display instead of the display of root view" into tm-dev 2022-03-04 09:38:00 +00:00
Wei Sheng Shih f516cb6fb5 Merge "Cancel recents animation when touch home key(2/2)" into tm-dev am: 63e4070791
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16981431

Change-Id: I62ee89fa38a051ba271042d8edb9e1863c0e8f27
2022-03-04 09:02:24 +00:00