Searched refs:constantState (Results 1 – 3 of 3) sorted by relevance
129 final ConstantState<Animator> constantState = animator.createConstantState(); in loadAnimator() local130 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() local175 if (constantState != null) { in loadStateListAnimator()176 cache.put(id, theme, constantState); in loadStateListAnimator()178 animator = constantState.newInstance(resources, theme); in loadStateListAnimator()
102 ConstantState constantState = mOpts.placeholder.getConstantState(); in onOptsChanged() local103 if (constantState != null) { in onOptsChanged()104 placeholder = constantState.newDrawable(mResources); in onOptsChanged()
180 Drawable.ConstantState constantState = key != null ? sDrawableCache.get(key) : null; in getDrawable() local182 if (constantState != null) { in getDrawable()183 drawable = constantState.newDrawable(resources, theme); in getDrawable()