/frameworks/base/core/java/android/content/res/ |
D | ConfigurationBoundResourceCache.java | 28 public class ConfigurationBoundResourceCache<T> extends ThemedResourceCache<ConstantState<T>> { 44 final ConstantState<T> entry = get(key, theme); in getInstance() 53 public boolean shouldInvalidateEntry(ConstantState<T> entry, @Config int configChanges) { in shouldInvalidateEntry()
|
D | DrawableCache.java | 26 class DrawableCache extends ThemedResourceCache<Drawable.ConstantState> { 43 final Drawable.ConstantState entry = get(key, theme); in getInstance() 52 public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) { in shouldInvalidateEntry()
|
D | ConstantState.java | 32 abstract public class ConstantState<T> { class
|
D | ComplexColor.java | 47 public abstract ConstantState<ComplexColor> getConstantState(); in getConstantState()
|
D | ResourcesImpl.java | 108 private static final LongSparseArray<Drawable.ConstantState>[] sPreloadedDrawables; 110 private static final LongSparseArray<Drawable.ConstantState> sPreloadedColorDrawables 113 private static final LongSparseArray<android.content.res.ConstantState<ComplexColor>> 752 final Drawable.ConstantState cs; in loadDrawable() 794 Drawable.ConstantState state = dr.getConstantState(); in loadDrawable() 824 final Drawable.ConstantState cs = dr.getConstantState(); in cacheDrawable() 1098 final android.content.res.ConstantState<ComplexColor> factory = 1197 final android.content.res.ConstantState<ComplexColor> factory = 1387 LongSparseArray<Drawable.ConstantState> getPreloadedDrawables() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | RoundedCornerProgressDrawable.kt | 63 override fun getConstantState(): ConstantState { in getConstantState() 76 private class RoundedCornerState(private val wrappedState: ConstantState) : ConstantState() {
|
D | BrightnessProgressDrawable.kt | 75 override fun getConstantState(): ConstantState { in getConstantState() 88 private class RoundedCornerState(private val wrappedState: ConstantState) : ConstantState() {
|
D | AlphaTintDrawableWrapper.java | 126 public ConstantState getConstantState() { in getConstantState() 130 static class AlphaTintState extends Drawable.ConstantState { 132 private ConstantState mWrappedState; 138 ConstantState wrappedState, in AlphaTintState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/ |
D | LoopedAnimatable2DrawableWrapper.kt | 74 override fun getConstantState(): ConstantState? = in getConstantState() 100 private class LoopedDrawableState(private val nestedState: ConstantState) : ConstantState() {
|
/frameworks/base/packages/SystemUI/tests/utils/src/android/graphics/drawable/ |
D | TestStubDrawable.kt | 41 override fun getConstantState(): ConstantState = in getConstantState() 51 ) : ConstantState() {
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | UserBadgeDrawable.java | 145 public ConstantState getConstantState() { in getConstantState() 150 private static class MyConstantState extends ConstantState { 152 private final ConstantState mBase; 157 MyConstantState(ConstantState base, int bgColor, int baseColor, in MyConstantState()
|
D | FastBitmapDrawable.java | 336 public final ConstantState getConstantState() { in getConstantState() 417 protected static class FastBitmapConstantState extends ConstantState { 424 private ConstantState mBadgeConstantState;
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 146 public ConstantState getConstantState() { in getConstantState() 167 private static class MyConstantState extends ConstantState { 171 final ConstantState mChildState; 173 MyConstantState(Bitmap shadow, ConstantState childState) { in MyConstantState()
|
/frameworks/base/core/java/android/animation/ |
D | StateListAnimator.java | 20 import android.content.res.ConstantState; 269 public ConstantState<StateListAnimator> createConstantState() { in createConstantState() 309 extends ConstantState<StateListAnimator> {
|
D | Animator.java | 24 import android.content.res.ConstantState; 442 public ConstantState<Animator> createConstantState() { in createConstantState() 808 private static class AnimatorConstantState extends ConstantState<Animator> {
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveIcon.java | 105 public ConstantState getConstantState() { in getConstantState() 110 static class AdaptiveConstantState extends ConstantState {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawable.java | 96 public ConstantState getConstantState() { in getConstantState() 138 private static class BluetoothDeviceLayerDrawableState extends ConstantState {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 639 public ConstantState getConstantState() { in getConstantState() 683 public abstract static class DrawableContainerState extends ConstantState { 691 SparseArray<ConstantState> mDrawableFutures; 799 final SparseArray<ConstantState> origDf = orig.mDrawableFutures; in DrawableContainerState() 812 final ConstantState cs = origDr[i].getConstantState(); in DrawableContainerState() 878 final ConstantState cs = mDrawableFutures.valueAt(keyIndex); in createAllFutures() 917 final ConstantState cs = mDrawableFutures.valueAt(keyIndex); in getChild() 1005 final ConstantState future = mDrawableFutures.get(i); in canApplyTheme()
|
D | ColorStateListDrawable.java | 194 public @NonNull ConstantState getConstantState() { in getConstantState() 248 static final class ColorStateListDrawableState extends ConstantState {
|
D | DrawableWrapper.java | 406 public ConstantState getConstantState() { in getConstantState() 479 abstract static class DrawableWrapperState extends Drawable.ConstantState { 493 Drawable.ConstantState mDrawableState;
|
D | ColorDrawable.java | 343 public ConstantState getConstantState() { in getConstantState() 347 final static class ColorState extends ConstantState {
|
/frameworks/base/core/java/android/widget/ |
D | SuggestionsAdapter.java | 71 private final WeakHashMap<String, Drawable.ConstantState> mOutsideDrawablesCache; 100 WeakHashMap<String, Drawable.ConstantState> outsideDrawablesCache) { in SuggestionsAdapter() 625 Drawable.ConstantState cached = mOutsideDrawablesCache.get(resourceUri); in checkIconCache() 670 Drawable.ConstantState cached = mOutsideDrawablesCache.get(componentIconKey); in getActivityIconWithCache() 676 Drawable.ConstantState toCache = drawable == null ? null : drawable.getConstantState(); in getActivityIconWithCache()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImplTest.java | 179 private static Drawable.ConstantState fakeConstantState(Drawable otherDrawable) { in fakeConstantState() 180 return new Drawable.ConstantState() { in fakeConstantState()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonDrawable.java | 234 public ConstantState getConstantState() { in getConstantState() 411 private static class ShadowDrawableState extends ConstantState { 429 ConstantState mChildState;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonDrawable.java | 230 public ConstantState getConstantState() { in getConstantState() 407 private static class ShadowDrawableState extends ConstantState { 425 ConstantState mChildState;
|