Home
last modified time | relevance | path

Searched refs:canApplyTheme (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DColorStateListDrawable.java97 public boolean canApplyTheme() { in canApplyTheme() method in ColorStateListDrawable
98 return super.canApplyTheme() || mState.canApplyTheme(); in canApplyTheme()
289 public boolean canApplyTheme() { in canApplyTheme() method in ColorStateListDrawable.ColorStateListDrawableState
290 return (mColor != null && mColor.canApplyTheme()) in canApplyTheme()
291 || (mTint != null && mTint.canApplyTheme()); in canApplyTheme()
DColorDrawable.java316 public boolean canApplyTheme() { in canApplyTheme() method in ColorDrawable
317 return mColorState.canApplyTheme() || super.canApplyTheme(); in canApplyTheme()
335 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
371 public boolean canApplyTheme() { in canApplyTheme() method in ColorDrawable.ColorState
373 || (mTint != null && mTint.canApplyTheme()); in canApplyTheme()
DDrawableWrapper.java164 if (mDrawable != null && mDrawable.canApplyTheme()) { in applyTheme()
210 public boolean canApplyTheme() { in canApplyTheme() method in DrawableWrapper
211 return (mState != null && mState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
547 public boolean canApplyTheme() { in canApplyTheme() method in DrawableWrapper.DrawableWrapperState
549 || (mDrawableState != null && mDrawableState.canApplyTheme()) in canApplyTheme()
550 || super.canApplyTheme(); in canApplyTheme()
DVectorDrawable.java609 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawable
610 return (mVectorState != null && mVectorState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
643 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
647 if (mVectorState != null && mVectorState.canApplyTheme()) { in applyTheme()
1071 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawable.VectorDrawableState
1073 || (mRootGroup != null && mRootGroup.canApplyTheme()) in canApplyTheme()
1074 || (mTint != null && mTint.canApplyTheme()) in canApplyTheme()
1075 || super.canApplyTheme(); in canApplyTheme()
1480 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawable.VGroup
1488 if (child.canApplyTheme()) { in canApplyTheme()
[all …]
DAdaptiveIconDrawable.java441 if (d != null && d.canApplyTheme()) { in applyTheme()
550 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable
551 return (mLayerState != null && mLayerState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
929 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable.ChildDrawable
931 || (mDrawable != null && mDrawable.canApplyTheme()); in canApplyTheme()
1006 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable.LayerState
1007 if (mThemeAttrs != null || super.canApplyTheme()) { in canApplyTheme()
1014 if (layer.canApplyTheme()) { in canApplyTheme()
DNinePatchDrawable.java501 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
509 public boolean canApplyTheme() { in canApplyTheme() method in NinePatchDrawable
510 return mNinePatchState != null && mNinePatchState.canApplyTheme(); in canApplyTheme()
642 public boolean canApplyTheme() { in canApplyTheme() method in NinePatchDrawable.NinePatchState
644 || (mTint != null && mTint.canApplyTheme()) in canApplyTheme()
645 || super.canApplyTheme(); in canApplyTheme()
DDrawableContainer.java634 public boolean canApplyTheme() { in canApplyTheme() method in DrawableContainer
635 return mDrawableContainerState.canApplyTheme(); in canApplyTheme()
982 if (drawables[i] != null && drawables[i].canApplyTheme()) { in applyTheme()
995 public boolean canApplyTheme() { in canApplyTheme() method in DrawableContainer.DrawableContainerState
1001 if (d.canApplyTheme()) { in canApplyTheme()
1006 if (future != null && future.canApplyTheme()) { in canApplyTheme()
DRippleDrawable.java642 if (state.mColor != null && state.mColor.canApplyTheme()) { in applyTheme()
650 public boolean canApplyTheme() { in canApplyTheme() method in RippleDrawable
651 return (mState != null && mState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
1356 public boolean canApplyTheme() { in canApplyTheme() method in RippleDrawable.RippleState
1358 || (mColor != null && mColor.canApplyTheme()) in canApplyTheme()
1359 || super.canApplyTheme(); in canApplyTheme()
DGradientDrawable.java1430 if (state.mTint != null && state.mTint.canApplyTheme()) {
1434 if (state.mSolidColors != null && state.mSolidColors.canApplyTheme()) {
1438 if (state.mStrokeColors != null && state.mStrokeColors.canApplyTheme()) {
1505 public boolean canApplyTheme() {
1506 return (mGradientState != null && mGradientState.canApplyTheme()) || super.canApplyTheme();
2190 public boolean canApplyTheme() {
2195 || (mTint != null && mTint.canApplyTheme())
2196 || (mStrokeColors != null && mStrokeColors.canApplyTheme())
2197 || (mSolidColors != null && mSolidColors.canApplyTheme())
2198 || super.canApplyTheme();
DBitmapDrawable.java925 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
947 public boolean canApplyTheme() { in canApplyTheme() method in BitmapDrawable
948 return mBitmapState != null && mBitmapState.canApplyTheme(); in canApplyTheme()
1027 public boolean canApplyTheme() { in canApplyTheme() method in BitmapDrawable.BitmapState
1028 return mThemeAttrs != null || mTint != null && mTint.canApplyTheme(); in canApplyTheme()
DShapeDrawable.java446 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
591 public boolean canApplyTheme() { in canApplyTheme() method in ShapeDrawable.ShapeState
593 || (mTint != null && mTint.canApplyTheme()); in canApplyTheme()
DStateListDrawable.java369 public boolean canApplyTheme() { in canApplyTheme() method in StateListDrawable.StateListState
370 return mThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
DAnimatedVectorDrawable.java668 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedVectorDrawable
669 return (mAnimatedVectorState != null && mAnimatedVectorState.canApplyTheme()) in canApplyTheme()
670 || super.canApplyTheme(); in canApplyTheme()
678 if (vectorDrawable != null && vectorDrawable.canApplyTheme()) { in applyTheme()
745 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedVectorDrawable.AnimatedVectorDrawableState
746 return (mVectorDrawable != null && mVectorDrawable.canApplyTheme()) in canApplyTheme()
747 || mPendingAnims != null || super.canApplyTheme(); in canApplyTheme()
DLayerDrawable.java235 if (d != null && d.canApplyTheme()) { in applyTheme()
407 public boolean canApplyTheme() { in canApplyTheme() method in LayerDrawable
408 return mLayerState.canApplyTheme() || super.canApplyTheme(); in canApplyTheme()
1896 public boolean canApplyTheme() {
1898 || (mDrawable != null && mDrawable.canApplyTheme());
2045 public boolean canApplyTheme() {
2046 if (mThemeAttrs != null || super.canApplyTheme()) {
2054 if (layer.canApplyTheme()) {
DAnimatedStateListDrawable.java641 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedStateListDrawable.AnimatedStateListState
642 return mAnimThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCastDrawable.java59 public boolean canApplyTheme() { in canApplyTheme() method in CastDrawable
60 return mFillDrawable.canApplyTheme() || super.canApplyTheme(); in canApplyTheme()
DScreenRecordDrawable.java91 public boolean canApplyTheme() { in canApplyTheme() method in ScreenRecordDrawable
92 return mFillDrawable.canApplyTheme() || super.canApplyTheme(); in canApplyTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlphaTintDrawableWrapper.java98 public boolean canApplyTheme() { in canApplyTheme() method in AlphaTintDrawableWrapper
99 return (mThemeAttrs != null && mThemeAttrs.length > 0) || super.canApplyTheme(); in canApplyTheme()
161 public boolean canApplyTheme() { in canApplyTheme() method in AlphaTintDrawableWrapper.AlphaTintState
/frameworks/base/core/java/android/content/res/
DComplexColor.java52 public abstract boolean canApplyTheme(); in canApplyTheme() method in ComplexColor
DColorStateList.java443 public boolean canApplyTheme() { in canApplyTheme() method in ColorStateList
527 if (t == null || !canApplyTheme()) { in obtainForTheme()
767 if (canApplyTheme()) { in writeToParcel()
DGradientColor.java542 if (t == null || !canApplyTheme()) { in obtainForTheme()
597 public boolean canApplyTheme() { in canApplyTheme() method in GradientColor
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java226 public boolean canApplyTheme() { in canApplyTheme() method in AnimationScaleListDrawable.AnimationScaleListState
227 return mThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DIlluminationDrawable.kt117 override fun canApplyTheme(): Boolean { in canApplyTheme() method in com.android.systemui.media.IlluminationDrawable
118 return themeAttrs != null && themeAttrs!!.size > 0 || super.canApplyTheme() in canApplyTheme()
DLightSourceDrawable.kt170 override fun canApplyTheme(): Boolean { in canApplyTheme() method in com.android.systemui.media.LightSourceDrawable
171 return themeAttrs != null && themeAttrs!!.size > 0 || super.canApplyTheme() in canApplyTheme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonDrawable.java314 public boolean canApplyTheme() { in canApplyTheme() method in KeyButtonDrawable
315 return mState.canApplyTheme(); in canApplyTheme()
453 public boolean canApplyTheme() { in canApplyTheme() method in KeyButtonDrawable.ShadowDrawableState

12