Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/util/
DFallbackThemeWrapperTest.java22 import android.content.res.TypedArray;
47 final TypedArray a = in testThemeValueOnlyInBase()
55 final TypedArray a = in testThemeValueOnlyInFallback()
63 final TypedArray a = mThemedContext.obtainStyledAttributes(new int[] {android.R.attr.theme}); in testThemeValueInBoth()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientLuxTest.java30 import android.content.res.TypedArray;
72 @Mock private TypedArray mBrightnesses;
73 @Mock private TypedArray mBiases;
74 @Mock private TypedArray mHighLightBrightnesses;
75 @Mock private TypedArray mHighLightBiases;
76 @Mock private TypedArray mAmbientColorTemperatures;
77 @Mock private TypedArray mDisplayColorTemperatures;
403 TypedArray base = mResourcesSpy.obtainTypedArray( in mockThrottler()
405 TypedArray inc = mResourcesSpy.obtainTypedArray( in mockThrottler()
407 TypedArray dec = mResourcesSpy.obtainTypedArray( in mockThrottler()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DColorUtil.java20 import android.content.res.TypedArray;
29 final TypedArray ta = context.obtainStyledAttributes( in getDisabledAlpha()
/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/base/graphics/java/android/graphics/drawable/
DClipDrawable.java24 import android.content.res.TypedArray;
93 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ClipDrawable); in inflate()
113 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); in applyTheme()
125 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
135 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
DScaleDrawable.java24 import android.content.res.TypedArray;
104 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ScaleDrawable); in inflate()
126 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); in applyTheme()
140 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
150 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
174 private static float getPercent(TypedArray a, int index, float defaultValue) { in getPercent()
DAnimatedRotateDrawable.java24 import android.content.res.TypedArray;
129 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimatedRotateDrawable); in inflate()
151 final TypedArray a = t.resolveAttributes( in applyTheme()
166 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
176 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
DRotateDrawable.java24 import android.content.res.TypedArray;
72 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RotateDrawable); in inflate()
92 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.RotateDrawable); in applyTheme()
104 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
114 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlphaTintDrawableWrapper.java22 import android.content.res.TypedArray;
69 final TypedArray a = obtainAttributes(r, theme, attrs, in inflate()
86 final TypedArray a = t.resolveAttributes(mThemeAttrs, in applyTheme()
102 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/
DIconPackOverlayTest.java28 import android.content.res.TypedArray;
212 TypedArray targetAttrs = getAVDAttributes(targetRes, targetRid); in hasEqualVectorDrawableAttributes()
220 TypedArray overlayAttrs = getAVDAttributes(overlayRes, overlayRid); in hasEqualVectorDrawableAttributes()
243 private TypedArray getAVDAttributes(Resources resources, @DrawableRes int rid) { in getAVDAttributes()
254 private boolean attributesEquals(TypedArray target, TypedArray overlay) { in attributesEquals()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifDimensionTest.java24 import android.content.res.TypedArray;
60 final TypedArray a = context.obtainStyledAttributes(new int[] {R.attr.suwMarginSides}); in assertDividerInset()
91 final TypedArray a = context.obtainStyledAttributes(new int[] {R.attr.suwMarginSides}); in assertButtonMargin()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DGraphicsUtils.java19 import android.content.res.TypedArray;
112 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getAttrColor()
122 TypedArray ta = context.obtainStyledAttributes(new int[]{attr}); in getFloat()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/view/
DTestTextView.java21 import android.content.res.TypedArray;
40 TypedArray typedArray = theme.obtainStyledAttributes(attrs, testResources, defStyleAttr, in TestTextView()
/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/base/core/java/android/view/animation/
DAlphaAnimation.java20 import android.content.res.TypedArray;
42 TypedArray a = in AlphaAnimation()
DOvershootInterpolator.java22 import android.content.res.TypedArray;
57 TypedArray a; in OvershootInterpolator()
DAnticipateInterpolator.java22 import android.content.res.TypedArray;
56 TypedArray a; in AnticipateInterpolator()
DCycleInterpolator.java22 import android.content.res.TypedArray;
47 TypedArray a; in CycleInterpolator()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DColoredHeaderMixin.java20 import android.content.res.TypedArray;
37 final TypedArray a = in ColoredHeaderMixin()
DHeaderMixin.java19 import android.content.res.TypedArray;
42 final TypedArray a = in HeaderMixin()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java21 import android.content.res.TypedArray;
57 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwExpandableSwitchItem); in ExpandableSwitchItem()
144 final TypedArray a = in tintCompoundDrawables()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DDrawableArrayWidget.java20 import android.content.res.TypedArray;
37 TypedArray drawableArray = context.getResources().obtainTypedArray(R.array.drawable_array); in DrawableArrayWidget()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DFood.java20 import android.content.res.TypedArray;
37 TypedArray icons = context.getResources().obtainTypedArray(R.array.food_icons); in getIcon()
/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()

12345678910>>...17