Commit Graph

34807 Commits

Author SHA1 Message Date
Pat Manning 35231f3041 Add TAPL tests for hiding the actions view when scrolling away from
focused task in overview.

Test: TaplTestsQuickstep.java
Bug: 197630182
Change-Id: Ie44a5bd99d7c9ffbc5405973c0ba1950cd90665c
2021-09-29 10:30:18 +00:00
Zak Cohen c1359c448d Merge "Remove Content Push prototype." into sc-v2-dev 2021-09-28 20:16:23 +00:00
TreeHugger Robot 9c871ae7b6 Merge "Reset split selection state on animation end instead of success" into sc-v2-dev 2021-09-28 03:43:09 +00:00
Vinit Nayak df7a526931 Merge "Unbind service only if it was bound" into sc-v2-dev 2021-09-27 23:56:21 +00:00
Vinit Nayak 29e900b907 Reset split selection state on animation end instead of success
When overview button tapped in while in overview,
the animation to undo split gets cancelled
(probably because Launcher gets destroyed before the animation
can fully run successfully)

Fixes: 201011797
Test: Same steps in bug don't cause placeholder view
to be shown

Change-Id: I2ea1eac637d6f2a3185d50d01601d3588ec9f535
2021-09-27 16:14:58 -07:00
Vinit Nayak a26e4f8e43 Unbind service only if it was bound
Removed unused SplitPlaceholderView

Fixes: 200004580
Change-Id: I54ee819260ad6e4e6da2d3efafd38bad0336486e
2021-09-27 14:56:45 -07:00
TreeHugger Robot c77e3fde09 Merge "Moving activity tracker to Launcher process" into sc-v2-dev 2021-09-27 20:10:02 +00:00
Zak Cohen b48b84634f Remove Content Push prototype.
Bug: 201314561
Test: Build and run
Change-Id: I64f5ab40b349d68a50b0f49361f019456667b933
2021-09-27 11:57:50 -07:00
Brian Isganitis 03be53443d Merge "Refactor arrow popups to allow easier code overriding and sharing." into sc-v2-dev 2021-09-27 18:31:26 +00:00
TreeHugger Robot fd583efb71 Merge "Remove screen actions plugin" into sc-v2-dev 2021-09-27 17:52:28 +00:00
vadimt 5ade8e890d Moving activity tracker to Launcher process
This will improve diagnostics for OOP tests,
like we now have a list of leaked activity classes.

Also some cleanups.

Bug: 187761685
Test: local runs
Change-Id: I8b5711ac727874fd826cfef9c742ea97048763e0
2021-09-27 17:36:14 +00:00
TreeHugger Robot ac81e8a92a Merge "Fix getWidgetItemSizePx estimation" into sc-v2-dev 2021-09-27 15:52:33 +00:00
Steven Ng 6d8deb32f6 Fix getWidgetItemSizePx estimation
The size returned by getWidgetItemSizePx is used by the widget picker
for the NavigableAppWidgetHostView. We should NOT deduct the padding
applied to NavigableAppWidgetHostView to this size.

If a launcher grid insets NavigableAppWidgetHostView, then we must
add the inset to the NavigableAppWidgetHostView width / height.

Test: Compare the size of widgets in preview and home screen using
      layout inspector. See screenshots in the bug
Fix: 200983939
Change-Id: I35022861b65f2624f69940cf3856d9c47f8dbbd9
2021-09-27 15:01:04 +01:00
TreeHugger Robot d58e7b6fc4 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev 2021-09-25 04:06:48 +00:00
Jonathan Miranda 2eb7511781 Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev 2021-09-25 02:04:48 +00:00
Jonathan Miranda 1fc7507a29 Merge "Update notification dot colors." into sc-v2-dev 2021-09-25 02:03:06 +00:00
Brian Isganitis a85ae69c72 Refactor arrow popups to allow easier code overriding and sharing.
Test: Existing menus work as intended.
Bug: 188222480
Change-Id: I7d19b06ce8bb7d765624c64c0042c4efd6faf348
2021-09-24 20:32:14 -04:00
Zak Cohen 0ba6058f8c Remove screen actions plugin
Bug: 201115460
Test: local build
Change-Id: I22774e464d1230fffff3d512b0b906f999d51080
2021-09-24 23:11:18 +00:00
Jon Miranda 3940470bed Avoids animating the background when launching app targets are translucent.
Bug: 200052247
Test: Pause an app, click on paused app and ensure background does not animate
Change-Id: Ib0a7cac0ab866441dd8fb27831a8333d0c931723
2021-09-24 16:00:25 -07:00
Tony Wickham 2fb815b2fd Cleanup split screen offset in TaskViewSimulator
- Removed mRunningTargetWindowPosition and mSplitOffset, as they countered each other out anyway
- Removed PagedOrientationHandler#setLeashSplitOffset() since it's no longer used

Test: Swipe up from split and non split apps in both orientations on large and small devices, with and without home rotation enabled
Bug: 200817624
Change-Id: I78a80cbc718ee38a8933fa323798fb436710d59f
2021-09-24 15:37:30 -07:00
Tony Wickham 9a0d98f483 Merge "Fix right split screen app going to wrong target" into sc-v2-dev 2021-09-24 22:01:06 +00:00
Bill Yi d52725ab0a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f42e5ea18e -s ours am: 97b30d5a00 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904425

Change-Id: I63649712469ba107e5d5189c1eef8fe11c54b3b9
2021-09-24 20:39:12 +00:00
Bill Yi dd7ef24f01 Merge changes from topic "presubmit-am-ad6d5f64563d48c980b3845a26947098" into sc-qpr1-dev am: b5924a8401
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904425

Change-Id: Ia6dcbf7df3f2aac4e5bc8b73b626ab735971b877
2021-09-24 20:38:54 +00:00
Bill Yi 61f89756c7 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 26e96e5b09 am: f62a8a661b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904425

Change-Id: I15f8fcb70408345c8f2c62a4cdb313be3e888e37
2021-09-24 20:38:53 +00:00
Bill Yi 97b30d5a00 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f42e5ea18e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904425

Change-Id: I4ff66ae9bc727ebd05e06e374b834764570cb12d
2021-09-24 20:38:41 +00:00
Bill Yi b5924a8401 Merge changes from topic "presubmit-am-ad6d5f64563d48c980b3845a26947098" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 26e96e5b09
  Import translations. DO NOT MERGE ANYWHERE
2021-09-24 20:23:17 +00:00
Bill Yi f42e5ea18e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 20:23:17 +00:00
Schneider Victor-tulias 405400c2fe Merge "Fix stalled gesture navigation tutorial." into sc-v2-dev 2021-09-24 19:12:26 +00:00
TreeHugger Robot 8f708342b7 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: c8ae64c30d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904657

Change-Id: I9ebe7f97e9dc5829efb6f537726fb153865a6caa
2021-09-24 18:20:44 +00:00
TreeHugger Robot 8857382282 Merge "Make widget pickers edit text box parent focusable." into sc-v2-dev 2021-09-24 18:17:10 +00:00
Vadim Tryshev fcc51bd1fa Merge "Allowing having only SysUI views before pressHome()" into sc-v2-dev 2021-09-24 18:15:07 +00:00
TreeHugger Robot c8ae64c30d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-09-24 18:06:02 +00:00
Jon Miranda 8d5c8794f9 Update notification dot colors.
Bug: 195140159
Test: put icon with notification inside of a folder
      test light and dark theme

Change-Id: I1cb55c5a653bf6fe02fce8b5877507708d373d1b
2021-09-24 17:51:42 +00:00
Bill Yi 678565d40d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 6eef820c0e -s ours am: b82efa0892 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904417

Change-Id: I54f691b8583471db01e0794ca88a4ffdda4772cc
2021-09-24 17:27:00 +00:00
Bill Yi c8c4b55141 Merge changes from topic "presubmit-am-be485105f9b444559d3c27e9898a99c9" into sc-qpr1-dev am: ccd543980b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904417

Change-Id: If57f095b14f62c88507cef011296a78c91c50b65
2021-09-24 17:26:37 +00:00
Bill Yi 5e2aabd48a [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: aefa1b2863 am: 90df8bcbea -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904417

Change-Id: I5beed8cc8844c23d08255df381406bc2a962c6ee
2021-09-24 17:26:37 +00:00
Bill Yi 938c48478e Merge changes from topic "presubmit-am-9e19ef3aeac3461da35856b896c7b70d" into sc-qpr1-dev am: 0d65dda435
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904652

Change-Id: Iafc9b53d702370b19dd6884bcae8122461bd6bab
2021-09-24 17:26:17 +00:00
Bill Yi 0538ffe1ba [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: fcc30d82cf am: a0156079b4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904652

Change-Id: I0dbd67fef8969cd4cc36461e726f7b78b7cae76e
2021-09-24 17:26:17 +00:00
Bill Yi b82efa0892 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 6eef820c0e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904417

Change-Id: I17d7a81ce77b28d75b85ecdfdcaba84ab31179cd
2021-09-24 17:26:08 +00:00
Vinit Nayak f2907c6ce3 Merge "Hide split options for focused task." into sc-v2-dev 2021-09-24 17:18:02 +00:00
Tracy Zhou cc1e94a982 Merge "Consolidate isTablet logic across Launcher and SysUI" into sc-v2-dev 2021-09-24 17:16:41 +00:00
Bill Yi 6eef820c0e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-09-24 17:11:41 +00:00
Bill Yi ccd543980b Merge changes from topic "presubmit-am-be485105f9b444559d3c27e9898a99c9" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: aefa1b2863
  Import translations. DO NOT MERGE ANYWHERE
2021-09-24 17:11:41 +00:00
Bill Yi 0d65dda435 Merge changes from topic "presubmit-am-9e19ef3aeac3461da35856b896c7b70d" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: fcc30d82cf
  Import translations. DO NOT MERGE ANYWHERE
2021-09-24 17:10:27 +00:00
TreeHugger Robot f20bc6a1b6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 5ea00b5796 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904650

Change-Id: I5fcbfd2e87926ef30fab82f4c9cace1baf516cf3
2021-09-24 17:01:54 +00:00
TreeHugger Robot ebe02e2835 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: adc7b4fbf5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904422

Change-Id: I96853f37a68e78264e3e8c11a73328442243ae49
2021-09-24 17:01:25 +00:00
TreeHugger Robot 0cefad626b Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-24 16:50:35 +00:00
TreeHugger Robot 34f90af89d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-24 16:45:38 +00:00
TreeHugger Robot 3eecc1b472 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-09-24 16:45:36 +00:00
TreeHugger Robot 5ea00b5796 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-09-24 16:44:49 +00:00