Commit Graph

122 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
Treehugger Robot 84f7220dd5 Merge "Add Recents Window logs to ProtoLog" into main 2024-10-07 19:31:06 +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
Jordan Silva e4b0747194 Update bug number for enable_large_desktop_windowing_tile
Bug: 357860832
Change-Id: If208bfb26bd4e082bf5197b44f7270ee3e68ae39
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Test: Gantry should update the bug reference
2024-10-04 01:08:13 +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
Treehugger Robot 2334f34cb3 Merge "Add flags for OneGrid project" into main 2024-09-06 19:00:45 +00:00
Jordan Silva ad3c422f6c Adds a timeout for OverviewCommandHelper commands (3/3)
We had several bugs in the past months related to recents button not displaying Overview when using 3 button navigation. For some of the bug reports, we noticed the OverviewCommandHelper pending commands list got stuck and stopped processing the next commands in the list. Sometimes, the pending commands list was cleared while some command was being processed, allowing newer commands to be executed while another command is already running. This resulted in the second callback never returning and inconsistent states for OverviewCommandHelper and RecentsView.

Our logs showed OverviewCommandHelper often got stuck and didn't finish the commands correctly.

To mitigate these issues we updated the following behaviors:
- Implemented a timeout to process the commands in the queue. If the callback doesn't return in a given time, it will drop that execution and process the next one in the queue.
- Fix clearPendingCommands to clear only the pending commands from the queue, and not the running command.

Bug: 352046797
Fix: 351122926
Fix: 361768912
Flag: EXEMPT bugfix.
Test: OverviewCommandHelperTest
Change-Id: I47adf0c54dcbaef63d9b72055e000c26114e96e1
2024-09-06 13:58:10 +01: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 412821fadf Merge "Create an alpha letter scroller" into main 2024-08-26 20:21:17 +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
Jordan Silva b06ff83808 Move DesktopTask to front of RecentsView (1/2)
This CL updates the DesktopTasks in the RecentsView to be displayed after the focused task, separated from the other tasks in the grid. The DesktopTasks will be larger, following the same size used for focused tasks.
It was necessary to do the following changes to support DesktopTask at the front of the list.
1. Sort the GroupTasks in applyLoadPlan to move DesktopTasks after all other tasks.
2. Update the target page to take into account the DesktopTasks after the running task.
3. updateGridProperties had to support DesktopTask and Focused Task to be positioned at the front of the list. This function updates view translations to support the grid with two rows and rebalacing the position after a task is dimissed.
4. Update the max and min page scroll. Updated getFirstViewIndex to check for a DesktopTaskView, and if it doesn't exist, it uses the focused task as reference.
5. TaskView.updateTaskSize was updated to prevent DesktopTaskView being resized. This change makes DesktopTaskView to have the same size of our current focused task.
6. Update several places using focused task to use isLargeTile.

Bug: 353947137
Fix: 353947516
Fix: 353947467
Fix: 353947334
Flag: com.android.launcher3.enable_large_desktop_windowing_tile
Test: OverviewDesktopTaskImageTest

Change-Id: Ic7c0d8340ca259e8644de180aa6859a3c968d66e
2024-08-21 17:43:36 +01:00
Sam Cackett 5c2d50d901 Add hover states to IconView and TaskThumbnailView in Overview
- Hover over IconView passes to FastBitmapDrawable
- Hover over TaskThumbnailView bounds highlights the border
- Hover over TaskView outside of IconView or Thumbnail does nothing
(previously highlighted a border incorrectly)

Bug: 342594235
Test: OverviewTaskViewHoverImageTest, OverviewDesktopTaskImageTest
Flag: com.android.launcher3.enable_hover_of_child_elements_in_taskview
Change-Id: I5b0753bdec609a4a6658a35422e2823c4ed109fc
2024-08-07 08:22:44 +00: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
Treehugger Robot 9aafa6bd76 Merge changes I8411fb83,I5b757558 into main
* changes:
  Move Desktop running apps support into TaskbarRecentAppsController
  Add flag for Recents in Taskbar
2024-06-11 02:16:56 +00: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
Brandon Dayauon e16a2725d2 Create a bug fix flag for the FloatingMaskView.
Need to create a bug-fix flag since feature flags can't reach nextfood in time for V. We do this by renaming
the current flag.

According to https://g3doc.corp.google.com/company/teams/android-core-experiments/trunk-stable/gantry-stages/bug-fix.md?cl=head

After a flag declaration has been merged, it's no longer possible to change its purpose. If the purpose of a flag changes over time, simply rename the flag; this will create a new workflow and invalidate the previous workflow.
In cases where renaming is not possible, please file a bug for the ACE oncall. Even when re-using the name of a flag for a new purpose, please note that all the progress in the pre-existing workflow will be lost; the new bug-fix workflow will start from scratch.

bug: 339850589
Test: Presubmit/locally adb shell device_config put launcher_search com.android.launcher3.private_space_add_floating_mask_view true
Flag: ACONFIG com.android.launcher3.private_space_add_floating_mask_view STAGING
Change-Id: Iffbc6a93c4ef6bbe121e0c8fb83250174f367b9d
2024-05-28 15:49:58 -07: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
Brandon Dayauon 892b96f319 Add private_space_floating_mask_view flag.
bug: 339850589
Test: In follow up CL
Flag: ACONFIG com.android.launcher3.private_space_floating_mask_view DEVELOPMENT
Change-Id: Idc03b9d3439046e6a1397599b33c7af9f53b1333
2024-05-10 12:43:45 -07: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