Commit Graph
46145 Commits
Author SHA1 Message Date
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
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 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 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 63e4070791 Merge "Cancel recents animation when touch home key(2/2)" into tm-dev 2022-03-04 08:40:42 +00:00
Winson Chung 7e426a3933 Merge "Provide content insets while in SUW in portrait mode" into tm-dev 2022-03-04 03:25:44 +00:00
Thiru Ramasamy f93e8b26d5 Merge "Add empty implementation for item_attributes field on Launcher." into tm-dev 2022-03-04 02:44:54 +00:00
TreeHugger Robot 4180a79d2b Merge "Use shared insets resize animation duration for taskbar stashing" into tm-dev 2022-03-04 02:22:47 +00:00
TreeHugger Robot bb2271db41 Merge "Add OneSearch SuggestionType enums to launcher atom." into tm-dev 2022-03-04 01:34:39 +00:00
Thiru Ramasamy b097f24610 Adds StatsLatencyLogger library.
Test: build NexusLauncherDebug; wwdebug && wwlogcat
Change-Id: Ib1f1aeb78d1cb930ca680439341de6be5e5be2dd
2022-03-03 17:33:24 -08:00
Tony Wickham a56a197e14 Properly animate canceled deep shortcut drag back to original icon
- Added getFirstMatch() instead of using mapOverItems() (was a bit cleaner using ItemInfoMatcher)
- Match based on package name / UserHandle for deep shortcuts case

Test: drag deep shortcut from taskbar icon, inside folder, inside all apps; drag regular icons as well
Fixes: 222574524
Change-Id: Id5fdee29110f143c1125edc6945af09ab0a8d8ce
2022-03-04 00:39:38 +00:00
Winson Chung ac736e7dac Provide content insets while in SUW in portrait mode
- We keep the app setup flag set, but adjust the insets to
  inset SUW itself in portrait

Bug: 219879035
Test: With both 3button and gesture nav, verify that portrait
      mode SUW is always inset
Change-Id: Iad0b6c41feaa3fb169af75c071b7f9544b42bab7
2022-03-04 00:12:41 +00:00
TreeHugger Robot e9056a9e9a Merge "Address some insets issues in Taskbar All Apps" into tm-dev 2022-03-04 00:08:34 +00:00
thiruram 854f34dcc3 Add empty implementation for item_attributes field on Launcher.
Test: make -j64 NexusLauncher
Change-Id: Ie2781017018b9c0397f2322399cbd0267c988296
(cherry picked from commit e294eadc74)
2022-03-03 23:54:50 +00:00
Sunny Goyal ed6d3a47c0 Merge "Separating refresh rate tracking to a separate class" into tm-dev 2022-03-03 23:00:29 +00:00
Brian Isganitis 2ac519426d [automerger skipped] Merge "Remove popup container drag listener on close complete." into sc-v2-dev am: 1d4dc1ba91 -s ours am: 718f8e7adb -s ours
am skip reason: Merged-In I16515518c6d488b74450456306abbfff646ac11b with SHA-1 8aa4b05d22 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16943984

Change-Id: I85e25359e0afabe6782727b669ab7eaec41633c9
2022-03-03 22:14:56 +00:00
Tony Wickham 27d33e2994 Address some insets issues in Taskbar All Apps
- Don't report insets change to underlying app when stashing taskbar during all apps transition
- Internally override all apps insets to take stashing into account
- Don't offset all apps window by display cutouts, as we handle them internally via padding internally
- Also Fix bug where "stashing" taskbar in 3 button mode (which just fades out taskbar icons but keeps nav buttons) was reporting smaller insets to apps

Test: 1) open all apps in Calculator, ensure Calculator doesn't adjust insets and all apps has bottom content padding but no nav scrim
2) in 3 button mode, scroll to bottom of all apps and can read last row icon labels
3) enable display cutout in developer options, ensure no change to tests 1 and 2, and all apps scrim fills the screen (including behind cutout)
Fixes: 219980805

Change-Id: Ic3c6a744bc675e4ea277d22c4c0b3b353eddd905
2022-03-03 22:04:49 +00:00
Thiru Ramasamy 1d7848aedb Add OneSearch SuggestionType enums to launcher atom.
Bug: 222001231
Test: wwdebug && wwlogcat - http://gpaste/6024652376768512
Change-Id: I6062a5fc6c4046521923f564b99a8150c561c0a2
2022-03-03 18:48:00 +00:00
Tony Wickham ede8ad8ec9 Use shared insets resize animation duration for taskbar stashing
This is a no-op since they are the same value (by design), but using the constant directly will prevent potential divergences in the future.

Test: none
Bug: 191269755
Change-Id: I81b98045466398b7a49de872694004e526adf048
2022-03-03 18:25:59 +00:00
Brian Isganitis 221b2d7d5e [conflict] Merge changes from topic "presubmit-am-4c8411152aef49f099eee419e063b01e" into sc-v2-dev-plus-aosp am: 087e879b25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16943984

Change-Id: I46336888da6b90649c6def8fbc10c8032f4f2821
2022-03-03 18:21:46 +00:00
Brian Isganitis 718f8e7adb [automerger skipped] Merge "Remove popup container drag listener on close complete." into sc-v2-dev am: 1d4dc1ba91 -s ours
am skip reason: Merged-In I16515518c6d488b74450456306abbfff646ac11b with SHA-1 8aa4b05d22 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16943984

Change-Id: I7b6c53de746bde1cc3c510233027653eed0eff44
2022-03-03 18:13:15 +00:00
Brian Isganitis 087e879b25 Merge changes from topic "presubmit-am-4c8411152aef49f099eee419e063b01e" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Remove popup container drag listener on close complete. 2p: 8aa4b05d22
  Remove popup container drag listener on close complete.
2022-03-03 17:54:12 +00:00
Brian Isganitis 1d4dc1ba91 Merge "Remove popup container drag listener on close complete." into sc-v2-dev 2022-03-03 17:54:12 +00:00
TreeHugger Robot 5e74cd7b06 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: e29216a55d -s ours am: 62edf72fa7 -s ours am: 0968761a4a -s ours am: 50aba07a40 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I82ce9502806e24107dc01bd21e0aa39463cb7ef3
2022-03-03 10:53:00 +00:00
TreeHugger Robot 6317f38f7e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 703f64f7ab -s ours am: ceded819c7 -s ours am: 42e112382d -s ours am: a550f0a2b3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: I63db6285b5ae8a78ff6817f34365f11ea5b41c7d
2022-03-03 10:52:56 +00:00
TreeHugger Robot 13d94f419c Merge changes from topic "presubmit-am-0c24d9f255d6403d89a5c084b9bd0f1a" into sc-qpr1-dev am: 6fc1f0fb5c am: e38b5e54eb am: 7ccf7fd196
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I39699722e873396a67811842407995b286f52804
2022-03-03 10:52:50 +00:00
Bill Yi e6ce37f624 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 17a9ba37d8 am: 705e77fc21 -s ours am: 06dd0d8c5a -s ours am: 51ab466767 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: Id4537f452d00345109190b3f0bf210dc1c9e4206
2022-03-03 10:52:48 +00:00
TreeHugger Robot 5e820f3d94 Merge changes from topic "presubmit-am-c855899eb6884ec09b246be887e3785b" into sc-qpr1-dev am: 4edfbf360a am: 8ba8fad707 am: c7207f179e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: I2670df702d5afda1b3eddcab98f73c54f0114535
2022-03-03 10:52:40 +00:00
Bill Yi bf44a81624 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: cc9382570a am: 4449ef542c -s ours am: 51e3221e96 -s ours am: a88b564ff0 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: I6adc3e79334f30c281fbe723708929aef3ceec8d
2022-03-03 10:52:38 +00:00
TreeHugger Robot cee4782fc7 Merge changes from topic "presubmit-am-d74efe3712a04851a2e98ec622a5cf93" into sc-qpr1-dev am: c466421e1e am: 767c5093cb am: 93f92b26bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058106

Change-Id: Ie5d12bd8d2ccb42cb9f9b015d5c1606a21aaefaf
2022-03-03 10:52:01 +00:00
Bill Yi bab1205c9f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 10791cf6ad am: 213b02540a -s ours am: 2a12892dc7 -s ours am: 25c328b23f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058106

Change-Id: I5a631ba1c4acdbf2fad4573f4f4f11cc5f114255
2022-03-03 10:52:00 +00:00
TreeHugger Robot 50aba07a40 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: e29216a55d -s ours am: 62edf72fa7 -s ours am: 0968761a4a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I94ba6232b0147cef4a1b3b2e064afe3ce2f1ae1c
2022-03-03 10:30:34 +00:00
TreeHugger Robot a550f0a2b3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 703f64f7ab -s ours am: ceded819c7 -s ours am: 42e112382d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: Ie76c1e56d51489ae321aed44d1b334ae84e67974
2022-03-03 10:30:30 +00:00
TreeHugger Robot 7ccf7fd196 Merge changes from topic "presubmit-am-0c24d9f255d6403d89a5c084b9bd0f1a" into sc-qpr1-dev am: 6fc1f0fb5c am: e38b5e54eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: Iae7bf1986cbbbcec2a90b70b5ef369f677da91ec
2022-03-03 10:30:24 +00:00
Bill Yi 51ab466767 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 17a9ba37d8 am: 705e77fc21 -s ours am: 06dd0d8c5a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I56ba4be362c43cd9fdad542bbb430d9d52dacc2c
2022-03-03 10:30:22 +00:00
TreeHugger Robot c7207f179e Merge changes from topic "presubmit-am-c855899eb6884ec09b246be887e3785b" into sc-qpr1-dev am: 4edfbf360a am: 8ba8fad707
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: I8f2fcb69ac47d430e03f449569990e7259e42d6c
2022-03-03 10:30:15 +00:00
Bill Yi a88b564ff0 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: cc9382570a am: 4449ef542c -s ours am: 51e3221e96 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: If7ee9d0b613806877bd08b6df6bc9d66028a1637
2022-03-03 10:30:14 +00:00
TreeHugger Robot 93f92b26bd Merge changes from topic "presubmit-am-d74efe3712a04851a2e98ec622a5cf93" into sc-qpr1-dev am: c466421e1e am: 767c5093cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058106

Change-Id: I84518a7aeaf50845a49068892409e30de2dcfc33
2022-03-03 10:29:58 +00:00
Bill Yi 25c328b23f [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 10791cf6ad am: 213b02540a -s ours am: 2a12892dc7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058106

Change-Id: Ia73602f022dcdbdcb88945a712574f789044dbec
2022-03-03 10:29:57 +00:00
Alex Chau b7d5cf4c60 Merge "Increase PromiseIconUiTest timeout temporarily" into tm-dev 2022-03-03 10:13:21 +00:00
TreeHugger Robot 0968761a4a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: e29216a55d -s ours am: 62edf72fa7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I5dcc024cd36248d1ee3b19fe7ac9004736d09022
2022-03-03 10:09:57 +00:00
TreeHugger Robot 42e112382d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 703f64f7ab -s ours am: ceded819c7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: I30142d661058983e41e626febf896ce318432204
2022-03-03 10:09:47 +00:00
TreeHugger Robot e38b5e54eb Merge changes from topic "presubmit-am-0c24d9f255d6403d89a5c084b9bd0f1a" into sc-qpr1-dev am: 6fc1f0fb5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I6d7dbf0387552cbeca8fa000417017d07e714755
2022-03-03 10:09:36 +00:00
Bill Yi 06dd0d8c5a [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 17a9ba37d8 am: 705e77fc21 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I7d5c24073f2e6917cc5e6ae7b6619c44eee2ce06
2022-03-03 10:09:34 +00:00
TreeHugger Robot 8ba8fad707 Merge changes from topic "presubmit-am-c855899eb6884ec09b246be887e3785b" into sc-qpr1-dev am: 4edfbf360a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: Ie1236802aff711614d5147ded7eb3ec85c26817f
2022-03-03 10:09:18 +00:00
Bill Yi 51e3221e96 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: cc9382570a am: 4449ef542c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: I43f2db5aac66cbb80bc21d293cbf569ed207e794
2022-03-03 10:09:15 +00:00
TreeHugger Robot 767c5093cb Merge changes from topic "presubmit-am-d74efe3712a04851a2e98ec622a5cf93" into sc-qpr1-dev am: c466421e1e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058106

Change-Id: Ie17191cd65534a3f4141c0dd42a73043863969fd
2022-03-03 10:08:57 +00:00
TreeHugger Robot 4e4a4b4c22 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: e29216a55d -s ours am: 8d446e7b86 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I322d6c0cf888c6d7e8d6c1dc954744fd69611a8b
2022-03-03 10:08:55 +00:00
Bill Yi 2a12892dc7 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 10791cf6ad am: 213b02540a -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058106

Change-Id: I7a56d63a917c42a511a6cea6596184bde9308030
2022-03-03 10:08:53 +00:00