Commit Graph

730 Commits

Author SHA1 Message Date
Holly Sun
cd5d9a70b2 [Play] Enable play flag by default on client side for udc-d1-dev.
Bug: 275082654
Test: N/A
Flag: ENABLE_SEARCH_UNINSTALLED_APPS
Change-Id: I22032f99dd0f3b84e34eb3ee5394901d10a4f9f4
2023-06-13 22:55:48 +00:00
Sebastian Franco
76a1ceb5f2 Remove flags ENABLE_TWO_PANEL_HOME FOLDABLE_WORKSPACE_REORDE and FOLDABLE_SINGLE_PAGE
Fix: 270392643
Fix: 270395070
Fix: 270395274
Test: atest FoldableItemsIntegrity
Change-Id: I2d7af312da8aeb070588ca94a2a256d2def65eeb
2023-06-12 18:05:22 -07:00
Andy Wickham
64896f3098 Put the "floating" in ENABLE_FLOATING_SEARCH_BAR.
This means adding the search view to the drag layer, so it can
persist and animate across Launcher states (i.e. Home, All Apps,
Overview, Overview from App).

Some high level things:
 - LauncherState now has a flag indicating if the floating
   search bar should be visible, as well as a method indicating
   how high it should rest when the keyboard is not showing. By
   default the height is set negative if the flag is not present,
   so the search bar will rest off screen in that state.
 - LauncherState also has a new method indicating if the search
   bar should show as a pill when not focused. Currently this is
   done in phone portrait mode in all apps and overview.
 - SearchUiManager now has a method for gestures to hint that
   the search bar will be focused or unfocused soon, e.g. for
   the app -> overview case, we hint that it will be focused
   when crossing the threshold, and unfocused if retracting.
   This allows the search bar to animate during the gesture
   and take or release focus after the state change completes.
 - AllAppsTransitionController lets the apps panel translate in
   from the bottom of the screen, for example when coming from
   an app and we don't want to pop it in halfway up the screen.
   Instead it can slide in gracefully from behind the keyboard
   and floating search bar.
 - KeyboardInsetAnimationCallback can now notify listeners of
   keyboard alpha changes during controlled animations. And
   StateAnimationConfig has a new animation type to control
   the keyboard alpha during the all apps transition.
 - This new ANIM_ALL_APPS_KEYBOARD_FADE is used to pop the
   keyboard in at the threshold for going from an app to all apps.
   Note that its position moves linearly before this, so the
   search bar starts moving up accordingly before the keyboard
   alpha is non-0.

Fix: 266761289
Fix: 268845147
Fix: 267683921
Fix: 265849321
Fix: 266446733
Fix: 269301440
Bug: 275635606
Bug: 259619990
Bug: 261866704
Test: Manual with all the state transitions on phone and tablet
(also folding/unfolding foldable).
Flag: ENABLE_FLOATING_SEARCH_BAR, ENABLE_ALL_APPS_FROM_OVERVIEW
(latter just for the background app interpolator changes).

Change-Id: I6f06552e95747348a62260279626cf407bf145b0
2023-06-12 21:55:24 +00:00
TreeHugger Robot
ddfb4a982e Merge "Enabled NOTIFY_CRASHES for teamfood" into udc-dev am: ed4695e37e am: 344146970d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23570671

Change-Id: Iaf053f020e0e7ee1dbeece136f80ff2395f0f38f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 18:02:08 +00:00
TreeHugger Robot
ed4695e37e Merge "Enabled NOTIFY_CRASHES for teamfood" into udc-dev 2023-06-06 16:29:12 +00:00
Tony Wickham
670f17f560 Enabled NOTIFY_CRASHES for teamfood
Flag: NOTIFY_CRASHES
Test: none
Fixes: 285951384
Change-Id: I1f4905e0b797f4d0d7356cad0be4d98bfa09a3b7
2023-06-05 22:15:18 +00:00
Alex Chau
1a5ca93835 ENABLE_CURSOR_HOVER_STATES should be TEAMFOOD only
- Not all features are landed yet

Bug: 243191650
Test: manual
Change-Id: I7f70898fb16435134bfb58982b754a57c6f5c29f
2023-06-02 10:05:47 +00:00
Alex Chau
3e68f68528 Enable Grid only overview in teamfood
Bug: 270397206
Test: manual
Change-Id: I5f1fed8f04f63cb53af66a94ad415d3d6814245d
2023-06-01 14:29:55 +00:00
Nick Chameyev
6d756970e7 [Unfold animation] Do not preemptively start the animation if it has run already
Currently if we open an app, unfold the device and then go to home
screen we will start the unfold animation preemptively in Launcher
because Launcher activity will receive updated configuration change
(where isTablet = true) only after going back to home screen, not
when unfolding the device.

This causes a problem because SystemUI won't send the unfold animation
events after going back home as the animation has already run, so we
end up with wrongly started animation in Launcher.

This CL fixes the issues by checking if SystemUI has finished the
animation (or if it is currently running) to avoid preemptive animation
start in this case. This is done by subscribing to the original
unfold transition progress provider which emits progress events
sent through IPC from SystemUI.

Bug: 285150685
Test: open an app on folded screen, unfold, go to home screen =>
  check that icons are not squished
Test: fold/unfold when launcher is open
Change-Id: Ic437ff4d19cbd5764635f3007d99880622150f5b
2023-05-31 17:12:08 +00:00
Nick Chameyev
28caa7586c Merge "[Unfold animation] Disable preemptive launcher animation" into udc-dev am: 0bb67d4c2c am: ff417fc486
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23476096

Change-Id: I7d26cd3c3972ce690157aec072b3251c2f02bd7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-31 11:59:13 +00:00
Nick Chameyev
0873afd7fa [Unfold animation] Disable preemptive launcher animation
Disables preemptive unfold animation by default.

Bug: 281821523
Test: unfold on launcher
Change-Id: I767f25cf0414a91c82a33cf86ca16db2e4dcfa22
2023-05-30 18:10:08 +01:00
Luca Zuccarini
c46825cfa6 Merge "Clean up the ENABLE_ONE_SEARCH_MOTION feature flag." into udc-qpr-dev 2023-05-25 15:43:47 +00:00
Luca Zuccarini
419554c657 Clean up the ENABLE_ONE_SEARCH_MOTION feature flag.
Bug: 270394223
Test: manual
Flag: N/A
Change-Id: I5767cb555ab4314789e8238c59a43400b46e9b0a
2023-05-24 16:38:19 +00:00
Andreas Agvard
eea784aea8 Adds an flag guarded extension point for long press nav handle behavior
Bug: 282993230
Flag: ENABLE_LONG_PRESS_NAV_HANDLE disabled
Test: Manual

Change-Id: I541886cc13af1db46bc38d4e18556be99bef7713
2023-05-24 16:24:42 +02:00
Himanshu Gupta
cd35486198 Merge "Revert "Do not display clone apps in launcher work tab."" into udc-dev am: ee311b3e9c am: cddca58573
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23264596

Change-Id: I731dba4ec7f1ad490e0b556853f64fe865cac1b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-17 13:32:08 +00:00
Himanshu Gupta
8ef1845c3d Revert "Do not display clone apps in launcher work tab."
This reverts commit 45ef9b6c01.

Reason for revert: As promised, sysUi changes introduced in Launcher for AppCloning are being reverted. (This is the only CL that was merged)

Change-Id: I9fc72c333d48ca51558578d0d79038b49b3ebb5b
Test: Manual by building sysUi
2023-05-16 23:43:22 +01:00
Hyunyoung Song
ff760834df Merge "Revert "[Toast] Enable background drawables by default in Teamfood."" into udc-dev am: deec0f628b am: 3c7798cb93
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23113219

Change-Id: I9f1da94151935ebd3c2fbb3f3ab7660e5168bd55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-16 07:50:45 +00:00
Hyunyoung Song
deec0f628b Merge "Revert "[Toast] Enable background drawables by default in Teamfood."" into udc-dev 2023-05-16 06:41:20 +00:00
Treehugger Robot
0a14007530 Merge "Add flag for enabling widget transition animation" into udc-dev am: bbb54462a8 am: af85e7dcc7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23247754

Change-Id: Iaacfcd2d8c1c2ce4f59fae8ed0c6986c67a6b1c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-16 02:06:15 +00:00
Treehugger Robot
bbb54462a8 Merge "Add flag for enabling widget transition animation" into udc-dev 2023-05-16 00:50:32 +00:00
TreeHugger Robot
ce7ecd8aa3 Merge "Add handling for toggling keyboard stashing from the keyboard" into udc-dev am: f0c96721ba am: 0333de8878
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22999970

Change-Id: Id04287f7ff48917fccdfd91372726a12c3999a3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-16 00:20:45 +00:00
Treehugger Robot
02777887e7 Merge "Turn on ENABLE_TRACKPAD_GESTURE in udc-qpr-dev" into udc-qpr-dev 2023-05-15 23:56:32 +00:00
Treehugger Robot
72ba26bcf9 Merge "Cleanup WIDGETS_IN_LAUNCHER_PREVIEW." into udc-dev am: f8b4a4cc08 am: 10ac903861
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23245066

Change-Id: Ib8952a875979216169c219842023f8b5d8e3e152
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-15 23:16:08 +00:00
Tony Wickham
9ad0ea5e68 Merge "Remove unused/obsolete feature flags" into udc-dev am: 4f69ca52ef am: b4802d7837
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23219342

Change-Id: I62c140775adcb7a2e82c6114e5b5103d00f579ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-15 23:15:53 +00:00
TreeHugger Robot
f0c96721ba Merge "Add handling for toggling keyboard stashing from the keyboard" into udc-dev 2023-05-15 22:57:14 +00:00
Treehugger Robot
f8b4a4cc08 Merge "Cleanup WIDGETS_IN_LAUNCHER_PREVIEW." into udc-dev 2023-05-15 21:52:35 +00:00
Tony Wickham
4f69ca52ef Merge "Remove unused/obsolete feature flags" into udc-dev 2023-05-15 21:46:15 +00:00
Sihua Ma
a5ccdbb048 Add flag for enabling widget transition animation
Test: N/A
Flag: ENABLE_WIDGET_TRANSITION_FOR_RESIZING
Bug: 268553314
Change-Id: I84793249af94076b675a69696ea2a3e34816f704
2023-05-15 14:20:28 -07:00
Tracy Zhou
e715071855 Turn on ENABLE_TRACKPAD_GESTURE in udc-qpr-dev
Bug: 271010401
Change-Id: Iac8bf88038ccf4640ca30e9e21c5af86cc72a06d
Test: N/A
2023-05-15 18:43:49 +00:00
Schneider Victor-tulias
eb8dce01ce Add handling for toggling keyboard stashing from the keyboard
Flag: ENABLE_KEYBOARD_TASKBAR_TOGGLE
Bug: 281726846
Fixes: 246660615
Test: toggled the transient taskbar with the meta+t input
Change-Id: I315f83850b11d24d8b55061d7111300effb43936
2023-05-15 18:41:25 +00:00
Tracy Zhou
058b4bf00a Merge "Turn off ENABLE_TRACKPAD_GESTURE" into udc-dev am: 41a33933d3 am: 4a5b435495
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23234483

Change-Id: Ia331aa278b5d095a4dbd1dc24cbcc21c5ff22d0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-15 18:40:56 +00:00
Brian Isganitis
aa9bef2f31 Cleanup WIDGETS_IN_LAUNCHER_PREVIEW.
Test: Manual
Fix: 270393268
Change-Id: I2d90f92c6bc85d59d56f5e6c2d6005554f932895
2023-05-15 13:29:05 -04:00
Tracy Zhou
9fd3f004e2 Turn off ENABLE_TRACKPAD_GESTURE
Bug: 271010401
Test: N/A
Change-Id: Id798b94a2f93b2352077f857a7e881a40715aa83
2023-05-13 18:29:40 -07:00
Tony Wickham
53c811fd7d Remove unused/obsolete feature flags
Flag: N/A
Test: N/A
Fixes: 270391641
Fixes: 270395077
Change-Id: I91834b43bf043a26c2fe8e5f7b2e720592830918
2023-05-12 21:09:30 +00:00
Thales Lima
85c47fee03 Merge "Add feature flag and attribute for responsive grid" into udc-dev am: 0740b7fb43 am: 46cbbc1ab9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22476842

Change-Id: Ifcc375137c5e8269d9d7a8ab3e5a5e43e085a951
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 10:24:54 +00:00
Thales Lima
0740b7fb43 Merge "Add feature flag and attribute for responsive grid" into udc-dev 2023-05-10 09:44:49 +00:00
Treehugger Robot
fa6c13a399 Merge "Removing unused wallpaper-scrim feature" into udc-dev am: 386f9796e3 am: e97f1eac9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23039034

Change-Id: Idd0e898dc95c901bed1eab766a463ce09f2c1784
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 21:37:29 +00:00
Treehugger Robot
386f9796e3 Merge "Removing unused wallpaper-scrim feature" into udc-dev 2023-05-09 20:57:33 +00:00
Hyunyoung Song
0058605ed2 Revert "[Toast] Enable background drawables by default in Teamfood."
This reverts commit fc04ea4073.

Reason for revert: Missing ICON_CONTAINER

Change-Id: I76a60855f160faa9ce5ea000b6f85c2e565c4ced
2023-05-09 16:40:06 +00:00
Pat Manning
a5507b0ec6 Enable flag ENABLE_CURSOR_HOVER_STATES by default in UDC-QPR-1 branch.
Bug: 243191650
Change-Id: I8ce29471e2d1838a2b7b9deee5729474c41865af
Test: manual.
2023-05-09 14:05:03 +00:00
Thales Lima
ec5abba93b Add feature flag and attribute for responsive grid
This shouldn't change anything in the grids, only support the creation of responsive grids in the future. For now, to check that the flag works, turn it on and check the dumpsys. There is also a dump test created for this.

Fix: 277064696
Fix: 277064702
Test: DeviceProfileResponsiveDumpTest
Flag: ENABLE_RESPONSIVE_WORKSPACE
Change-Id: I1bef87043a100234bd661cd6ac00007fdc654116
2023-05-09 12:06:18 +01:00
Vinit Nayak
b33a2e0762 Enable flag ENABLE_SPLIT_LAUNCH_DATA_REFACTOR
Flag: ENABLE_SPLIT_LAUNCH_DATA_REFACTOR
Bug: 279494325
Change-Id: I9c58ba50f0269c69a12f548a1873c2d8251f6243
2023-05-08 17:27:03 -07:00
Brandon Dayauon
1ee28cd273 Merge "ENABLE_TWOLINE_ALLAPPS default true (only in teamfood)" into udc-dev 2023-05-05 20:49:58 +00:00
Brandon Dayauon
017e7a2e06 ENABLE_TWOLINE_ALLAPPS default true (only in teamfood)
- modified test so enabling two line all apps work
- have appIconSelector() select from content description

bug: 275116822
test: manual
Change-Id: Id3ccc6859b55d6b8a80ca509d420409d484207cf
2023-05-04 19:37:48 -07:00
Sunny Goyal
db19958b82 Removing unused wallpaper-scrim feature
Bug: 270393604
Test: Presubmit
Flag: N/A
Change-Id: I10df3a96eb26b9871eb1b330ea5b2c0797d0668d
2023-05-04 14:02:41 -07:00
Nick Chameyev
1aa2383d26 Merge "[Unfold animation] Start Launcher animation preemptively to synchronize the first frame" into udc-dev 2023-05-04 09:36:04 +00:00
Nick Chameyev
705c665c06 [Unfold animation] Start Launcher animation preemptively to synchronize the first frame
Starts unfold animation in Launcher right after receiving
configuration change for the unfolded screen.
This makes sure that before we unblock the screen we
have the first frame of the unfold animation ready
in Launcher (transformations are applied).

Bug: 271099882
Test: atest com.android.systemui.unfold.util.PreemptiveUnfoldTransitionProgressProviderTest
Test: manual testing fold/unfold, checking perfetto traces
Test: test with flag enabled/disabled
Change-Id: Icb8f91f9264248600d4bed14811445f50aac99c7
2023-05-03 11:35:03 +01:00
Vinit Nayak
2a014d4c0d Refactor handling data launching split screen to separate class
* SplitSelectDataHolder contains logic for knowing how
to launch split, separate from the actual API calls to launch split

Flag: ENABLE_SPLIT_LAUNCH_DATA_REFACTOR
Bug: 279494325
Test: Tested w/ all 6 types of launches noted in
SplitSelectDataHolder#@SplitLaunchType.
Also checked to make sure most-recent running tasks are
still being used where applicable.

Change-Id: I8114f87e9956b100622c80f578e291937ed4eeac
2023-04-28 18:00:22 -07:00
Luca Zuccarini
0c856a0c94 Merge "[Toast] Enable background drawables by default in Teamfood." into udc-dev 2023-04-27 15:29:02 +00:00
Andy Wickham
a4627d2235 Merge "Add long swipe from app to overview gesture (with flag)." into udc-dev 2023-04-26 21:30:53 +00:00