Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/support/v4/java/android/support/v4/content/res/
DTypedArrayUtils.java19 import android.content.res.TypedArray;
31 public static boolean getBoolean(TypedArray a, @StyleableRes int index, in getBoolean()
37 public static Drawable getDrawable(TypedArray a, @StyleableRes int index, in getDrawable()
46 public static int getInt(TypedArray a, @StyleableRes int index, in getInt()
52 public static @AnyRes int getResourceId(TypedArray a, @StyleableRes int index, in getResourceId()
58 public static String getString(TypedArray a, @StyleableRes int index, in getString()
67 public static CharSequence[] getTextArray(TypedArray a, @StyleableRes int index, in getTextArray()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DTypedArrayUtils.java17 import android.content.res.TypedArray;
27 public static float getNamedFloat(TypedArray a, XmlPullParser parser, String attrName, in getNamedFloat()
37 public static boolean getNamedBoolean(TypedArray a, XmlPullParser parser, String attrName, in getNamedBoolean()
47 public static int getNamedInt(TypedArray a, XmlPullParser parser, String attrName, in getNamedInt()
57 public static int getNamedColor(TypedArray a, XmlPullParser parser, String attrName, in getNamedColor()
/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java27 import android.content.res.TypedArray;
89 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ClipDrawable); in inflate()
109 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); in applyTheme()
121 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
131 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
DScaleDrawable.java28 import android.content.res.TypedArray;
101 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ScaleDrawable); in inflate()
123 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); in applyTheme()
137 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
147 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
171 private static float getPercent(TypedArray a, int index, float defaultValue) { in getPercent()
DAnimatedRotateDrawable.java24 import android.content.res.TypedArray;
128 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable); in inflate()
150 final TypedArray a = t.resolveAttributes( in applyTheme()
165 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
175 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
DRotateDrawable.java29 import android.content.res.TypedArray;
70 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RotateDrawable); in inflate()
90 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.RotateDrawable); in applyTheme()
102 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
112 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
DInsetDrawable.java28 import android.content.res.TypedArray;
102 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.InsetDrawable); in inflate()
122 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.InsetDrawable); in applyTheme()
134 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
144 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
/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/
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()
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()
/frameworks/support/design/src/android/support/design/widget/
DThemeUtils.java20 import android.content.res.TypedArray;
30 TypedArray a = context.obtainStyledAttributes(APPCOMPAT_CHECK_ATTRS); in checkAppCompatTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationBarController.java23 import android.content.res.TypedArray;
117 TypedArray icons = r.obtainTypedArray(R.array.car_facet_icons); in bind()
118 TypedArray intents = r.obtainTypedArray(R.array.car_facet_intent_uris); in bind()
119 TypedArray longpressIntents = in bind()
121 TypedArray facetPackageNames = r.obtainTypedArray(R.array.car_facet_package_filters); in bind()
123 TypedArray facetCategories = r.obtainTypedArray(R.array.car_facet_category_filters); in bind()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DAbstractItemHierarchy.java20 import android.content.res.TypedArray;
39 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwAbstractItem); in AbstractItemHierarchy()
/frameworks/base/core/java/android/view/animation/
DAlphaAnimation.java20 import android.content.res.TypedArray;
42 TypedArray a = in AlphaAnimation()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java28 import android.content.res.TypedArray;
272 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH()
411 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize) { in parseAnimatorFromTypeArray()
455 TypedArray arrayAnimator) { in setupAnimatorForPath()
496 private static void setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, in setupObjectAnimator()
566 private static void setupValues(ValueAnimator anim, TypedArray arrayAnimator, in setupValues()
668 TypedArray a; in createAnimatorFromXml()
728 TypedArray a; in loadValues()
772 TypedArray a; in inferValueTypeOfKeyframe()
792 private static int inferValueTypeFromValues(TypedArray styledAttributes, int valueFromId, in inferValueTypeFromValues()
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardItemsLayout.java20 import android.content.res.TypedArray;
42 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwSetupWizardItemsLayout, in init()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DFood.java18 import android.content.res.TypedArray;
36 TypedArray icons = context.getResources().obtainTypedArray(R.array.food_icons); in getIcon()
/frameworks/base/core/java/android/content/res/
DResources.java106 final SynchronizedPool<TypedArray> mTypedArrayPool = new SynchronizedPool<>(5);
558 public TypedArray obtainTypedArray(@ArrayRes int id) throws NotFoundException { in obtainTypedArray()
565 TypedArray array = TypedArray.obtain(this, len); in obtainTypedArray()
1410 public TypedArray obtainStyledAttributes(@StyleableRes int[] attrs) { in obtainStyledAttributes()
1434 public TypedArray obtainStyledAttributes(@StyleRes int resId, @StyleableRes int[] attrs) in obtainStyledAttributes()
1487 public TypedArray obtainStyledAttributes(AttributeSet set, in obtainStyledAttributes()
1507 public TypedArray resolveAttributes(@NonNull int[] values, @NonNull int[] attrs) { in resolveAttributes()
1746 public TypedArray obtainAttributes(AttributeSet set, int[] attrs) { in obtainAttributes()
1748 TypedArray array = TypedArray.obtain(this, len); in obtainAttributes()
1999 TypedArray sa = obtainAttributes(attrs, in parseBundleExtra()
[all …]
/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/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatTextHelperV17.java20 import android.content.res.TypedArray;
43 TypedArray a = context.obtainStyledAttributes(attrs, VIEW_ATTRS_v17, defStyleAttr, 0); in loadFromAttributes()
DDialogTitle.java20 import android.content.res.TypedArray;
60 final TypedArray a = getContext().obtainStyledAttributes(null, in onMeasure()
/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/test-runner/src/android/test/mock/
DMockResources.java22 import android.content.res.TypedArray;
107 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray()
189 public TypedArray obtainAttributes(AttributeSet set, int[] attrs) { in obtainAttributes()
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java25 import android.content.res.TypedArray;
59 public final TypedArray array;
61 public Entry(Context c, TypedArray ta) { in Entry()
/frameworks/base/core/java/android/widget/
DTwoLineListItem.java21 import android.content.res.TypedArray;
64 final TypedArray a = context.obtainStyledAttributes( in TwoLineListItem()

12345678910>>...18