Searched refs:constantState (Results 1 – 7 of 7) sorted by relevance
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
H A D | ThemedIconDrawable.java | 68 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 D | AnimatorInflater.java | 129 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 D | ExtendedBitmapDrawable.java | 102 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 D | BottomBar.java | 404 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 D | FooterActionsView.kt | 151 pictureToSet = picture.constantState.newDrawable(resources).mutate()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
H A D | RenderInfo.kt | 70 return RenderInfo(icon!!.constantState.newDrawable(context.resources), fg, bg)
|
/aosp12/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Delegate.java | 180 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()
|