Commit Graph
5242 Commits
Author SHA1 Message Date
Vadim Tryshev df12e20e94 Merge "Instrumenting swiping up to all apps for jank" into sc-dev am: 06df8d7262
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13536203

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id700d71b56ee79949544c3d28f1a4ac14acfcb6d
2021-02-23 19:01:07 +00:00
Vadim Tryshev 06df8d7262 Merge "Instrumenting swiping up to all apps for jank" into sc-dev 2021-02-23 18:32:23 +00:00
thiruram 59ee2ed28b [AA+] Add WW logging for Slice actions. am: d0ab1a0eed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13612485

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaa21b2685ebf560737acc409ca8510309283edd8
2021-02-23 05:58:23 +00:00
thiruram 84152b0327 [AA+] Log additional UI events with Launcher snapshot logging. am: 97710ffbb2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13658540

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9aa3d110a120461dc57e50b3f9b04c6e4c58a54b
2021-02-23 04:32:49 +00:00
thiruram d0ab1a0eed [AA+] Add WW logging for Slice actions.
Bug: 178562918
Test: Manual
Change-Id: I515ee3c0990dea2c30e68d5919568dc1773912ee
2021-02-22 20:07:29 -08:00
thiruram 97710ffbb2 [AA+] Log additional UI events with Launcher snapshot logging.
Bug: 180418845
Test: Manual
Change-Id: I74ab1faafe6c21a8fbf6992a8aebe918cc31d85e
2021-02-23 02:59:43 +00:00
Tony Wickham 18277e9cf2 Merge "Increase taskbar size to match latest specs" into sc-dev am: f3b8797f77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13664419

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib04100b7c442426d889eeb0ae88448fa11ac88d2
2021-02-23 00:17:38 +00:00
Tony Wickham f3b8797f77 Merge "Increase taskbar size to match latest specs" into sc-dev 2021-02-22 23:51:04 +00:00
thiruram 221cad0d7e [AA+] Log tap on SearchActionItem. am: f8f2a6ed0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13630035

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1236c4f08efcc28199bc0c89948a8bfb15c611ca
2021-02-22 23:09:46 +00:00
thiruram f8f2a6ed0a [AA+] Log tap on SearchActionItem.
Bug: 178562918
Test: Presubmit
Change-Id: I42a44de4f3cc02ca331c4f99c107891c4658995d
2021-02-22 22:39:41 +00:00
Tony Wickham 40fbc96a0a Increase taskbar size to match latest specs
Test: Ran it locally, verified it looked as expected
Bug: 171917176
Change-Id: I8a467db57b579f1ad29d2108927eef3bd10b273a
2021-02-22 11:59:43 -08:00
Hyunyoung Song a312772d90 Merge "Add group highlighting to AA+ result" into sc-dev am: dfdeddc66a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13597046

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8a3df0f65885084f9ea5c852ff354a821b98347f
2021-02-19 21:03:10 +00:00
Hyunyoung Song dfdeddc66a Merge "Add group highlighting to AA+ result" into sc-dev 2021-02-19 20:48:37 +00:00
TreeHugger Robot c0a1467369 Merge changes Id68b6c37,I16d39d3e into sc-dev am: aa14b19725
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13617907

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I651d4778d6d41a18115eaf15aede6c7ee29d62a6
2021-02-19 19:32:44 +00:00
TreeHugger Robot aa14b19725 Merge changes Id68b6c37,I16d39d3e into sc-dev
* changes:
  Fix a couple of crashes when taskbar isn't yet attached
  Subtract taskbar size from DeviceProfile#availableHeight
2021-02-19 19:01:38 +00:00
Tony Wickham 786dd93f2b Fix a couple of crashes when taskbar isn't yet attached
- Handle back to back addTaskbarIfNecessary(). Specifically, handle
  cleanup() before the previous add was attached. This is already
  handled on WM side, just had to remove isAttachedToWindow() check.
- Add isAttachedToWindow() check to isViewInTaskbar()

Test: call addTaskbarIfNecessary() three times back to back, ensure no crash.

Fixes: 180509238
Bug: 171917176
Change-Id: Id68b6c376029eb5c651f47afa56666391c516aef
2021-02-18 15:40:33 -08:00
Alex Chau 67a3f2a0e0 Merge "Use PersistedTaskSnapshotData to calculate TaskView size" into sc-dev am: 0bd7c9bf46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13562502

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I312820b774cfdc0a946216e9c50e3d787d7809ff
2021-02-18 21:42:31 +00:00
Alex Chau 0bd7c9bf46 Merge "Use PersistedTaskSnapshotData to calculate TaskView size" into sc-dev 2021-02-18 21:15:10 +00:00
Tony Wickham 15883891ea Subtract taskbar size from DeviceProfile#availableHeight
Normally availableHeight excludes system insets, but taskbar is added
after availableHeight is calculated. This discrepency causes some bad
calculations such as TaskView size.

Test: touch nav bar when in an app with taskbar present, ensure the
task doesn't jump due to incorrect calculation

Fixes: 179478728
Bug: 171917176
Change-Id: I16d39d3e1d9708e2a64c81b1ac24466f9567d1b9
2021-02-18 11:39:10 -08:00
Hyunyoung Song db9a53d9aa Add group highlighting to AA+ result
Bug: 180071886
Test: manual
Change-Id: Id1cc3d7400e1a7fe41af272d689aa9315030b420
2021-02-18 02:19:27 -08:00
Sunny Goyal 8bd94baa08 Merge "Removing menu and dialog for custom actions hanlding. These do not work well with gesture-nav and can potentially block the Launcher UI." into sc-dev am: 3c5e748b36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13540210

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icffdaeb2713db9e2b1efa2e651d3426d7ea8dac0
2021-02-17 22:04:15 +00:00
Sunny Goyal 3c5e748b36 Merge "Removing menu and dialog for custom actions hanlding. These do not work well with gesture-nav and can potentially block the Launcher UI." into sc-dev 2021-02-17 21:40:26 +00:00
Vinit Nayak 08219531ec Merge "Update System settings content observer to cache values." into sc-dev am: 4d6b0270ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556230

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8f94656817f2eebf2a86e28ade9c0be62ea0a3ef
2021-02-17 17:33:49 +00:00
Vinit Nayak 4d6b0270ab Merge "Update System settings content observer to cache values." into sc-dev 2021-02-17 17:05:59 +00:00
Alex Chau 3a06568d8b Use PersistedTaskSnapshotData to calculate TaskView size
- Disabled variable width for running task, as PersistedTaskSnapshotData is not always up to date for current task after rotating the device

Bug: 174464656
Test: Test tablet overview with different comination of portrait/landscape wide/narrow thumbnails in portrait/landscape
Change-Id: Ifa01e72020ccaf422e3975b092462de85fa19efd
2021-02-17 11:41:24 +00:00
Vinit Nayak a34af18b0e Update System settings content observer to cache values.
Existing ContentObserver will cache values and overwrite
them when the value itself is modified or caller force
updates.

Bug: 149571513
Test: Wrote unit tests, mostly for caching logic.
Not meant to test ContentObserver contract for registering an
observer.

Change-Id: I12835f6c2be27ce17f65a55c51c4ef85c63b4487
2021-02-16 20:58:53 -08:00
Vadim Tryshev a76a79f2d9 Merge "Switching overlays more correctly" into sc-dev am: b6d28e885d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13563267

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6cb9d86715c4bc557545a28df2095e3354304b4c
2021-02-17 03:49:07 +00:00
Tony Wickham a62a36cac1 Draw folder leave-behind when opening folder in taskbar am: bb4de85c25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13546997

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2a5a34ecdfa402b7eb5d51354b650755a5d52496
2021-02-17 03:48:54 +00:00
Tony Wickham b1f9d5853c Folder support in Taskbar am: 7ba547cd2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13545778

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idfb7bee634c590d3c6bf83856d37959b5f61ecb4
2021-02-17 03:48:53 +00:00
Vadim Tryshev b6d28e885d Merge "Switching overlays more correctly" into sc-dev 2021-02-17 03:20:55 +00:00
vadimt a9740ecc8f Switching overlays more correctly
Test: presubmit
Bug: 180114721
Change-Id: I0d8d0c70ef34ec941e28704d06f9df5f17782155
2021-02-16 23:22:36 +00:00
Tony Wickham bb4de85c25 Draw folder leave-behind when opening folder in taskbar
Previously there was only support for CellLayout to draw the
leave-behind. Added FolderIconParent interface so any parent can
draw the leave-behind, and implement that by TaskbarView.

Test: Open folder in Taskber, ensure leave-behind draws

Bug: 171917176
Change-Id: I08d1d939a34f971f893994fe05cac972d165ef53
2021-02-16 15:10:05 -08:00
Tony Wickham 7ba547cd2d Folder support in Taskbar
- Add TaskbarActivityContext which allows shared Launcher elements to
  "just work" using existing generic ActivityContext.
- TaskbarContainerView extends BaseDragLayer<TaskbarActivityContext>.
- Inflate FolderIcon and Folder using TaskbarActivityContext to be
  shown in TaskbarContainerView.
- Use TaskbarActivityContext's DeviceProfile to determine icon size
  instead of overriding in styles. This also ensures that normal
  BubbleTextView icons have the same size as FolderIcons.

Test: Place a folder in home screen hotseat, ensure it shows up in
taskbar and can be opened, and that apps inside it can be launched
or dragged.
Bug: 171917176

Change-Id: Ic25d2f84bcd7e3399c88989305ea565497c030d9
2021-02-16 15:07:01 -08:00
Sunny Goyal 384b578ab2 Removing menu and dialog for custom actions hanlding.
These do not work well with gesture-nav and can potentially
block the Launcher UI.

Instead exposing on custom actions with keyboard accelerator and
using thee internal arrowPopup for resize options
Fixing SecondoryDropTarget not sending appropriate stats log

Bug: 179854703
Test: Verified on device
Change-Id: I268690f8a937896e4350496128a38959003f8939
2021-02-16 10:45:06 -08:00
Andy Wickham df471d9bc6 Merge "Adds CONTAINER_QSB to be used for QSB data." into sc-dev am: 9199fd1831
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13549792

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I865c2661ebffb67962a18fdf2748ae3f24645d25
2021-02-16 05:51:03 +00:00
Andy Wickham 9199fd1831 Merge "Adds CONTAINER_QSB to be used for QSB data." into sc-dev 2021-02-16 05:35:56 +00:00
thiruram 97d228aea0 [AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId. am: c96873caad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13555897

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I71c044387453e9722f516fe57b1be4e40d25f19e
2021-02-16 00:27:06 +00:00
thiruram c96873caad [AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId.
* Transitions between AllApps and App screen logs LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events. This change add InstanceId specific to the current AllApps session to these logs; this will help to regenerate AllApps session from logs on the server side. This should only affect logs from AllApps screen, but not others.

* Removes LiveSearchManager.allAppsLogger method as it may create confusion with 2 methods for logging into Statsd

* Moved AllApps entry and exit logs to Launcher.

Bug: 178562918
Test: Manual
Change-Id: I5fab941777a3dfd2e9b19c0efd5b06d3884222ef
2021-02-15 23:56:52 +00:00
Zak Cohen 5a727f2040 Merge "Adjust task padding overview to match new specs." into sc-dev am: 0d1fa0ee8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547667

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I572348ebb4c80961fb1f384bd59e106e61d0de1c
2021-02-13 01:40:17 +00:00
Zak Cohen 11e2ad20df Merge "Remove elevation from Task in Overview." into sc-dev am: fe7fb09b90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547665

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic08a3494240ee0fb31ff03db3cefea6b9ca69eb8
2021-02-13 01:40:12 +00:00
Zak Cohen 2d6be100ff Merge "Remove scaling and dimming for adjacent tasks in Overview." into sc-dev am: e38dc9b5f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13547666

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I853b00927235dd831c9cd2bfdfe28fec94cd0c6d
2021-02-13 01:40:05 +00:00
Zak Cohen 0d1fa0ee8d Merge "Adjust task padding overview to match new specs." into sc-dev 2021-02-13 01:23:38 +00:00
Zak Cohen fe7fb09b90 Merge "Remove elevation from Task in Overview." into sc-dev 2021-02-13 01:23:02 +00:00
Zak Cohen e38dc9b5f8 Merge "Remove scaling and dimming for adjacent tasks in Overview." into sc-dev 2021-02-13 01:22:51 +00:00
Sreyas Rangaraju 90ebc3437d Merge "Updated TaskMenuView." into sc-dev am: 4e6a7e340d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556167

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I47e10ad43083c6637fedb87e471ad29618cf2903
2021-02-12 23:56:44 +00:00
Sreyas Rangaraju 4e6a7e340d Merge "Updated TaskMenuView." into sc-dev 2021-02-12 23:11:39 +00:00
thiruram 68bd23f948 [AA+] Log app launches with AllApps session InstanceId when current state is ALL_APPS. am: 6600860f0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13556166

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ice84a6c41d105308fbf443ad34907cc6eea2b9a9
2021-02-12 20:15:22 +00:00
thiruram 6600860f0f [AA+] Log app launches with AllApps session InstanceId when current state is ALL_APPS.
Bug: 178562918
Test: Manual
Change-Id: I65b264cc37079280b59179d5b2f29b67e7a12cc5
2021-02-12 20:02:41 +00:00
Rajeev Kumar 94128f5cae Merge "Add NIU Actions buttons to the Go Overview" into sc-dev am: 1216e5999e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13488937

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3942b16d6772909ae8431472eeb6fd4a42466bd0
2021-02-12 18:50:11 +00:00
Rajeev Kumar 1216e5999e Merge "Add NIU Actions buttons to the Go Overview" into sc-dev 2021-02-12 18:23:17 +00:00