Commit Graph

13506 Commits

Author SHA1 Message Date
TreeHugger Robot 00d3c41b66 Merge "Make AllAppsEntry and exit events optional." into tm-dev am: 8e432009d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17126208

Change-Id: I4da5abf29393305cd10bf7e351b2ea2df9da0e29
2022-03-09 23:52:51 +00:00
TreeHugger Robot 8e432009d6 Merge "Make AllAppsEntry and exit events optional." into tm-dev 2022-03-09 23:36:30 +00:00
Thiru Ramasamy aeadd1e729 Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev am: fe72583a86
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17128393

Change-Id: Ic6d8605d6ae50fbd56ee3836a83ccfdb1358e6d0
2022-03-09 23:28:03 +00:00
Thiru Ramasamy fe72583a86 Merge "[OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event." into tm-dev 2022-03-09 23:11:16 +00:00
TreeHugger Robot 8ccc2bbf43 Merge "Updating window manager estimation logic:" into tm-dev am: d586e1948b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17070486

Change-Id: I02864003cf66b733a420afec69756edade427cc4
2022-03-09 22:38:35 +00:00
TreeHugger Robot 5e862806ad Merge "Remove stale log statement for b/195430732" into tm-dev am: 94a54982b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17125713

Change-Id: Ida11bbefeb5ec90c3ce578add4b0a53af1cb7925
2022-03-09 22:38:11 +00:00
TreeHugger Robot d586e1948b Merge "Updating window manager estimation logic:" into tm-dev 2022-03-09 22:24:12 +00:00
TreeHugger Robot 94a54982b9 Merge "Remove stale log statement for b/195430732" into tm-dev 2022-03-09 22:22:15 +00:00
Sunny Goyal 187b16cb91 Updating window manager estimation logic:
> Moving the code from ApiWrapper to Resource overlays for better maintainability
> Accounting for display cutouts in insets estimation
> Using same logic in display controller and view inset dispatching

Test: Verified on device
Bug: 221961069
Change-Id: I78466353563692ce3f7512b0146ef8b61ef14bc0
2022-03-09 11:15:58 -08:00
Schneider Victor-tulias cb36451121 Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev am: 59534c7a24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17109867

Change-Id: I39b15b54d99aa3ac9c2015e071b580dd112d99c0
2022-03-09 18:33:15 +00:00
Schneider Victor-tulias 59534c7a24 Merge "Fixing crashloop where LauncherActivityInfo can be null during icon query." into tm-dev 2022-03-09 18:13:18 +00:00
Sam Dubey 523fc8afcf Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev am: a57dc7d402
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17141723

Change-Id: Ifb7d6af1e3c61fbd85518043c3c6d57dacefb358
2022-03-09 18:00:34 +00:00
Sam Dubey a57dc7d402 Merge "Revert "Extract out common adapter logic to support different Al..."" into tm-dev 2022-03-09 17:32:34 +00:00
Sam Dubey 4f1a232cca Revert "Extract out common adapter logic to support different Al..."
Revert "Fixing AdapterItem import"

Revert submission 17044827-tm-dev-216150568

Reason for revert: Broke builds
Bug: 223609269
Reverted Changes:
I53eba3c8c:Fixing AdapterItem import
I1068e75d0:Extract out common adapter logic to support differ...
I24d8e54e8:Fix AdapterItem imports

Change-Id: I931c666db7dcb2c8eef1894b56b59ed688218def
2022-03-09 17:25:15 +00:00
Abhilasha Chahal 27ef4654b6 Merge "Extract out common adapter logic to support different AllApps layouts" into tm-dev am: c19c0f9eab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17044827

Change-Id: Ic14c2bc75f1c700d68adc6352f316535789218af
2022-03-09 16:40:48 +00:00
TreeHugger Robot 19a62ee714 Merge "Shrink hotseat icons size in large tablet portrait" into tm-dev am: 22d263a080
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17136843

Change-Id: I3832a887db6ceafb0ab599be91738df91bfbfddc
2022-03-09 16:40:12 +00:00
Abhilasha Chahal c19c0f9eab Merge "Extract out common adapter logic to support different AllApps layouts" into tm-dev 2022-03-09 16:25:00 +00:00
Thiru Ramasamy 694407ce08 Make AllAppsEntry and exit events optional.
This change will allow us to skip logging AllApps entry and exit events when entering into AllApps state from QSB.

Bug: 210792253
Test: wwdebug && wwlogcat
Change-Id: I658ff0842c72aa27335d426abaa46435ae312941
2022-03-09 07:14:36 -08:00
Thiru Ramasamy 2f733b6ce9 [OneSearch] Add LAUNCHER_ALLAPPS_SCROLLED event.
* Simplified logcat message
* Log latency events with different tag to help filter event logs from latency logs.

Bug: 210792253
Test: wwdebug && wwlogcat - http://gpaste/6546219850530816
Change-Id: I975a7140d14d3cb45f50d7db64aac3fa83ccd389
2022-03-09 07:14:01 -08:00
Alex Chau 8175da9644 Shrink hotseat icons size in large tablet portrait
Fix: 214882090
Test: large tablet shrink hotseat icons size in both orientation
Test: Launcher3 without inline QSB does not shrink hotseat icon size
Change-Id: I5e325924aae056d42f01c08624b97a57359dbf08
2022-03-09 13:36:23 +00:00
Vinit Nayak 824d036378 Remove stale log statement for b/195430732
Fixes: 195430732
Change-Id: I29e2ea3930238da4fe37f73a1368c4d233841cd0
2022-03-08 17:24:38 -08:00
TreeHugger Robot 82cb3e4d68 Merge "Widgets - Filter work widgets when Work Profile is paused." into tm-dev am: a33117ddb3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17125528

Change-Id: I8c7efc8188a6e4886f92e0d0971ed687e0f735b3
2022-03-08 22:38:47 +00:00
TreeHugger Robot a33117ddb3 Merge "Widgets - Filter work widgets when Work Profile is paused." into tm-dev 2022-03-08 22:09:11 +00:00
Zak Cohen 8e6c9bbb3e Widgets - Filter work widgets when Work Profile is paused.
Test: local
Bug: 188227318

Change-Id: Icbe6f69de9f3776c88df8c56468531940b54f239
2022-03-08 11:33:46 -08:00
TreeHugger Robot 04e190e6f4 Merge "Allow icons to take up full width in all cases where width > height." into tm-dev am: 906e96a68e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17074227

Change-Id: Ifd20c39684d4ef8a63a8697ee870e083e3f780b2
2022-03-08 19:21:48 +00:00
Schneider Victor-tulias 94f7a90774 Merge "Add method to pause expensive view updates during the app launch aimation" into tm-dev am: ed8f41b5e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17085606

Change-Id: Ia6b3ab7aa49a15b8c41de1be1a0a4e6b6e217270
2022-03-08 19:21:10 +00:00
TreeHugger Robot 906e96a68e Merge "Allow icons to take up full width in all cases where width > height." into tm-dev 2022-03-08 19:08:59 +00:00
Schneider Victor-tulias ed8f41b5e2 Merge "Add method to pause expensive view updates during the app launch aimation" into tm-dev 2022-03-08 18:41:04 +00:00
Jon Miranda 58e684ec26 Merge "Let BubbleTextHolder extend IconLabelDotView" into tm-dev am: f4f6be6080
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17111270

Change-Id: I2911372516381c52c8cf13e30bf877b380bea296
2022-03-08 16:24:42 +00:00
Jon Miranda f4f6be6080 Merge "Let BubbleTextHolder extend IconLabelDotView" into tm-dev 2022-03-08 15:58:21 +00:00
Alex Chau f079e78cb8 Merge "Use less icons in hotseat when in 3 button nav for tablet" into tm-dev am: d8a37c2e12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16988303

Change-Id: I73e5e382d7b4d64a5f360ffeca1b0de570f896ff
2022-03-08 12:22:07 +00:00
Alex Chau d8a37c2e12 Merge "Use less icons in hotseat when in 3 button nav for tablet" into tm-dev 2022-03-08 11:58:55 +00:00
TreeHugger Robot 8c56b8862f Merge "[OneSearch] Add packageId as an int for latency logging." into tm-dev am: f0758df1b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17084437

Change-Id: I519ec9f5f4871655a8d88bc7351b6bdad7fab92a
2022-03-08 09:19:11 +00:00
Becky Qiu 50c49447cc [OneSearch] Add packageId as an int for latency logging.
Enum defined in NexusLauncher.

Bug: 210790418
Test: manual, see log result in the NL cl.
Change-Id: I03a2a9831fc4cf34f3160f098739a7afd2900ec2
2022-03-07 20:51:22 -08:00
Jon Miranda 39334f4013 Allow icons to take up full width in all cases where width > height.
Previously we only let the icons take up the max width if the
device was in vertical bar layout. For tablets this meant
that the icons would be smaller than the actual window crop.

We want the full width in any cases where the profile width
is greater than the height, so created a new method to check for that.

Bug: 203157974
Test: phone/tablet in portrait/landscape
Change-Id: I467f142bac87ec7c3b369c01f8d9c96ddf74fc76
2022-03-07 18:17:50 -08:00
Schneider Victor-tulias 64b3497301 Fixing crashloop where LauncherActivityInfo can be null during icon query.
The previous icon loading path checked that the LauncherActivityInfo was not null and did nothing otherwise. Updating bulk icon loading path to do the same.

Fixes: 223219500
Test: manual
Change-Id: I79b7f15c65183f42ed6a23fec05558c250150cb6
2022-03-07 23:22:29 +00:00
Jon Miranda a0fb57dc43 Let BubbleTextHolder extend IconLabelDotView
This properly hides just the icon/dot and leaves the
text for All Apps views  during the app launch/exit animation.

Bug: 213306709
Test: open/close apps on workspace, open/swipe back apps in all apps
Change-Id: I327ce3e41298e50e34b8809491fc6d97a89f9f96
2022-03-07 14:45:13 -08: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
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
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
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
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
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 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 b097f24610 Adds StatsLatencyLogger library.
Test: build NexusLauncherDebug; wwdebug && wwlogcat
Change-Id: Ib1f1aeb78d1cb930ca680439341de6be5e5be2dd
2022-03-03 17:33:24 -08: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