Commit Graph

647 Commits

Author SHA1 Message Date
Tracy Zhou
a71d353ff8 Merge "Implement split from workspace to workspace" into tm-qpr-dev 2022-11-17 07:04:48 +00:00
Jeremy Sim
18618d5635 Merge "Allow user to tap on stashed app to launch task in fullscreen" into tm-qpr-dev am: c480c268e8 am: e589b0bd2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20432050

Change-Id: I4e96a66a8233d39010a0c33fbcf23a9b9d0f5200
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-17 05:23:58 +00:00
Jeremy Sim
6692f78229 Allow user to tap on stashed app to launch task in fullscreen
This patch implements a new feature that allows the user to tap on the staged app rectangle in split staging mode. When the user does so, split selection will be canceled, and the staged app will animate out to fill the screen and launch in fullscreen.

Done by creating a new onClick listener on mFirstFloatingTaskView that sets up the screen-filling animation, and then calls a new RecentsView function, launchStagedTask(), that launches mSplitHiddenTaskView and cleans up RecentsView afterwards (similar to what happens when a split pair is selected, but only one app is launched).

Open issues:
- After the staged task animates out to fill the screen, the task itself loads instantly without animating in. Ideally, it should fade in, similar to what happens when two split tasks are loaded in.

Bug: 257513449
Test: Manual on tablet
Change-Id: I2ae8e13e1c9848aae1978a536766c370949fd08b
2022-11-16 15:28:31 -08:00
Alex Chau
fcaa145be1 Merge "Put IDP.getDeviceProfile logging behind a feature flag" into tm-qpr-dev am: 0ea0b898a5 am: b1c09554cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20469953

Change-Id: Ie563332849a18f2ed6513dde9b66995ad73fdc84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 20:00:27 +00:00
Alex Chau
0ea0b898a5 Merge "Put IDP.getDeviceProfile logging behind a feature flag" into tm-qpr-dev 2022-11-16 19:10:27 +00:00
Tracy Zhou
7e0f5d8a57 Implement split from workspace to workspace
Fixes: 239824922
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/b745433d-cba7-4f7a-a28d-4223d9950c0b
Change-Id: I9bfd5844bb9ccb6e65e77fedb7fbccb37692f812
2022-11-15 22:11:28 -08:00
Andy Wickham
7b9433e6bc Adds flag to show 2 rows of predicted apps in All Apps 0 state.
Test: Manual
Bug: 251593164
Change-Id: Id1c295eda4d1e3ff39285435fc15b3f5ac298dea
2022-11-16 03:50:35 +00:00
Jon Miranda
e6bb4c81d8 Merge "Move feature flags that have been changed to the top of the list." into tm-qpr-dev am: 47bea3eb5b am: df4e63d922
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20482424

Change-Id: Ibcca51644e4bdf00d4e29402a3dbf67c772bad08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 03:07:38 +00:00
Jon Miranda
47bea3eb5b Merge "Move feature flags that have been changed to the top of the list." into tm-qpr-dev 2022-11-16 02:18:50 +00:00
Jon Miranda
deaff5fbb4 Move feature flags that have been changed to the top of the list.
Bug: 259270717
Test: change flag, check that its at the top of the sorted list
Change-Id: Ib10882e8de625471ef430a2f3162b85f9c6e1c1d
2022-11-15 20:16:18 +00:00
Luca Zuccarini
665ac9967b Merge "[Toast] Update A-Z <-> Toast transition for drawable backgrounds." into tm-qpr-dev am: 56ccb4eda5 am: b940d3e458
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20007687

Change-Id: Ida7f988f897da142021571830e1adbfd48c8c25a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-15 11:29:53 +00:00
Luca Zuccarini
56ccb4eda5 Merge "[Toast] Update A-Z <-> Toast transition for drawable backgrounds." into tm-qpr-dev 2022-11-15 10:54:03 +00:00
Saumya Prakash
a836e9ba00 Merge "Add a flag for the redesigned Gesture Nav Tutorial" into tm-qpr-dev am: 59a3c51a43 am: b67ffcb04b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20470536

Change-Id: Ic89466fcf8349427af5b618afacab5d490ab2dfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-15 03:10:37 +00:00
Saumya Prakash
7eac37254b Add a flag for the redesigned Gesture Nav Tutorial
We plan to improve the gesture navigation education tutorial as
discussed and shown in go/gesture-nav-education.

Test: N/A
Bug: 241813570
Change-Id: I2ad8d12cf14c1b3f0eec3208ad12a24ac54b9dbc
2022-11-14 22:38:21 +00:00
Alex Chau
2426514bf6 Put IDP.getDeviceProfile logging behind a feature flag
- To avoid memory regression in performance testse

Fix: 257359801
Test: manual
Change-Id: I5ed768d90dba149eeb8f7be7d1d229b0b599a485
2022-11-14 21:19:44 +00:00
Federico Baron
61dbfde9ed Merge "Add flag for 'Improve widget picker UX on large display form factor'" into tm-qpr-dev am: e779a8c783 am: 9b30b84879
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20341701

Change-Id: I7f4c1c4f43d2132714a98cd3429e7413dbd358b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-14 19:39:06 +00:00
Federico Baron
c0dc93d384 Add flag for 'Improve widget picker UX on large display form factor'
here's how we plan on improving widget picker under this flag: https://docs.google.com/presentation/d/1mcdjJWutr-ZGbPOndhe1D8YCdCh6EbO8eNyK3YMMVEY/edit#slide=id.g1571d496dda_0_145
Test: N/A
Bug: 256684299

Change-Id: I365516b43e70a37c7b93e089b6822c58a0f81540
2022-11-11 22:24:18 +00:00
Anushree Ganjam
9aa386cde2 Merge "Add ENABLE_TOAST_IMPRESSION_LOGGING to FeatureFlags." into tm-qpr-dev am: b63cc3f113 am: 9d77abc3f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20432435

Change-Id: Ifd258e36efa3b175292b7698a4233934abd7fad8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-10 20:44:23 +00:00
Anushree Ganjam
29eb74f9bd Add ENABLE_TOAST_IMPRESSION_LOGGING to FeatureFlags.
Bug: 204781396
Test: Manual
Change-Id: Icd1170d8fc349ca3a50836ef0d1d0c9a0c793002
2022-11-10 17:41:20 +00:00
Luca Zuccarini
431f05b3a0 [Toast] Update A-Z <-> Toast transition for drawable backgrounds.
This and the other change in the topic are protected by a new feature
flag (included here).

Bug: 229297414
Bug: 248006105
Test: manual (see screenshots and recordings in the second bug)
Change-Id: I3478d7e194ee5d3bc4f8affdadbec969c033d084
2022-11-10 14:43:20 +00:00
Holly Jiuyu Sun
a485909d9e Merge "Update gBoard icon to Go/Search depending on suggestions." into tm-qpr-dev am: 341cd8589c am: 9694dbe9a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19993516

Change-Id: I85d746a750ac48db571d4a594994dc93d420901a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 04:58:08 +00:00
Holly Jiuyu Sun
341cd8589c Merge "Update gBoard icon to Go/Search depending on suggestions." into tm-qpr-dev 2022-11-04 03:58:18 +00:00
Holly Jiuyu Sun
a884898c84 Merge "Bring up IME and focus on input when scroll to top." into tm-qpr-dev am: 15bdce40b0 am: 2ebf74cc41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20113360

Change-Id: Id70a8e414b0841d232bea7c48bc492f3541a3d18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 01:13:14 +00:00
Holly Jiuyu Sun
15bdce40b0 Merge "Bring up IME and focus on input when scroll to top." into tm-qpr-dev 2022-11-03 23:54:31 +00:00
Holly Sun
b0fb5096ba Update gBoard icon to Go/Search depending on suggestions.
If there is a highlight item, show Go (->) icon. Otherwise, show Search (magnifying glass) icon.

Implement maybeUpdateEnterKeyIcon() in NexusLauncher because it's gBoard specific.

Test: manual. Verify icon changes according to states.
Bug: 183467628
Bug: 210661150
Change-Id: I5dbcb54a37f9d37ae31bf3eaef241ea8a3ede510
2022-11-03 15:59:02 -07:00
Holly Sun
a793fc6e2c Bring up IME and focus on input when scroll to top.
Do this behind a feature flag AND only when "Always show keyboard" is selected or in prefix state.

Bug: 218846025
Test: keyboard shown when swiping up for QSB and AA+ (both main and work). Keyboard not shown when either the feature flag or Always show keyboard is disabled.
Change-Id: I3df2e0e44a8313eaf749cd6b91b7f9d0b9b80ec3
2022-11-02 15:19:23 -07:00
Sunny Goyal
4393a125a3 Merge "Updating widget prediction handling:" into tm-qpr-dev am: 04356a26c3 am: 69a7ad6097
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20312120

Change-Id: I62f3d68bdb369cc296003bad7a2b668b04427787
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-02 10:04:17 +00:00
Sunny Goyal
3c7054f0d2 Updating widget prediction handling:
When handling widget prediction, first match the full provider names
Only if no widgets are found, match any widget in the package

Bug: 256202399
Test: atest WidgetsPredicationUpdateTaskTest
Change-Id: I5337618d935f8b926803aeefede46059545de72d
2022-11-02 02:24:21 +00:00
Tracy Zhou
ba0b5952c8 Support split from fullscreen with shortcuts
Recording: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/978a3a55-2982-4026-9726-2a73cb694258

TODO: improve transition animation

Bug: 246661484
Test: manual
Change-Id: Id0d1aec0685bc18f4b273f8e466996efc1d9a3d8
Merged-In: Id0d1aec0685bc18f4b273f8e466996efc1d9a3d8
2022-11-01 04:30:39 +00:00
Tracy Zhou
b9baae22bc Support split from fullscreen with shortcuts
Recording: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/978a3a55-2982-4026-9726-2a73cb694258

TODO: improve transition animation

Bug: 246661484
Test: manual
Change-Id: Id0d1aec0685bc18f4b273f8e466996efc1d9a3d8
2022-10-31 06:36:26 +00:00
Sunny Goyal
9fa9b3f76d Merge "Introducing feature flag for optimizing overlay service connection" into tm-qpr-dev am: dd3d50d76a am: ccc4d5d252
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20260490

Change-Id: Ib0dc3502f155d02576c6f6143f3ab87a520973cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-26 17:46:00 +00:00
Sunny Goyal
dd3d50d76a Merge "Introducing feature flag for optimizing overlay service connection" into tm-qpr-dev 2022-10-26 16:24:16 +00:00
Federico Baron
d3b2d80478 Merge "Add new flag for dot pagination" into tm-qpr-dev am: 7c70ba3ede am: e5925f7456
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20258327

Change-Id: Ib70457c32c2f2afa0be397b14d1d72d8eb74ed43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 21:47:04 +00:00
Federico Baron
c6df1cb77a Merge changes If1a00ac6,I5b233070 into tm-qpr-dev am: 7382883ee6 am: 2e5a87ace4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20226238

Change-Id: I3ca6ae3bd9bf9cda8c3d88e7a4aa664557c07286
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 21:46:20 +00:00
Federico Baron
7c70ba3ede Merge "Add new flag for dot pagination" into tm-qpr-dev 2022-10-25 20:37:52 +00:00
Federico Baron
cfa0f833f6 Add new flag for dot pagination
Here we add a flag for adding the dot pagination (same as currently in folders) to workspace

Bug: 254769710
Test: N/A
Change-Id: Id5fc33f61b9814f73afea8c5119c7d8d4ee24756
2022-10-25 18:00:03 +00:00
Federico Baron
69c5f2d840 Add flag for moving the workspace edit buttons to bottom
This flag is for moving the workspace edit buttons to the bottom as per https://docs.google.com/presentation/d/1FOmmCdmGmSMR77_901IOMbvbPVxPmjaAdxZjy-D9tw0/edit#slide=id.g159289e55db_0_229.

Bug: 255586768
Test: N/A
Change-Id: I5b23307081333f80f3a8a1f23aa9a09c5425129d
2022-10-25 10:44:36 -07:00
Tracy Zhou
daad3fefea Support swipe gesture on trackpad to swipe up from app
Bug: 254783214
Test: https://recall.googleplex.com/projects/3388b17c-d22f-46f8-b140-a102690377b4/sessions/92d385dd-bad5-49ea-a0b4-b4bf4010aabb
Change-Id: I74ba4a9e5c5096aaf6475f9cb8f1dc30de48024d
2022-10-22 07:18:16 +00:00
Sunny Goyal
64453ae482 Introducing feature flag for optimizing overlay service connection
Bug: 254903450
Test: n/a
Change-Id: I2286be8583cc6dc46921b9ba8ef5505e5b8f0bf8
2022-10-21 14:07:16 -07:00
Brian Isganitis
ddbe35cc87 Merge "Drag from appDrawer & pin onto secondary display homescreen" into tm-qpr-dev 2022-10-20 18:08:07 +00:00
Federico Baron
50b9039137 Merge changes I03636e28,I6cf6d52e into tm-qpr-dev am: 41235d529b am: 5ff03db6a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20095896

Change-Id: Ia3bc6db3d148ca74ff863b43fcec8aac0cb5cd57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 20:33:40 +00:00
Federico Baron
41235d529b Merge changes I03636e28,I6cf6d52e into tm-qpr-dev
* changes:
  Fix page indicator dots height in workspace
  Change delightful pagination flag and use it for workspace
2022-10-19 19:33:18 +00:00
Sukesh Ram
b066f41fa3 Drag from appDrawer & pin onto secondary display homescreen
Bug: 239246505
Test: Manual
Change-Id: I817d8ef700f2d7caec6fa63123935502f17f2d2f
Merged-In: I817d8ef700f2d7caec6fa63123935502f17f2d2f
2022-10-19 18:22:01 +00:00
Alex Chau
ce226c65b5 Merge changes from topic "widget_blur" into tm-qpr-dev am: 8dac89d235 am: 95759878e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20225103

Change-Id: Icf87c7e1a762d2ba531006ae2599ae75e7e05749
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 10:50:53 +00:00
Alex Chau
1852459977 Enable wallpaper blur for widget picker
Fix: 240580498
Test: Go to walppaper&style, set new wallpaper, then go to widget picker, wallpaper depth should transition smoothly
Change-Id: Iadabd0e755f861fb1e8967209dd647faed6e4916
2022-10-18 17:07:47 +01:00
TreeHugger Robot
17ccbb9058 Merge "Revert "Enable taskbar in overview by default"" into tm-qpr-dev am: 126d178358 am: 5b9e0cf902
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20207527

Change-Id: Id785ae174b5c77844457da44bf949280e689fcc9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 18:40:13 +00:00
Alex Chau
6f0b0fe742 Revert "Enable taskbar in overview by default"
This reverts commit 517131ae1c.

Reason for revert: Reverting until b/251747761 is addressed
Bug: 245320601

Change-Id: Ic5ebc071f092c8f91ff879a59d89c3be4326c90e
2022-10-17 14:38:09 +00:00
TreeHugger Robot
92d7ca5fe9 Merge "Enable taskbar in overview by default" into tm-qpr-dev am: 2613431914 am: afda58246e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20111701

Change-Id: I82afb64f29c925a4e39c5ab1bb2b0304733bfd43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-12 13:22:02 +00:00
Alex Chau
517131ae1c Enable taskbar in overview by default
- Also changed expectation in test that taskbar is visible in overview

Fix: 245320601
Test: presubmit
Change-Id: If1ed44f542e5907860f7ab8182e4b45172346f3f
2022-10-11 18:48:45 +01:00
Jon Miranda
23252222e7 Add ENABLE_TRANSIENT_TASKBAR feature flag. am: efd41a717e am: 0a69f652ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20159824

Change-Id: I547e3fd9770bf965cdadeb69c8decffdd81bbe61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 06:00:03 +00:00