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
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
1ffc81c7ba
Merge "Register hinge angle sensor listener in a background thread" into tm-dev
2022-03-04 18:18:55 +00:00
Thiru Ramasamy
834f633931
Add ONE_SEARCH_WEB_PERSONAL attribute.
...
Test: wwdebug && wwlogcat; http://gpaste/6052674958000128
Change-Id: Iba1d18060b18ab3dad8947d49a412d34db5ac78c
2022-03-04 09:54:34 -08: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
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
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
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
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
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
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
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
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