Home
last modified time | relevance | path

Searched refs:constantState (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
H A DThemedIconDrawable.java68 protected ThemedIconDrawable(ThemedConstantState constantState) { in ThemedIconDrawable() argument
69 super(constantState.mBitmap, constantState.colorFg, constantState.mIsDisabled); in ThemedIconDrawable()
70 bitmapInfo = constantState.bitmapInfo; in ThemedIconDrawable()
71 colorBg = constantState.colorBg; in ThemedIconDrawable()
72 colorFg = constantState.colorFg; in ThemedIconDrawable()
/aosp12/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java129 final ConstantState<Animator> constantState = animator.createConstantState(); in loadAnimator() local
130 if (constantState != null) { in loadAnimator()
134 animatorCache.put(id, theme, constantState); in loadAnimator()
136 animator = constantState.newInstance(resources, theme); in loadAnimator()
173 final ConstantState<StateListAnimator> constantState = animator in loadStateListAnimator() local
175 if (constantState != null) { in loadStateListAnimator()
176 cache.put(id, theme, constantState); in loadStateListAnimator()
178 animator = constantState.newInstance(resources, theme); in loadStateListAnimator()
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java102 ConstantState constantState = mOpts.placeholder.getConstantState(); in onOptsChanged() local
103 if (constantState != null) { in onOptsChanged()
104 placeholder = constantState.newDrawable(mResources); in onOptsChanged()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/
H A DBottomBar.java404 private LayerDrawable newDrawableFromConstantState(Drawable.ConstantState constantState) { in newDrawableFromConstantState() argument
405 return (LayerDrawable) constantState.newDrawable(getContext().getResources()); in newDrawableFromConstantState()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DFooterActionsView.kt151 pictureToSet = picture.constantState.newDrawable(resources).mutate()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DRenderInfo.kt70 return RenderInfo(icon!!.constantState.newDrawable(context.resources), fg, bg)
/aosp12/frameworks/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java180 Drawable.ConstantState constantState = key != null ? sDrawableCache.get(key) : null; in getDrawable() local
182 if (constantState != null) { in getDrawable()
183 drawable = constantState.newDrawable(resources, theme); in getDrawable()