Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/support/core/ktx/src/main/java/androidx/core/content/res/
DTypedArray.kt20 import android.content.res.TypedArray
29 private fun TypedArray.checkAttribute(@StyleableRes index: Int) { in TypedArray() method
42 fun TypedArray.getBooleanOrThrow(@StyleableRes index: Int): Boolean { in TypedArray() method
55 fun TypedArray.getColorOrThrow(@StyleableRes index: Int): Int { in getColorOrThrow() method
67 fun TypedArray.getColorStateListOrThrow(@StyleableRes index: Int): ColorStateList { in TypedArray() method
81 fun TypedArray.getDimensionOrThrow(@StyleableRes index: Int): Float { in getDimensionOrThrow() method
94 fun TypedArray.getDimensionPixelOffsetOrThrow(@StyleableRes index: Int): Int { in TypedArray() method
107 fun TypedArray.getDimensionPixelSizeOrThrow(@StyleableRes index: Int): Int { in TypedArray() method
119 fun TypedArray.getDrawableOrThrow(@StyleableRes index: Int): Drawable { in TypedArray() method
131 fun TypedArray.getFloatOrThrow(@StyleableRes index: Int): Float { in getFloatOrThrow() method
[all …]
/frameworks/support/compat/src/main/java/androidx/core/content/res/
DTypedArrayUtils.java22 import android.content.res.TypedArray;
67 public static float getNamedFloat(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedFloat()
84 public static boolean getNamedBoolean(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedBoolean()
101 public static int getNamedInt(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedInt()
119 public static int getNamedColor(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedColor()
137 public static int getNamedResourceId(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedResourceId()
155 public static String getNamedString(@NonNull TypedArray a, @NonNull XmlPullParser parser, in getNamedString()
171 public static TypedValue peekNamedValue(@NonNull TypedArray a, @NonNull XmlPullParser parser, in peekNamedValue()
186 public static TypedArray obtainAttributes(@NonNull Resources res, in obtainAttributes()
198 public static boolean getBoolean(@NonNull TypedArray a, @StyleableRes int index, in getBoolean()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/util/
DFallbackThemeWrapperTest.java22 import android.content.res.TypedArray;
50 final TypedArray a = in testThemeValueOnlyInBase()
58 final TypedArray a = in testThemeValueOnlyInFallback()
66 final TypedArray a = in testThemeValueInBoth()
/frameworks/support/core/ktx/src/main/java/androidx/core/content/
DContext.kt20 import android.content.res.TypedArray
65 block: TypedArray.() -> Unit in getSystemService()
82 block: TypedArray.() -> Unit in withStyledAttributes()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DVerticalGridView.java17 import android.content.res.TypedArray;
59 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbVerticalGridView); in initAttributes()
65 void setColumnWidth(TypedArray array) { in setColumnWidth()
/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()
/frameworks/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()
67 /*package*/ static TypedArray obtainStyledAttributes( in obtainStyledAttributes()
80 /*package*/ static TypedArray obtainStyledAttributes( in obtainStyledAttributes()
104 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme, in resolveAttributes()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifDimensionTest.java24 import android.content.res.TypedArray;
62 final TypedArray a = mContext.obtainStyledAttributes(new int[]{R.attr.suwMarginSides}); in assertDividerInset()
93 final TypedArray a = mContext.obtainStyledAttributes(new int[]{R.attr.suwMarginSides}); in assertButtonMargin()
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceViewUtil.java21 import android.content.res.TypedArray;
88 TypedArray ta = context.obtainStyledAttributes(new int[] { in applyAlphaAttr()
109 TypedArray ta = context.obtainStyledAttributes(new int[] { in getColorAttr()
120 TypedArray ta = context.obtainStyledAttributes(new int[] { in getThemeAttr()
131 TypedArray ta = context.obtainStyledAttributes(new int[] { in getDrawable()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/view/
DContextThemeWrapperTest.java28 import android.content.res.TypedArray;
80 TypedArray ta = contextThemeWrapper.getTheme().obtainStyledAttributes( in testAccessTheme()
150 private void verifyIdenticalTextAppearanceStyle(TypedArray ta) { in verifyIdenticalTextAppearanceStyle()
156 TypedArray expectedTa = expected.obtainStyledAttributes(R.styleable.TextAppearance); in verifyIdenticalTextAppearanceStyle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarFacetButton.java5 import android.content.res.TypedArray;
63 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.CarFacetButton); in CarFacetButton()
75 private void setupIntents(TypedArray typedArray) { in setupIntents()
117 private void setupIcons(TypedArray styledAttributes) { in setupIcons()
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/LibTwo/src/com/android/aapt/namespace/libtwo/
DTextView.java19 import android.content.res.TypedArray;
41 final TypedArray ta = context.getTheme().obtainStyledAttributes(attrs, R.styleable.TextView, in TextView()
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
DEditTextAttributeHelper.java22 import android.content.res.TypedArray;
44 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.EmojiEditText, in EditTextAttributeHelper()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/
DResourceHelper.java23 import android.content.res.TypedArray;
45 TypedArray ta = theme.obtainStyledAttributes(new int[] {attribute}); in getThemeColor()
/frameworks/base/core/java/android/view/animation/
DAlphaAnimation.java20 import android.content.res.TypedArray;
42 TypedArray a = in AlphaAnimation()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DColoredHeaderMixin.java20 import android.content.res.TypedArray;
40 final TypedArray a = layout.getContext().obtainStyledAttributes( in ColoredHeaderMixin()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java21 import android.content.res.TypedArray;
58 final TypedArray a = in ExpandableSwitchItem()
154 final TypedArray a = view.getContext() in tintCompoundDrawables()
/frameworks/support/car/src/main/java/androidx/car/widget/
DClickThroughToolbar.java20 import android.content.res.TypedArray;
51 TypedArray a = context.obtainStyledAttributes( in initAttributes()
/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/support/navigation/runtime/src/main/java/androidx/navigation/
DNavInflater.java22 import android.content.res.TypedArray;
167 final TypedArray a = res.obtainAttributes(attrs, R.styleable.NavInclude); in inflate()
181 final TypedArray a = res.obtainAttributes(attrs, R.styleable.NavArgument); in inflateArgument()
218 final TypedArray a = res.obtainAttributes(attrs, R.styleable.NavDeepLink); in inflateDeepLink()
232 final TypedArray a = res.obtainAttributes(attrs, R.styleable.NavAction); in inflateAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/hvac/
DTemperatureTextView.java20 import android.content.res.TypedArray;
45 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.TemperatureView); in TemperatureTextView()

12345678910>>...21