Commit Graph

13651 Commits

Author SHA1 Message Date
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
Brian Isganitis cb8eafe9c9 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: Iaad9aec95b8bbd66cde3a1ec6a2a6653146614f1
2022-03-07 18:19:38 +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 a7067ba226 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: I866a549cc08e1b2117e21e157c65af63900af9b1
2022-03-07 12:52:38 +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 e8ab720a75 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: I21ffc9205f7a7aed65bc3fdc57bdca7a778f9299
2022-03-05 19:10:47 +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 5e6c9fae7c 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: I11132bf54d076387a308a292cfd7155979ba0d7a
2022-03-05 15:58:38 +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 16272c3ab2 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: Ia0e53a078df3c37d271fa33fcc25fa63027740f1
2022-03-05 00:14:45 +00: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
Tony Wickham 3e7415df56 Keep reporting > 0 insets on home screen
Technically mControllers.stashedHandleViewController.isStashedHandleVisible() is false on the home screen (since we unstash), so now we also check isInApp(). This ensures that we always return the same insets when on the home screen - and the insets we report are the same as when you launch an app, to ensure seamless transitions. The value itself shouldn't matter to launcher as long as it is static, since launcher overrides the insets due to taskbar anyway, but we need to keep the value static to avoid configuration change.

Test: Open a website in Chrome, stash taskbar, then launch Chrome from home screen and ensure content doesn't jump during the transition
Fixes: 221238308
Change-Id: I81e320b3a8d32ffe78441be5dd8f15a586d3b842
2022-03-04 19:29:39 +00: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 5672b45df8 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: If2f7f76c2d63745aeada9dd16d46c3237550cd18
2022-03-04 18:29:57 +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 88d273cbcb 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: If9b2d74a106b9c272b43428af5d3049fa82ecead
2022-03-04 17:33:54 +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 56e010b54f 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: I0314e2fdc8c746eb4f822826011fc7e22a306f7b
2022-03-04 16:49:46 +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