Searched refs:mFlipFraction (Results 1 – 1 of 1) sorted by relevance
59 private float mFlipFraction = 0f; field in FlipDrawable107 final float old = mFlipFraction; in FlipDrawable()109 mFlipFraction = (Float) animation.getAnimatedValue(); in FlipDrawable()110 if (old != mFlipFraction) { in FlipDrawable()143 if (mFlipFraction / 2 <= mPreFlipDurationMs / totalDurationMs) { in draw()146 } else if (mFlipFraction / 2 >= (totalDurationMs - mPostFlipDurationMs) / totalDurationMs) { in draw()151 final float flipFraction = mFlipFraction / 2; in draw()208 final float old = mFlipFraction; in reset()210 mFlipFraction = side ? 0f : 2f; in reset()212 if (mFlipFraction != old) { in reset()[all …]