Home
last modified time | relevance | path

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

123

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java287 public boolean canApplyTheme() { in canApplyTheme() method in ColorDrawable
288 return mColorState.canApplyTheme() || super.canApplyTheme(); in canApplyTheme()
306 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
341 public boolean canApplyTheme() { in canApplyTheme() method in ColorDrawable.ColorState
343 || (mTint != null && mTint.canApplyTheme()); in canApplyTheme()
DDrawableWrapper.java150 if (mDrawable != null && mDrawable.canApplyTheme()) { in applyTheme()
196 public boolean canApplyTheme() { in canApplyTheme() method in DrawableWrapper
197 return (mState != null && mState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
528 public boolean canApplyTheme() { in canApplyTheme() method in DrawableWrapper.DrawableWrapperState
530 || (mDrawableState != null && mDrawableState.canApplyTheme()) in canApplyTheme()
531 || super.canApplyTheme(); in canApplyTheme()
DAdaptiveIconDrawable.java439 if (d != null && d.canApplyTheme()) { in applyTheme()
537 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable
538 return (mLayerState != null && mLayerState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
920 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable.ChildDrawable
922 || (mDrawable != null && mDrawable.canApplyTheme()); in canApplyTheme()
994 public boolean canApplyTheme() { in canApplyTheme() method in AdaptiveIconDrawable.LayerState
995 if (mThemeAttrs != null || super.canApplyTheme()) { in canApplyTheme()
1002 if (layer.canApplyTheme()) { in canApplyTheme()
DRippleDrawable.java521 if (state.mColor != null && state.mColor.canApplyTheme()) { in applyTheme()
529 public boolean canApplyTheme() { in canApplyTheme() method in RippleDrawable
530 return (mState != null && mState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
1008 public boolean canApplyTheme() { in canApplyTheme() method in RippleDrawable.RippleState
1010 || (mColor != null && mColor.canApplyTheme()) in canApplyTheme()
1011 || super.canApplyTheme(); in canApplyTheme()
DVectorDrawable.java588 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawable
589 return (mVectorState != null && mVectorState.canApplyTheme()) || super.canApplyTheme(); in canApplyTheme()
622 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
626 if (mVectorState != null && mVectorState.canApplyTheme()) { in applyTheme()
1049 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawable.VectorDrawableState
1051 || (mRootGroup != null && mRootGroup.canApplyTheme()) in canApplyTheme()
1052 || (mTint != null && mTint.canApplyTheme()) in canApplyTheme()
1053 || super.canApplyTheme(); in canApplyTheme()
1458 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawable.VGroup
1466 if (child.canApplyTheme()) { in canApplyTheme()
[all …]
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()
641 public boolean canApplyTheme() { in canApplyTheme() method in NinePatchDrawable.NinePatchState
643 || (mTint != null && mTint.canApplyTheme()) in canApplyTheme()
644 || super.canApplyTheme(); in canApplyTheme()
DDrawableContainer.java634 public boolean canApplyTheme() { in canApplyTheme() method in DrawableContainer
635 return mDrawableContainerState.canApplyTheme(); in canApplyTheme()
978 if (drawables[i] != null && drawables[i].canApplyTheme()) { in applyTheme()
991 public boolean canApplyTheme() { in canApplyTheme() method in DrawableContainer.DrawableContainerState
997 if (d.canApplyTheme()) { in canApplyTheme()
1002 if (future != null && future.canApplyTheme()) { in canApplyTheme()
DGradientDrawable.java1267 if (state.mTint != null && state.mTint.canApplyTheme()) {
1271 if (state.mSolidColors != null && state.mSolidColors.canApplyTheme()) {
1275 if (state.mStrokeColors != null && state.mStrokeColors.canApplyTheme()) {
1342 public boolean canApplyTheme() {
1343 return (mGradientState != null && mGradientState.canApplyTheme()) || super.canApplyTheme();
1991 public boolean canApplyTheme() {
1996 || (mTint != null && mTint.canApplyTheme())
1997 || (mStrokeColors != null && mStrokeColors.canApplyTheme())
1998 || (mSolidColors != null && mSolidColors.canApplyTheme())
1999 || super.canApplyTheme();
DBitmapDrawable.java920 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
942 public boolean canApplyTheme() { in canApplyTheme() method in BitmapDrawable
943 return mBitmapState != null && mBitmapState.canApplyTheme(); in canApplyTheme()
1021 public boolean canApplyTheme() { in canApplyTheme() method in BitmapDrawable.BitmapState
1022 return mThemeAttrs != null || mTint != null && mTint.canApplyTheme(); in canApplyTheme()
DLayerDrawable.java229 if (d != null && d.canApplyTheme()) { in applyTheme()
401 public boolean canApplyTheme() { in canApplyTheme() method in LayerDrawable
402 return mLayerState.canApplyTheme() || super.canApplyTheme(); in canApplyTheme()
1887 public boolean canApplyTheme() {
1889 || (mDrawable != null && mDrawable.canApplyTheme());
2035 public boolean canApplyTheme() {
2036 if (mThemeAttrs != null || super.canApplyTheme()) {
2044 if (layer.canApplyTheme()) {
DStateListDrawable.java366 public boolean canApplyTheme() { in canApplyTheme() method in StateListDrawable.StateListState
367 return mThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
DShapeDrawable.java445 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme()
590 public boolean canApplyTheme() { in canApplyTheme() method in ShapeDrawable.ShapeState
592 || (mTint != null && mTint.canApplyTheme()); in canApplyTheme()
DAnimatedVectorDrawable.java672 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedVectorDrawable
673 return (mAnimatedVectorState != null && mAnimatedVectorState.canApplyTheme()) in canApplyTheme()
674 || super.canApplyTheme(); in canApplyTheme()
682 if (vectorDrawable != null && vectorDrawable.canApplyTheme()) { in applyTheme()
749 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedVectorDrawable.AnimatedVectorDrawableState
750 return (mVectorDrawable != null && mVectorDrawable.canApplyTheme()) in canApplyTheme()
751 || mPendingAnims != null || super.canApplyTheme(); in canApplyTheme()
DAnimatedStateListDrawable.java636 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedStateListDrawable.AnimatedStateListState
637 return mAnimThemeAttrs != null || super.canApplyTheme(); in canApplyTheme()
DDrawable.java898 public boolean canApplyTheme() { in canApplyTheme() method in Drawable
1482 public boolean canApplyTheme() { in canApplyTheme() method in ConstantState
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DShadowKeyDrawable.java129 public boolean canApplyTheme() { in canApplyTheme() method in ShadowKeyDrawable
130 return mState.canApplyTheme(); in canApplyTheme()
203 public boolean canApplyTheme() { in canApplyTheme() method in ShadowKeyDrawable.ShadowDrawableState
/frameworks/base/core/java/android/content/res/
DComplexColor.java52 public abstract boolean canApplyTheme(); in canApplyTheme() method in ComplexColor
DColorStateList.java397 public boolean canApplyTheme() { in canApplyTheme() method in ColorStateList
478 if (t == null || !canApplyTheme()) { in obtainForTheme()
707 if (canApplyTheme()) { in writeToParcel()
DGradientColor.java542 if (t == null || !canApplyTheme()) { in obtainForTheme()
597 public boolean canApplyTheme() { in canApplyTheme() method in GradientColor
DResourcesImpl.java643 final boolean canApplyTheme = dr != null && dr.canApplyTheme(); in loadDrawable()
644 if (canApplyTheme && theme != null) { in loadDrawable()
656 cacheDrawable(value, isColorDrawable, caches, theme, canApplyTheme, key, dr); in loadDrawable()
DResources.java803 if (d != null && d.canApplyTheme()) { in getDrawable()
998 if (csl != null && csl.canApplyTheme()) { in getColorStateList()
/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/support/compat/src/main/java/androidx/core/graphics/drawable/
DDrawableCompat.java196 public static boolean canApplyTheme(@NonNull Drawable drawable) { in canApplyTheme() method in DrawableCompat
198 return drawable.canApplyTheme(); in canApplyTheme()
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
DAnimatedVectorDrawableCompat.java521 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedVectorDrawableCompat
523 return DrawableCompat.canApplyTheme(mDelegateDrawable); in canApplyTheme()
570 public boolean canApplyTheme() { in canApplyTheme() method in AnimatedVectorDrawableCompat.AnimatedVectorDrawableDelegateState
571 return mDelegateState.canApplyTheme(); in canApplyTheme()
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
DVectorDrawableCompat.java495 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawableCompat
497 DrawableCompat.canApplyTheme(mDelegateDrawable); in canApplyTheme()
910 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawableCompat.VectorDrawableDelegateState
911 return mDelegateState.canApplyTheme(); in canApplyTheme()
1557 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawableCompat.VPath
1706 public boolean canApplyTheme() { in canApplyTheme() method in VectorDrawableCompat.VFullPath

123