/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SimpleInflater.java | 125 com.android.internal.R.styleable.MenuItem); in readItem() 128 int itemId = a.getResourceId(R.styleable.MenuItem_android_id, 0); in readItem() 129 final int category = a.getInt(R.styleable.MenuItem_android_menuCategory, 0); in readItem() 130 final int order = a.getInt(R.styleable.MenuItem_android_orderInCategory, 0); in readItem() 131 CharSequence itemTitle = a.getText(R.styleable.MenuItem_android_title); in readItem() 132 CharSequence itemTitleCondensed = a.getText(R.styleable.MenuItem_android_titleCondensed); in readItem() 133 int itemIconResId = a.getResourceId(R.styleable.MenuItem_android_icon, 0); in readItem() 134 … String itemAlphabeticShortcut = a.getString(R.styleable.MenuItem_android_alphabeticShortcut); in readItem() 135 String itemNumericShortcut = a.getString(R.styleable.MenuItem_android_numericShortcut); in readItem() 137 if (a.hasValue(R.styleable.MenuItem_android_checkable)) { in readItem() [all …]
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | DialogPreference.java | 57 R.styleable.DialogPreference, defStyleAttr, defStyleRes); in DialogPreference() 59 mDialogTitle = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogTitle, in DialogPreference() 60 R.styleable.DialogPreference_android_dialogTitle); in DialogPreference() 67 mDialogMessage = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogMessage, in DialogPreference() 68 R.styleable.DialogPreference_android_dialogMessage); in DialogPreference() 70 mDialogIcon = TypedArrayUtils.getDrawable(a, R.styleable.DialogPreference_dialogIcon, in DialogPreference() 71 R.styleable.DialogPreference_android_dialogIcon); in DialogPreference() 74 R.styleable.DialogPreference_positiveButtonText, in DialogPreference() 75 R.styleable.DialogPreference_android_positiveButtonText); in DialogPreference() 78 R.styleable.DialogPreference_negativeButtonText, in DialogPreference() [all …]
|
D | SwitchPreferenceCompat.java | 79 R.styleable.SwitchPreferenceCompat, defStyleAttr, defStyleRes); in SwitchPreferenceCompat() 81 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOn, in SwitchPreferenceCompat() 82 R.styleable.SwitchPreferenceCompat_android_summaryOn)); in SwitchPreferenceCompat() 84 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOff, in SwitchPreferenceCompat() 85 R.styleable.SwitchPreferenceCompat_android_summaryOff)); in SwitchPreferenceCompat() 88 R.styleable.SwitchPreferenceCompat_switchTextOn, in SwitchPreferenceCompat() 89 R.styleable.SwitchPreferenceCompat_android_switchTextOn)); in SwitchPreferenceCompat() 92 R.styleable.SwitchPreferenceCompat_switchTextOff, in SwitchPreferenceCompat() 93 R.styleable.SwitchPreferenceCompat_android_switchTextOff)); in SwitchPreferenceCompat() 96 R.styleable.SwitchPreferenceCompat_disableDependentsState, in SwitchPreferenceCompat() [all …]
|
D | Preference.java | 229 attrs, R.styleable.Preference, defStyleAttr, defStyleRes); in Preference() 231 mIconResId = TypedArrayUtils.getResourceId(a, R.styleable.Preference_icon, in Preference() 232 R.styleable.Preference_android_icon, 0); in Preference() 234 mKey = TypedArrayUtils.getString(a, R.styleable.Preference_key, in Preference() 235 R.styleable.Preference_android_key); in Preference() 237 mTitle = TypedArrayUtils.getString(a, R.styleable.Preference_title, in Preference() 238 R.styleable.Preference_android_title); in Preference() 240 mSummary = TypedArrayUtils.getString(a, R.styleable.Preference_summary, in Preference() 241 R.styleable.Preference_android_summary); in Preference() 243 mOrder = TypedArrayUtils.getInt(a, R.styleable.Preference_order, in Preference() [all …]
|
D | CheckBoxPreference.java | 48 R.styleable.CheckBoxPreference, defStyleAttr, defStyleRes); in CheckBoxPreference() 50 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.CheckBoxPreference_summaryOn, in CheckBoxPreference() 51 R.styleable.CheckBoxPreference_android_summaryOn)); in CheckBoxPreference() 53 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.CheckBoxPreference_summaryOff, in CheckBoxPreference() 54 R.styleable.CheckBoxPreference_android_summaryOff)); in CheckBoxPreference() 57 R.styleable.CheckBoxPreference_disableDependentsState, in CheckBoxPreference() 58 R.styleable.CheckBoxPreference_android_disableDependentsState, false)); in CheckBoxPreference()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
D | SupportMenuInflater.java | 348 TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.MenuGroup); in readGroup() 350 groupId = a.getResourceId(R.styleable.MenuGroup_android_id, defaultGroupId); in readGroup() 352 R.styleable.MenuGroup_android_menuCategory, defaultItemCategory); in readGroup() 353 groupOrder = a.getInt(R.styleable.MenuGroup_android_orderInCategory, defaultItemOrder); in readGroup() 355 R.styleable.MenuGroup_android_checkableBehavior, defaultItemCheckable); in readGroup() 356 groupVisible = a.getBoolean(R.styleable.MenuGroup_android_visible, defaultItemVisible); in readGroup() 357 groupEnabled = a.getBoolean(R.styleable.MenuGroup_android_enabled, defaultItemEnabled); in readGroup() 366 TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.MenuItem); in readItem() 369 itemId = a.getResourceId(R.styleable.MenuItem_android_id, defaultItemId); in readItem() 370 final int category = a.getInt(R.styleable.MenuItem_android_menuCategory, groupCategory); in readItem() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1387 com.android.internal.R.styleable.AndroidManifest); in parseBaseApk() 1389 com.android.internal.R.styleable.AndroidManifest_versionCode, 0); in parseBaseApk() 1391 com.android.internal.R.styleable.AndroidManifest_revisionCode, 0); in parseBaseApk() 1393 com.android.internal.R.styleable.AndroidManifest_versionName, 0); in parseBaseApk() 1398 com.android.internal.R.styleable.AndroidManifest_sharedUserId, 0); in parseBaseApk() 1409 com.android.internal.R.styleable.AndroidManifest_sharedUserLabel, 0); in parseBaseApk() 1413 com.android.internal.R.styleable.AndroidManifest_installLocation, in parseBaseApk() 1468 com.android.internal.R.styleable.AndroidManifestResourceOverlay); in parseBaseApk() 1470 … com.android.internal.R.styleable.AndroidManifestResourceOverlay_targetPackage); in parseBaseApk() 1472 com.android.internal.R.styleable.AndroidManifestResourceOverlay_priority, in parseBaseApk() [all …]
|
/frameworks/base/core/java/android/view/ |
D | MenuInflater.java | 366 com.android.internal.R.styleable.MenuGroup); in readGroup() 368 … groupId = a.getResourceId(com.android.internal.R.styleable.MenuGroup_id, defaultGroupId); in readGroup() 369 …groupCategory = a.getInt(com.android.internal.R.styleable.MenuGroup_menuCategory, defaultItemCateg… in readGroup() 370 …groupOrder = a.getInt(com.android.internal.R.styleable.MenuGroup_orderInCategory, defaultItemOrder… in readGroup() 371 …groupCheckable = a.getInt(com.android.internal.R.styleable.MenuGroup_checkableBehavior, defaultIte… in readGroup() 372 …groupVisible = a.getBoolean(com.android.internal.R.styleable.MenuGroup_visible, defaultItemVisible… in readGroup() 373 …groupEnabled = a.getBoolean(com.android.internal.R.styleable.MenuGroup_enabled, defaultItemEnabled… in readGroup() 383 com.android.internal.R.styleable.MenuItem); in readItem() 386 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId); in readItem() 387 …final int category = a.getInt(com.android.internal.R.styleable.MenuItem_menuCategory, groupCategor… in readItem() [all …]
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | AddressView.java | 29 R.styleable.AddressView, in AddressView() 32 mNameView.setText(a.getString(R.styleable.AddressView_name)); in AddressView() 33 int streetNumber = a.getInteger(R.styleable.AddressView_streetNumber, -1); in AddressView() 35 " " + a.getString(R.styleable.AddressView_streetName)); in AddressView() 36 mCityStateZipView.setText(a.getString(R.styleable.AddressView_city) + ", " + in AddressView() 37 a.getString(R.styleable.AddressView_state) + " " + in AddressView() 38 a.getString(R.styleable.AddressView_zip)); in AddressView() 39 mCountryView.setText(a.getString(R.styleable.AddressView_country)); in AddressView()
|
/frameworks/base/core/java/android/app/ |
D | SearchableInfo.java | 314 com.android.internal.R.styleable.Searchable); in SearchableInfo() 315 mSearchMode = a.getInt(com.android.internal.R.styleable.Searchable_searchMode, 0); in SearchableInfo() 316 mLabelId = a.getResourceId(com.android.internal.R.styleable.Searchable_label, 0); in SearchableInfo() 317 mHintId = a.getResourceId(com.android.internal.R.styleable.Searchable_hint, 0); in SearchableInfo() 318 mIconId = a.getResourceId(com.android.internal.R.styleable.Searchable_icon, 0); in SearchableInfo() 320 com.android.internal.R.styleable.Searchable_searchButtonText, 0); in SearchableInfo() 321 mSearchInputType = a.getInt(com.android.internal.R.styleable.Searchable_inputType, in SearchableInfo() 324 mSearchImeOptions = a.getInt(com.android.internal.R.styleable.Searchable_imeOptions, in SearchableInfo() 327 com.android.internal.R.styleable.Searchable_includeInGlobalSearch, false); in SearchableInfo() 329 com.android.internal.R.styleable.Searchable_queryAfterZeroResults, false); in SearchableInfo() [all …]
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 96 a = theme.obtainStyledAttributes(attrs, R.styleable.PathInterpolator, 0, 0); in PathInterpolator() 98 a = res.obtainAttributes(attrs, R.styleable.PathInterpolator); in PathInterpolator() 108 if (a.hasValue(R.styleable.PathInterpolator_pathData)) { in parseInterpolatorFromTypeArray() 109 String pathData = a.getString(R.styleable.PathInterpolator_pathData); in parseInterpolatorFromTypeArray() 117 if (!a.hasValue(R.styleable.PathInterpolator_controlX1)) { in parseInterpolatorFromTypeArray() 119 } else if (!a.hasValue(R.styleable.PathInterpolator_controlY1)) { in parseInterpolatorFromTypeArray() 122 float x1 = a.getFloat(R.styleable.PathInterpolator_controlX1, 0); in parseInterpolatorFromTypeArray() 123 float y1 = a.getFloat(R.styleable.PathInterpolator_controlY1, 0); in parseInterpolatorFromTypeArray() 125 boolean hasX2 = a.hasValue(R.styleable.PathInterpolator_controlX2); in parseInterpolatorFromTypeArray() 126 boolean hasY2 = a.hasValue(R.styleable.PathInterpolator_controlY2); in parseInterpolatorFromTypeArray() [all …]
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
D | SwitchPreference.java | 81 R.styleable.SwitchPreference, defStyleAttr, defStyleRes); in SwitchPreference() 83 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOn, in SwitchPreference() 84 R.styleable.SwitchPreference_android_summaryOn)); in SwitchPreference() 86 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOff, in SwitchPreference() 87 R.styleable.SwitchPreference_android_summaryOff)); in SwitchPreference() 90 R.styleable.SwitchPreference_switchTextOn, in SwitchPreference() 91 R.styleable.SwitchPreference_android_switchTextOn)); in SwitchPreference() 94 R.styleable.SwitchPreference_switchTextOff, in SwitchPreference() 95 R.styleable.SwitchPreference_android_switchTextOff)); in SwitchPreference() 98 R.styleable.SwitchPreference_disableDependentsState, in SwitchPreference() [all …]
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | CardView.java | 203 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CardView, defStyleAttr, in initialize() 205 int backgroundColor = a.getColor(R.styleable.CardView_cardBackgroundColor, 0); in initialize() 206 float radius = a.getDimension(R.styleable.CardView_cardCornerRadius, 0); in initialize() 207 float elevation = a.getDimension(R.styleable.CardView_cardElevation, 0); in initialize() 208 float maxElevation = a.getDimension(R.styleable.CardView_cardMaxElevation, 0); in initialize() 209 mCompatPadding = a.getBoolean(R.styleable.CardView_cardUseCompatPadding, false); in initialize() 210 mPreventCornerOverlap = a.getBoolean(R.styleable.CardView_cardPreventCornerOverlap, true); in initialize() 211 int defaultPadding = a.getDimensionPixelSize(R.styleable.CardView_contentPadding, 0); in initialize() 212 mContentPadding.left = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingLeft, in initialize() 214 mContentPadding.top = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingTop, in initialize() [all …]
|
/frameworks/support/design/src/android/support/design/widget/ |
D | NavigationView.java | 103 R.styleable.NavigationView, defStyleAttr, in NavigationView() 107 setBackgroundDrawable(a.getDrawable(R.styleable.NavigationView_android_background)); in NavigationView() 108 if (a.hasValue(R.styleable.NavigationView_elevation)) { in NavigationView() 110 R.styleable.NavigationView_elevation, 0)); in NavigationView() 113 a.getBoolean(R.styleable.NavigationView_android_fitsSystemWindows, false)); in NavigationView() 115 mMaxWidth = a.getDimensionPixelSize(R.styleable.NavigationView_android_maxWidth, 0); in NavigationView() 118 if (a.hasValue(R.styleable.NavigationView_itemIconTint)) { in NavigationView() 119 itemIconTint = a.getColorStateList(R.styleable.NavigationView_itemIconTint); in NavigationView() 126 if (a.hasValue(R.styleable.NavigationView_itemTextAppearance)) { in NavigationView() 127 textAppearance = a.getResourceId(R.styleable.NavigationView_itemTextAppearance, 0); in NavigationView() [all …]
|
D | CollapsingToolbarLayout.java | 133 R.styleable.CollapsingToolbarLayout, defStyleAttr, in CollapsingToolbarLayout() 137 a.getInt(R.styleable.CollapsingToolbarLayout_expandedTitleGravity, in CollapsingToolbarLayout() 140 a.getInt(R.styleable.CollapsingToolbarLayout_collapsedTitleGravity, in CollapsingToolbarLayout() 144 a.getDimensionPixelSize(R.styleable.CollapsingToolbarLayout_expandedTitleMargin, 0); in CollapsingToolbarLayout() 148 if (a.hasValue(R.styleable.CollapsingToolbarLayout_expandedTitleMarginStart)) { in CollapsingToolbarLayout() 150 R.styleable.CollapsingToolbarLayout_expandedTitleMarginStart, 0); in CollapsingToolbarLayout() 157 if (a.hasValue(R.styleable.CollapsingToolbarLayout_expandedTitleMarginEnd)) { in CollapsingToolbarLayout() 159 R.styleable.CollapsingToolbarLayout_expandedTitleMarginEnd, 0); in CollapsingToolbarLayout() 166 if (a.hasValue(R.styleable.CollapsingToolbarLayout_expandedTitleMarginTop)) { in CollapsingToolbarLayout() 168 R.styleable.CollapsingToolbarLayout_expandedTitleMarginTop, 0); in CollapsingToolbarLayout() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 440 long duration = arrayAnimator.getInt(R.styleable.Animator_duration, 300); in parseAnimatorFromTypeArray() 442 long startDelay = arrayAnimator.getInt(R.styleable.Animator_startOffset, 0); in parseAnimatorFromTypeArray() 444 int valueType = arrayAnimator.getInt(R.styleable.Animator_valueType, VALUE_TYPE_UNDEFINED); in parseAnimatorFromTypeArray() 447 valueType = inferValueTypeFromValues(arrayAnimator, R.styleable.Animator_valueFrom, in parseAnimatorFromTypeArray() 448 R.styleable.Animator_valueTo); in parseAnimatorFromTypeArray() 451 R.styleable.Animator_valueFrom, R.styleable.Animator_valueTo, ""); in parseAnimatorFromTypeArray() 459 if (arrayAnimator.hasValue(R.styleable.Animator_repeatCount)) { in parseAnimatorFromTypeArray() 461 arrayAnimator.getInt(R.styleable.Animator_repeatCount, 0)); in parseAnimatorFromTypeArray() 463 if (arrayAnimator.hasValue(R.styleable.Animator_repeatMode)) { in parseAnimatorFromTypeArray() 465 arrayAnimator.getInt(R.styleable.Animator_repeatMode, in parseAnimatorFromTypeArray() [all …]
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 191 com.android.internal.R.styleable.Keyboard); in Row() 193 com.android.internal.R.styleable.Keyboard_keyWidth, in Row() 196 com.android.internal.R.styleable.Keyboard_keyHeight, in Row() 199 com.android.internal.R.styleable.Keyboard_horizontalGap, in Row() 202 com.android.internal.R.styleable.Keyboard_verticalGap, in Row() 206 com.android.internal.R.styleable.Keyboard_Row); in Row() 207 rowEdgeFlags = a.getInt(com.android.internal.R.styleable.Keyboard_Row_rowEdgeFlags, 0); in Row() 208 mode = a.getResourceId(com.android.internal.R.styleable.Keyboard_Row_keyboardMode, in Row() 338 com.android.internal.R.styleable.Keyboard); in Key() 341 com.android.internal.R.styleable.Keyboard_keyWidth, in Key() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountAuthenticatorCache.java | 59 com.android.internal.R.styleable.AccountAuthenticator); in parseServiceAttributes() 62 sa.getString(com.android.internal.R.styleable.AccountAuthenticator_accountType); in parseServiceAttributes() 64 com.android.internal.R.styleable.AccountAuthenticator_label, 0); in parseServiceAttributes() 66 com.android.internal.R.styleable.AccountAuthenticator_icon, 0); in parseServiceAttributes() 68 com.android.internal.R.styleable.AccountAuthenticator_smallIcon, 0); in parseServiceAttributes() 70 com.android.internal.R.styleable.AccountAuthenticator_accountPreferences, 0); in parseServiceAttributes() 72 com.android.internal.R.styleable.AccountAuthenticator_customTokens, false); in parseServiceAttributes()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedRotateDrawable.java | 128 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable); in inflate() 129 super.inflateWithAttributes(r, parser, a, R.styleable.AnimatedRotateDrawable_visible); in inflate() 142 || mState.mThemeAttrs[R.styleable.AnimatedRotateDrawable_drawable] == 0)) { in verifyRequiredAttributes() 155 if (a.hasValue(R.styleable.AnimatedRotateDrawable_pivotX)) { in updateStateFromTypedArray() 156 final TypedValue tv = a.peekValue(R.styleable.AnimatedRotateDrawable_pivotX); in updateStateFromTypedArray() 161 if (a.hasValue(R.styleable.AnimatedRotateDrawable_pivotY)) { in updateStateFromTypedArray() 162 final TypedValue tv = a.peekValue(R.styleable.AnimatedRotateDrawable_pivotY); in updateStateFromTypedArray() 168 R.styleable.AnimatedRotateDrawable_framesCount, state.mFramesCount)); in updateStateFromTypedArray() 170 R.styleable.AnimatedRotateDrawable_frameDuration, state.mFrameDuration)); in updateStateFromTypedArray() 172 final Drawable dr = a.getDrawable(R.styleable.AnimatedRotateDrawable_drawable); in updateStateFromTypedArray() [all …]
|
D | GradientDrawable.java | 1018 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawable); 1019 super.inflateWithAttributes(r, parser, a, R.styleable.GradientDrawable_visible); 1039 state.mThemeAttrs, R.styleable.GradientDrawable); 1073 state.mShape = a.getInt(R.styleable.GradientDrawable_shape, state.mShape); 1074 state.mDither = a.getBoolean(R.styleable.GradientDrawable_dither, state.mDither); 1078 R.styleable.GradientDrawable_innerRadius, state.mInnerRadius); 1082 R.styleable.GradientDrawable_innerRadiusRatio, state.mInnerRadiusRatio); 1086 R.styleable.GradientDrawable_thickness, state.mThickness); 1090 R.styleable.GradientDrawable_thicknessRatio, state.mThicknessRatio); 1094 R.styleable.GradientDrawable_useLevel, state.mUseLevelForShape); [all …]
|
D | PaintDrawable.java | 77 com.android.internal.R.styleable.DrawableCorners); in inflateTag() 79 com.android.internal.R.styleable.DrawableCorners_radius, 0); in inflateTag() 85 com.android.internal.R.styleable.DrawableCorners_topLeftRadius, radius); in inflateTag() 87 com.android.internal.R.styleable.DrawableCorners_topRightRadius, radius); in inflateTag() 89 com.android.internal.R.styleable.DrawableCorners_bottomLeftRadius, radius); in inflateTag() 91 com.android.internal.R.styleable.DrawableCorners_bottomRightRadius, radius); in inflateTag()
|
D | RotateDrawable.java | 67 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RotateDrawable); in inflate() 68 super.inflateWithAttributes(r, parser, a, R.styleable.RotateDrawable_visible); in inflate() 79 || mState.mThemeAttrs[R.styleable.RotateDrawable_drawable] == 0)) { in verifyRequiredAttributes() 95 if (a.hasValue(R.styleable.RotateDrawable_pivotX)) { in updateStateFromTypedArray() 96 final TypedValue tv = a.peekValue(R.styleable.RotateDrawable_pivotX); in updateStateFromTypedArray() 101 if (a.hasValue(R.styleable.RotateDrawable_pivotY)) { in updateStateFromTypedArray() 102 final TypedValue tv = a.peekValue(R.styleable.RotateDrawable_pivotY); in updateStateFromTypedArray() 108 R.styleable.RotateDrawable_fromDegrees, state.mFromDegrees); in updateStateFromTypedArray() 110 R.styleable.RotateDrawable_toDegrees, state.mToDegrees); in updateStateFromTypedArray() 113 final Drawable dr = a.getDrawable(R.styleable.RotateDrawable_drawable); in updateStateFromTypedArray() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatBackgroundHelper.java | 46 R.styleable.ViewBackgroundHelper, defStyleAttr, 0); in loadFromAttributes() 48 if (a.hasValue(R.styleable.ViewBackgroundHelper_android_background)) { in loadFromAttributes() 50 a.getResourceId(R.styleable.ViewBackgroundHelper_android_background, -1)); in loadFromAttributes() 55 if (a.hasValue(R.styleable.ViewBackgroundHelper_backgroundTint)) { in loadFromAttributes() 57 a.getColorStateList(R.styleable.ViewBackgroundHelper_backgroundTint)); in loadFromAttributes() 59 if (a.hasValue(R.styleable.ViewBackgroundHelper_backgroundTintMode)) { in loadFromAttributes() 62 a.getInt(R.styleable.ViewBackgroundHelper_backgroundTintMode, -1), in loadFromAttributes()
|
D | AppCompatCompoundButtonHelper.java | 58 TypedArray a = mView.getContext().obtainStyledAttributes(attrs, R.styleable.CompoundButton, in loadFromAttributes() 61 if (a.hasValue(R.styleable.CompoundButton_android_button)) { in loadFromAttributes() 63 R.styleable.CompoundButton_android_button, 0); in loadFromAttributes() 68 if (a.hasValue(R.styleable.CompoundButton_buttonTint)) { in loadFromAttributes() 70 a.getColorStateList(R.styleable.CompoundButton_buttonTint)); in loadFromAttributes() 72 if (a.hasValue(R.styleable.CompoundButton_buttonTintMode)) { in loadFromAttributes() 75 a.getInt(R.styleable.CompoundButton_buttonTintMode, -1), in loadFromAttributes()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 465 final TypedArray a = obtainAttributes(res, theme, attrs, R.styleable.VectorDrawable); in inflate() 482 final int tintMode = a.getInt(R.styleable.VectorDrawable_tintMode, -1); in updateStateFromTypedArray() 487 final ColorStateList tint = a.getColorStateList(R.styleable.VectorDrawable_tint); in updateStateFromTypedArray() 493 R.styleable.VectorDrawable_autoMirrored, state.mAutoMirrored); in updateStateFromTypedArray() 496 R.styleable.VectorDrawable_viewportWidth, pathRenderer.mViewportWidth); in updateStateFromTypedArray() 498 R.styleable.VectorDrawable_viewportHeight, pathRenderer.mViewportHeight); in updateStateFromTypedArray() 509 R.styleable.VectorDrawable_width, pathRenderer.mBaseWidth); in updateStateFromTypedArray() 511 R.styleable.VectorDrawable_height, pathRenderer.mBaseHeight); in updateStateFromTypedArray() 521 final float alphaInFloat = a.getFloat(R.styleable.VectorDrawable_alpha, in updateStateFromTypedArray() 525 final String name = a.getString(R.styleable.VectorDrawable_name); in updateStateFromTypedArray() [all …]
|