Commit Graph

539 Commits

Author SHA1 Message Date
TreeHugger Robot
93e3b7be9b Merge "ENABLE_WIDGET_PICKER_DEPTH" into tm-qpr-dev am: 01c1dff441 am: 9fc14b94cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21539136

Change-Id: I283fc2baa17b5d75f1eb28bd95b39330d97bb61c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 16:43:31 +00:00
TreeHugger Robot
01c1dff441 Merge "ENABLE_WIDGET_PICKER_DEPTH" into tm-qpr-dev 2023-02-23 13:22:15 +00:00
Alex Chau
facf8c05ca Merge "Revert "Reland "Add logs for InvariantDeviceProfile.getDeviceProfile""" into tm-qpr-dev am: 8da1cac660 am: 0282b6f786
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21539137

Change-Id: Icf19c6b80e9dd42ec42f417b7fc4f05450f11629
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 12:57:25 +00:00
Alex Chau
8da1cac660 Merge "Revert "Reland "Add logs for InvariantDeviceProfile.getDeviceProfile""" into tm-qpr-dev 2023-02-23 10:51:55 +00:00
Sunny Goyal
5b1a6cc137 Merge "Removing some obsolete features" into tm-qpr-dev am: b3a95149f5 am: 51eb7b611b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21537730

Change-Id: I861e29f63df948aca8a6b7c05fa1b31b612cdc7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 09:22:11 +00:00
Sunny Goyal
171bb04407 Removing some obsolete features
Bug: 270386012
Test: Presubmit
Change-Id: I9d68b3d17e02d6e79ab726eb7c8da1e5a4d337ef
2023-02-22 23:17:15 +00:00
Alex Chau
eabf2c39f7 Revert "Reland "Add logs for InvariantDeviceProfile.getDeviceProfile""
This reverts commit 5dfd939d41.

Reason for revert: b/270395565
Bug: 253338238

Change-Id: I6b2e44c92a67f6675d6947f34167a5f0c1cc6a45
2023-02-22 20:31:10 +00:00
Alex Chau
ce9766da2d ENABLE_WIDGET_PICKER_DEPTH
Fix: 270393895
Test: manual
Change-Id: I167354425e5469663c283919f84c8bdf664cceec
2023-02-22 20:18:39 +00:00
Kevin Lim
888a3fe0ca Merge "[DenserUI] Add feature flag for app icon in inline shortcuts." into tm-qpr-dev am: 2d5c2399ed am: 9acf5f147f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21407092

Change-Id: I0f53da52a09f6914323c8d9c6938451396e47e54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 06:23:53 +00:00
Kevin Lim
d8c97f669f [DenserUI] Add feature flag for app icon in inline shortcuts.
Bug: 268667774
Test: Tested in functional change: ag/21409510
Change-Id: Ifbd0bf1ed244e09b85236c02be289bfc026599e3
2023-02-21 21:39:38 +00:00
Jagrut Desai
24e2c3cf09 Merge "Removing ENABLE_ALL_APPS_IN_TASKBAR and FLAG_STASHED_IN_APP_EMPTY Test: Visual(pics in buganizer) Bug: 265462138 Bug: 267382941" into tm-qpr-dev am: 202c68c8a2 am: 594f47ebef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21255946

Change-Id: I66a73aba273072836873c02a41089e1046728dff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 19:11:43 +00:00
Jagrut Desai
202c68c8a2 Merge "Removing ENABLE_ALL_APPS_IN_TASKBAR and FLAG_STASHED_IN_APP_EMPTY Test: Visual(pics in buganizer) Bug: 265462138 Bug: 267382941" into tm-qpr-dev 2023-02-16 17:39:35 +00:00
Schneider Victor-tulias
ae5dc0264a Enable ENABLE_KEYBOARD_QUICK_SWITCH on master
Bug: 267520665
Test: Manually tested alt-tab and alt-shift-tab in and out of overview on a tablet and phone
Change-Id: Ic1f49c097ddfc2303023c1c47df3efca27e73a51
2023-02-14 21:35:31 +00:00
Schneider Victor-tulias
556d37bf01 Merge "Add the KeyboardQuickSwitchView (1/2)" into tm-qpr-dev am: 673e6437b8 am: 031e3d38b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21087434

Change-Id: Ib0389210f200baa71f346edbc0ca78678702707a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-14 19:43:13 +00:00
Schneider Victor-tulias
673e6437b8 Merge "Add the KeyboardQuickSwitchView (1/2)" into tm-qpr-dev 2023-02-14 17:46:23 +00:00
Schneider Victor-tulias
f908729fa8 Add the KeyboardQuickSwitchView (1/2)
Preparatory change for adding the KeyboardQuickSwitchView and associated flows.

Test: Manually tested alt-tab and alt-shift-tab in and out of overview on a tablet and phone
Bug: 258854035
Change-Id: I468481a023e82d3ef7c7d4d44c5b9435173b49ae
2023-02-13 15:34:39 -08:00
Jagrut Desai
ec0b4e1693 Removing ENABLE_ALL_APPS_IN_TASKBAR and FLAG_STASHED_IN_APP_EMPTY
Test: Visual(pics in buganizer)
Bug: 265462138
Bug: 267382941

Change-Id: I223cd5ea7e5b553619dfc81c36f1be93e399639d
2023-02-13 13:34:23 -08:00
Brandon Dayauon
3412c1f152 Merge "Add featureFlag for icon in textheader" into tm-qpr-dev am: 0abe8af6a6 am: 50878a997e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21074659

Change-Id: I99e13e21853ce27ebad9d5175415bbe347c37f5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-13 19:32:21 +00:00
Brandon Dayauon
0abe8af6a6 Merge "Add featureFlag for icon in textheader" into tm-qpr-dev 2023-02-13 17:52:58 +00:00
Nicolò Mazzucato
f907f4a00b Merge "Drive Launcher unfold animation from System UI" into tm-qpr-dev am: 5147b1d509 am: 8778426fa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21298421

Change-Id: I1ef6c450692076c5af7032c60f518f8c01fdff11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 11:00:38 +00:00
Nicolò Mazzucato
5147b1d509 Merge "Drive Launcher unfold animation from System UI" into tm-qpr-dev 2023-02-11 09:24:42 +00:00
Brandon Dayauon
c4d23aad85 Merge "Zero state feature flag" into tm-qpr-dev am: b648c9eda3 am: ea9da690d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20811335

Change-Id: If2ad61afbace6f5033f9998ee156ff91b981add9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-11 07:21:24 +00:00
Brandon Dayauon
b648c9eda3 Merge "Zero state feature flag" into tm-qpr-dev 2023-02-11 05:50:46 +00:00
Lucas Silva
67fa00189d Merge "Allow QuickstepTransitionManager to be overridden" into tm-qpr-dev am: bc333343ec am: 0ee31bb2ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20785348

Change-Id: Ibc9a6b026ec5fc8206b3c86ecc81b38f4a25f6f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 22:17:11 +00:00
Nicolo' Mazzucato
8d9edd292b Drive Launcher unfold animation from System UI
Before this cl, both Launcher and System UI processes were registering for hinge angle and device state (e.g. folded/unfolded) change events to calculate the current unfold animation progress. In some cases, launcher ui thread was busy, delaying the progress calculation from the hinge angle value (that was received ~at the same time by both processes). This resulted in launcher and sysui unfold animation not being synchronized in some cases.

With this cl, System UI process uses OverviewProxyService to send the unfold events to Launcher. In this way, both process always have the exact same progress (+- 1 frame)

This is currently guarded by a launcher flag, by default with the new behaviour, to allow devs to compare the experience and easily debug potential regressions.

Bug: 268490854
Test: Analysed perfetto trace + RemoteUnfoldTransitionProgressProviderTest + manual
Change-Id: If15fd6fe39abb3d922c5fdb327100206dfa3665d
2023-02-10 22:04:19 +00:00
Lucas Silva
bc333343ec Merge "Allow QuickstepTransitionManager to be overridden" into tm-qpr-dev 2023-02-10 20:47:27 +00:00
Lucas Silva
099341fa97 Allow QuickstepTransitionManager to be overridden
This allows for custom animations in classes inheriting from
QuickstepLauncher

Bug: 260637266
Test: flashed device and verified animation
Change-Id: I21fa112851e9ce43037151fc4c2fd21e90056712
2023-02-10 10:41:39 -05:00
Andy Wickham
a0f03eefb1 Merge "Disable floating search bar flag by default." 2023-02-10 01:18:25 +00:00
Charlie Anderson
658183571f Merge "Updating flag for U Popup in separate CL" into tm-qpr-dev am: 007f523251 am: e4c8f837e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21337434

Change-Id: Ic997e40ad292584027b1c47e48812ff0d4971f8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 21:37:11 +00:00
Charlie Anderson
5b3d4806f9 Updating flag for U Popup in separate CL
Bug: b/247880037
Test: manually
Change-Id: I40bbddc801872dcb0c144f77f1c94feed5afaa40
2023-02-09 10:42:12 -05:00
Brandon Dayauon
e8daa3052f Merge "Implement diff haptics going into all apps" into tm-qpr-dev am: f4437f742e am: 004104d3a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20342908

Change-Id: I0fa8362a286e7676af65cdcc69785331f1e5d2f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-09 02:04:23 +00:00
Brandon Dayauon
f4437f742e Merge "Implement diff haptics going into all apps" into tm-qpr-dev 2023-02-09 00:45:24 +00:00
Andy Wickham
e2c2cd9a02 Disable floating search bar flag by default.
Will use experiments to selectively enable this flag.

Bug: 268388460
Bug: 267856434
Test: Manual
Change-Id: I189fd58e5d0a300882a698a7d96c54b9799b146d
2023-02-09 00:25:03 +00:00
TreeHugger Robot
d41e222150 Merge "Remove ENABLE_TASKBAR_REVISED_THRESHOLDS feature flag." into tm-qpr-dev am: 96328e98d1 am: e6ab0e44b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21320084

Change-Id: I62502ea9c3082a45efc58b6dbb28948a6e981f45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-07 22:22:31 +00:00
TreeHugger Robot
96328e98d1 Merge "Remove ENABLE_TASKBAR_REVISED_THRESHOLDS feature flag." into tm-qpr-dev 2023-02-07 21:03:18 +00:00
Brandon Dayauon
12c193e6c5 Implement diff haptics going into all apps
Notes:
* the reason why 0.6 -> 1 never happened was because of AllAppsSwipeController where
it had a clampToProgress. By changing lowerbound to 0 the progress actually shows fully 0->1

- composed the haptics in the constructor
- added new listener class in AATransitionController

Added featureflag

bug: 233751149
test: Manually - presubmit, ran “make -j7 Launcher3” from master branch  photo: https://screenshot.googleplex.com/8r5FZh6buzkQMjk
Change-Id: I5e1a24170fdbfdd35b8d8f24af0ec5e8586641a2
2023-02-07 11:36:42 -08:00
Jon Miranda
24bd17f23d Remove ENABLE_TASKBAR_REVISED_THRESHOLDS feature flag.
Test: manual
Fixes: 268056334
Change-Id: Iab0eb1ca76b49f0acb96f50274cb2c81d9f213a5
2023-02-07 09:09:52 -08:00
Brandon Dayauon
4d607d5948 Merge "Turn on expandable FAB for U" 2023-02-07 17:04:33 +00:00
Holly Jiuyu Sun
8ac64d525b Merge "[play] Add feature flag for play." into tm-qpr-dev am: 2560660062 am: 3665c29238
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21077874

Change-Id: I57be0271774191dd85b94dd8315960b03f346d25
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-07 03:20:58 +00:00
Holly Jiuyu Sun
2560660062 Merge "[play] Add feature flag for play." into tm-qpr-dev 2023-02-07 02:15:14 +00:00
Holly Sun
76bb3bef8e [play] Add feature flag for play.
Bug: 260712395
Test: manual
Change-Id: Ib96ab0789e0648fdc311f31f52b9867fe0253a69
2023-02-06 15:30:34 -08:00
Andy Wickham
8353c38f92 Merge "[revert ^2] Enable Floating Search and update tests accordingly." 2023-02-04 09:19:18 +00:00
TreeHugger Robot
721ea9d3b2 Merge "[QL-v3] Move quick launch v3 flag to AllAppsDeviceConfigFlag" into tm-qpr-dev am: fd9f322bdb am: 3e7a738202
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21148191

Change-Id: I531740c391247b3926649247e7375c7bcc7aa025
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 08:05:11 +00:00
TreeHugger Robot
fd9f322bdb Merge "[QL-v3] Move quick launch v3 flag to AllAppsDeviceConfigFlag" into tm-qpr-dev 2023-02-04 06:53:54 +00:00
Andy Wickham
346771550e [revert ^2] Enable Floating Search and update tests accordingly.
Tests need to be updated to account for the new placement of the
searchbar because it overlapped with touch events for scrolling:
 - Scroll back to top: Instead of scrolling from the top of the
   container which could overlap status bar in landscape, scroll
   from the bottom of the top-most visible app icon.
 - Scroll down: swipe up from bottom padding to top of top-most
   visible icon.
 - Close all apps: swipe down more quickly from top icon insetad
   of the search bar (more quickly helps it be detected as a
   fling on more cramped devices).

For Launcher3, the floating flag is not fully supported yet, so
there were some layout issues which are now resolved by ignoring
the flag if the searchbar is still at the top.

Fix: 261873937
Test: Ran tests, manual
Change-Id: I406fbcbe12acddb1dd4b862a380576a48cabbebc
2023-02-03 14:24:22 -08:00
Pat Manning
e1fabeeabe Merge "Move overview actions to task menu when no focused task." into tm-qpr-dev am: cbedc7ed08 am: 442a4fca3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980940

Change-Id: I3e4b63d43fcb1eaa714268867814cc3031ec8732
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 14:44:00 +00:00
Sam Dubey
29f78a597b Revert "Enable Floating Search by default and update tests accordingly."
This reverts commit 952400d2f2.

Reason for revert: b/267743311

Change-Id: I007274cdea1c424c87ddea4592e9e1c7a273bea9
2023-02-03 12:45:15 +00:00
Andy Wickham
952400d2f2 Enable Floating Search by default and update tests accordingly.
Tests need to be updated to account for the new placement of the
searchbar because it overlapped with touch events for scrolling:
 - Scroll back to top: Instead of scrolling from the top of the
   container which could overlap status bar in landscape, scroll
   from the bottom of the top-most visible app icon.
 - Scroll down: swipe up from bottom padding to top of top-most
   visible icon.
 - Close all apps: swipe down fom top of recyclerview instead
   of search bar.

For Launcher3, the floating flag is not fully supported yet, so
there were some layout issues which are now resolved by ignoring
the flag if the searchbar is still at the top.

Fix: 261873937
Test: Ran tests, manual
Change-Id: I7d6fc7deac630835b96fc173211ce31271152607
2023-02-02 21:05:52 -08:00
Holly Sun
7030729e72 [QL-v3] Move quick launch v3 flag to AllAppsDeviceConfigFlag
Bug: 261629630
Test: manual
Change-Id: I5d553e727748591070e0015f6fec13d1765ff2c0
2023-02-02 13:50:58 -08:00
Brandon Dayauon
e1d8a2d164 Turn on expandable FAB for U
bug: 267638685
test: Manual and presubmit
Change-Id: I70acb6d6c154b607b6fde14fcc4a1375d02eb98a
2023-02-02 18:16:39 +00:00