Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DRoundedCornerProgressDrawable.kt72 override fun canApplyTheme(): Boolean { in canApplyTheme() method
73 return (drawable?.canApplyTheme() ?: false) || super.canApplyTheme() in canApplyTheme()
90 override fun canApplyTheme(): Boolean { in canApplyTheme() method in com.android.systemui.util.RoundedCornerState
DBrightnessProgressDrawable.kt84 override fun canApplyTheme(): Boolean { in canApplyTheme() method
85 return (drawable?.canApplyTheme() ?: false) || super.canApplyTheme() in canApplyTheme()
102 override fun canApplyTheme(): Boolean { in canApplyTheme() method in com.android.systemui.util.RoundedCornerState
DAlphaTintDrawableWrapper.java98 public boolean canApplyTheme() { in canApplyTheme() method in AlphaTintDrawableWrapper
99 return (mThemeAttrs != null && mThemeAttrs.length > 0) || super.canApplyTheme(); in canApplyTheme()
167 public boolean canApplyTheme() { in canApplyTheme() method in AlphaTintDrawableWrapper.AlphaTintState
/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()
1473 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawable.VGroup
1481 if (child.canApplyTheme()) { in canApplyTheme()
[all …]
DAdaptiveIconDrawable.java466 if (d != null && d.canApplyTheme()) { in applyTheme()
581 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable
582 return (mLayerState != null && mLayerState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
960 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable.ChildDrawable
962 || (mDrawable != null && mDrawable.canApplyTheme()); in canApplyTheme()
1037 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable.LayerState
1038 if (mThemeAttrs != null || super.canApplyTheme()) { in canApplyTheme()
1045 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()
DGradientDrawable.java1447 if (state.mTint != null && state.mTint.canApplyTheme()) {
1451 if (state.mSolidColors != null && state.mSolidColors.canApplyTheme()) {
1455 if (state.mStrokeColors != null && state.mStrokeColors.canApplyTheme()) {
1461 if (state.mGradientColors[i] != null && state.mGradientColors[i].canApplyTheme()) {
1530 public boolean canApplyTheme() {
1531 return (mGradientState != null && mGradientState.canApplyTheme()) || super.canApplyTheme();
2225 public boolean canApplyTheme() {
2230 .canApplyTheme());
2237 || (mTint != null && mTint.canApplyTheme())
2238 || (mStrokeColors != null && mStrokeColors.canApplyTheme())
[all …]
DRippleDrawable.java649 if (state.mColor != null && state.mColor.canApplyTheme()) { in applyTheme()
657 public boolean canApplyTheme() { in canApplyTheme() method in RippleDrawable
658 return (mState != null && mState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
1370 public boolean canApplyTheme() { in canApplyTheme() method in RippleDrawable.RippleState
1372 || (mColor != null && mColor.canApplyTheme()) in canApplyTheme()
1373 || super.canApplyTheme(); in canApplyTheme()
DBitmapDrawable.java932 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
954 public boolean canApplyTheme() { in canApplyTheme() method in BitmapDrawable
955 return mBitmapState != null && mBitmapState.canApplyTheme(); in canApplyTheme()
1034 public boolean canApplyTheme() { in canApplyTheme() method in BitmapDrawable.BitmapState
1035 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()
753 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedVectorDrawable.AnimatedVectorDrawableState
754 return (mVectorDrawable != null && mVectorDrawable.canApplyTheme()) in canApplyTheme()
755 || mPendingAnims != 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/drawable/
DLoopedAnimatable2DrawableWrapper.kt110 override fun canApplyTheme(): Boolean = nestedState.canApplyTheme() method in com.android.systemui.util.drawable.LoopedAnimatable2DrawableWrapper.LoopedDrawableState
/frameworks/base/core/java/android/content/res/
DComplexColor.java52 public abstract boolean canApplyTheme(); in canApplyTheme() method in ComplexColor
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/
DIlluminationDrawable.kt119 override fun canApplyTheme(): Boolean { in canApplyTheme() method in com.android.systemui.media.controls.ui.drawable.IlluminationDrawable
120 return themeAttrs != null && themeAttrs!!.size > 0 || super.canApplyTheme() in canApplyTheme()
DLightSourceDrawable.kt174 override fun canApplyTheme(): Boolean { in canApplyTheme() method in com.android.systemui.media.controls.ui.drawable.LightSourceDrawable
175 return themeAttrs != null && themeAttrs!!.size > 0 || super.canApplyTheme() in canApplyTheme()
/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/core/java/android/inputmethodservice/navigationbar/
DKeyButtonDrawable.java318 public boolean canApplyTheme() { in canApplyTheme() method in KeyButtonDrawable
319 return mState.canApplyTheme(); in canApplyTheme()
457 public boolean canApplyTheme() { in canApplyTheme() method in KeyButtonDrawable.ShadowDrawableState
/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