Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?><!-- |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 2 | /* Copyright 2008, The Android Open Source Project |
| 3 | ** |
| 4 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ** you may not use this file except in compliance with the License. |
| 6 | ** You may obtain a copy of the License at |
| 7 | ** |
| 8 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ** |
| 10 | ** Unless required by applicable law or agreed to in writing, software |
| 11 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ** See the License for the specific language governing permissions and |
| 14 | ** limitations under the License. |
| 15 | */ |
| 16 | --> |
| 17 | |
Sunny Goyal | da1dfa3 | 2017-04-26 22:34:49 -0700 | [diff] [blame] | 18 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 19 | |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 20 | <!-- Attributes used for launcher theme --> |
| 21 | <attr name="allAppsScrimColor" format="color" /> |
Sunny Goyal | 337fcb7 | 2018-05-30 12:00:43 -0700 | [diff] [blame] | 22 | <attr name="allAppsInterimScrimAlpha" format="integer" /> |
Sunny Goyal | 81a70e5 | 2017-08-18 01:02:20 -0700 | [diff] [blame] | 23 | <attr name="allAppsNavBarScrimColor" format="color" /> |
Samuel Fufa | 61bc63a | 2020-06-05 12:17:16 -0700 | [diff] [blame] | 24 | <attr name="allAppsTheme" format="reference" /> |
Tony Wickham | 90038eb | 2017-06-06 15:42:32 -0700 | [diff] [blame] | 25 | <attr name="popupColorPrimary" format="color" /> |
| 26 | <attr name="popupColorSecondary" format="color" /> |
| 27 | <attr name="popupColorTertiary" format="color" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 28 | <attr name="isMainColorDark" format="boolean" /> |
| 29 | <attr name="isWorkspaceDarkText" format="boolean" /> |
| 30 | <attr name="workspaceTextColor" format="color" /> |
| 31 | <attr name="workspaceShadowColor" format="color" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 32 | <attr name="workspaceAmbientShadowColor" format="color" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 33 | <attr name="workspaceKeyShadowColor" format="color" /> |
| 34 | <attr name="workspaceStatusBarScrim" format="reference" /> |
Tony Wickham | 093c3ac | 2017-06-26 10:48:41 -0700 | [diff] [blame] | 35 | <attr name="widgetsTheme" format="reference" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 36 | <attr name="iconOnlyShortcutColor" format="color" /> |
| 37 | <attr name="eduHalfSheetBGColor" format="color" /> |
Sunny Goyal | 368ae77 | 2017-05-24 13:19:15 -0700 | [diff] [blame] | 38 | |
Sunny Goyal | 9fc5ae7 | 2019-01-03 16:47:18 -0800 | [diff] [blame] | 39 | <attr name="folderDotColor" format="color" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 40 | <attr name="folderFillColor" format="color" /> |
Sunny Goyal | 9fc5ae7 | 2019-01-03 16:47:18 -0800 | [diff] [blame] | 41 | <attr name="folderIconRadius" format="float" /> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 42 | <attr name="folderIconBorderColor" format="color" /> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 43 | <attr name="folderTextColor" format="color" /> |
Samuel Fufa | 7315bdd | 2020-02-03 18:56:54 -0800 | [diff] [blame] | 44 | <attr name="folderHintColor" format="color" /> |
Samuel Fufa | ea4dcf4 | 2020-02-04 12:08:11 -0800 | [diff] [blame] | 45 | <attr name="workProfileOverlayTextColor" format="color" /> |
Adam Cohen | f7ca3b4 | 2021-02-22 11:03:58 -0800 | [diff] [blame] | 46 | <attr name="gridColor" format="color" /> |
Sunny Goyal | 9fc5ae7 | 2019-01-03 16:47:18 -0800 | [diff] [blame] | 47 | |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 48 | <!-- BubbleTextView specific attributes. --> |
| 49 | <declare-styleable name="BubbleTextView"> |
| 50 | <attr name="layoutHorizontal" format="boolean" /> |
| 51 | <attr name="iconSizeOverride" format="dimension" /> |
Sunny Goyal | dfaccf6 | 2015-05-11 16:30:44 -0700 | [diff] [blame] | 52 | <attr name="iconDisplay" format="integer"> |
| 53 | <enum name="workspace" value="0" /> |
| 54 | <enum name="all_apps" value="1" /> |
Sunny Goyal | baec6ff | 2016-09-14 11:26:21 -0700 | [diff] [blame] | 55 | <enum name="folder" value="2" /> |
| 56 | <enum name="widget_section" value="3" /> |
Jon Miranda | 93e1f04 | 2016-11-11 14:13:04 -0800 | [diff] [blame] | 57 | <enum name="shortcut_popup" value="4" /> |
Samuel Fufa | 4a53c70 | 2020-08-04 14:06:55 -0700 | [diff] [blame] | 58 | <enum name="hero_app" value="5" /> |
Tony Wickham | 794fe4f | 2021-01-11 14:54:23 -0600 | [diff] [blame] | 59 | <enum name="taskbar" value="6" /> |
Sunny Goyal | dfaccf6 | 2015-05-11 16:30:44 -0700 | [diff] [blame] | 60 | </attr> |
Winson | 1f06427 | 2016-07-18 17:18:02 -0700 | [diff] [blame] | 61 | <attr name="centerVertically" format="boolean" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 62 | </declare-styleable> |
| 63 | |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 64 | <!-- BubbleTextView specific attributes. --> |
| 65 | <declare-styleable name="FolderIconPreview"> |
Hyunyoung Song | e751d90 | 2019-05-13 23:23:05 -0700 | [diff] [blame] | 66 | <attr name="folderFillColor" /> |
Sunny Goyal | bcadb7f | 2019-02-05 14:45:31 -0800 | [diff] [blame] | 67 | <attr name="folderIconBorderColor" /> |
| 68 | <attr name="folderDotColor" /> |
| 69 | </declare-styleable> |
| 70 | |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 71 | <declare-styleable name="SearchResultSuggestion"> |
Samuel Fufa | 4b7f38b | 2020-10-06 18:37:46 -0700 | [diff] [blame] | 72 | <attr name="customIcon" format="reference" /> |
| 73 | <attr name="matchTextInsetWithQuery" format="boolean" /> |
| 74 | </declare-styleable> |
| 75 | |
| 76 | |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 77 | <declare-styleable name="ShadowInfo"> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 78 | <attr name="ambientShadowColor" format="color" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 79 | <attr name="ambientShadowBlur" format="dimension" /> |
Mario Bertschler | a693694 | 2017-05-31 14:48:19 -0700 | [diff] [blame] | 80 | <attr name="keyShadowColor" format="color" /> |
Sunny Goyal | 9314b7c | 2017-06-23 10:36:27 -0700 | [diff] [blame] | 81 | <attr name="keyShadowBlur" format="dimension" /> |
Shan Huang | 5620c75 | 2021-04-16 21:33:39 +0800 | [diff] [blame^] | 82 | <attr name="keyShadowOffsetX" format="dimension" /> |
| 83 | <attr name="keyShadowOffsetY" format="dimension" /> |
Winson Chung | b745afb | 2015-03-02 11:51:23 -0800 | [diff] [blame] | 84 | </declare-styleable> |
| 85 | |
Winson Chung | 321e9ee | 2010-08-09 13:37:56 -0700 | [diff] [blame] | 86 | <!-- PagedView specific attributes. These attributes are used to customize |
| 87 | a PagedView view in XML files. --> |
| 88 | <declare-styleable name="PagedView"> |
Winson Chung | d2be381 | 2013-07-16 11:11:32 -0700 | [diff] [blame] | 89 | <!-- The page indicator for this workspace --> |
| 90 | <attr name="pageIndicator" format="reference" /> |
Winson Chung | 321e9ee | 2010-08-09 13:37:56 -0700 | [diff] [blame] | 91 | </declare-styleable> |
| 92 | |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 93 | <!-- XML attributes used by default_workspace.xml --> |
| 94 | <declare-styleable name="Favorite"> |
| 95 | <attr name="className" format="string" /> |
| 96 | <attr name="packageName" format="string" /> |
Winson Chung | 3d503fb | 2011-07-13 17:25:49 -0700 | [diff] [blame] | 97 | <attr name="container" format="string" /> |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 98 | <attr name="screen" format="string" /> |
| 99 | <attr name="x" format="string" /> |
| 100 | <attr name="y" format="string" /> |
Mike Cleron | b87bd16 | 2009-10-30 16:36:56 -0700 | [diff] [blame] | 101 | <attr name="spanX" format="string" /> |
| 102 | <attr name="spanY" format="string" /> |
Sunny Goyal | eba87b1 | 2016-02-26 09:44:27 -0800 | [diff] [blame] | 103 | <attr name="icon" format="reference" /> |
| 104 | <attr name="title" format="string" /> |
Mike Cleron | b87bd16 | 2009-10-30 16:36:56 -0700 | [diff] [blame] | 105 | <attr name="uri" format="string" /> |
The Android Open Source Project | f96811c | 2009-03-18 17:39:48 -0700 | [diff] [blame] | 106 | </declare-styleable> |
Adam Cohen | cee8c66 | 2014-10-16 09:49:52 -0700 | [diff] [blame] | 107 | |
Winson Chung | b3302ae | 2012-05-01 10:19:14 -0700 | [diff] [blame] | 108 | <declare-styleable name="Extra"> |
| 109 | <attr name="key" format="string" /> |
| 110 | <attr name="value" format="string" /> |
| 111 | </declare-styleable> |
Daniel Sandler | 57dac26 | 2013-10-03 13:28:36 -0400 | [diff] [blame] | 112 | <declare-styleable name="Include"> |
| 113 | <attr name="workspace" format="reference" /> |
Adam Cohen | cee8c66 | 2014-10-16 09:49:52 -0700 | [diff] [blame] | 114 | <attr name="folderItems" format="reference" /> |
Daniel Sandler | 57dac26 | 2013-10-03 13:28:36 -0400 | [diff] [blame] | 115 | </declare-styleable> |
Winson Chung | 2816ca5 | 2012-05-23 15:14:34 -0700 | [diff] [blame] | 116 | |
Adam Cohen | be25822 | 2014-10-24 16:45:59 -0700 | [diff] [blame] | 117 | <declare-styleable name="InsettableFrameLayout_Layout"> |
| 118 | <attr name="layout_ignoreInsets" format="boolean" /> |
| 119 | </declare-styleable> |
Sunny Goyal | f37a214 | 2016-03-24 17:28:25 -0700 | [diff] [blame] | 120 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 121 | <declare-styleable name="GridDisplayOption"> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 122 | <attr name="name" format="string" /> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 123 | |
| 124 | <attr name="numRows" format="integer" /> |
| 125 | <attr name="numColumns" format="integer" /> |
| 126 | <!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified --> |
| 127 | <attr name="numFolderRows" format="integer" /> |
| 128 | <attr name="numFolderColumns" format="integer" /> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 129 | <!-- numHotseatIcons defaults to numColumns, if not specified --> |
| 130 | <attr name="numHotseatIcons" format="integer" /> |
Tracy Zhou | 7df93d2 | 2020-01-27 13:44:06 -0800 | [diff] [blame] | 131 | <attr name="dbFile" format="string" /> |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 132 | <attr name="defaultLayoutId" format="reference" /> |
| 133 | <attr name="demoModeLayoutId" format="reference" /> |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 134 | <attr name="isScalable" format="boolean" /> |
Jon Miranda | c9e69fa | 2021-03-22 17:13:34 -0400 | [diff] [blame] | 135 | <attr name="devicePaddingId" format="reference" /> |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 136 | |
Jon Miranda | ec1277e | 2021-03-25 10:41:54 -0400 | [diff] [blame] | 137 | <!-- whether the grid option is shown to the user --> |
| 138 | <attr name="visible" format="boolean" /> |
| 139 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 140 | </declare-styleable> |
| 141 | |
Jon Miranda | 228877d | 2021-02-09 11:05:00 -0500 | [diff] [blame] | 142 | <declare-styleable name="DevicePadding"> |
| 143 | <attr name="maxEmptySpace" format="dimension" /> |
| 144 | </declare-styleable> |
| 145 | |
| 146 | <declare-styleable name="DevicePaddingFormula"> |
| 147 | <attr name="a" format="float|dimension" /> |
| 148 | <attr name="b" format="float|dimension" /> |
| 149 | <attr name="c" format="float|dimension" /> |
| 150 | </declare-styleable> |
| 151 | |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 152 | <declare-styleable name="ProfileDisplayOption"> |
| 153 | <attr name="name" /> |
| 154 | <attr name="minWidthDps" format="float" /> |
| 155 | <attr name="minHeightDps" format="float" /> |
| 156 | |
Jon Miranda | e126d72 | 2021-02-25 10:45:20 -0500 | [diff] [blame] | 157 | <!-- These min cell values are only used if GridDisplayOption#isScalable is true--> |
| 158 | <attr name="minCellHeightDps" format="float" /> |
| 159 | <attr name="minCellWidthDps" format="float" /> |
| 160 | |
| 161 | <attr name="borderSpacingDps" format="float" /> |
| 162 | |
Ryan Mitchell | 01b8b68 | 2019-03-28 17:01:07 -0700 | [diff] [blame] | 163 | <attr name="iconImageSize" format="float" /> |
Jon Miranda | b28c4fc | 2017-06-20 10:58:36 -0700 | [diff] [blame] | 164 | <!-- landscapeIconSize defaults to iconSize, if not specified --> |
| 165 | <attr name="landscapeIconSize" format="float" /> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 166 | <attr name="iconTextSize" format="float" /> |
Andras Kloczl | 6057cb9 | 2021-04-07 13:45:17 +0200 | [diff] [blame] | 167 | <!-- landscapeIconTextSize defaults to iconTextSize, if not specified --> |
| 168 | <attr name="landscapeIconTextSize" format="float" /> |
Sunny Goyal | 415f173 | 2018-11-29 10:33:47 -0800 | [diff] [blame] | 169 | <!-- If true, this display option is used to determine the default grid --> |
| 170 | <attr name="canBeDefault" format="boolean" /> |
Sunny Goyal | ae190ff | 2020-04-14 00:19:01 +0000 | [diff] [blame] | 171 | |
| 172 | <!-- The following values are only enabled if grid is supported. --> |
| 173 | <!-- allAppsIconSize defaults to iconSize, if not specified --> |
| 174 | <attr name="allAppsIconSize" format="float" /> |
| 175 | <!-- allAppsIconTextSize defaults to iconTextSize, if not specified --> |
| 176 | <attr name="allAppsIconTextSize" format="float" /> |
Alex Chau | 7c43972 | 2021-03-24 11:32:44 +0000 | [diff] [blame] | 177 | |
| 178 | <!-- numAllAppsColumns defaults to GridDisplayOption.numColumns, if not specified --> |
| 179 | <attr name="numAllAppsColumns" format="integer" /> |
Tony Wickham | b87f3cd | 2021-04-07 15:02:37 -0700 | [diff] [blame] | 180 | |
| 181 | <!-- numShownHotseatIcons defaults to GridDisplayOption.numHotseatIcons, if not specified --> |
| 182 | <attr name="numShownHotseatIcons" format="integer" /> |
Sunny Goyal | 819e193 | 2016-07-07 16:43:58 -0700 | [diff] [blame] | 183 | </declare-styleable> |
| 184 | |
Sunny Goyal | c13403c | 2016-11-18 23:44:48 -0800 | [diff] [blame] | 185 | <declare-styleable name="CellLayout"> |
| 186 | <attr name="containerType" format="integer"> |
| 187 | <enum name="workspace" value="0" /> |
| 188 | <enum name="hotseat" value="1" /> |
| 189 | <enum name="folder" value="2" /> |
| 190 | </attr> |
| 191 | </declare-styleable> |
| 192 | |
Sunny Goyal | da1dfa3 | 2017-04-26 22:34:49 -0700 | [diff] [blame] | 193 | <declare-styleable name="ShadowDrawable"> |
| 194 | <attr name="android:src" /> |
| 195 | <attr name="android:shadowColor" /> |
Sunny Goyal | 8b6ac00 | 2017-05-16 16:16:25 -0700 | [diff] [blame] | 196 | <attr name="android:elevation" /> |
Samuel Fufa | 6e5efb0 | 2020-11-02 11:31:59 -0600 | [diff] [blame] | 197 | <attr name="darkTintColor" format="color" /> |
Sunny Goyal | da1dfa3 | 2017-04-26 22:34:49 -0700 | [diff] [blame] | 198 | </declare-styleable> |
Sunny Goyal | 89d5c5a | 2017-06-23 16:12:50 -0700 | [diff] [blame] | 199 | |
| 200 | <declare-styleable name="RecyclerViewFastScroller"> |
| 201 | <attr name="canThumbDetach" format="boolean" /> |
| 202 | </declare-styleable> |
Sunny Goyal | 952e63d | 2017-08-16 04:59:08 -0700 | [diff] [blame] | 203 | |
Sunny Goyal | b694a69 | 2020-10-13 13:37:28 -0700 | [diff] [blame] | 204 | <declare-styleable name="LoggablePref"> |
| 205 | <attr name="android:key" /> |
| 206 | <attr name="android:defaultValue" /> |
| 207 | <!-- Ground truth of this Pref integer can be found in StatsLogManager --> |
| 208 | <attr name="logIdOn" format="integer" /> |
| 209 | <attr name="logIdOff" format="integer" /> |
| 210 | </declare-styleable> |
| 211 | |
Sunny Goyal | ef92b82 | 2018-11-21 14:12:00 -0800 | [diff] [blame] | 212 | <declare-styleable name="PreviewFragment"> |
| 213 | <attr name="android:name" /> |
| 214 | <attr name="android:id" /> |
| 215 | </declare-styleable> |
Steven Ng | e92bc55 | 2021-02-10 17:10:15 +0000 | [diff] [blame] | 216 | |
| 217 | <declare-styleable name="WidgetsListRowHeader"> |
| 218 | <attr name="appIconSize" format="dimension" /> |
| 219 | </declare-styleable> |
The Android Open Source Project | 31dd503 | 2009-03-03 19:32:27 -0800 | [diff] [blame] | 220 | </resources> |