Home
last modified time | relevance | path

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

/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.java492 if (state.mThemeAttrs != null) { in applyTheme()
494 state.mThemeAttrs, R.styleable.VectorDrawable); in applyTheme()
615 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
778 int[] mThemeAttrs; field in VectorDrawable.VectorDrawableState
837 mThemeAttrs = copy.mThemeAttrs; in VectorDrawableState()
894 && mCachedThemeAttrs == mThemeAttrs in canReuseCache()
907 mCachedThemeAttrs = mThemeAttrs; in updateCacheStates()
920 return mThemeAttrs != null in canApplyTheme()
1152 private int[] mThemeAttrs; field in VectorDrawable.VGroup
1162 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.java747 if (state.mBitmap == null && (state.mThemeAttrs == null in verifyRequiredAttributes()
748 || state.mThemeAttrs[R.styleable.BitmapDrawable_src] == 0)) { in verifyRequiredAttributes()
765 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
834 if (state.mThemeAttrs != null) { in applyTheme()
835 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.BitmapDrawable); in applyTheme()
903 int[] mThemeAttrs = null; field in BitmapDrawable.BitmapState
926 mThemeAttrs = bitmapState.mThemeAttrs; in BitmapState()
940 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()
273 if (layer.mDrawable == null && (layer.mThemeAttrs == null || in inflateLayers()
274 layer.mThemeAttrs[R.styleable.LayerDrawableItem_drawable] == 0)) { in inflateLayers()
305 state.mThemeAttrs = a.extractThemeAttrs(); in updateStateFromTypedArray()
349 layer.mThemeAttrs = a.extractThemeAttrs(); in updateLayerFromTypedArray()
459 childDrawable.mThemeAttrs = themeAttrs; in addLayer()
1807 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.java1203 if (state.mThemeAttrs != null) {
1205 state.mThemeAttrs, R.styleable.GradientDrawable);
1237 state.mThemeAttrs = a.extractThemeAttrs();
1779 int[] mThemeAttrs;
1834 mThemeAttrs = orig.mThemeAttrs;
1935 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.java1151 private int[] mThemeAttrs; field in VectorDrawableCompat.VGroup
1162 mThemeAttrs = copy.mThemeAttrs; in VGroup()
1217 mThemeAttrs = null; // TODO TINT THEME Not supported yet a.extractThemeAttrs(); in updateStateFromTypedArray()
1483 private int[] mThemeAttrs; field in VectorDrawableCompat.VFullPath
1506 mThemeAttrs = copy.mThemeAttrs; in VFullPath()
1551 return mThemeAttrs != null; in canApplyTheme()
1566 mThemeAttrs = null; // TODO TINT THEME Not supported yet a.extractThemeAttrs(); in updateStateFromTypedArray()
1619 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()