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