Commit Graph

101 Commits

Author SHA1 Message Date
randypfohl 009d9dac30 Adding a flag for launcher recents in window
Test: none

Flag: EXEMPT adding flag

Bug: 292269949

Change-Id: I0d69ce7d338359f564549b7bcdf984be7b270840
2024-10-18 11:15:15 -07:00
Artsiom Mitrokhin ab7220c342 Open taskbar pinning popup view from anywhere
This CL handles both long-press and right-click events anywhere on
pinned taskbar and opens `TaskbarDividerPopupView` correctly
positioning it above the event coordinates.

Bug: 297325541
Flag: com.android.launcher3.show_taskbar_pinning_popup_from_anywhere
Test: manual for now, flip the flag, long-click or right-click
      on empty space on the pinned taskbar
Change-Id: I1849db14f65bf9478ed9f4fd39f95d08987baf8d
2024-10-17 15:00:40 -04:00
Schneider Victor-Tulias 1decb57e61 Add state manager logs to protolog
Flag: com.android.launcher3.enable_state_manager_proto_log
Bug: 292269949
Test: checked winscope traces
Change-Id: I0941620efca3bf0d3cd859c211a7b06932d3838a
2024-10-09 14:14:22 +00:00
Sukesh Ram 95a806d50b Create Launcher flag: enable_taskbar_connected_displays
Test: N/A
Bug: 362720616
Flag: EXEMPT creating the flag itself
Change-Id: I86fdb5c634b6d81361c60ecce2bb8e25641a83fa
2024-10-08 10:41:13 +00:00
Shamali Patwa 4139c780bd Merge "Add a flag to display tiered widgets by default in the widget picker" into main 2024-10-08 01:47:41 +00:00
Schneider Victor-Tulias f3f182a7ef Add Recents Window logs to ProtoLog
Flag: com.android.launcher3.enable_recents_window_proto_log
Bug: 292269949
Test: checked protologs in winscope
Change-Id: Iaafe58a655e9ad7293b579c74b7e7ecaa2df1ea5
2024-10-07 17:14:24 +00:00
Shamali P 3d98ebce27 Add a flag to display tiered widgets by default in the widget picker
Bug: 356127021
Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker
Test: EXEMPT flag addition
Change-Id: Iba5fadcc5a46e7f30356d622ee492a0a7b3788b5
2024-10-07 17:11:56 +00:00
Luca Zuccarini 2831d1eaf7 Make workspace and hotseat scale animations interruptible.
This affects app launches and returns to home. When launching
immediately after returning to home (before the return animation is
complete), the two animations could overlap, causing the two property
setters to conflict.

Bug: 367591368
Flag: com.android.launcher3.coordinate_workspace_scale
Test: tested with flag off and on, see before and after in the bug
Change-Id: Ie1483fa0bf589caee315ae298e9e68ca361709d8
2024-09-27 13:30:09 +00:00
Schneider Victor-Tulias 62335be7c9 Track all ActiveGestureLogs in ProtoLog
Flag: com.android.launcher3.enable_active_gesture_proto_log
Bug: 293182501
Test: checked protolog traces in winscope
Doc: go/launcher-protolog-support

Change-Id: I2eb153aa9a94fe49f9c5e9b93b0be5e14fb4eb9c
2024-09-25 14:28:00 +00:00
Jon Miranda 90ec738908 Add taskbar_overflow flag to launcher.aconfig
Bug: 368119679
Test: EXEMPT just adding flag
Flag: com.android.launcher3.taskbar_overflow
Change-Id: Iba02590cab8be7b4834cdbb0464bbe37e2828f79
2024-09-18 14:49:17 -07:00
Brian Isganitis e9d9f34265 Add taskbar_quiet_mode_change_support flag to launcher.aconfig
Change-Id: I04431e95ae7ed9d6be17f6a11cb4d963be2cb499
Test: go/testedequals
Bug: 345760034
Flag: com.android.launcher3.taskbar_quiet_mode_change_support
2024-09-17 22:19:00 +00:00
Jon Miranda aec1e05be5 Migrate ENABLE_ALL_APPS_BUTTON_IN_HOTSEAT to launcher.aconfig
Flag: com.android.launcher3.enable_all_apps_button_in_hotseat
Test: N/A
Bug: 270393897
Change-Id: Ib62a2f46a440d8f0d3f569c09c4f8754715db4ee
2024-09-16 22:00:39 +00:00
Sunny Goyal 98001dd1dc Merge "Migrating prediction_undo to aconfig" into main 2024-09-16 17:26:58 +00:00
Sunny Goyal d94100a223 Migrating prediction_undo to aconfig
Flag: com.android.launcher3.enable_dismiss_prediction_undo
Test: atest SystemShortcutTest
Bug: 270394476
Change-Id: I5daef5d168c301115d860a1ae1d3c96f70a0f18f
2024-09-13 20:21:32 -07:00
Dennis Shen d80efafdc0 Replace system_ext container with system
Bug: b/365135457
Test: m
Flag: EXEMPT refactor
Change-Id: I5521307c4b816d9802cb5f676d11c0b89cdfa862
2024-09-13 12:41:58 +00:00
Liam Lee Pong Lam f9efc54493 Improve the visibility of allapps item on talkback focus
result: https://photos.app.goo.gl/TqTDboxa2WFfZUoz8

Flag: com.android.launcher3.accessibility_scroll_on_allapps
Bug: 265392261
Test: Manual

Change-Id: If1cce3d0bd501361837dafb24cbe2fde7bac0ac0
2024-09-10 17:40:14 +00:00
fbaron c370894c06 Add flags for OneGrid project
Bug: 364711825
Flag: EXEMPT adding flag
Test: EXEMPT adding flag
Change-Id: I94e2769d717dd89550aa7a795b76e9ac18116a94
2024-09-05 21:26:49 +00:00
Treehugger Robot cf4666fbad Merge "Honors three_button_corner_swipe flag." into main 2024-08-28 21:25:45 +00:00
Liam, Lee Pong Lam 60dfc4375e Ignore three finger trackpad for nav handle long press
To disable Omient trigger by three finger trackpad

Bug: 342143522
Flag: com.android.launcher3.ignore_three_finger_trackpad_for_nav_handle_long_press
Test: Manual

Change-Id: Ic283a4a376a6e628d6c16d6fd4088a9f5e10a0c5
# Conflicts:
#	aconfig/launcher.aconfig
2024-08-28 17:48:28 +00:00
Schneider Victor-tulias 51433debcd Polish transition between desktop mode and overview
Fixing desktop task in place along the x-axis and animating its background's alpha to more smoothly handle the transition.

Flag: com.android.launcher3.enable_desktop_task_alpha_animation
Fixes: 320307666
Test: swiped to and from desktop mode and overview
Change-Id: I38d62d0c966733f96c2f4d4ecfa4a9418039fd48
2024-08-27 18:15:06 +00:00
Brandon Dayauon 1f8f88696b Create an alpha letter scroller
- The function used is a raised cosine function to determine the sections to animate.

Tested flag: adb shell device_config put launcher com.android.launcher3.letter_fast_scroller true
Based on recent figmaspec, size of selected letter is 28dp and regular is 20dp. That means scaling should be 28/20.
Colors are:
onSurface for letter
surfaceContainer for background.
Figma shows selected colors are materialColorOnSecondary

bug:358673724
Test manually: https://drive.google.com/file/d/1gvJd5KoK8X_Sv8jXg1cZ65R4AuqHuvcd/view?usp=sharing
Flag: com.android.launcher3.letter_fast_scroller

Change-Id: Ia86eb0e8c41bc043fda3c44aeaf59e204429f337
2024-08-26 11:21:26 -07:00
Andy Wickham 053997ed82 Honors three_button_corner_swipe flag.
This allows the corner swipe gesture to be recognized while in 3
button navigation mode.

Demo: https://drive.google.com/file/d/1cwma-K5Ht-CYYmFgHw4OgefCS8Zvp140/view?usp=drive_link&resourcekey=0-rYzpTFc0l8R53QnaLwBANg
 - Corner swipe works
 - Other swipes don't do anything
 - Buttons still behave as expected
 - Long Press Home still invokes Circle to Search

Bug: 361651619
Bug: 356441231
Test: See video
Flag: com.android.systemui.shared.three_button_corner_swipe
Change-Id: I0765868dd1ad9786dc5b5f0574d107221ef13556
2024-08-23 17:03:20 -07:00
Charlie Anderson 6b8e362247 Adds new bugfix flag for using new app archiving icon
Flag: com.android.launcher3.use_new_icon_for_archived_apps
Bug: 350758155
Test: locally
Change-Id: I7bacbacd85a8216e7975665e6d3c1ab98ed23235
2024-08-05 00:37:28 -04:00
Liam, Lee Pong Lam 058559e3db [Launcher3] Supports child Settings navigation on Search
After adding all launcher settings to search, adding support for navigating to child settings if the setting isn't on the current screen.

result: go/launcher-settings-navigate-to-child

Bug: 293390881
Flag: com.android.launcher3.navigate_to_child_preference
Test: Manual

Change-Id: I5eecbf9a3c569f58b6c8830443d86ba122e4f53b
2024-07-24 21:23:29 +00:00
Saumya Prakash 71a69133b2 Add aconfig feature flag for multi instance menu in Taskbar
Test: Presubmit
Fix: 355237285
Flag: com.android.launcher3.enable_multi_instance_menu_taskbar
Change-Id: I049ebe3808223a9d7e96251c8cdb3134d9a9be28
2024-07-24 18:50:16 +00:00
Charlie Anderson e16036f5f6 Adds aconfig flag for new archiving icon
Bug: 350758155
Test: N/A
Flag: com.android.launcher3.enable_new_archiving_icon
Change-Id: Id8bef6b127954d3a3b95c33670459a88148aa63d
2024-07-08 16:40:57 -04:00
Jordan Silva 4db30dbc28 Move Overview-specific flags to a separate aconfig file
This is to keep the main launcher aconfig file more organized and easier to read and aligned with gantry namespace.

Bug: 349534860
Change-Id: Ib21fbac38ed0564fa481fce3a2da9a9b8c1a7139
Flag: EXEMPT - moving flags to another file
Test: EXEMPT - moving flags to another file
2024-07-03 10:49:51 +00:00
Kevin Lim 174e95921a Merge "[UniversalSearchInput] Create flag for multi-line search bar" into main 2024-06-28 21:03:47 +00:00
Kevin Lim 1a2b9bced3 [UniversalSearchInput] Create flag for multi-line search bar
Bug: b/341795751
Flag: com.android.launcher3.multiline_search_bar
Test: EXEMPT Flag creation
Change-Id: If816cf88ebe688aefe2bfa2c3db63e747d99eb88
2024-06-25 17:44:05 +00:00
Luca Zuccarini 52545edb41 Add return animations to Toast search results.
This only applies to targets that already use the Animation library for
launch animations.

Bug: 336719605
Bug: 298089923
Flag: com.android.launcher3.enable_container_return_animations
Flag: com.android.systemui.shared.return_animation_framework_library
Test: tested manually with flag on and off
Change-Id: Ib824e78fa8b1b226b32d23d8325f06b496ba5deb
2024-06-20 10:25:57 +00:00
Jagrut Desai c1bcdc0f5d Merge "Aconfig flag for taskbar customization." into main 2024-06-14 21:19:18 +00:00
Jagrut Desai fbd93ef907 Aconfig flag for taskbar customization.
Test: Presubmit
Bug: 347281365
Flag: com.android.launcher3.enable_taskbar_customization

Change-Id: I5a3959a8ca956329faa2df5d6bda297934e1ba62
2024-06-14 10:41:06 -07:00
Andy Wickham cfafb55331 Convert ENABLE_FLOATING_SEARCH_BAR to aconfig.
Flag: com.android.launcher3.floating_search_bar
Test: Build (existing code unchanged)
Bug: 346408388
Fix: 346406981
Change-Id: Ia8d15ceb1b2b4754657844d602cb95b9555a4ece
2024-06-12 01:24:36 +00:00
Charlie Anderson 9e12c3f152 Adding bugfix flag for archiving bug extras
Bug: 322314760
Test: locally
Flag: com.android.launcher3.enable_first_screen_broadcast_archiving_extras
Change-Id: I33edcf09eee990727613246fb5942263feb49625
2024-06-11 00:07:24 -04:00
Tony Wickham be10c0b10c Add flag for Recents in Taskbar
Flag: com.android.launcher3.enable_recents_in_taskbar
Test: none
Bug: 315354060
Change-Id: I5b757558ab8e5905b4142146901b68f55d0c7ef8
2024-06-03 21:12:46 +00:00
Brian Isganitis 6fd271bb8a Revert "Add flag for Tiny Taskbar"
This reverts commit 1a57e08d84.

Reason for revert: ag/27470277 flag instead
Flag: com.android.wm.shell.enable_tiny_taskbar
Test: None
Bug: 341784466

Change-Id: I1a36c66eabb9c2ddac4595cec6836da222182351
2024-05-23 22:31:07 +00:00
Brian Isganitis 1a57e08d84 Add flag for Tiny Taskbar
Flag: com.android.launcher3.enable_tiny_taskbar
Test: None
Bug: 341784466
Change-Id: I84be4bed652c27c4ebfba5818c13d98acfa9aa60
2024-05-20 23:07:45 +00:00
Tracy Zhou 0bfd21fe2e Add folders in all apps aconfig flag
Bug: 341582436
Change-Id: I615d3b925dba8987c793c3e871f2aebde10ace53
Test: N/A
2024-05-19 22:19:57 +00:00
Schneider Victor-tulias 65ae550a92 Add support for animating non-running tasks
It is possible to animate a non-running task to home mid-quick switch, which was not properly supported, causing a janky animation. Added custom animations to handle this more smoothly.

Flag:  ACONFIG com.android.launcher3.enable_additional_home_animations DISABLED
Fixes: 237638627
Test: swipe to home mid-quick switch on handheld/large screen in portrait/landscape from an app present/missing on the workscape in RTL/LTR
Change-Id: I89c9cf1ed1c0b88ff6c3ce71a663cb16e69d5843
2024-05-01 20:06:34 +00:00
fbaron 9d08e0fe70 Migrate smartspace as a widget and smartspace removal toggle flags to aconfig
Bug: 336823684, 336823681
Test: none
Flag: ACONFIG enable_smartspace_as_a_widget DISABLED
Flag: ACONFIG enable_smartspace_removal_toggle DISABLED
Change-Id: I4cba42e09f58365f761ab866b15a494817e6bb0f
2024-04-25 14:26:30 -07:00
Uwais Ashraf e21525da40 Add a refactored TaskThumbnailView
- Live Tile, swipe (left+right) and dismiss working
- Tests of ViewModel state transitions
- Deprecate the old TaskThumbnailView
- Renaming TaskThumbnailView to TaskThumbnailViewDeprecated

Fix: 335440878
Fix: 331754672
Bug: 331753115
Test: TaskThumbnailViewModelTest
Test: Attached video on bug
Flag: ACONFIG com.android.launcher3.enable_refactor_task_thumbnail DEVELOPMENT
Change-Id: I063b957fe6e56960970dcaadc641848fbd73251c
2024-04-23 23:05:14 +01:00
randypfohl f968879aa8 Adding in feature flag for Recents in Windows
Test: none

Flag: none

Bug: 292269949
Change-Id: I90683497a97149eb6054d168b92a078385e027e4
2024-04-22 09:38:13 -07:00
Schneider Victor-tulias f3f0e28762 Reland slow gesture callback handling
Now that b/329324086 has been fixed, we can be more certain that launcher always gets a signal to clean up from WM.

- Relanding original fix for b/285636175 with some additional error checking
- We will now check whether the recents animation start is pending on ACTION_UP
- We will now block entire swipes to prevent sending additional inputs an input consumer while the recents animation start is pending
- We will now only stop blocking inputs on ACTION_DOWN

Flag: LEGACY ENABLE_HANDLE_DELAYED_GESTURE_CALLBACKS TEAMFOOD
Bug: 329324927
Fixes: 285636175
Test: added a delay in RecentsAnimationCallbacks.onAnimationStart and attempted several rapid gestures
Change-Id: I9805114da34bf44e6b28c2a8a665e4cca88904c2
2024-04-16 17:16:40 -04:00
Fengjiang Li 76f148b919 Merge "Revert accidental removal of PURPOSE_BUGFIX of flag enable_add_app_widget_via_config_activity_v2" into main 2024-03-21 03:19:55 +00:00
Fengjiang Li 4cfdbafb20 Revert accidental removal of PURPOSE_BUGFIX of flag enable_add_app_widget_via_config_activity_v2
ag/26538984 accidentally removes PURPOSE_BUGFIX of enable_add_app_widget_via_config_activity_v2,
this CL will revert that part as a forward fix

Bug: 298089923
Flag: ACONFIG enable_add_app_widget_via_config_activity_v2 TEAMFOOD
Test: just a flag change
Change-Id: I29bbb8c60ae71978ee4129a4751fa4ad0d3706d3
2024-03-20 12:56:48 -07:00
Andrew Cole 6667611f59 Merge "Moving FORCE_MONOCHROME_APP_ICONS to New Flag System" into main 2024-03-18 16:10:03 +00:00
Andrew Cole 16b68816ce Moving FORCE_MONOCHROME_APP_ICONS to New Flag System
In order to continue work on theming all app icons we are moving the developer flag over. This is cleanup work

Bug: 270396209
Test: None
Flag: ACONFIG FLAG_FORCE_MONOCHROME_APP_ICONS disabled
Change-Id: Ia290a6761aec68eadd2e78f64ac5dbd233af6033
2024-03-15 14:19:22 -07:00
Willie Koomson cdc26951ff Add tap-to-add button to widget picker
This change introduces an "Add" button that appears when a widget
preview is clicked in the widget picker. This button disappears when the
preview is clicked again, or another preview is clicked. When the button
is pressed, it adds that widget to the picker. The add button is
available in the app-specific widget sheet as well.

Bug: 323886237
Test: Manual
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add DEVELOPMENT

Change-Id: I86a8a4c22119960c54a885fd2efeb91916b4f9a0
2024-03-15 20:10:45 +00:00
Sebastian Franco 5ea61960ab Making 2 flags read only since they are used on backup and restore
The flags are narrow_grid_restore and grid_migration_fix.

Flag: ACONFIG enable_grid_migration_fix enabled
Flag: ACONFIG enable_narrow_grid_restore enabled
Bug: 325286145
Bug: 325285743
Test: BackupAndRestoreDBSelectionTest.kt
Test: GridMigrationTest.kt
Change-Id: Ia6a439553c3c5098115144eae532342ce73be4f2
2024-03-14 17:16:51 +00:00
Luca Zuccarini c9cbc9d5a1 Introduce a new Home animation for workspace and the outgoing task.
The values are currently the same for all display and orientation
configurations, but they might change before launch.

There are a couple known imperfections:
* Swiping out of a hotseat app with very low velocity doesn't look
  great
* Sometimes, if the window movement reaches its final location faster
  than the background is done scaling, there is a small snap in icon
  position

Bug: 298089923
Flag: ACONFIG com.android.launcher3.enable_scaling_reveal_home_animation DISABLED
Test: verified with the flag on and off

Change-Id: Id54c7f0a76f62108d8b92a3b5e78634fff64dbef
2024-03-14 10:48:02 +00:00