Home
last modified time | relevance | path

Searched refs:mThemeAttrs (Results 1 – 20 of 20) 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.java131 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
302 int[] mThemeAttrs; field in StateListDrawable.StateListState
310 mThemeAttrs = orig.mThemeAttrs; in StateListState()
313 mThemeAttrs = null; in StateListState()
319 mThemeAttrs = mThemeAttrs != null ? mThemeAttrs.clone() : null; in mutate()
357 return mThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
DClipDrawable.java108 if (state.mThemeAttrs != null) { in applyTheme()
109 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); in applyTheme()
123 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
124 || mState.mThemeAttrs[R.styleable.ClipDrawable_drawable] == 0)) { in verifyRequiredAttributes()
141 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
214 private int[] mThemeAttrs; field in ClipDrawable.ClipState
DColorDrawable.java253 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
273 if (state.mThemeAttrs != null) { in applyTheme()
274 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ColorDrawable); in applyTheme()
292 int[] mThemeAttrs; field in ColorDrawable.ColorState
305 mThemeAttrs = state.mThemeAttrs; in ColorState()
315 return mThemeAttrs != null in canApplyTheme()
DRotateDrawable.java89 if (state.mThemeAttrs != null) { in applyTheme()
90 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.RotateDrawable); in applyTheme()
104 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
105 || mState.mThemeAttrs[R.styleable.RotateDrawable_drawable] == 0)) { in verifyRequiredAttributes()
122 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
328 private int[] mThemeAttrs; field in RotateDrawable.RotateState
DAnimatedRotateDrawable.java149 if (state.mThemeAttrs != null) { in applyTheme()
151 state.mThemeAttrs, R.styleable.AnimatedRotateDrawable); in applyTheme()
167 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
168 || mState.mThemeAttrs[R.styleable.AnimatedRotateDrawable_drawable] == 0)) { in verifyRequiredAttributes()
185 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
221 private int[] mThemeAttrs; field in AnimatedRotateDrawable.AnimatedRotateState
DScaleDrawable.java122 if (state.mThemeAttrs != null) { in applyTheme()
123 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); in applyTheme()
139 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
140 || mState.mThemeAttrs[R.styleable.ScaleDrawable_drawable] == 0)) { in verifyRequiredAttributes()
157 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
257 private int[] mThemeAttrs; field in ScaleDrawable.ScaleState
DInsetDrawable.java121 if (state.mThemeAttrs != null) { in applyTheme()
122 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.InsetDrawable); in applyTheme()
136 if (getDrawable() == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
137 || mState.mThemeAttrs[R.styleable.InsetDrawable_drawable] == 0)) { in verifyRequiredAttributes()
154 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
253 private int[] mThemeAttrs; field in InsetDrawable.InsetState
DDrawableWrapper.java164 if (state.mThemeAttrs != null) { in applyTheme()
166 state.mThemeAttrs, R.styleable.DrawableWrapper); in applyTheme()
189 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
446 private int[] mThemeAttrs; field in DrawableWrapper.DrawableWrapperState
455 mThemeAttrs = orig.mThemeAttrs; in DrawableWrapperState()
505 return mThemeAttrs != null in canApplyTheme()
DVectorDrawable.java519 if (state.mThemeAttrs != null) { in applyTheme()
521 state.mThemeAttrs, R.styleable.VectorDrawable); in applyTheme()
642 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
809 int[] mThemeAttrs; field in VectorDrawable.VectorDrawableState
868 mThemeAttrs = copy.mThemeAttrs; in VectorDrawableState()
925 && mCachedThemeAttrs == mThemeAttrs in canReuseCache()
938 mCachedThemeAttrs = mThemeAttrs; in updateCacheStates()
951 return mThemeAttrs != null in canApplyTheme()
1183 private int[] mThemeAttrs; field in VectorDrawable.VGroup
1193 mThemeAttrs = copy.mThemeAttrs; in VGroup()
[all …]
DShapeDrawable.java417 if (state.mThemeAttrs != null) { in applyTheme()
418 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ShapeDrawable); in applyTheme()
440 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
529 int[] mThemeAttrs; field in ShapeDrawable.ShapeState
543 mThemeAttrs = orig.mThemeAttrs; in ShapeState()
560 return mThemeAttrs != null in canApplyTheme()
DBitmapDrawable.java763 if (state.mBitmap == null && (state.mThemeAttrs == null in verifyRequiredAttributes()
764 || state.mThemeAttrs[R.styleable.BitmapDrawable_src] == 0)) { in verifyRequiredAttributes()
781 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
850 if (state.mThemeAttrs != null) { in applyTheme()
851 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.BitmapDrawable); in applyTheme()
919 int[] mThemeAttrs = null; field in BitmapDrawable.BitmapState
942 mThemeAttrs = bitmapState.mThemeAttrs; in BitmapState()
956 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()
471 childDrawable.mThemeAttrs = themeAttrs; in addLayer()
1819 public int[] mThemeAttrs;
[all …]
DNinePatchDrawable.java419 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
483 if (state.mThemeAttrs != null) { in applyTheme()
485 state.mThemeAttrs, R.styleable.NinePatchDrawable); in applyTheme()
591 int[] mThemeAttrs; field in NinePatchDrawable.NinePatchState
625 mThemeAttrs = orig.mThemeAttrs; in NinePatchState()
630 return mThemeAttrs != null in canApplyTheme()
DGradientDrawable.java1231 if (state.mThemeAttrs != null) {
1233 state.mThemeAttrs, R.styleable.GradientDrawable);
1265 state.mThemeAttrs = a.extractThemeAttrs();
1807 int[] mThemeAttrs;
1862 mThemeAttrs = orig.mThemeAttrs;
1963 return mThemeAttrs != null
/frameworks/base/core/java/android/content/res/
DColorStateList.java137 private int[][] mThemeAttrs; field in ColorStateList
208 mThemeAttrs = orig.mThemeAttrs.clone(); in ColorStateList()
374 mThemeAttrs = new int[listSize][]; in inflate()
375 System.arraycopy(themeAttrsList, 0, mThemeAttrs, 0, listSize); in inflate()
377 mThemeAttrs = null; in inflate()
398 return mThemeAttrs != null; in canApplyTheme()
412 if (mThemeAttrs == null) { in applyTheme()
418 final int[][] themeAttrsList = mThemeAttrs; in applyTheme()
461 mThemeAttrs = null; in applyTheme()
618 "mThemeAttrs=" + Arrays.deepToString(mThemeAttrs) + in toString()
DGradientColor.java121 private int[] mThemeAttrs; field in GradientColor
153 if (copy.mThemeAttrs != null) { in GradientColor()
154 mThemeAttrs = copy.mThemeAttrs.clone(); in GradientColor()
181 mThemeAttrs = a.extractThemeAttrs(); in updateRootElementState()
560 if (mThemeAttrs != null) { in applyTheme()
570 final TypedArray a = t.resolveAttributes(mThemeAttrs, R.styleable.GradientColor); in applyRootAttrsTheme()
573 mThemeAttrs = a.extractThemeAttrs(mThemeAttrs); in applyRootAttrsTheme()
593 return mThemeAttrs != null || mItemsThemeAttrs != null; in canApplyTheme()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1303 private int[] mThemeAttrs; field in VectorDrawableCompat.VGroup
1314 mThemeAttrs = copy.mThemeAttrs; in VGroup()
1369 mThemeAttrs = null; // TODO TINT THEME Not supported yet a.extractThemeAttrs(); in updateStateFromTypedArray()
1635 private int[] mThemeAttrs; field in VectorDrawableCompat.VFullPath
1658 mThemeAttrs = copy.mThemeAttrs; in VFullPath()
1703 return mThemeAttrs != null; in canApplyTheme()
1718 mThemeAttrs = null; // TODO TINT THEME Not supported yet a.extractThemeAttrs(); in updateStateFromTypedArray()
1771 if (mThemeAttrs == null) { in applyTheme()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java272 TypedArray mThemeAttrs; field in InputMethodService
825 mThemeAttrs = obtainStyledAttributes(android.R.styleable.InputMethodService); in initViews()
1040 mFullscreenArea.setBackgroundDrawable(mThemeAttrs.getDrawable( in updateFullscreenMode()
1167 int animRes = mThemeAttrs.getResourceId(vis == View.VISIBLE in updateExtractFrameVisibility()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java133 TypedArray mThemeAttrs; field in VoiceInteractionSession
1060 mThemeAttrs = mContext.obtainStyledAttributes(android.R.styleable.VoiceInteractionSession); in initViews()