Commit Graph

58436 Commits

Author SHA1 Message Date
Bill Yi 46a7262d30 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I87c5b7c67e41d1db02ae5d08b50c7087ec1dfb3c
2021-09-28 02:32:00 +00:00
Vinit Nayak ef25271b2a Merge "Unbind service only if it was bound" into sc-v2-dev am: df7a526931 am: 04fcb16bb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15925082

Change-Id: I4f0daf6e747a9672c3946d85d2d2129315c33ac6
2021-09-28 00:24:26 +00:00
Vinit Nayak 04fcb16bb8 Merge "Unbind service only if it was bound" into sc-v2-dev am: df7a526931
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15925082

Change-Id: I4470906f2cafbaa680baee8dff7fe9aacc9399e7
2021-09-28 00:12:38 +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
Android Build Coastguard Worker 5f810f4cb8 Snap for 7771957 from c77e3fde09 to sc-v2-release
Change-Id: I726b4c08b96e9bbeef64f5027ce97c6d50344fe0
2021-09-27 23:08:08 +00: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 0abaf45250 Merge "Moving activity tracker to Launcher process" into sc-v2-dev am: c77e3fde09 am: 93318f746f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15912383

Change-Id: I1cb8c49ab25dde0deb6417cac5ab582b9ba0d354
2021-09-27 20:47:26 +00:00
TreeHugger Robot 93318f746f Merge "Moving activity tracker to Launcher process" into sc-v2-dev am: c77e3fde09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15912383

Change-Id: I410e69625206328aa72765cea55d05c990d998ae
2021-09-27 20:32:37 +00:00
TreeHugger Robot c77e3fde09 Merge "Moving activity tracker to Launcher process" into sc-v2-dev 2021-09-27 20:10:02 +00:00
Schneider Victor-tulias ab60c1fc6e Update gesture navigation tutorial for foldable devices.
- Updated mock conversation layout to work on large devices.
- Added AnimatedTaskView helper view to animate previous task view.
- Added animation from single previous app to two peaking previous apps.
- Updated app orientation to work with larger screens (forced protrait was causing letterboxing).

Test: manual, tested tutorial on non-foldable device, foldable device (closed, opened in landscape, opened in portait and switching between the three)
Bug: 198434693
Bug: 187701213
Known issue: 200579260

Change-Id: I98cb269f7d25985989cf66e791bf535228ab5293
2021-09-27 19:55:53 +00:00
Brian Isganitis bea022197c Merge "Refactor arrow popups to allow easier code overriding and sharing." into sc-v2-dev am: 03be53443d am: 55626aedb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897839

Change-Id: Ic51602d41a025986dfdf5b502609d5d23bd31bea
2021-09-27 19:06:42 +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 55626aedb4 Merge "Refactor arrow popups to allow easier code overriding and sharing." into sc-v2-dev am: 03be53443d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897839

Change-Id: I21635764787023c6fc7340c7e12f60a939b1dc5d
2021-09-27 18:45:31 +00: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 2c93d473dd Merge "Remove screen actions plugin" into sc-v2-dev am: fd583efb71 am: 19fcff9657
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15475128

Change-Id: I4d196c9caafc48ed7f504673c89d84b053460937
2021-09-27 18:18:17 +00:00
TreeHugger Robot 19fcff9657 Merge "Remove screen actions plugin" into sc-v2-dev am: fd583efb71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15475128

Change-Id: I64ef858331653aaea2804b9fdc69c3c9400eb7c5
2021-09-27 18:04:25 +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 8bdf39445b Merge "Overview - leave modal state on orientation changes." 2021-09-27 16:58:09 +00:00
TreeHugger Robot 9ffe1a7b01 Merge "Fix getWidgetItemSizePx estimation" into sc-v2-dev am: ac81e8a92a am: 4bdc026863
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897184

Change-Id: I40647fc8c45f10de132c6e2599dfbcab65d7908e
2021-09-27 16:38:13 +00:00
TreeHugger Robot 4bdc026863 Merge "Fix getWidgetItemSizePx estimation" into sc-v2-dev am: ac81e8a92a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15897184

Change-Id: I84c24d06cec3001ecc93dd1d904010b473801da2
2021-09-27 16:11:20 +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
Android Build Coastguard Worker 08c6172905 Snap for 7768161 from bd7cead303 to tm-release
Change-Id: I7a3ebb81f5c3452aea7ff4ed5a476dffd9e92700
2021-09-26 01:08:10 +00:00
Android Build Coastguard Worker a88f50aba1 Snap for 7767938 from d58e7b6fc4 to sc-v2-release
Change-Id: I4b62f45e7224f7aafe25ac3f84b5e1b74f21957c
2021-09-25 21:10:52 +00:00
Android Build Coastguard Worker 113ae36074 Snap for 7767098 from 535b128fdf to tm-release
Change-Id: Ie348a088029a0dc4659b83522ffd0c174ac15180
2021-09-25 05:08:09 +00:00
TreeHugger Robot bd7cead303 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev am: d58e7b6fc4 am: 3a684ac265
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910345

Change-Id: Iedec7b38faa175c0ca655fd5ef1d7e32aee3f2ed
2021-09-25 04:33:00 +00:00
TreeHugger Robot 3a684ac265 Merge "Cleanup split screen offset in TaskViewSimulator" into sc-v2-dev am: d58e7b6fc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910345

Change-Id: Idf1e7806ce0dfd81cfd1986b75fdaa587eb67d55
2021-09-25 04:19:27 +00: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 535b128fdf Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev am: 2eb7511781 am: 508814d8f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910515

Change-Id: I94e130af99a41f856399f14f0a761bba1599f433
2021-09-25 02:27:22 +00:00
Jonathan Miranda 8fc7aae956 Merge "Update notification dot colors." into sc-v2-dev am: 1fc7507a29 am: 8bef782317
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15898789

Change-Id: I81659c152e3680c8277673e3e8913eae6ed27035
2021-09-25 02:27:03 +00:00
Jonathan Miranda 508814d8f3 Merge "Avoids animating the background when launching app targets are translucent." into sc-v2-dev am: 2eb7511781
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15910515

Change-Id: Ifba94b72bd0dfe9f57a230f1bdcae7d45f26c526
2021-09-25 02:17:30 +00:00
Jonathan Miranda 8bef782317 Merge "Update notification dot colors." into sc-v2-dev am: 1fc7507a29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15898789

Change-Id: I13a2f85b9f4a2a10db3e91e9165260862c46427d
2021-09-25 02:17:11 +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
Android Build Coastguard Worker cff1423885 Snap for 7766737 from 9a0d98f483 to sc-v2-release
Change-Id: I8f927fef5f602038834326dbd9279a084bd21c4d
2021-09-25 01:08:02 +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
zakcohen accfe86e59 Overview - leave modal state on orientation changes.
Bug: 194424293
Test: Local

Change-Id: I913dd5cb85aa1c52d79a8876a78a677a586da9c7
(cherry picked from commit 5b144ea31f)
2021-09-24 22:44:46 +00: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 ed58800b9b Merge "Fix right split screen app going to wrong target" into sc-v2-dev am: 9a0d98f483 am: 9e3792819d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15900907

Change-Id: I24e976fd4b8be4cead3569631e4e451e9a84a656
2021-09-24 22:32:51 +00:00
sfufa@google.com de0132939b [Foldable] Apply max width to AllApps in unfolded state.
Since we are applying the same iconWidth in AllApps as Workspace in unfolded state, this change restricts AllApps to span only the area required to display AllApps contents and not span full available width. Unfolded/phone behavior remains the same.

Bug: 199959857
Bug: 194259694
Test: visual
Change-Id: Ie5658d566f20e825e666ef17db79a87b07dc2936
2021-09-24 15:18:01 -07:00
Tony Wickham 9e3792819d Merge "Fix right split screen app going to wrong target" into sc-v2-dev am: 9a0d98f483
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15900907

Change-Id: I668265cd6ce821159338f0fda05c78c9a19aadcc
2021-09-24 22:17:43 +00: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 2644dc4d85 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f42e5ea18e -s ours am: 97b30d5a00 -s ours am: 40e99dd418 -s ours am: 918672883a -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: I8c5d9a18ccca634417683f82f6f6beee8d8747f8
2021-09-24 21:09:55 +00:00
Bill Yi 2b02580ed7 Merge changes from topic "presubmit-am-ad6d5f64563d48c980b3845a26947098" into sc-qpr1-dev am: b5924a8401 am: 9830408411 am: 62f316d269
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15904425

Change-Id: I55f91d19e17239c161f6b4155f836adf9973faaa
2021-09-24 21:09:35 +00:00
Bill Yi c34c73a468 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 26e96e5b09 am: f62a8a661b -s ours am: c25c5a9e6a -s ours am: acf73bc1f1 -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: I23e51c61c777d883c7601767feb33693d91db405
2021-09-24 21:09:34 +00:00
Bill Yi 1725de05c3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f42e5ea18e -s ours am: e55ee4385a -s ours am: 102fcaeade -s ours am: a647d9b1c4 -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: I79f49eb391a4e09cd752e25b398b1bb73ed60735
2021-09-24 21:08:52 +00:00