/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/graphics/java/android/graphics/drawable/ |
D | ScaleDrawable.java | 24 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()
|
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 | 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/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/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/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
D | ColoredHeaderMixin.java | 20 import android.content.res.TypedArray; 37 final TypedArray a = in ColoredHeaderMixin()
|
/frameworks/base/core/java/android/view/animation/ |
D | AlphaAnimation.java | 20 import android.content.res.TypedArray; 42 TypedArray a = in AlphaAnimation()
|
D | CycleInterpolator.java | 22 import android.content.res.TypedArray; 47 TypedArray a; in CycleInterpolator()
|
D | AnticipateInterpolator.java | 22 import android.content.res.TypedArray; 56 TypedArray a; in AnticipateInterpolator()
|
D | OvershootInterpolator.java | 22 import android.content.res.TypedArray; 57 TypedArray a; in OvershootInterpolator()
|
/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/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/ |
D | AssitantButton.java | 23 import android.content.res.TypedArray; 63 protected void setUpIntents(TypedArray typedArray) { in setUpIntents()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/hvac/ |
D | TemperatureTextView.java | 20 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/ |
D | ExpandedMenuView.java | 23 import android.content.res.TypedArray; 47 …TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0,… in ExpandedMenuView()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ParsingPackageUtils.java | 81 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 …]
|