/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | FallbackThemeWrapperTest.java | 22 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/ |
D | AmbientLuxTest.java | 30 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/ |
D | ColorUtil.java | 20 import android.content.res.TypedArray; 29 final TypedArray ta = context.obtainStyledAttributes( in getDisabledAlpha()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | TypedArray_Delegate.java | 26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) { in getValueAt() 32 /*package*/ static TypedArray obtain(Resources res, int len) { in obtain()
|
D | Resources_Theme_Delegate.java | 55 /*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/ |
D | ClipDrawable.java | 24 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()
|
D | ScaleDrawable.java | 24 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()
|
D | AnimatedRotateDrawable.java | 24 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()
|
D | RotateDrawable.java | 24 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/ |
D | AlphaTintDrawableWrapper.java | 22 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/ |
D | IconPackOverlayTest.java | 28 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/ |
D | GlifDimensionTest.java | 24 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/ |
D | GraphicsUtils.java | 19 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/ |
D | TestTextView.java | 21 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/ |
D | TextView.java | 19 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/ |
D | AlphaAnimation.java | 20 import android.content.res.TypedArray; 42 TypedArray a = in AlphaAnimation()
|
D | OvershootInterpolator.java | 22 import android.content.res.TypedArray; 57 TypedArray a; in OvershootInterpolator()
|
D | AnticipateInterpolator.java | 22 import android.content.res.TypedArray; 56 TypedArray a; in AnticipateInterpolator()
|
D | CycleInterpolator.java | 22 import android.content.res.TypedArray; 47 TypedArray a; in CycleInterpolator()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ColoredHeaderMixin.java | 20 import android.content.res.TypedArray; 37 final TypedArray a = in ColoredHeaderMixin()
|
D | HeaderMixin.java | 19 import android.content.res.TypedArray; 42 final TypedArray a = in HeaderMixin()
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/ |
D | ExpandableSwitchItem.java | 21 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/ |
D | DrawableArrayWidget.java | 20 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/ |
D | Food.java | 20 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/ |
D | ExpandedMenuView.java | 23 import android.content.res.TypedArray; 47 …TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0,… in ExpandedMenuView()
|