Home
last modified time | relevance | path

Searched refs:mThemeAttrs (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlphaTintDrawableWrapper.java53 private int[] mThemeAttrs; field in AlphaTintDrawableWrapper
62 mThemeAttrs = themeAttrs; in AlphaTintDrawableWrapper()
74 mThemeAttrs = a.extractThemeAttrs(); in inflate()
85 if (mThemeAttrs != null && t != null) { in applyTheme()
86 final TypedArray a = t.resolveAttributes(mThemeAttrs, in applyTheme()
99 return (mThemeAttrs != null && mThemeAttrs.length > 0) || super.canApplyTheme(); in canApplyTheme()
127 return new AlphaTintState(super.getConstantState(), mThemeAttrs, getAlpha(), mTint); in getConstantState()
133 private int[] mThemeAttrs; field in AlphaTintDrawableWrapper.AlphaTintState
144 mThemeAttrs = themeAttrs; in AlphaTintState()
160 new AlphaTintDrawableWrapper(wrapper.getDrawable(), mThemeAttrs); in newDrawable()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java176 int[] mThemeAttrs = null; field in AnimationScaleListDrawable.AnimationScaleListState
188 mThemeAttrs = orig.mThemeAttrs; in AnimationScaleListState()
197 mThemeAttrs = mThemeAttrs != null ? mThemeAttrs.clone() : null; in mutate()
227 return mThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
/frameworks/base/graphics/java/android/graphics/drawable/
DStateListDrawable.java142 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
310 int[] mThemeAttrs; field in StateListDrawable.StateListState
318 mThemeAttrs = orig.mThemeAttrs; in StateListState()
321 mThemeAttrs = null; in StateListState()
327 mThemeAttrs = mThemeAttrs != null ? mThemeAttrs.clone() : null; in mutate()
370 return mThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
DClipDrawable.java112 if (state.mThemeAttrs != null) { in applyTheme()
113 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); in applyTheme()
127 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
128 || mState.mThemeAttrs[R.styleable.ClipDrawable_drawable] == 0)) { in verifyRequiredAttributes()
145 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
218 private int[] mThemeAttrs; field in ClipDrawable.ClipState
DColorDrawable.java309 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
329 if (state.mThemeAttrs != null) { in applyTheme()
330 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ColorDrawable); in applyTheme()
348 int[] mThemeAttrs; field in ColorDrawable.ColorState
362 mThemeAttrs = state.mThemeAttrs; in ColorState()
372 return mThemeAttrs != null in canApplyTheme()
DAnimatedRotateDrawable.java150 if (state.mThemeAttrs != null) { in applyTheme()
152 state.mThemeAttrs, R.styleable.AnimatedRotateDrawable); in applyTheme()
168 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
169 || mState.mThemeAttrs[R.styleable.AnimatedRotateDrawable_drawable] == 0)) { in verifyRequiredAttributes()
186 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
224 private int[] mThemeAttrs; field in AnimatedRotateDrawable.AnimatedRotateState
DRotateDrawable.java91 if (state.mThemeAttrs != null) { in applyTheme()
92 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.RotateDrawable); in applyTheme()
106 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
107 || mState.mThemeAttrs[R.styleable.RotateDrawable_drawable] == 0)) { in verifyRequiredAttributes()
124 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
330 private int[] mThemeAttrs; field in RotateDrawable.RotateState
DScaleDrawable.java125 if (state.mThemeAttrs != null) { in applyTheme()
126 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); in applyTheme()
142 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
143 || mState.mThemeAttrs[R.styleable.ScaleDrawable_drawable] == 0)) { in verifyRequiredAttributes()
160 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
260 private int[] mThemeAttrs; field in ScaleDrawable.ScaleState
DDrawableWrapper.java177 if (state.mThemeAttrs != null) { in applyTheme()
179 state.mThemeAttrs, R.styleable.DrawableWrapper); in applyTheme()
202 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
480 private int[] mThemeAttrs; field in DrawableWrapper.DrawableWrapperState
497 mThemeAttrs = orig.mThemeAttrs; in DrawableWrapperState()
548 return mThemeAttrs != null in canApplyTheme()
DShapeDrawable.java439 if (state.mThemeAttrs != null) { in applyTheme()
440 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ShapeDrawable); in applyTheme()
462 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
541 int[] mThemeAttrs; field in ShapeDrawable.ShapeState
567 mThemeAttrs = orig.mThemeAttrs; in ShapeState()
592 return mThemeAttrs != null in canApplyTheme()
DInsetDrawable.java157 if (state.mThemeAttrs != null) { in applyTheme()
158 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.InsetDrawable); in applyTheme()
172 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
173 || mState.mThemeAttrs[R.styleable.InsetDrawable_drawable] == 0)) { in verifyRequiredAttributes()
190 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
318 private int[] mThemeAttrs; field in InsetDrawable.InsetState
DVectorDrawable.java626 if (state.mThemeAttrs != null) { in applyTheme()
628 state.mThemeAttrs, R.styleable.VectorDrawable); in applyTheme()
755 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
930 int[] mThemeAttrs; field in VectorDrawable.VectorDrawableState
989 mThemeAttrs = copy.mThemeAttrs; in VectorDrawableState()
1046 && mCachedThemeAttrs == mThemeAttrs in canReuseCache()
1059 mCachedThemeAttrs = mThemeAttrs; in updateCacheStates()
1072 return mThemeAttrs != null in canApplyTheme()
1303 private int[] mThemeAttrs; field in VectorDrawable.VGroup
1313 mThemeAttrs = copy.mThemeAttrs; in VGroup()
[all …]
DAdaptiveIconDrawable.java458 if (layer.mThemeAttrs != null) { in applyTheme()
460 layer.mThemeAttrs, R.styleable.AdaptiveIconDrawableLayer); in applyTheme()
532 if (layer.mDrawable == null && (layer.mThemeAttrs == null)) { in inflateLayers()
559 layer.mThemeAttrs = a.extractThemeAttrs(); in updateLayerFromTypedArray()
926 public int[] mThemeAttrs; field in AdaptiveIconDrawable.ChildDrawable
955 mThemeAttrs = orig.mThemeAttrs; in ChildDrawable()
961 return mThemeAttrs != null in canApplyTheme()
973 private int[] mThemeAttrs; field in AdaptiveIconDrawable.LayerState
1020 mThemeAttrs = orig.mThemeAttrs; in LayerState()
1038 if (mThemeAttrs != null || super.canApplyTheme()) { in canApplyTheme()
DBitmapDrawable.java798 if (state.mBitmap == null && (state.mThemeAttrs == null in verifyRequiredAttributes()
799 || state.mThemeAttrs[R.styleable.BitmapDrawable_src] == 0)) { in verifyRequiredAttributes()
817 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
920 if (state.mThemeAttrs != null) { in applyTheme()
921 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.BitmapDrawable); in applyTheme()
989 int[] mThemeAttrs = null; field in BitmapDrawable.BitmapState
1020 mThemeAttrs = bitmapState.mThemeAttrs; in BitmapState()
1035 return mThemeAttrs != null || mTint != null && mTint.canApplyTheme(); in canApplyTheme()
DLayerDrawable.java214 if (state.mThemeAttrs != null) { in applyTheme()
216 state.mThemeAttrs, R.styleable.LayerDrawable); in applyTheme()
227 if (layer.mThemeAttrs != null) { in applyTheme()
229 layer.mThemeAttrs, R.styleable.LayerDrawableItem); in applyTheme()
274 if (layer.mDrawable == null && (layer.mThemeAttrs == null || in inflateLayers()
275 layer.mThemeAttrs[R.styleable.LayerDrawableItem_drawable] == 0)) { in inflateLayers()
305 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
349 layer.mThemeAttrs = a.extractThemeAttrs(); in updateLayerFromTypedArray()
473 childDrawable.mThemeAttrs = themeAttrs; in addLayer()
1833 public int[] mThemeAttrs;
[all …]
DNinePatchDrawable.java419 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
489 if (state.mThemeAttrs != null) { in applyTheme()
491 state.mThemeAttrs, R.styleable.NinePatchDrawable); in applyTheme()
604 int[] mThemeAttrs; field in NinePatchDrawable.NinePatchState
638 mThemeAttrs = orig.mThemeAttrs; in NinePatchState()
643 return mThemeAttrs != null in canApplyTheme()
DAnimatedImageDrawable.java93 int[] mThemeAttrs = null; field in AnimatedImageDrawable.State
263 mState.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
264 if (mState.mNativePtr == 0 && (mState.mThemeAttrs == null in updateStateFromTypedArray()
265 || mState.mThemeAttrs[R.styleable.AnimatedImageDrawable_src] == 0)) { in updateStateFromTypedArray()
DGradientDrawable.java1440 if (state.mThemeAttrs != null) {
1442 state.mThemeAttrs, R.styleable.GradientDrawable);
1482 state.mThemeAttrs = a.extractThemeAttrs();
2066 int[] mThemeAttrs;
2121 mThemeAttrs = orig.mThemeAttrs;
2233 return mThemeAttrs != null
/frameworks/base/core/java/android/content/res/
DColorStateList.java154 private int[][] mThemeAttrs; field in ColorStateList
229 mThemeAttrs = orig.mThemeAttrs.clone(); in ColorStateList()
419 mThemeAttrs = new int[listSize][]; in inflate()
420 System.arraycopy(themeAttrsList, 0, mThemeAttrs, 0, listSize); in inflate()
422 mThemeAttrs = null; in inflate()
444 return mThemeAttrs != null; in canApplyTheme()
458 if (mThemeAttrs == null) { in applyTheme()
464 final int[][] themeAttrsList = mThemeAttrs; in applyTheme()
509 mThemeAttrs = null; in applyTheme()
685 "mThemeAttrs=" + Arrays.deepToString(mThemeAttrs) + in toString()
DGradientColor.java126 private int[] mThemeAttrs; field in GradientColor
158 if (copy.mThemeAttrs != null) { in GradientColor()
159 mThemeAttrs = copy.mThemeAttrs.clone(); in GradientColor()
186 mThemeAttrs = a.extractThemeAttrs(); in updateRootElementState()
565 if (mThemeAttrs != null) { in applyTheme()
575 final TypedArray a = t.resolveAttributes(mThemeAttrs, R.styleable.GradientColor); in applyRootAttrsTheme()
578 mThemeAttrs = a.extractThemeAttrs(mThemeAttrs); in applyRootAttrsTheme()
598 return mThemeAttrs != null || mItemsThemeAttrs != null; in canApplyTheme()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java605 TypedArray mThemeAttrs; field in InputMethodService
1864 mThemeAttrs = obtainStyledAttributes(android.R.styleable.InputMethodService); in initViews()
2165 mFullscreenArea.setBackgroundDrawable(mThemeAttrs.getDrawable( in updateFullscreenMode()
2303 int animRes = mThemeAttrs.getResourceId(vis == View.VISIBLE in updateExtractFrameVisibility()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java210 TypedArray mThemeAttrs; field in VoiceInteractionSession
1336 mThemeAttrs = mContext.obtainStyledAttributes(android.R.styleable.VoiceInteractionSession); in ensureWindowCreated()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13599 Landroid/content/res/ColorStateList;->mThemeAttrs:[[I
13783 Landroid/content/res/GradientColor;->mThemeAttrs:[I
16447 Landroid/graphics/drawable/AdaptiveIconDrawable$ChildDrawable;->mThemeAttrs:[I
16466 Landroid/graphics/drawable/AdaptiveIconDrawable$LayerState;->mThemeAttrs:[I
16511 Landroid/graphics/drawable/AnimatedImageDrawable$State;->mThemeAttrs:[I
16548 Landroid/graphics/drawable/AnimatedRotateDrawable$AnimatedRotateState;->mThemeAttrs:[I
16789 Landroid/graphics/drawable/BitmapDrawable$BitmapState;->mThemeAttrs:[I
16824 Landroid/graphics/drawable/ClipDrawable$ClipState;->mThemeAttrs:[I
16836 Landroid/graphics/drawable/ColorDrawable$ColorState;->mThemeAttrs:[I
16949 Landroid/graphics/drawable/DrawableWrapper$DrawableWrapperState;->mThemeAttrs:[I
[all …]