Home
last modified time | relevance | path

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

12345678910>>...16

/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/graphics/java/android/graphics/drawable/
DScaleDrawable.java24 import android.content.res.TypedArray;
103 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ScaleDrawable); in inflate()
125 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); in applyTheme()
139 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
149 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
173 private static float getPercent(TypedArray a, int index, float defaultValue) { in getPercent()
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()
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/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/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/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DColoredHeaderMixin.java20 import android.content.res.TypedArray;
37 final TypedArray a = in ColoredHeaderMixin()
/frameworks/base/core/java/android/view/animation/
DAlphaAnimation.java20 import android.content.res.TypedArray;
42 TypedArray a = in AlphaAnimation()
DCycleInterpolator.java22 import android.content.res.TypedArray;
47 TypedArray a; in CycleInterpolator()
DAnticipateInterpolator.java22 import android.content.res.TypedArray;
56 TypedArray a; in AnticipateInterpolator()
DOvershootInterpolator.java22 import android.content.res.TypedArray;
57 TypedArray a; in OvershootInterpolator()
/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/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/
DAssitantButton.java23 import android.content.res.TypedArray;
63 protected void setUpIntents(TypedArray typedArray) { in setUpIntents()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/hvac/
DTemperatureTextView.java20 import android.content.res.TypedArray;
43 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.TemperatureView); in TemperatureTextView()
/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/content/pm/parsing/
DParsingPackageUtils.java81 import android.content.res.TypedArray;
168 @NonNull TypedArray manifestArray, boolean isCoreApp) { in parseDefault()
487 final TypedArray manifestArray = res.obtainAttributes(parser, R.styleable.AndroidManifest); in parseBaseApk()
578 TypedArray sa = res.obtainAttributes(parser, R.styleable.AndroidManifestApplication); in parseSplitApplication()
714 TypedArray sa, Resources res, XmlResourceParser parser, int flags) in parseBaseApkTags()
856 ParsingPackage pkg, TypedArray sa) { in parseSharedUser()
906 TypedArray sa = res.obtainAttributes(parser, R.styleable.AndroidManifestKeySet); in parseKeySets()
922 TypedArray sa = res.obtainAttributes(parser, in parseKeySets()
962 TypedArray sa = res.obtainAttributes(parser, in parseKeySets()
1064 TypedArray sa = res.obtainAttributes(parser, R.styleable.AndroidManifestUsesPermission); in parseUsesPermission()
[all …]

12345678910>>...16