Home
last modified time | relevance | path

Searched refs:mAnimatedVectorState (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimatedVectorDrawableCompat.java148 private AnimatedVectorDrawableCompatState mAnimatedVectorState; field in AnimatedVectorDrawableCompat
176 mAnimatedVectorState = state; in AnimatedVectorDrawableCompat()
178 mAnimatedVectorState = new AnimatedVectorDrawableCompatState(context, state, mCallback, in AnimatedVectorDrawableCompat()
275 return super.getChangingConfigurations() | mAnimatedVectorState.mChangingConfigurations; in getChangingConfigurations()
284 mAnimatedVectorState.mVectorDrawable.draw(canvas); in draw()
285 if (mAnimatedVectorState.mAnimatorSet.isStarted()) { in draw()
296 mAnimatedVectorState.mVectorDrawable.setBounds(bounds); in onBoundsChange()
304 return mAnimatedVectorState.mVectorDrawable.setState(state); in onStateChange()
312 return mAnimatedVectorState.mVectorDrawable.setLevel(level); in onLevelChange()
320 return mAnimatedVectorState.mVectorDrawable.getAlpha(); in getAlpha()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java312 private AnimatedVectorDrawableState mAnimatedVectorState; field in AnimatedVectorDrawable
328 mAnimatedVectorState = new AnimatedVectorDrawableState(state, mCallback, res); in AnimatedVectorDrawable()
336 mAnimatedVectorState = new AnimatedVectorDrawableState( in mutate()
337 mAnimatedVectorState, mCallback, mRes); in mutate()
348 if (mAnimatedVectorState.mVectorDrawable != null) { in clearMutated()
349 mAnimatedVectorState.mVectorDrawable.clearMutated(); in clearMutated()
374 mAnimatedVectorState.mChangingConfigurations = getChangingConfigurations(); in getConstantState()
375 return mAnimatedVectorState; in getConstantState()
380 return super.getChangingConfigurations() | mAnimatedVectorState.getChangingConfigurations(); in getChangingConfigurations()
405 mAnimatedVectorState.mVectorDrawable.draw(canvas); in draw()
[all …]