Home
last modified time | relevance | path

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

/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()
DScaleDrawable.java124 if (state.mThemeAttrs != null) { in applyTheme()
125 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); in applyTheme()
141 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
142 || mState.mThemeAttrs[R.styleable.ScaleDrawable_drawable] == 0)) { in verifyRequiredAttributes()
159 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
259 private int[] mThemeAttrs; field in ScaleDrawable.ScaleState
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
DDrawableWrapper.java176 if (state.mThemeAttrs != null) { in applyTheme()
178 state.mThemeAttrs, R.styleable.DrawableWrapper); in applyTheme()
201 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.java440 if (state.mThemeAttrs != null) { in applyTheme()
441 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ShapeDrawable); in applyTheme()
463 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
542 int[] mThemeAttrs; field in ShapeDrawable.ShapeState
568 mThemeAttrs = orig.mThemeAttrs; in ShapeState()
593 return mThemeAttrs != null in canApplyTheme()
DInsetDrawable.java156 if (state.mThemeAttrs != null) { in applyTheme()
157 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.InsetDrawable); in applyTheme()
171 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
172 || mState.mThemeAttrs[R.styleable.InsetDrawable_drawable] == 0)) { in verifyRequiredAttributes()
189 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
317 private int[] mThemeAttrs; field in InsetDrawable.InsetState
DVectorDrawable.java622 if (state.mThemeAttrs != null) { in applyTheme()
624 state.mThemeAttrs, R.styleable.VectorDrawable); in applyTheme()
751 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
926 int[] mThemeAttrs; field in VectorDrawable.VectorDrawableState
985 mThemeAttrs = copy.mThemeAttrs; in VectorDrawableState()
1042 && mCachedThemeAttrs == mThemeAttrs in canReuseCache()
1055 mCachedThemeAttrs = mThemeAttrs; in updateCacheStates()
1068 return mThemeAttrs != null in canApplyTheme()
1306 private int[] mThemeAttrs; field in VectorDrawable.VGroup
1316 mThemeAttrs = copy.mThemeAttrs; in VGroup()
[all …]
DAdaptiveIconDrawable.java433 if (layer.mThemeAttrs != null) { in applyTheme()
435 layer.mThemeAttrs, R.styleable.AdaptiveIconDrawableLayer); in applyTheme()
501 if (layer.mDrawable == null && (layer.mThemeAttrs == null)) { in inflateLayers()
528 layer.mThemeAttrs = a.extractThemeAttrs(); in updateLayerFromTypedArray()
896 public int[] mThemeAttrs; field in AdaptiveIconDrawable.ChildDrawable
925 mThemeAttrs = orig.mThemeAttrs; in ChildDrawable()
931 return mThemeAttrs != null in canApplyTheme()
943 private int[] mThemeAttrs; field in AdaptiveIconDrawable.LayerState
990 mThemeAttrs = orig.mThemeAttrs; in LayerState()
1008 if (mThemeAttrs != null || super.canApplyTheme()) { in canApplyTheme()
DLayerDrawable.java213 if (state.mThemeAttrs != null) { in applyTheme()
215 state.mThemeAttrs, R.styleable.LayerDrawable); in applyTheme()
226 if (layer.mThemeAttrs != null) { in applyTheme()
228 layer.mThemeAttrs, R.styleable.LayerDrawableItem); in applyTheme()
273 if (layer.mDrawable == null && (layer.mThemeAttrs == null || in inflateLayers()
274 layer.mThemeAttrs[R.styleable.LayerDrawableItem_drawable] == 0)) { in inflateLayers()
304 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
348 layer.mThemeAttrs = a.extractThemeAttrs(); in updateLayerFromTypedArray()
472 childDrawable.mThemeAttrs = themeAttrs; in addLayer()
1833 public int[] mThemeAttrs;
[all …]
DBitmapDrawable.java791 if (state.mBitmap == null && (state.mThemeAttrs == null in verifyRequiredAttributes()
792 || state.mThemeAttrs[R.styleable.BitmapDrawable_src] == 0)) { in verifyRequiredAttributes()
810 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
913 if (state.mThemeAttrs != null) { in applyTheme()
914 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.BitmapDrawable); in applyTheme()
982 int[] mThemeAttrs = null; field in BitmapDrawable.BitmapState
1013 mThemeAttrs = bitmapState.mThemeAttrs; in BitmapState()
1028 return mThemeAttrs != null || mTint != null && mTint.canApplyTheme(); in canApplyTheme()
DNinePatchDrawable.java419 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
489 if (state.mThemeAttrs != null) { in applyTheme()
491 state.mThemeAttrs, R.styleable.NinePatchDrawable); in applyTheme()
605 int[] mThemeAttrs; field in NinePatchDrawable.NinePatchState
639 mThemeAttrs = orig.mThemeAttrs; in NinePatchState()
644 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.java1420 if (state.mThemeAttrs != null) {
1422 state.mThemeAttrs, R.styleable.GradientDrawable);
1454 state.mThemeAttrs = a.extractThemeAttrs();
2028 int[] mThemeAttrs;
2083 mThemeAttrs = orig.mThemeAttrs;
2188 return mThemeAttrs != null
/frameworks/base/core/java/android/content/res/
DColorStateList.java138 private int[][] mThemeAttrs; field in ColorStateList
213 mThemeAttrs = orig.mThemeAttrs.clone(); in ColorStateList()
379 mThemeAttrs = new int[listSize][]; in inflate()
380 System.arraycopy(themeAttrsList, 0, mThemeAttrs, 0, listSize); in inflate()
382 mThemeAttrs = null; in inflate()
404 return mThemeAttrs != null; in canApplyTheme()
418 if (mThemeAttrs == null) { in applyTheme()
424 final int[][] themeAttrsList = mThemeAttrs; in applyTheme()
467 mThemeAttrs = null; in applyTheme()
636 "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.java380 TypedArray mThemeAttrs; field in InputMethodService
1258 mThemeAttrs = obtainStyledAttributes(android.R.styleable.InputMethodService); in initViews()
1535 mFullscreenArea.setBackgroundDrawable(mThemeAttrs.getDrawable( in updateFullscreenMode()
1664 int animRes = mThemeAttrs.getResourceId(vis == View.VISIBLE in updateExtractFrameVisibility()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java156 TypedArray mThemeAttrs; field in VoiceInteractionSession
1146 mThemeAttrs = mContext.obtainStyledAttributes(android.R.styleable.VoiceInteractionSession); in ensureWindowCreated()