Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
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()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java102 ConstantState constantState = mOpts.placeholder.getConstantState(); in onOptsChanged() local
103 if (constantState != null) { in onOptsChanged()
104 placeholder = constantState.newDrawable(mResources); in onOptsChanged()
/frameworks/layoutlib/bridge/src/android/content/res/
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()