Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DStateListDrawable.java142 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
323 int[] mThemeAttrs; field in StateListDrawable.StateListState
331 mThemeAttrs = orig.mThemeAttrs; in StateListState()
334 mThemeAttrs = null; in StateListState()
340 mThemeAttrs = mThemeAttrs != null ? mThemeAttrs.clone() : null; in mutate()
377 return mThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
DColorDrawable.java248 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
264 if (state == null || state.mThemeAttrs == null) { in applyTheme()
268 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ColorDrawable); in applyTheme()
279 int[] mThemeAttrs; field in ColorDrawable.ColorState
292 mThemeAttrs = state.mThemeAttrs; in ColorState()
302 return mThemeAttrs != null; in canApplyTheme()
DClipDrawable.java119 if (mState.mDrawable == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
120 || mState.mThemeAttrs[R.styleable.ClipDrawable_drawable] == 0)) { in verifyRequiredAttributes()
134 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
151 if (state == null || state.mThemeAttrs == null) { in applyTheme()
155 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); in applyTheme()
350 int[] mThemeAttrs; field in ClipDrawable.ClipState
363 mThemeAttrs = orig.mThemeAttrs; in ClipState()
382 return mThemeAttrs != null || (mDrawable != null && mDrawable.canApplyTheme()) in canApplyTheme()
DScaleDrawable.java118 if (state.mThemeAttrs != null) { in applyTheme()
119 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); in applyTheme()
156 if (mState.mDrawable == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
157 || mState.mThemeAttrs[R.styleable.ScaleDrawable_drawable] == 0)) { in verifyRequiredAttributes()
171 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
354 int[] mThemeAttrs; field in ScaleDrawable.ScaleState
369 mThemeAttrs = orig.mThemeAttrs; in ScaleState()
390 return mThemeAttrs != null || (mDrawable != null && mDrawable.canApplyTheme()) in canApplyTheme()
DAnimatedRotateDrawable.java287 if (state.mThemeAttrs != null) { in applyTheme()
289 state.mThemeAttrs, R.styleable.AnimatedRotateDrawable); in applyTheme()
314 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
366 if (mState.mDrawable == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
367 || mState.mThemeAttrs[R.styleable.AnimatedRotateDrawable_drawable] == 0)) { in verifyRequiredAttributes()
403 int[] mThemeAttrs; field in AnimatedRotateDrawable.AnimatedRotateState
429 mThemeAttrs = orig.mThemeAttrs; in AnimatedRotateState()
452 return mThemeAttrs != null || (mDrawable != null && mDrawable.canApplyTheme()) in canApplyTheme()
DInsetDrawable.java127 if (mState.mDrawable == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
128 || mState.mThemeAttrs[R.styleable.InsetDrawable_drawable] == 0)) { in verifyRequiredAttributes()
142 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
189 if (state.mThemeAttrs != null) { in applyTheme()
190 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.InsetDrawable); in applyTheme()
416 int[] mThemeAttrs; field in InsetDrawable.InsetState
431 mThemeAttrs = orig.mThemeAttrs; in InsetState()
452 return mThemeAttrs != null || (mDrawable != null && mDrawable.canApplyTheme()) in canApplyTheme()
DRotateDrawable.java430 if (state.mThemeAttrs != null) { in applyTheme()
431 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.RotateDrawable); in applyTheme()
469 if (mState.mDrawable == null && (mState.mThemeAttrs == null in verifyRequiredAttributes()
470 || mState.mThemeAttrs[R.styleable.ScaleDrawable_drawable] == 0)) { in verifyRequiredAttributes()
484 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
533 int[] mThemeAttrs; field in RotateDrawable.RotateState
553 mThemeAttrs = orig.mThemeAttrs; in RotateState()
577 return mThemeAttrs != null || (mDrawable != null && mDrawable.canApplyTheme()) in canApplyTheme()
DVectorDrawable.java372 if (state != null && state.mThemeAttrs != null) { in applyTheme()
373 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.VectorDrawable); in applyTheme()
473 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
641 int[] mThemeAttrs; field in VectorDrawable.VectorDrawableState
662 mThemeAttrs = copy.mThemeAttrs; in VectorDrawableState()
730 && mCachedThemeAttrs == mThemeAttrs in canReuseCache()
743 mCachedThemeAttrs = mThemeAttrs; in updateCacheStates()
753 return mThemeAttrs != null || (mVPathRenderer != null && mVPathRenderer.canApplyTheme()) in canApplyTheme()
1040 private int[] mThemeAttrs; field in VectorDrawable.VGroup
1051 mThemeAttrs = copy.mThemeAttrs; in VGroup()
[all …]
DLayerDrawable.java161 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
224 layer.mThemeAttrs = a.extractThemeAttrs(); in updateLayerFromTypedArray()
251 if (state.mThemeAttrs != null) { in applyTheme()
252 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.LayerDrawable); in applyTheme()
261 if (layer.mThemeAttrs != null) { in applyTheme()
262 final TypedArray a = t.resolveAttributes(layer.mThemeAttrs, in applyTheme()
336 childDrawable.mThemeAttrs = themeAttrs; in addLayer()
949 public int[] mThemeAttrs; field in LayerDrawable.ChildDrawable
967 mThemeAttrs = orig.mThemeAttrs; in ChildDrawable()
979 int[] mThemeAttrs; field in LayerDrawable.LayerState
[all …]
DShapeDrawable.java413 if (state == null || state.mThemeAttrs == null) { in applyTheme()
417 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ShapeDrawable); in applyTheme()
433 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
522 int[] mThemeAttrs; field in ShapeDrawable.ShapeState
536 mThemeAttrs = orig.mThemeAttrs; in ShapeState()
553 return mThemeAttrs != null; in canApplyTheme()
DNinePatchDrawable.java417 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
483 if (state == null || state.mThemeAttrs == null) { in applyTheme()
487 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.NinePatchDrawable); in applyTheme()
499 return mNinePatchState != null && mNinePatchState.mThemeAttrs != null; in canApplyTheme()
594 int[] mThemeAttrs = null; field in NinePatchDrawable.NinePatchState
636 mThemeAttrs = state.mThemeAttrs; in NinePatchState()
648 return mThemeAttrs != null; in canApplyTheme()
DBitmapDrawable.java747 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
813 if (state == null || state.mThemeAttrs == null) { in applyTheme()
817 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.BitmapDrawable); in applyTheme()
842 return mBitmapState != null && mBitmapState.mThemeAttrs != null; in canApplyTheme()
876 int[] mThemeAttrs = null; field in BitmapDrawable.BitmapState
899 mThemeAttrs = bitmapState.mThemeAttrs; in BitmapState()
913 return mThemeAttrs != null; in canApplyTheme()
DGradientDrawable.java1033 if (state.mThemeAttrs != null) {
1035 state.mThemeAttrs, R.styleable.GradientDrawable);
1055 state.mThemeAttrs = a.extractThemeAttrs();
1572 int[] mThemeAttrs;
1626 mThemeAttrs = state.mThemeAttrs;
1637 return mThemeAttrs != null || mAttrSize != null || mAttrGradient != null
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java260 TypedArray mThemeAttrs; field in InputMethodService
705 mThemeAttrs = obtainStyledAttributes(android.R.styleable.InputMethodService); in initViews()
912 mFullscreenArea.setBackgroundDrawable(mThemeAttrs.getDrawable( in updateFullscreenMode()
1039 int animRes = mThemeAttrs.getResourceId(vis == View.VISIBLE in updateExtractFrameVisibility()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java73 TypedArray mThemeAttrs; field in VoiceInteractionSession
469 mThemeAttrs = mContext.obtainStyledAttributes(android.R.styleable.VoiceInteractionSession); in initViews()