/frameworks/base/graphics/java/android/graphics/drawable/ |
ColorDrawable.java | 46 * @attr ref android.R.styleable#ColorDrawable_color 263 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ColorDrawable); 282 state.mBaseColor = a.getColor(R.styleable.ColorDrawable_color, state.mBaseColor); 301 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ColorDrawable);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
SettingsDrawerActivity.java | 69 TypedArray theme = getTheme().obtainStyledAttributes(android.R.styleable.Theme); 70 if (!theme.getBoolean(android.R.styleable.Theme_windowNoTitle, false)) { 78 if (theme.getBoolean(android.R.styleable.Theme_windowNoTitle, false)) {
|
/frameworks/layoutlib/bridge/src/android/view/ |
LayoutInflater_Delegate.java | 169 attrs, com.android.internal.R.styleable.Include); 171 com.android.internal.R.styleable.Include_id, View.NO_ID); 173 com.android.internal.R.styleable.Include_visibility, -1);
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
PreferenceGroup.java | 80 attrs, R.styleable.PreferenceGroup, defStyleAttr, defStyleRes); 83 TypedArrayUtils.getBoolean(a, R.styleable.PreferenceGroup_orderingFromXml, 84 R.styleable.PreferenceGroup_orderingFromXml, true);
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
AutoResizeTextView.java | 83 attrs, R.styleable.AutoResizeTextView, defStyleAttr, defStyleRes); 194 R.styleable.AutoResizeTextView_autoResizeText_resizeStepUnit, DEFAULT_RESIZE_STEP_UNIT); 196 R.styleable.AutoResizeTextView_autoResizeText_minTextSize, DEFAULT_MIN_TEXT_SIZE);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartView.java | 63 attrs, R.styleable.ChartView, defStyle, 0); 64 setOptimalWidth(a.getDimensionPixelSize(R.styleable.ChartView_optimalWidth, -1), 65 a.getFloat(R.styleable.ChartView_optimalWidthWeight, 0));
|
MatchParentShrinkingLinearLayout.java | 189 attrs, com.android.internal.R.styleable.LinearLayout, defStyleAttr, defStyleRes); 191 int index = a.getInt(com.android.internal.R.styleable.LinearLayout_orientation, -1); 196 index = a.getInt(com.android.internal.R.styleable.LinearLayout_gravity, -1); 201 boolean baselineAligned = a.getBoolean(R.styleable.LinearLayout_baselineAligned, true); 206 mWeightSum = a.getFloat(R.styleable.LinearLayout_weightSum, -1.0f); 209 com.android.internal.R.styleable.LinearLayout_baselineAlignedChildIndex, -1); 211 mUseLargestChild = a.getBoolean(R.styleable.LinearLayout_measureWithLargestChild, false); 213 setDividerDrawable(a.getDrawable(R.styleable.LinearLayout_divider)); 214 mShowDividers = a.getInt(R.styleable.LinearLayout_showDividers, SHOW_DIVIDER_NONE); 215 mDividerPadding = a.getDimensionPixelSize(R.styleable.LinearLayout_dividerPadding, 0) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatDelegateImplV9.java | 350 TypedArray a = mContext.obtainStyledAttributes(R.styleable.AppCompatTheme); 352 if (!a.hasValue(R.styleable.AppCompatTheme_windowActionBar)) { 358 if (a.getBoolean(R.styleable.AppCompatTheme_windowNoTitle, false)) { 360 } else if (a.getBoolean(R.styleable.AppCompatTheme_windowActionBar, false)) { 364 if (a.getBoolean(R.styleable.AppCompatTheme_windowActionBarOverlay, false)) { 367 if (a.getBoolean(R.styleable.AppCompatTheme_windowActionModeOverlay, false)) { 370 mIsFloating = a.getBoolean(R.styleable.AppCompatTheme_android_windowIsFloating, false); 541 TypedArray a = mContext.obtainStyledAttributes(R.styleable.AppCompatTheme); 542 a.getValue(R.styleable.AppCompatTheme_windowMinWidthMajor, cfl.getMinWidthMajor()); 543 a.getValue(R.styleable.AppCompatTheme_windowMinWidthMinor, cfl.getMinWidthMinor()) [all...] |
AlertController.java | 183 final TypedArray a = context.obtainStyledAttributes(null, R.styleable.AlertDialog, 186 mAlertDialogLayout = a.getResourceId(R.styleable.AlertDialog_android_layout, 0); 187 mButtonPanelSideLayout = a.getResourceId(R.styleable.AlertDialog_buttonPanelSideLayout, 0); 189 mListLayout = a.getResourceId(R.styleable.AlertDialog_listLayout, 0); 190 mMultiChoiceItemLayout = a.getResourceId(R.styleable.AlertDialog_multiChoiceItemLayout, 0); 192 .getResourceId(R.styleable.AlertDialog_singleChoiceItemLayout, 0); 193 mListItemLayout = a.getResourceId(R.styleable.AlertDialog_listItemLayout, 0); 194 mShowTitle = a.getBoolean(R.styleable.AlertDialog_showTitle, true); 826 attrs, R.styleable.RecycleListView); 828 R.styleable.RecycleListView_paddingBottomNoButtons, -1) [all...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 338 R.styleable.FastScroll, R.attr.fastScrollStyle, resId); 343 case R.styleable.FastScroll_position: 346 case R.styleable.FastScroll_backgroundLeft: 349 case R.styleable.FastScroll_backgroundRight: 352 case R.styleable.FastScroll_thumbDrawable: 355 case R.styleable.FastScroll_trackDrawable: 358 case R.styleable.FastScroll_textAppearance: 361 case R.styleable.FastScroll_textColor: 364 case R.styleable.FastScroll_textSize: 367 case R.styleable.FastScroll_minWidth [all...] |
SearchView.java | 92 * @attr ref android.R.styleable#SearchView_iconifiedByDefault 93 * @attr ref android.R.styleable#SearchView_imeOptions 94 * @attr ref android.R.styleable#SearchView_inputType 95 * @attr ref android.R.styleable#SearchView_maxWidth 96 * @attr ref android.R.styleable#SearchView_queryHint 265 attrs, R.styleable.SearchView, defStyleAttr, defStyleRes); 269 R.styleable.SearchView_layout, R.layout.search_view); 285 mSearchPlate.setBackground(a.getDrawable(R.styleable.SearchView_queryBackground)); 286 mSubmitArea.setBackground(a.getDrawable(R.styleable.SearchView_submitBackground)); 287 mSearchButton.setImageDrawable(a.getDrawable(R.styleable.SearchView_searchIcon)) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContainer.java | 63 com.android.internal.R.styleable.ActionBar); 64 mBackground = a.getDrawable(com.android.internal.R.styleable.ActionBar_background); 66 com.android.internal.R.styleable.ActionBar_backgroundStacked); 67 mHeight = a.getDimensionPixelSize(com.android.internal.R.styleable.ActionBar_height, -1); 72 com.android.internal.R.styleable.ActionBar_backgroundSplit);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteButton.java | 132 R.styleable.MediaRouteButton, defStyleAttr, 0); 133 mButtonTint = a.getColorStateList(R.styleable.MediaRouteButton_mediaRouteButtonTint); 135 R.styleable.MediaRouteButton_android_minWidth, 0); 137 R.styleable.MediaRouteButton_android_minHeight, 0); 139 R.styleable.MediaRouteButton_externalRouteEnabledDrawable, 0);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
AsyncImageView.java | 105 final TypedArray attr = context.obtainStyledAttributes(attrs, R.styleable.AsyncImageView, 107 mFadeIn = attr.getBoolean(R.styleable.AsyncImageView_fadeIn, true); 108 mReveal = attr.getBoolean(R.styleable.AsyncImageView_reveal, false); 109 mPlaceholderDrawable = attr.getDrawable(R.styleable.AsyncImageView_placeholderDrawable); 110 mCornerRadius = attr.getDimensionPixelSize(R.styleable.AsyncImageView_cornerRadius, 0);
|
/frameworks/base/tools/aapt2/ |
ResourceParser_test.cpp | 257 <declare-styleable name="bar"> 259 </declare-styleable>)"; 264 EXPECT_THAT(test::GetValueForConfig<Styleable>(&table_, "styleable/bar", watch_config), IsNull()); 268 EXPECT_THAT(test::GetValue<Styleable>(&table_, "styleable/bar"), NotNull()); 288 <declare-styleable name="Styleable"> 290 </declare-styleable> 301 <declare-styleable name="Theme" [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseCardView.java | 158 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbBaseCardView, 162 mCardType = a.getInteger(R.styleable.lbBaseCardView_cardType, CARD_TYPE_MAIN_ONLY); 163 Drawable cardForeground = a.getDrawable(R.styleable.lbBaseCardView_cardForeground); 167 Drawable cardBackground = a.getDrawable(R.styleable.lbBaseCardView_cardBackground); 171 mInfoVisibility = a.getInteger(R.styleable.lbBaseCardView_infoVisibility, 173 mExtraVisibility = a.getInteger(R.styleable.lbBaseCardView_extraVisibility, 181 R.styleable.lbBaseCardView_selectedAnimationDelay, 185 R.styleable.lbBaseCardView_selectedAnimationDuration, 189 a.getInteger(R.styleable.lbBaseCardView_activatedAnimationDuration, 865 TypedArray a = c.obtainStyledAttributes(attrs, R.styleable.lbBaseCardView_Layout) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
Key.java | 279 R.styleable.Keyboard_Key_backgroundType, row.getDefaultBackgroundType()); 283 R.styleable.Keyboard_Key_visualInsetsLeft, baseWidth, baseWidth, 0)); 285 R.styleable.Keyboard_Key_visualInsetsRight, baseWidth, baseWidth, 0)); 287 mLabelFlags = style.getFlags(keyAttr, R.styleable.Keyboard_Key_keyLabelFlags) 291 int actionFlags = style.getFlags(keyAttr, R.styleable.Keyboard_Key_keyActionFlags); 292 String[] moreKeys = style.getStringArray(keyAttr, R.styleable.Keyboard_Key_moreKeys); 296 | style.getInt(keyAttr, R.styleable.Keyboard_Key_maxMoreKeysColumn, 325 R.styleable.Keyboard_Key_additionalMoreKeys); 341 R.styleable.Keyboard_Key_keyIconDisabled)); 361 keyAttr, R.styleable.Keyboard_Key_keyHintLabel) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripLayoutHelper.java | 102 // {@link R.styleable#SuggestionStripView_suggestionStripOptions} attribute. 126 R.styleable.SuggestionStripView, defStyle, R.style.SuggestionStripView); 128 R.styleable.SuggestionStripView_suggestionStripOptions, 0); 130 R.styleable.SuggestionStripView_alphaObsoleted, 1.0f); 131 mColorValidTypedWord = a.getColor(R.styleable.SuggestionStripView_colorValidTypedWord, 0); 132 mColorTypedWord = a.getColor(R.styleable.SuggestionStripView_colorTypedWord, 0); 133 mColorAutoCorrect = a.getColor(R.styleable.SuggestionStripView_colorAutoCorrect, 0); 134 mColorSuggested = a.getColor(R.styleable.SuggestionStripView_colorSuggested, 0); 136 R.styleable.SuggestionStripView_suggestionsCountInStrip, 139 R.styleable.SuggestionStripView_centerSuggestionPercentile [all...] |
/frameworks/base/tools/aapt2/java/ |
JavaClassGenerator.cpp | 74 // Transforms an attribute in a styleable to the Java field name: 76 // <declare-styleable name="Foo"> 79 // </declare-styleable> 229 const Styleable& styleable, 240 sorted_attributes.reserve(styleable.entries.size()); 241 for (const auto& attr : styleable.entries) { 242 // If we are not encoding final attributes, the styleable entry may have no 244 CHECK(!options_.use_final || attr.id) << "no ID set for Styleable entry"; 245 CHECK(bool(attr.name)) << "no name set for Styleable entry" 531 const Styleable* styleable = local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatSpinner.java | 189 * {@link R.styleable#Spinner_popupTheme}. 198 R.styleable.Spinner, defStyleAttr, 0); 205 final int popupThemeResId = a.getResourceId(R.styleable.Spinner_popupTheme, 0); 236 mPopupContext, attrs, R.styleable.Spinner, defStyleAttr, 0); 237 mDropDownWidth = pa.getLayoutDimension(R.styleable.Spinner_android_dropDownWidth, 240 pa.getDrawable(R.styleable.Spinner_android_popupBackground)); 241 popup.setPromptText(a.getString(R.styleable.Spinner_android_prompt)); 262 final CharSequence[] entries = a.getTextArray(R.styleable.Spinner_android_entries);
|
SearchView.java | 276 attrs, R.styleable.SearchView, defStyleAttr, 0); 280 R.styleable.SearchView_layout, R.layout.abc_search_view); 297 a.getDrawable(R.styleable.SearchView_queryBackground)); 299 a.getDrawable(R.styleable.SearchView_submitBackground)); 300 mSearchButton.setImageDrawable(a.getDrawable(R.styleable.SearchView_searchIcon)); 301 mGoButton.setImageDrawable(a.getDrawable(R.styleable.SearchView_goIcon)); 302 mCloseButton.setImageDrawable(a.getDrawable(R.styleable.SearchView_closeIcon)); 303 mVoiceButton.setImageDrawable(a.getDrawable(R.styleable.SearchView_voiceIcon)); 304 mCollapsedIcon.setImageDrawable(a.getDrawable(R.styleable.SearchView_searchIcon)); 306 mSearchHintIcon = a.getDrawable(R.styleable.SearchView_searchHintIcon) [all...] |
LinearLayoutCompat.java | 154 R.styleable.LinearLayoutCompat, defStyleAttr, 0); 156 int index = a.getInt(R.styleable.LinearLayoutCompat_android_orientation, -1); 161 index = a.getInt(R.styleable.LinearLayoutCompat_android_gravity, -1); 166 boolean baselineAligned = a.getBoolean(R.styleable.LinearLayoutCompat_android_baselineAligned, true); 171 mWeightSum = a.getFloat(R.styleable.LinearLayoutCompat_android_weightSum, -1.0f); 174 a.getInt(R.styleable.LinearLayoutCompat_android_baselineAlignedChildIndex, -1); 176 mUseLargestChild = a.getBoolean(R.styleable.LinearLayoutCompat_measureWithLargestChild, false); 178 setDividerDrawable(a.getDrawable(R.styleable.LinearLayoutCompat_divider)); 179 mShowDividers = a.getInt(R.styleable.LinearLayoutCompat_showDividers, SHOW_DIVIDER_NONE); 180 mDividerPadding = a.getDimensionPixelSize(R.styleable.LinearLayoutCompat_dividerPadding, 0) [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryHistoryChart.java | 245 com.android.internal.R.styleable.TextAppearance); 253 case com.android.internal.R.styleable.TextAppearance_textColor: 257 case com.android.internal.R.styleable.TextAppearance_textSize: 261 case com.android.internal.R.styleable.TextAppearance_typeface: 265 case com.android.internal.R.styleable.TextAppearance_textStyle: 394 attrs, R.styleable.BatteryHistoryChart, 0, 0); 398 mainTextAttrs.retrieve(context, a, R.styleable.BatteryHistoryChart_android_textAppearance); 399 headTextAttrs.retrieve(context, a, R.styleable.BatteryHistoryChart_headerAppearance); 409 case R.styleable.BatteryHistoryChart_android_shadowColor: 413 case R.styleable.BatteryHistoryChart_android_shadowDx [all...] |
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
InteractiveLineGraphView.java | 196 attrs, R.styleable.InteractiveLineGraphView, defStyle, defStyle); 200 R.styleable.InteractiveLineGraphView_labelTextColor, mLabelTextColor); 202 R.styleable.InteractiveLineGraphView_labelTextSize, mLabelTextSize); 204 R.styleable.InteractiveLineGraphView_labelSeparation, mLabelSeparation); 207 R.styleable.InteractiveLineGraphView_gridThickness, mGridThickness); 209 R.styleable.InteractiveLineGraphView_gridColor, mGridColor); 212 R.styleable.InteractiveLineGraphView_axisThickness, mAxisThickness); 214 R.styleable.InteractiveLineGraphView_axisColor, mAxisColor); 217 R.styleable.InteractiveLineGraphView_dataThickness, mDataThickness); 219 R.styleable.InteractiveLineGraphView_dataColor, mDataColor) [all...] |
/frameworks/base/core/java/android/view/ |
ThreadedRenderer.java | 368 final TypedArray a = context.obtainStyledAttributes(null, R.styleable.Lighting, 0, 0); 369 mLightY = a.getDimension(R.styleable.Lighting_lightY, 0); 370 mLightZ = a.getDimension(R.styleable.Lighting_lightZ, 0); 371 mLightRadius = a.getDimension(R.styleable.Lighting_lightRadius, 0); 373 (int) (255 * a.getFloat(R.styleable.Lighting_ambientShadowAlpha, 0) + 0.5f); 374 mSpotShadowAlpha = (int) (255 * a.getFloat(R.styleable.Lighting_spotShadowAlpha, 0) + 0.5f); [all...] |