Commit Graph

58436 Commits

Author SHA1 Message Date
Thiru Ramasamy 0a0611aee4 Merge "Add empty implementation for item_attributes field on Launcher." into tm-dev am: f93e8b26d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070489

Change-Id: I898becebc0d85d46fb9ce4fdc3a605940043400a
2022-03-04 02:51:10 +00:00
Thiru Ramasamy e70734d429 Merge "Add empty implementation for item_attributes field on Launcher." into tm-dev am: f93e8b26d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070489

Change-Id: Ib9e678e8e0da7f956949da067ed8ffa2f6cf6c57
2022-03-04 02:50:15 +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 86097d79d8 Merge "Use shared insets resize animation duration for taskbar stashing" into tm-dev am: 4180a79d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17072847

Change-Id: Id2e311a4732c475a12691bb1bad57775b17437bc
2022-03-04 02:40:38 +00:00
TreeHugger Robot 07af2322cf Merge "Use shared insets resize animation duration for taskbar stashing" into tm-dev am: 4180a79d2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17072847

Change-Id: I33f3181575b368ecad738a6b0b26459c8f45dcbb
2022-03-04 02:40:01 +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 f05425aee3 Merge "Add OneSearch SuggestionType enums to launcher atom." into tm-dev am: bb2271db41 am: 6a00ab21db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17072851

Change-Id: Ife2bd1a111266b17c31c98bc0c98680460817b81
2022-03-04 02:16:48 +00:00
Android Build Coastguard Worker 69c5f93e06 Snap for 8249732 from 5e74cd7b06 to tm-release
Change-Id: I56cec5d8c640b3b0995b1b9d1d9fd66a2d8c7aca
2022-03-04 02:08:23 +00:00
TreeHugger Robot 6a00ab21db Merge "Add OneSearch SuggestionType enums to launcher atom." into tm-dev am: bb2271db41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17072851

Change-Id: I4a8805bbb202ec1662eb5903fd2f8d2842663a5e
2022-03-04 01:55:09 +00:00
TreeHugger Robot 76d1cd4b7f Merge "Add OneSearch SuggestionType enums to launcher atom." into tm-dev am: bb2271db41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17072851

Change-Id: I3914808b0468a1e56fae999b44521ff3b6eff841
2022-03-04 01:54:56 +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
TreeHugger Robot 26d8c02f1f Merge "Address some insets issues in Taskbar All Apps" into tm-dev am: e9056a9e9a am: 9e973adf98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17061796

Change-Id: I6a3113f244500fb91a4e56f6c89ef370b82aa8d8
2022-03-04 01:00:23 +00:00
Benno Lin 894984299f Fix Tapl drag to folder issue on S5 and R3
Bug: 205015793
Bug: 205014516
Test: atest Launcher3Tests
Test: https://android-build.googleplex.com/builds/abtd/run/L47800000953216369
Test: https://android-build.googleplex.com/builds/abtd/run/L63300000953213948
Change-Id: If481d2b6503e8d47953b00c102719c447f43da41
2022-03-04 00:58:33 +00:00
TreeHugger Robot 14a860e4a7 Merge "Address some insets issues in Taskbar All Apps" into tm-dev am: e9056a9e9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17061796

Change-Id: I77ae3ecd951bad22d0421934e764089a9be27547
2022-03-04 00:40:03 +00: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
TreeHugger Robot 9e973adf98 Merge "Address some insets issues in Taskbar All Apps" into tm-dev am: e9056a9e9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17061796

Change-Id: Id06bdd8e7eb69e076305e0b6f3acb4bbe2471aa7
2022-03-04 00:39:13 +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
Android Build Coastguard Worker 6878c63da4 Snap for 8249440 from 0968761a4a to sc-qpr3-release
Change-Id: I23abc5bdec7ea50e07136b0773ee3565cd91c5b8
2022-03-04 00:08:42 +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 a0b4ade7b0 Merge "Separating refresh rate tracking to a separate class" into tm-dev am: ed6d3a47c0 am: 2c414d7866
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17037162

Change-Id: Id0d6ea6e0f2c9ee94ec65236f8cfc7facafe888f
2022-03-03 23:43:19 +00:00
Sunny Goyal ca0e858a25 Merge "Separating refresh rate tracking to a separate class" into tm-dev am: ed6d3a47c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17037162

Change-Id: Ic5ab0c8a0b8c1d5582e0be5b9da710c5c3d89945
2022-03-03 23:23:06 +00:00
Sunny Goyal 2c414d7866 Merge "Separating refresh rate tracking to a separate class" into tm-dev am: ed6d3a47c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17037162

Change-Id: I7eb26c21b16cff83181d93474fc8787e60505cf3
2022-03-03 23:20: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 4ad4a6053f [automerger skipped] Merge "Remove popup container drag listener on close complete." into sc-v2-dev am: 1d4dc1ba91 -s ours am: 718f8e7adb -s ours am: 2ac519426d -s ours am: 9545dc1361 -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: I7076300546d6a3660e4d0b7611621ed58370aecd
2022-03-03 22:51:00 +00:00
Brian Isganitis c988590d77 [conflict] Merge changes from topic "presubmit-am-4c8411152aef49f099eee419e063b01e" into sc-v2-dev-plus-aosp am: 087e879b25 am: 221b2d7d5e am: 1cb1de55a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070697

Change-Id: I0484995c5443ec77af0e90555fa4dd7b43e17250
2022-03-03 22:50:09 +00:00
Brian Isganitis 1b12ab2bb4 [automerger skipped] Merge "Remove popup container drag listener on close complete." into sc-v2-dev am: 1d4dc1ba91 -s ours am: 718f8e7adb -s ours am: 2ac519426d -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: Ie6e6890c459f53e7f6ca46919ac4860bf6ea82ff
2022-03-03 22:19:22 +00:00
Brian Isganitis 9545dc1361 [automerger skipped] Merge "Remove popup container drag listener on close complete." into sc-v2-dev am: 1d4dc1ba91 -s ours am: 718f8e7adb -s ours am: 2ac519426d -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: I6910002974f789cf5bdf81303c60742f7b5281e4
2022-03-03 22:18:33 +00:00
Brian Isganitis 1cb1de55a8 [conflict] Merge changes from topic "presubmit-am-4c8411152aef49f099eee419e063b01e" into sc-v2-dev-plus-aosp am: 087e879b25 am: 221b2d7d5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070697

Change-Id: I997fe666b1eb063b660c15955aa25718cf02f19b
2022-03-03 22:17:59 +00:00
Brian Isganitis aece10f13a [conflict] Merge changes from topic "presubmit-am-4c8411152aef49f099eee419e063b01e" into sc-v2-dev-plus-aosp am: 087e879b25 am: 221b2d7d5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070697

Change-Id: I93e0d2cbd79e2c7db87e4910fa3077c7ff3585b5
2022-03-03 22:16:01 +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
Thiru Ramasamy a6440b9c30 Merge "Add OneSearch SuggestionType enums to launcher atom." 2022-03-03 18:44:29 +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 1d4dc1ba91 Merge "Remove popup container drag listener on close complete." into sc-v2-dev 2022-03-03 17:54:12 +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
TreeHugger Robot dbca9009e1 [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: 5e74cd7b06 -s ours am: 1824c1c1e0 -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: I046b83e852447d4184229a487eb6d52e97480d33
2022-03-03 11:51:57 +00:00
TreeHugger Robot f08bc9b078 [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: 6317f38f7e -s ours am: 706a325875 -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: I492d0f4dc14f63d46b45a86c0edff8f565c0c3d6
2022-03-03 11:51:52 +00:00
TreeHugger Robot 66b5a1bb82 Merge changes from topic "presubmit-am-0c24d9f255d6403d89a5c084b9bd0f1a" into sc-qpr1-dev am: 6fc1f0fb5c am: e38b5e54eb am: 7ccf7fd196 am: 13d94f419c am: 072eabb619
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17056089

Change-Id: I37fee07dd850bd80b5adf5aa4a039280a19ac075
2022-03-03 11:51:10 +00:00
Bill Yi 39e3c960d9 [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: e6ce37f624 -s ours am: 75e2b1bd1a -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: I9bdc976e6b5a02a6df37c9b5d89c0232d7a1aa19
2022-03-03 11:51:09 +00:00
TreeHugger Robot e43d0ae945 Merge changes from topic "presubmit-am-c855899eb6884ec09b246be887e3785b" into sc-qpr1-dev am: 4edfbf360a am: 8ba8fad707 am: c7207f179e am: 5e820f3d94 am: 27c90de9f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17057796

Change-Id: I71a6716a8242897e2c4669a390d5de47790f3686
2022-03-03 11:50:35 +00:00
Bill Yi e8a56fcec2 [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: bf44a81624 -s ours am: cc249f0bb4 -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: Ifcbd2e49d9bbb162d5ded518e36076c94f15a4f1
2022-03-03 11:50:34 +00:00
TreeHugger Robot c5e837e568 Merge changes from topic "presubmit-am-d74efe3712a04851a2e98ec622a5cf93" into sc-qpr1-dev am: c466421e1e am: 767c5093cb am: 93f92b26bd am: cee4782fc7 am: dc75179e82
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17058106

Change-Id: I24a63402faac05e00a05e3fd49d594f78ffd3b75
2022-03-03 11:47:23 +00:00
Bill Yi c03f5e8156 [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: bab1205c9f -s ours am: 88395f6d20 -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: Iec6c84e24d56abe2b46ed4e790349f9ad294b0fd
2022-03-03 11:47:22 +00:00
TreeHugger Robot 7e7fd58cdf [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: 5e74cd7b06 -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: I88f8b0f8ab82232175d14016731a5daac8176db5
2022-03-03 11:29:27 +00:00
TreeHugger Robot 52ac358759 [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: 6317f38f7e -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: I33b54e29924dbaf33d7b9fd2a637792b790edb9b
2022-03-03 11:29:22 +00:00