Commit Graph

60459 Commits

Author SHA1 Message Date
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
Hyunyoung Song 7897eafbb9 Merge "ENABLE_QUICK_SEARCH" into tm-dev am: 3c8277d161 am: eeba8f3c26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17094036

Change-Id: I384d14d1f15a112b5d7b07f89a1ecd7394307518
2022-03-07 20:16:03 +00:00
Hyunyoung Song eeba8f3c26 Merge "ENABLE_QUICK_SEARCH" into tm-dev am: 3c8277d161
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17094036

Change-Id: Ib199cb767acdf3555cc209cb7bb1f842de80de7f
2022-03-07 19:42:28 +00:00
Hyunyoung Song 8c2d9205d2 Merge "ENABLE_QUICK_SEARCH" into tm-dev am: 3c8277d161
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17094036

Change-Id: I89bc52169472722f5fb1872a0547c421292705b6
2022-03-07 19:40:35 +00:00
Hyunyoung Song 3c8277d161 Merge "ENABLE_QUICK_SEARCH" into tm-dev 2022-03-07 19:16:20 +00:00
Brian Isganitis 23f4c24aa0 Merge "Immediately close taskbar all apps on swipe up gesture." into tm-dev am: 90f9499735 am: cb8eafe9c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084126

Change-Id: Ib3f5ad5b5698541a590c221cd44adece381ff374
2022-03-07 18:44:10 +00:00
Alex Chau 6ed408f59f Use less icons in hotseat when in 3 button nav for tablet
- We have less space on tablets when 3 button nav is enabled because QSB is now inline with the icons. This creates a new attribute to define how many icons should be shown when in that mode. This could be used for other grids in the future as well.
- InvariantDeviceProfile now listens for nav mode changes

Fixes 214882090, 221420204
Test: manual

Change-Id: I012432a1a322c4e5505e46a1198c841ab124aaa6
2022-03-07 18:38:05 +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 9d6e2762fe Merge "Moving NavigationMode to display controller" into tm-dev am: 86cbea3dc4 am: a7067ba226
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084125

Change-Id: I456c0315ec4d20e1d6ac9828061d7e0c8a5318fe
2022-03-07 13:13:53 +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
Hyunyoung Song 915a435f13 ENABLE_QUICK_SEARCH
Bug: 213954097
Test: video attached to the bug

Change-Id: Id46ee329df569cccaeda27574c94dbbb6d9fd41f
2022-03-05 23:29:25 -08:00
Android Build Coastguard Worker 9d0437df36 Snap for 8261343 from 9c239d2f8c to tm-release
Change-Id: I4cd49d8d996fa2aceb525ad1b4297b96b6512769
2022-03-06 00:08:38 +00:00
Thiru Ramasamy 1f88034f04 Merge "Add ONE_SEARCH_WEB_PERSONAL attribute." into tm-dev am: 9c239d2f8c am: c10700cce5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17083665

Change-Id: I2b09c67eb19d3345c97a8cb93b1408a4ab6ceb1a
2022-03-05 19:33:40 +00:00
Thiru Ramasamy 14f7494613 Merge "Add support for logging multiple attributes per item." into tm-dev am: 6dd3fc9465 am: e8ab720a75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17075672

Change-Id: Ic4b643db1ae6eaa6f21e2ce35b701170a8a0a7b0
2022-03-05 19:33:28 +00:00
Thiru Ramasamy 60d49e1473 Merge "Add ONE_SEARCH_WEB_PERSONAL attribute." into tm-dev am: 9c239d2f8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17083665

Change-Id: I2d3ee5ad354b77bd65d4bd54d23a08e8d154e89e
2022-03-05 19:12:19 +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 c10700cce5 Merge "Add ONE_SEARCH_WEB_PERSONAL attribute." into tm-dev am: 9c239d2f8c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17083665

Change-Id: I2d7f01d4516189b8afd5bf330ef0df4fe3eb6024
2022-03-05 19:11:02 +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 9c239d2f8c Merge "Add ONE_SEARCH_WEB_PERSONAL attribute." into tm-dev 2022-03-05 18:56:12 +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 40376c4373 Merge "Transfer PipContentOverlay when swipe to home with Shell transition" into tm-dev am: a4babdb6b2 am: 5e6c9fae7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17049970

Change-Id: I47eef7291ac0754512f9e6620c45d634e8149364
2022-03-05 16:19:46 +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
Benno Lin 71900b3418 Merge "Fix Tapl drag to folder issue on S5 and R3" into tm-dev am: 6166bbff51 am: 5025e49760
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070007

Change-Id: I1c50a292e8447a020c4bd7efb6fd94f5c1c71589
2022-03-05 04:12:50 +00:00
Android Build Coastguard Worker 5fc6b30a7b Snap for 8254899 from 14fc5bbc7a to tm-release
Change-Id: I0850dc321adf772eb1efed70746429412916cb59
2022-03-05 04:09:03 +00:00
Brian Isganitis ddf8ab0f4a Update using tabs boolean immediately if it changes.
It is less erroprone to assign the new value immediately after we have
changed for a change.

Test: Manual
Bug: 222552955
Change-Id: Ief79ce0b25587c6b6e4f41e82b33692b06b5d083
2022-03-04 20:04:27 -08: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
Benno Lin ef32e55534 Merge "Fix Tapl drag to folder issue on S5 and R3" into tm-dev am: 6166bbff51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070007

Change-Id: I7d9cf84cfe79cf049c5d631b4cd3d2152da4971b
2022-03-05 03:50:43 +00:00
Benno Lin 5025e49760 Merge "Fix Tapl drag to folder issue on S5 and R3" into tm-dev am: 6166bbff51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070007

Change-Id: I794578808183380f3a2978ed9102d024eca9588f
2022-03-05 03:49:55 +00:00
Benno Lin 6166bbff51 Merge "Fix Tapl drag to folder issue on S5 and R3" into tm-dev 2022-03-05 03:18:26 +00: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
Android Build Coastguard Worker 8535ca3f7e Snap for 8254921 from 1d4dc1ba91 to sc-qpr3-release
Change-Id: I17952b16a1adee9f9897f979b1c0805ff13c56f5
2022-03-05 02:07:30 +00: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 29d4eabee6 Merge "Add logging for OneSearch entry point." into tm-dev am: 2aae0ad17e am: 16272c3ab2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17086364

Change-Id: I2cdc9eed951acdec80d2f0be39f6bfb7e12b1b5d
2022-03-05 00:37:26 +00: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 404a214dde Merge "Register hinge angle sensor listener in a background thread" into tm-dev am: 1ffc81c7ba am: 5672b45df8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002677

Change-Id: I18e4327efc47c267ad251c2121a409f8c421abef
2022-03-04 18:54:15 +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 a2db4a746a Merge "Properly animate canceled deep shortcut drag back to original icon" into tm-dev am: 80fed35379 am: 88d273cbcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17075671

Change-Id: I33f56343cc60e245dcd3ebf65a571f12b75eaa45
2022-03-04 17:57:23 +00:00