summaryrefslogtreecommitdiff
path: root/res/drawable
AgeCommit message (Collapse)Author
2025-03-24Add "change aspect ratio" to Recents/Overview Robin Lee
This shows up if the launcher is in a sw600dp-or-greater configuration. Test: AspectRatioSystemShortcutTests Test: OverviewMenuImageTest Test: Manual check on phone, tablet, and inner/outer fold screens. Flag: com.android.window.flags.universal_resizable_by_default Bug: 357141415 Change-Id: I1bcbf9299d28ce68cccd636d92ed7195d64736eb
2025-03-18Update Split-Screen icons with new icons. Simon (Qiong) Sun
Bug: 379959026 Test: Check that Split and save Split-Screen icons. Flag: EXEMPT icons change Change-Id: Idbc9d391b99a4e9833fd9ced597be22e15a77768
2025-03-14Taskbar Icon changes Jagrut Desai
Test: Manual Bug: 379158656 Flag: com.android.wm.shell.enable_gsf Change-Id: Ic4ec9a7c634231c2592cfcd6ba6c8f8252c2dd98
2025-03-11Add Arrows to Folder PageIndicatorDots for Accessibility Purposes. Stefan Andonian
Bug: 383974843 Test: Verified via go/web-hv that the hitbox sizes were correct. Measured the width and height within the folder for 1 through 7 pages, and everything looked great.Change title worked, and pressing on arrows to change page worked great. Flag: com.android.launcher3.enable_launcher_visual_refresh Change-Id: Ic095b2abe330544882467fb4803724e8d50a1798
2025-03-06Revert "Update Split-Screen icons with new icons." Pechetty Sravani (xWF)
This reverts commit 50c33f271e35abbd42c2c82a647ad7e3af46e385. Reason for revert: <Droidmonitor created revert due to b/401425778.Will be verified through ABTD for standard investigation.> Change-Id: Ie3d9508864f51572307f9a16ddb14dc86b9d57ad
2025-03-06Update Split-Screen icons with new icons. Simon (Qiong) Sun
Fix: 379959026 Test: Check that Split and save Split-Screen icons. Flag: EXEMPT icons change Change-Id: I0c159d083c175b560acfa33122bc2a03859f103e
2025-03-03Merge "pin-shortcut: Tracks hotseat states and adds unpin option for ↵ Wen-chien Wang
taskbar" into main
2025-02-25pin-shortcut: Tracks hotseat states and adds unpin option for taskbar Wen-Chien Wang
This cl adds the unpin option by tracking the hotseat/taskbar state. The option shown is determined by the following conditions: 1. If the target non-predicted item is on the taskbar, shows "Unpin from taskbar" 2. If the taskbar is not full, that is, reaching the limit of the available spaces, and the target item is anywhere outside of the taskbar, including All apps, shows "Pin to taskbar". 3. If the taskbar is full, simply don't show any shortcut option. This cl also removes the option that will be shown on Launcher homescreen or hotseat, as further UX alignment is needed. One note about why the pin shortcut is not implemented in the getShortcuts(). The reason is that getShortcuts does not have the ItemInfo of the triggered item, while the SystemShortcut.Factory doesn't have the hotseat/taskbar information. The simplest way at this point is to check all the conditions in the controller and then manually add the shortcut into the list. Bug: 375648361 Test: Manual, Recording uploaded to buganizer Flag: com.android.launcher3.enable_pinning_app_with_context_menu Change-Id: I7d048bcb1b00f78651e909fbfcd911052a4cd4ef
2025-02-21Change ps_install app icon to adaptive drawable Brandon Dayauon
In the before pic, you can see that the original drawable is small/compressed with a white ring around it. You can't really see that in the light theme since the white ring is blended. It is much clearer in the dark theme that this is the case. Changing the vector drawable to adaptive-icon will fix the white ring in the icon. bug:396346767 Test: manual screenshot: before: light theme: https://hsv.googleplex.com/6358252685099008 dark theme: https://hsv.googleplex.com/6567188726022144 after: light theme: https://hsv.googleplex.com/4762286056013824 dark theme: https://hsv.googleplex.com/4821700083449856 Flag: EXEMPT bug fix Change-Id: Ib557bcf5fce5e58b6be4bb8bc82673441816b2d7
2025-01-15Initial implementation of the AddDesktopButton minch
Add the AddDesktopButton to the view hierarchy behind the flags. Flag: com.android.window.flags.enable_multiple_desktops_frontend com.android.window.flags.enable_multiple_desktops_backend Bug: 382057498 Test: Manual Change-Id: I5748d8c18d8f5204fa1fb0717c4a8098bfde1537
2024-12-04Merge "multiple-desktops: Add new desktop button xml file" into main Treehugger Robot
2024-12-04multiple-desktops: Add new desktop button xml file minch
- Add the skeleton xml file for the new desktop button - Add the icon for this button as well - Create the kotlin file for this button Flag: EXEMPT as added files haven't connected with the production logic Fix: 379941322 Test: None Change-Id: I5c7ea2c061f0f9539483221f40c892626103d11e
2024-11-27Fix close button in workEDU card not 48dp. Brandon Dayauon
Can use insets to make it appear the same small visual but have a 48dp tap target. Since delegating the touch to the 48dp, we can make the imageButton clickable to false as it's instead being used by the 48dp frame. - since there's no rtl catering for insets insets must have equal left and right values. * this means to reduce the end margin of the text to be given to the LEFT inset of the inset_rounded_action_button * reduce end margin of the linearlayout to be given to the right inset of the drawable. bug:379794419 Test manually photos: beforeRTL:https://drive.google.com/file/d/1-DzcjOTywgk6SFjfCX7AVnmfqsIfa1lh/view?usp=sharing afterRTL:https://drive.google.com/file/d/1UERlZ7XdoF0NhFuQE-oMulqgW9sDq9cy/view?usp=sharing before:https://drive.google.com/file/d/1h5_Ljsx1rLyKum1PK7IRwD14ps2SPKC3/view?usp=sharing after:https://drive.google.com/file/d/1b_8rgrC8WlDIdQuO7gOXS0MDNCISfxWr/view?usp=sharing Flag: EXEMPT bug fix Change-Id: I017d4d34ef6e42fa49543c5f787063b061c382dc
2024-11-21Migrate materialColor* attributes into colors Marcelo Arteiro
TLDR: * This change should not break anything or change any color. * Simplifies theming and styling while improving developer experience. * With this developers can often skip styling for color entirely, while ensuring consistency and preventing accidental overrides. Bug: 374273611 Test: presubmit Flag: EXEMPT bugfix Change-Id: Id19038078e83c73847b1a7c686c3a3df1ecccac2
2024-11-18Fix work tab accessbility issues. Brandon Dayauon
The issue is that the accessibility scanner says tap target is 46dp rather than 48dp because of the 1dp padding that is added to the viewgroup. Rather, we should delegate that 1dp to the insets of the drawable instead. bug: 379222957 Test manually, photos: beforeAccessibilityscanner: https://drive.google.com/file/d/1-XssMfXstpKQk5Ve7l5UCPFORtCkYluH/view?usp=sharing before:https://drive.google.com/file/d/1rip4gIKpoOw-cCNroEjrpcJ9TMSthHhB/view?usp=sharing after: https://drive.google.com/file/d/1dOh4yxEAPBG_pGn92yUGizTCLTTW1w2K/view?usp=sharing Flag: NONE bug fix changing dp Change-Id: I5ac69e5d92bbbbc3617e30801316eb04d65ace7a
2024-11-08Merge "Add focus ring to widgets header" into main Matthew Mourgos
2024-11-07Add focus ring to widgets header Matthew Mourgos
Change the widgets header drawable to be a selector with the state_focused property in addition to the state_expanded property. The focused items are drawn with a focus ring with no ripple, while the unfocused items have a ripple. Bug: 365120324 Test: focus traversal through left widget picker pane Flag: EXEMPT bug fix Change-Id: I710cb9e2d727a061e0c19df15526e8c832f6366b
2024-11-07Define the list entry and view holder for the view all button Shamali P
Child cl updates the adapter & picker to use this list entry type. Bug: 356127021 Flag: com.android.launcher3.enable_tiered_widgets_by_default_in_picker Test: Manual Change-Id: I69e82fb7df24270dac4cc0afd003e98247280552
2024-11-06Implement the work scheduler view and update colors of FAB Brandon Dayauon
Update colors of the FAB to spec: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=3784-112229&node-type=instance&m=dev Exported the brief case icon from figma since it is not available on go/icons. Color of the brief case icon is onPrimary. Have place holder string in launcher but implement the actual string in NL. bug:361589193 Test - manual: video: https://drive.google.com/file/d/1CIs8qdtV1jUvbq57CcgAXDBPPHHX5CKJ/view?usp=sharing Flag: com.android.launcher3.work_scheduler_in_work_profile Change-Id: Ia98e9c4394f6ddfa7009653034929f9afbfeac8c
2024-10-29Remove layoutTransitions for current FAB and use custom animation. Brandon Dayauon
Have background contain left and right padding of 16dp. That way upon collapse, its easier to animate so that every other view's space but the icon is removed. Spec when expanded/collapsed: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=2839-365095&node-type=text&m=dev bug: 361589193 Test: manually - video:https://drive.google.com/file/d/1K7HCpayZBa_oo9p3XV10QQX4miTy_d3q/view?usp=sharing withRTL: https://drive.google.com/file/d/1NfUEyEvzjfQamujv4EqLNBqB47mPNG1Y/view?usp=sharing Flag: NONE just changing expandedFAB to use custom animations from layoutTransition Change-Id: I7948633850a1010175eb4f0248daff22cf2f2c87
2024-10-15Update letter list textview background color to spec. Brandon Dayauon
Spec: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=2746-180205&node-type=frame&m=dev bug: 358673724 Test: manually - photo: https://drive.google.com/file/d/1RWlaSRHbXCYhsY1F3nzruldQnABszUiz/view?usp=sharing Flag: com.android.launcher3.letter_fast_scroller Change-Id: I03cd4fbf1e76a7ad34983ace18a69a52116e7834
2024-10-11Merge changes from topic "fastScrollerPrivateSpaceDrawableToLetters" into main Brandon Dayauon
* changes: Add spannedDrawable for the divider in the letter fastScroller. Only have private space drawable section for beginning of private space section and keep letters for everything else.
2024-10-10Add spannedDrawable for the divider in the letter fastScroller. Brandon Dayauon
Divider exported from: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=2751-194737&node-type=frame&m=dev bug:358673724 Test photo: https://drive.google.com/file/d/1I_Mu7mjxboP3puAJuiA9X9V3ogFR0oin/view?usp=sharing Flag: com.android.launcher3.letter_fast_scroller Change-Id: Ica5f05befbd63dc93b9c50bbbd6821cd931d148b
2024-10-10Only have private space drawable section for beginning of private space ↵ Brandon Dayauon
section and keep letters for everything else. spec: https://www.figma.com/design/uMzPkNMZpb7EyfHDo8usIa/V-%E2%80%A2-Toast-Butter?node-id=2746-180205&node-type=frame&m=dev As of recent request: Only using the bubble background for everything and have private space go back to using letters. Will include divider in followup. bug:358673724 Test photo: https://drive.google.com/file/d/1dC3fgfWiumhyLm4vI-VfnXIYQyjPyrnk/view?usp=sharing Flag: com.android.launcher3.letter_fast_scroller Change-Id: I30487581eec4bd3e1921de4e3d899cfe2e2a703f
2024-09-25Implement focus state on personal/work tab button Liam, Lee Pong Lam
figma: https://www.figma.com/design/ccBEWEnusF6lE4edgCw7bG/Android-Interactions-Library?node-id=6315-109525&node-type=frame&t=SBKtwrMnJ0ppeUxa-0 result: https://photos.app.goo.gl/LEWF6tsKz3BXXWuv5 hsv: https://hsv.googleplex.com/4794951907934208 Bug: 327430110 Flag: EXEMPT bugfix Test: Manual Change-Id: Ia953c92f30cbd65a83f8e60e8bb2d4b17073b369
2024-09-20Merge "Add "New Window" option to Taskbar menu." into main Saumya Prakash
2024-09-19Add "New Window" option to Taskbar menu. Saumya Prakash
This change adds a new menu option to Taskbar that is invoked when long pressing an icon. It createds a new instance for an app if the app supports multi instance in Desktop Mode. Bug: 315344726 Test: Manual Flag: com.android.launcher3.enable_multi_instance_menu_taskbar Change-Id: Ibc42fbb1ad485496cd938af730b86e051cea559a
2024-09-13Cleaning up some enabled features Sunny Goyal
Bug: 270394468 Bug: 270393900 Bug: 270390907 Bug: 270390930 Bug: 270390937 Bug: 270391693 Bug: 270391638 Bug: 270395177 Bug: 270395269 Flag: EXEMPT legacy flags cleanup ENABLE_SHOW_KEYBOARD_OPTION_IN_ALL_APPS ENABLE_ALL_APPS_SEARCH_IN_TASKBAR ENABLE_DEVICE_SEARCH ENABLE_HIDE_HEADER ENABLE_TWOLINE_ALLAPPS IME_STICKY_SNACKBAR_EDU FOLDER_NAME_MAJORITY_RANKING SCROLL_TOP_TO_RESET ENABLE_SEARCH_UNINSTALLED_APPS ENABLE_HOME_TRANSITION_LISTENER Test: Presubmit Change-Id: Ia392c10fc65616405cc4d4a2b8ed566e3bb7d386
2024-09-04Merge "Updates many launcher color to new dynamic tokens" into main Marcelo Arteiro
2024-08-27Merge "Reuse widget picker's surface color in add item dialog." into main Shamali Patwa
2024-08-26Reuse widget picker's surface color in add item dialog. Shamali P
In ag/28129361 add item dialog's color was changed to reference material color token defined in launcher theme. But add item activity inherits from Theme.Translucent.NoTitleBar for its appearance (while launcher theme uses deviceDefault.Light), so, cannot inherit as is from the launcher theme. Since, there is already a token specific for widget picker surface color imported via widgetTheme, using it so it stays in sync with main picker. Bug: 354604590 Test: Manual Flag: EXEMPT BUGFIX Change-Id: I61ed5e65b0efd065490a54251028cde5888e4391
2024-08-26Merge "Create an alpha letter scroller" into main Brandon Dayauon
2024-08-26Create an alpha letter scroller Brandon Dayauon
- 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-20Adjust tap target of the profile tabs in picker Shamali P
Uses insets on background drawable to maintain visual size. Bug: 360245807 Test: Accessibility scanner Flag: EXEMPT bugfix Change-Id: I1fbc7c2c782a1e331dd1ba77b0a3bf8aad277792
2024-08-12Merge "Update desktop icon/app Chip with the new icon" into main Vinay Joglekar
2024-08-09Update desktop icon/app Chip with the new icon vinayjoglekar
Add desktop icon/app Chip text Test: OverviewDesktopTaskImageTest BUG: 320310236 Flag: EXEMPT resource only update Change-Id: I6a41cff78690777745b8dcbfea1b8fadee200f96
2024-08-08Add a bubble option to launcher long press menus Mady Mellor
- Add a launcher "system shortcut" to bubble deep shortcuts or apps - For shortcuts, save the shortcut info to use to produce the bubble - Add an interface so that the system shortcut can call through to sysui proxy Flag: com.android.wm.shell.enable_bubble_anything Test: manual - enable the flag and try to bubble a shortcut via the longpress menu on launcher - try bubbling an app on launcher - try bubbling an app from the taskbar Bug: 342245211 Change-Id: I1ef49e1628ba0be9cea05073ecd9cd66bf67f88f
2024-08-05Merge "Reapply "Handles Bold Text setting for inline icon by providing ↵ Charlie Anderson
bolded cloud icon"" into main
2024-08-03Merge "Fix app install icon colors by "reverting" small color change that ↵ Brandon Dayauon
applies to the private install icon." into main
2024-08-02Fix app install icon colors by "reverting" small color change that applies ↵ Brandon Dayauon
to the private install icon. Original big color change for reference: ag/28129361 bug:355065774 Test manually: after LT: https://drive.google.com/file/d/1Wi09fvakgGev_kbRso4LggXRb4GLYCsL/view?usp=sharing after DT: https://drive.google.com/file/d/1g5NOeV50ekEJl0-7hiSWYLPKsCCGbndP/view?usp=sharing Flag: NONE color fix Change-Id: Ie078eefe2b4b2ecf6aa1a086242ba643f42c038b
2024-08-02Reapply "Handles Bold Text setting for inline icon by providing bolded cloud ↵ Charlie Anderson
icon" This reverts commit 00fb1adab40581d46c7cebac973f6a71fa55eebb. Also fixes test applyIconAndLabel_setsImageSpan_whenInactiveArchivedApp. Bug: 350758155 Fixes: 356166053 Test: unit test Flag: com.android.launcher3.enable_new_archiving_icon Change-Id: I93f2ac47dc3a8fa81d59e0f089385d2b3fe93306
2024-07-31Revert "Handles Bold Text setting for inline icon by providing bolded cloud ↵ Charlie Anderson
icon" This reverts commit 114e84908fb399b65328b4261fd67ad6b23f6714. Reason for revert: b/356166053 Change-Id: I30dfbc5da1caecd89b4b23aafe4de8e9efede6a0
2024-07-26Handles Bold Text setting for inline icon by providing bolded cloud icon Charlie Anderson
Bug: 350758155 Test: locally tested + unit tests Flag: com.android.launcher3.enable_new_archiving_icon Change-Id: I6e1fccbb7c8cb87a7e2675a60b05bf0cb402acf2
2024-07-22Remove padding on background and icon. Brandon Dayauon
This padding causes the x to look pointy. bug:342246204 Test: before padding:https://screenshot.googleplex.com/GU8ZKEcGPH7DaAD after padding: https://screenshot.googleplex.com/aRGtiKMQ8jyMWsw Flag: NONE Padding change Change-Id: I910914b742bfbb5bf0122ebb1b950ce95c43e9ed
2024-07-19Updates many launcher color to new dynamic tokens Marcelo Arteiro
Bug: 335442983 Test: Manual Flag: EXEMPT bugfix Change-Id: Ic453ae6a717bb274682242f7af5b0551313672a4
2024-07-19Align color resources in launcher projects. Marcelo Arteiro
This is an effort to align/unify color usage across all launcher projects and the system itself. This fix recreates all dynamic color attributes present in the OS since many launcher areas cannot access private attributes. It is recomemnded to use these new local attributes in all launcher areas and avoid creating new color resources when these can be used directly. Bug: 352690172 Test: Presubmits Flag: EXEMPT bugfix Change-Id: Ic36b8bf70ee37f2fdd32e459e66f0e2d001d6ba2
2024-07-17Add a 3 dot vertical menu and styles (child cl makes it functional) Shamali P
Bug: 347288851 Flag: EXEMPT standalone picker Test: Manual Change-Id: I99985098034f6336f683b1ff3a47dce2aa8e596a
2024-07-16Add new Cloud archived app icon and support for inline icons for BubbleTextView Charlie Anderson
- Can now set start drawable for BubbleTextView title with setTextWithStartIcon() - App Archiving cloud overlay icon will be disabled when flag on Bug: 350758155 Test: locally tested B&R with pre-archiving Flag: com.android.launcher3.enable_new_archiving_icon Change-Id: I4d395a7ea7dc5ee11259f897d45b83eabdabb766
2024-07-11Update workEDU background color to scHighest Brandon Dayauon
bug: 342246204 Test: manually photos: beforeDT: https://drive.google.com/file/d/14qJDNK2044KQXLLr3NgKMnxRcGysGcf3/view?usp=sharing beforeLT: https://drive.google.com/file/d/1qwKBSUjGXtqY8PVep7ZT0FhABx2kFGFt/view?usp=sharing afterLT: https://drive.google.com/file/d/1-rR-5x-vp0WUTlGV8rJMHiHnhQ07FfXC/view?usp=sharing afterDT: https://drive.google.com/file/d/1szHqOSudhqEF4_AId9xD77YKTmGJt09n/view?usp=sharing Flag: NONE Color change Change-Id: I7d41581c613bd719515fcf491967327c989bf91b
2024-07-09Make close button to use google symbol library icon and update close color ↵ Brandon Dayauon
button spec: https://docs.google.com/presentation/d/1tTODboxGqJ3ypEyYnr0-bUpSXcvX1cl6Sj8y0Nut5hU/edit?resourcekey=0-9GT8EJG43kTT4aKPWVWRig#slide=id.g2df5f2c9773_4_0 CloseButtonColor to be scLOW CloseIconColor to be onSurface bug: 342246204 Test: manually photos: beforeLT: https://drive.google.com/file/d/14O61WzHmeAhOdGirUci2u9vot3FWcSKo/view?usp=sharing beforeDT: https://drive.google.com/file/d/1Dt75_sRIWNHMuwqnYzE1WvjRTZFHWJ8-/view?usp=sharing afterLT: https://drive.google.com/file/d/1npg-icWcsEN5OCgMtP1oU7mB-gGuT6_n/view?usp=sharing afterDT: https://drive.google.com/file/d/11LTC_61QTg4tX0SUO23cAbLaP7aoSnh-/view?usp=sharing Flag: NONE Color change Change-Id: I0c47c927c5c8094a018e6f18061e99fc4bd901de