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;
618 if (mRepeatCount == INFINITE) {
621 return mStartDelay + (mDuration * (mRepeatCount + 1));
679 * in the range of [0, mRepeatCount + 1]. Both current iteration and fraction in the current
707 * Clamps fraction into the correct range: [0, mRepeatCount + 1]. If repeat count is infinite,
711 * @return fraction clamped into the range of [0, mRepeatCount + 1]
716 } else if (mRepeatCount != INFINITE) {
717 fraction = Math.min(fraction, mRepeatCount + 1);
729 (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE)) {
882 mRepeatCount = value;
891 return mRepeatCount;
1040 if (mRepeatCount == INFINITE) {
1045 mSeekFraction = 1 + mRepeatCount - mSeekFraction;
1133 animateValue(shouldPlayBackward(mRepeatCount, mReversing) ? 0f : 1f);
1320 final boolean lastIterationFinished = (fraction >= mRepeatCount + 1) &&
1321 (mRepeatCount != INFINITE);
1361 if (mRepeatCount > 0) {
1365 // Clamp iteration to [0, mRepeatCount]
1366 iteration = Math.min(iteration, mRepeatCount);
1367 lastIteration = Math.min(lastIteration, mRepeatCount);
1379 if (mRepeatCount != INFINITE && currentPlayTime >= (mRepeatCount + 1) * mDuration) {
1400 if (mRepeatCount % 2 == 1 && mRepeatMode == REVERSE) {