/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | IconPackOverlayTest.java | 26 import android.content.res.TypedArray; 67 private TypedArray mOverlayableIcons; 137 TypedArray sysuiAttrs = getAVDAttributes(mResources, sysuiRid); in testIconPacks_haveEqualVectorDrawableAttributes() 147 TypedArray overlayAttrs = getAVDAttributes(overlayResources, overlayRid); in testIconPacks_haveEqualVectorDrawableAttributes() 168 private TypedArray getAVDAttributes(Resources resources, @DrawableRes int rid) { in getAVDAttributes() 178 private boolean attributesEquals(TypedArray target, TypedArray overlay) { in attributesEquals()
|
/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; 71 @Mock private TypedArray mBrightnesses; 72 @Mock private TypedArray mBiases; 73 @Mock private TypedArray mHighLightBrightnesses; 74 @Mock private TypedArray mHighLightBiases; 390 TypedArray base = mResourcesSpy.obtainTypedArray( in mockThrottler() 392 TypedArray inc = mResourcesSpy.obtainTypedArray( in mockThrottler() 394 TypedArray dec = mResourcesSpy.obtainTypedArray( in mockThrottler() 452 private void setFloatArrayResource(TypedArray array, float[] vals) { in setFloatArrayResource() 459 private TypedArray createTypedArray() throws Exception { in createTypedArray() [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 | 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()
|
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()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
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()
|
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()
|
/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/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/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/base/core/java/android/view/animation/ |
D | AlphaAnimation.java | 20 import android.content.res.TypedArray; 42 TypedArray a = in AlphaAnimation()
|
/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/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | AssitantButton.java | 22 import android.content.res.TypedArray; 66 protected void setupIntents(TypedArray typedArray){ in setupIntents()
|
D | CarFacetButton.java | 21 import android.content.res.TypedArray; 78 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.CarFacetButton); in CarFacetButton() 90 protected void setupIntents(TypedArray typedArray) { in setupIntents() 145 private void setupIcons(TypedArray styledAttributes) {
|
D | CarNavigationButton.java | 21 import android.content.res.TypedArray; 60 TypedArray typedArray = context.obtainStyledAttributes( in CarNavigationButton() 74 TypedArray a = context.obtainStyledAttributes( in CarNavigationButton()
|
/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/CarSystemUI/src/com/android/systemui/statusbar/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/services/core/java/com/android/server/ |
D | AttributeCache.java | 25 import android.content.res.TypedArray; 60 public final TypedArray array; 62 public Entry(Context c, TypedArray ta) { in Entry()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceFrameLayout.java | 20 import android.content.res.TypedArray; 61 final TypedArray a = context.obtainStyledAttributes(attrs, in PreferenceFrameLayout() 145 TypedArray a = c.obtainStyledAttributes(attrs, in LayoutParams()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 28 import android.content.res.TypedArray; 272 private static PropertyValuesHolder getPVH(TypedArray styledAttributes, int valueType, in getPVH() 411 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize) { in parseAnimatorFromTypeArray() 454 TypedArray arrayAnimator) { in setupAnimatorForPath() 495 private static void setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, in setupObjectAnimator() 570 private static void setupValues(ValueAnimator anim, TypedArray arrayAnimator, in setupValues() 672 TypedArray a; in createAnimatorFromXml() 732 TypedArray a; in loadValues() 776 TypedArray a; in inferValueTypeOfKeyframe() 796 private static int inferValueTypeFromValues(TypedArray styledAttributes, int valueFromId, in inferValueTypeFromValues() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 120 final SynchronizedPool<TypedArray> mTypedArrayPool = new SynchronizedPool<>(5); 407 final TypedArray array = obtainTypedArray(id); in preloadFonts() 641 public TypedArray obtainTypedArray(@ArrayRes int id) throws NotFoundException { in obtainTypedArray() 648 TypedArray array = TypedArray.obtain(this, len); in obtainTypedArray() 1491 public TypedArray obtainStyledAttributes(@NonNull @StyleableRes int[] attrs) { in obtainStyledAttributes() 1517 public TypedArray obtainStyledAttributes(@StyleRes int resId, in obtainStyledAttributes() 1573 public TypedArray obtainStyledAttributes(@Nullable AttributeSet set, in obtainStyledAttributes() 1596 public TypedArray resolveAttributes(@NonNull int[] values, @NonNull int[] attrs) { in resolveAttributes() 1911 public TypedArray obtainAttributes(AttributeSet set, @StyleableRes int[] attrs) { in obtainAttributes() 1913 TypedArray array = TypedArray.obtain(this, len); in obtainAttributes() [all …]
|