Home | History | Annotate | Download | only in animation

Lines Matching defs:mRepeatCount

143      * Tracks the overall fraction of the animation, ranging from 0 to mRepeatCount + 1
212 private int mRepeatCount = 0;
598 if (mRepeatCount == INFINITE) {
601 return mStartDelay + (mDuration * (mRepeatCount + 1));
659 * in the range of [0, mRepeatCount + 1]. Both current iteration and fraction in the current
687 * Clamps fraction into the correct range: [0, mRepeatCount + 1]. If repeat count is infinite,
691 * @return fraction clamped into the range of [0, mRepeatCount + 1]
696 } else if (mRepeatCount != INFINITE) {
697 fraction = Math.min(fraction, mRepeatCount + 1);
709 (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE)) {
859 mRepeatCount = value;
868 return mRepeatCount;
1017 if (mRepeatCount == INFINITE) {
1022 mSeekFraction = 1 + mRepeatCount - mSeekFraction;
1110 animateValue(shouldPlayBackward(mRepeatCount, mReversing) ? 0f : 1f);
1297 final boolean lastIterationFinished = (fraction >= mRepeatCount + 1) &&
1298 (mRepeatCount != INFINITE);
1338 if (mRepeatCount > 0) {
1342 // Clamp iteration to [0, mRepeatCount]
1343 iteration = Math.min(iteration, mRepeatCount);
1344 lastIteration = Math.min(lastIteration, mRepeatCount);
1356 if (mRepeatCount != INFINITE && currentPlayTime >= (mRepeatCount + 1) * mDuration) {
1377 if (mRepeatCount % 2 == 1 && mRepeatMode == REVERSE) {