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
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
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
Thiru Ramasamy
99124c0d28
Merge "Adds StatsLatencyLogger library." into tm-dev am: 18b9d159ce am: 56e010b54f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070491
Change-Id: I09445e3fc67f44269aae77806dfc9e7a373a8f11
2022-03-04 17:12:45 +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
Riddle Hsu
26235dfbb4
Merge "Get display id from display instead of the display of root view" into tm-dev am: 14fc5bbc7a am: 81c7cb6b6e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17063755
Change-Id: I28655c9537e9731942982460074c60ccff092f87
2022-03-04 10:19:22 +00:00
Riddle Hsu
93ec5b8b36
Merge "Get display id from display instead of the display of root view" into tm-dev am: 14fc5bbc7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17063755
Change-Id: I67b8266f431ff86d6d79379e8816419102702f9e
2022-03-04 09:58:21 +00:00
Riddle Hsu
81c7cb6b6e
Merge "Get display id from display instead of the display of root view" into tm-dev am: 14fc5bbc7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17063755
Change-Id: I41fad6e070e468a124e847c20594419e0457bbca
2022-03-04 09:57:06 +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
4870420326
Merge "Cancel recents animation when touch home key(2/2)" into tm-dev am: 63e4070791 am: 97da9ae02d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16981431
Change-Id: Id85d35270b0e56b2812e70fedc2d09f8bfe84d8e
2022-03-04 09:24:04 +00:00
Wei Sheng Shih
f516cb6fb5
Merge "Cancel recents animation when touch home key(2/2)" into tm-dev am: 63e4070791
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16981431
Change-Id: I62ee89fa38a051ba271042d8edb9e1863c0e8f27
2022-03-04 09:02:24 +00:00
Wei Sheng Shih
97da9ae02d
Merge "Cancel recents animation when touch home key(2/2)" into tm-dev am: 63e4070791
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16981431
Change-Id: I38a63fe0b57f1451efb28201c3e1efae1d0ed505
2022-03-04 09:01:11 +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
Android Build Coastguard Worker
a8fd28af16
Snap for 8251073 from a6440b9c30 to udc-release
...
Change-Id: Ic082d3ad663f92ef3c19b0e864d0f2b3ba2e6abf
2022-03-04 04:08:27 +00:00
Winson Chung
928d191fab
Merge "Provide content insets while in SUW in portrait mode" into tm-dev am: 7e426a3933 am: b5ab98b689
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17073451
Change-Id: I380d1fff8c3b481a0ba75b6c26b90c87ba15d58b
2022-03-04 04:07:08 +00:00
Winson Chung
b5ab98b689
Merge "Provide content insets while in SUW in portrait mode" into tm-dev am: 7e426a3933
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17073451
Change-Id: I643c724ae5d4b536e26e729fa31fba99035e64ed
2022-03-04 03:45:09 +00:00
Winson Chung
4b44c7b86e
Merge "Provide content insets while in SUW in portrait mode" into tm-dev am: 7e426a3933
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17073451
Change-Id: I90e5d1cb6e92228605cc379ce54cbab5a82504ca
2022-03-04 03:44:43 +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
2d4709ea58
Merge "Add empty implementation for item_attributes field on Launcher." into tm-dev am: f93e8b26d5 am: 0a0611aee4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070489
Change-Id: I97a9066b0745a8df0cb422911c29692dc885100b
2022-03-04 03:03:05 +00:00
TreeHugger Robot
ada2370ee3
Merge "Use shared insets resize animation duration for taskbar stashing" into tm-dev am: 4180a79d2b am: 07af2322cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17072847
Change-Id: I319254d2a4a12964a99717d12ec1469d4619fe10
2022-03-04 03:01:44 +00:00
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