Home
last modified time | relevance | path

Searched refs:ConstantState (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/android/content/res/
DConfigurationBoundResourceCache.java28 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()
DDrawableCache.java26 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()
DConstantState.java32 abstract public class ConstantState<T> { class
DComplexColor.java47 public abstract ConstantState<ComplexColor> getConstantState(); in getConstantState()
DResourcesImpl.java100 private static final LongSparseArray<Drawable.ConstantState>[] sPreloadedDrawables;
102 private static final LongSparseArray<Drawable.ConstantState> sPreloadedColorDrawables
105 private static final LongSparseArray<android.content.res.ConstantState<ComplexColor>>
654 final Drawable.ConstantState cs; in loadDrawable()
695 Drawable.ConstantState state = dr.getConstantState(); in loadDrawable()
725 final Drawable.ConstantState cs = dr.getConstantState(); in cacheDrawable()
973 final android.content.res.ConstantState<ComplexColor> factory = in loadComplexColorFromName()
1072 final android.content.res.ConstantState<ComplexColor> factory = in getColorStateListFromInt()
1262 LongSparseArray<Drawable.ConstantState> getPreloadedDrawables() { in getPreloadedDrawables()
DGradientColor.java501 public ConstantState<ComplexColor> getConstantState() { in getConstantState()
508 private static class GradientColorFactory extends ConstantState<ComplexColor> {
DColorStateList.java729 public ConstantState<ComplexColor> getConstantState() { in getConstantState()
736 private static class ColorStateListFactory extends ConstantState<ComplexColor> {
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DRoundedCornerProgressDrawable.kt63 override fun getConstantState(): ConstantState { in getConstantState()
72 private class RoundedCornerState(private val wrappedState: ConstantState) : ConstantState() {
DAlphaTintDrawableWrapper.java120 public ConstantState getConstantState() { in getConstantState()
124 static class AlphaTintState extends Drawable.ConstantState {
126 private ConstantState mWrappedState;
132 ConstantState wrappedState, in AlphaTintState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenWallpaper.java280 private final ConstantState mState;
284 this(r, new ConstantState(b)); in WallpaperDrawable()
287 private WallpaperDrawable(Resources r, ConstantState state) { in WallpaperDrawable()
338 public ConstantState getConstantState() { in getConstantState()
342 static class ConstantState extends Drawable.ConstantState { class in LockscreenWallpaper.WallpaperDrawable
346 ConstantState(Bitmap background) { in ConstantState() method in LockscreenWallpaper.WallpaperDrawable.ConstantState
/frameworks/base/core/java/android/util/
DLauncherIcons.java145 public ConstantState getConstantState() { in getConstantState()
166 private static class MyConstantState extends ConstantState {
170 final ConstantState mChildState;
172 MyConstantState(Bitmap shadow, ConstantState childState) { in MyConstantState()
/frameworks/base/core/java/android/animation/
DStateListAnimator.java20 import android.content.res.ConstantState;
269 public ConstantState<StateListAnimator> createConstantState() { in createConstantState()
309 extends ConstantState<StateListAnimator> {
DAnimator.java22 import android.content.res.ConstantState;
393 public ConstantState<Animator> createConstantState() { in createConstantState()
655 private static class AnimatorConstantState extends ConstantState<Animator> {
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIcon.java104 public ConstantState getConstantState() { in getConstantState()
109 static class AdaptiveConstantState extends ConstantState {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawable.java95 public ConstantState getConstantState() { in getConstantState()
137 private static class BluetoothDeviceLayerDrawableState extends ConstantState {
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java639 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()
DColorStateListDrawable.java194 public @NonNull ConstantState getConstantState() { in getConstantState()
248 static final class ColorStateListDrawableState extends ConstantState {
DDrawableWrapper.java406 public ConstantState getConstantState() { in getConstantState()
479 abstract static class DrawableWrapperState extends Drawable.ConstantState {
493 Drawable.ConstantState mDrawableState;
DColorDrawable.java343 public ConstantState getConstantState() { in getConstantState()
347 final static class ColorState extends ConstantState {
DShapeDrawable.java511 public ConstantState getConstantState() { in getConstantState()
537 static final class ShapeState extends ConstantState {
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java71 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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DFastBitmapDrawable.java270 public ConstantState getConstantState() { in getConstantState()
293 protected static class FastBitmapConstantState extends ConstantState {
DClockDrawableWrapper.java233 public ConstantState baseDrawableState;
427 public ConstantState getConstantState() { in getConstantState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonDrawable.java230 public ConstantState getConstantState() { in getConstantState()
407 private static class ShadowDrawableState extends ConstantState {
425 ConstantState mChildState;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityTargetAdapterTest.java55 private Drawable.ConstantState mConstantState;

123