Home
last modified time | relevance | path

Searched refs:TypedArray (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/frameworks/support/v4/java/android/support/v4/content/res/
DTypedArrayUtils.java18 import android.content.res.TypedArray;
29 public static boolean getBoolean(TypedArray a, @StyleableRes int index, in getBoolean()
35 public static Drawable getDrawable(TypedArray a, @StyleableRes int index, in getDrawable()
44 public static int getInt(TypedArray a, @StyleableRes int index, in getInt()
50 public static @AnyRes int getResourceId(TypedArray a, @StyleableRes int index, in getResourceId()
56 public static String getString(TypedArray a, @StyleableRes int index, in getString()
65 public static CharSequence[] getTextArray(TypedArray a, @StyleableRes int index, in getTextArray()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatTextHelper.java21 import android.content.res.TypedArray;
44 TypedArray a = context.obtainStyledAttributes(attrs, VIEW_ATTRS, defStyleAttr, 0); in loadFromAttributes()
50 TypedArray appearance = context.obtainStyledAttributes(ap, R.styleable.TextAppearance); in loadFromAttributes()
89 TypedArray appearance = context.obtainStyledAttributes(resId, TEXT_APPEARANCE_ATTRS); in onSetTextAppearance()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintTypedArray.java22 import android.content.res.TypedArray;
37 private final TypedArray mWrapped;
43 TypedArray array = context.obtainStyledAttributes(set, attrs); in obtainStyledAttributes()
49 TypedArray array = context.obtainStyledAttributes(set, attrs, defStyleAttr, defStyleRes); in obtainStyledAttributes()
53 private TintTypedArray(Context context, TypedArray array) { in TintTypedArray()
DThemeUtils.java21 import android.content.res.TypedArray;
67 TypedArray a = context.obtainStyledAttributes(null, TEMP_ARRAY); in getThemeAttrColor()
77 TypedArray a = context.obtainStyledAttributes(null, TEMP_ARRAY); in getThemeAttrColorStateList()
DDialogTitle.java20 import android.content.res.TypedArray;
60 final TypedArray a = getContext().obtainStyledAttributes(null, in onMeasure()
/frameworks/base/graphics/java/android/graphics/drawable/
DScaleDrawable.java26 import android.content.res.TypedArray;
90 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ScaleDrawable); in inflate()
97 private void verifyRequiredAttributes(TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
108 void updateStateFromTypedArray(TypedArray a) { in updateStateFromTypedArray()
127 private static float getPercent(TypedArray a, int index, float defaultValue) { in getPercent()
153 final TypedArray a = t.resolveAttributes( in applyTheme()
DClipDrawable.java25 import android.content.res.TypedArray;
88 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ClipDrawable); in inflate()
95 private void verifyRequiredAttributes(TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
106 void updateStateFromTypedArray(TypedArray a) { in updateStateFromTypedArray()
129 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); in applyTheme()
DAnimatedRotateDrawable.java24 import android.content.res.TypedArray;
128 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable); in inflate()
139 private void verifyRequiredAttributes(TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
150 void updateStateFromTypedArray(TypedArray a) { in updateStateFromTypedArray()
186 final TypedArray a = t.resolveAttributes( in applyTheme()
DInsetDrawable.java27 import android.content.res.TypedArray;
100 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.InsetDrawable); in inflate()
107 private void verifyRequiredAttributes(TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
118 void updateStateFromTypedArray(TypedArray a) { in updateStateFromTypedArray()
165 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.InsetDrawable); in applyTheme()
DRotateDrawable.java27 import android.content.res.TypedArray;
67 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RotateDrawable); in inflate()
76 private void verifyRequiredAttributes(TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
87 void updateStateFromTypedArray(TypedArray a) { in updateStateFromTypedArray()
127 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.RotateDrawable); in applyTheme()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DVerticalGridView.java17 import android.content.res.TypedArray;
58 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbVerticalGridView); in initAttributes()
64 void setColumnWidth(TypedArray array) { in setColumnWidth()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DTypedArray_Delegate.java26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) { in getValueAt()
32 /*package*/ static TypedArray obtain(Resources res, int len) { in obtain()
DResources_Theme_Delegate.java55 /*package*/ static TypedArray obtainStyledAttributes( in obtainStyledAttributes()
66 /*package*/ static TypedArray obtainStyledAttributes( in obtainStyledAttributes()
79 /*package*/ static TypedArray obtainStyledAttributes( in obtainStyledAttributes()
103 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme, in resolveAttributes()
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java25 import android.content.res.TypedArray;
56 public final TypedArray array;
58 public Entry(Context c, TypedArray ta) { in Entry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAlphaOptimizedImageView.java20 import android.content.res.TypedArray;
49 TypedArray a = context.getTheme().obtainStyledAttributes(attrs, in AlphaOptimizedImageView()
/frameworks/base/core/java/android/view/animation/
DAlphaAnimation.java20 import android.content.res.TypedArray;
42 TypedArray a = in AlphaAnimation()
DAnticipateInterpolator.java21 import android.content.res.TypedArray;
56 TypedArray a; in AnticipateInterpolator()
DCycleInterpolator.java21 import android.content.res.TypedArray;
47 TypedArray a; in CycleInterpolator()
DDecelerateInterpolator.java21 import android.content.res.TypedArray;
57 TypedArray a; in DecelerateInterpolator()
/frameworks/base/core/java/com/android/internal/view/menu/
DExpandedMenuView.java23 import android.content.res.TypedArray;
47TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0,… in ExpandedMenuView()
/frameworks/base/core/java/android/preference/
DPreferenceFrameLayout.java20 import android.content.res.TypedArray;
54 final TypedArray a = context.obtainStyledAttributes(attrs, in PreferenceFrameLayout()
138 TypedArray a = c.obtainStyledAttributes(attrs, in LayoutParams()
/frameworks/base/core/java/android/widget/
DTwoLineListItem.java21 import android.content.res.TypedArray;
64 final TypedArray a = context.obtainStyledAttributes( in TwoLineListItem()
/frameworks/support/v4/jellybean-mr2/android/support/v4/app/
DActionBarDrawerToggleJellybeanMR2.java24 import android.content.res.TypedArray;
63 final TypedArray a = context.obtainStyledAttributes(null, THEME_ATTRS, in getThemeUpIndicator()
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java22 import android.content.res.TypedArray;
102 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray()
184 public TypedArray obtainAttributes(AttributeSet set, int[] attrs) { in obtainAttributes()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java25 import android.content.res.TypedArray;
300 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH()
439 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize) { in parseAnimatorFromTypeArray()
483 TypedArray arrayAnimator) { in setupAnimatorForPath()
522 private static void setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, in setupObjectAnimator()
592 private static void setupValues(ValueAnimator anim, TypedArray arrayAnimator, in setupValues()
694 TypedArray a; in createAnimatorFromXml()
754 TypedArray a; in loadValues()
798 TypedArray a; in inferValueTypeOfKeyframe()
818 private static int inferValueTypeFromValues(TypedArray styledAttributes, int valueFromId, in inferValueTypeFromValues()
[all …]

12345678910>>...15