Home
last modified time | relevance | path

Searched refs:mRepeatCount (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/animation/
DValueAnimator.java223 private int mRepeatCount = 0; field in ValueAnimator
636 if (mRepeatCount == INFINITE) { in getTotalDuration()
639 return mStartDelay + (mDuration * (mRepeatCount + 1)); in getTotalDuration()
734 } else if (mRepeatCount != INFINITE) { in clampFraction()
735 fraction = Math.min(fraction, mRepeatCount + 1); in clampFraction()
747 (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE)) { in shouldPlayBackward()
900 mRepeatCount = value; in setRepeatCount()
909 return mRepeatCount; in getRepeatCount()
1058 if (mRepeatCount == INFINITE) { in start()
1063 mSeekFraction = 1 + mRepeatCount - mSeekFraction; in start()
[all …]
/frameworks/base/libs/hwui/
DPropertyValuesAnimatorSet.cpp136 mRepeatCount = UINT32_MAX; in PropertyAnimator()
138 mRepeatCount = repeatCount; in PropertyAnimator()
141 mTotalDuration = ((nsecs_t)mRepeatCount + 1) * mDuration + mStartDelay; in PropertyAnimator()
153 iteration = mRepeatCount; in setCurrentPlayTime()
168 if ((mLatestFraction == mRepeatCount + 1.0) && (totalFraction >= mRepeatCount + 1.0)) { in setFraction()
DPropertyValuesAnimatorSet.h40 uint32_t mRepeatCount; variable
/frameworks/base/core/java/android/view/animation/
DAnimation.java166 int mRepeatCount = 0; field in Animation
256 … setRepeatCount(a.getInt(com.android.internal.R.styleable.Animation_repeatCount, mRepeatCount)); in Animation()
463 mRepeatCount = 0; in restrictDuration()
475 mRepeatCount = 0; in restrictDuration()
481 if (mRepeatCount < 0 || mRepeatCount > durationMillis in restrictDuration()
482 || (dur*mRepeatCount) > durationMillis) { in restrictDuration()
485 mRepeatCount = (int)(durationMillis/dur) - 1; in restrictDuration()
486 if (mRepeatCount < 0) { in restrictDuration()
487 mRepeatCount = 0; in restrictDuration()
561 mRepeatCount = repeatCount; in setRepeatCount()
[all …]
/frameworks/base/core/java/android/view/
DVerifiedKeyEvent.java109 private int mRepeatCount; field in VerifiedKeyEvent
208 this.mRepeatCount = repeatCount;
288 return mRepeatCount; in getRepeatCount()
314 && mRepeatCount == that.mRepeatCount; in equals()
334 _hash = 31 * _hash + mRepeatCount; in hashCode()
350 dest.writeInt(mRepeatCount); in writeToParcel()
383 this.mRepeatCount = repeatCount; in VerifiedKeyEvent()
DKeyEvent.java1284 private int mRepeatCount; field in KeyEvent
1369 mRepeatCount = 0; in KeyEvent()
1393 mRepeatCount = repeat; in KeyEvent()
1418 mRepeatCount = repeat; in KeyEvent()
1447 mRepeatCount = repeat; in KeyEvent()
1478 mRepeatCount = repeat; in KeyEvent()
1511 mRepeatCount = repeat; in KeyEvent()
1539 mRepeatCount = 0; in KeyEvent()
1555 mRepeatCount = origEvent.mRepeatCount; in KeyEvent()
1584 mRepeatCount = newRepeat; in KeyEvent()
[all …]
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java77 private int mRepeatCount = 0; field in BenchmarkState
130 mRepeatCount = 0; in beginBenchmark()
138 mRepeatCount++; in startNextTestRun()
139 if (mRepeatCount >= REPEAT_COUNT) { in startNextTestRun()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java95 int mRepeatCount = REPEAT_UNDEFINED; field in AnimatedImageDrawable.State
143 if (mState.mRepeatCount != repeatCount) { in setRepeatCount()
144 mState.mRepeatCount = repeatCount; in setRepeatCount()
173 if (mState.mRepeatCount == REPEAT_UNDEFINED) { in getRepeatCount()
174 mState.mRepeatCount = nGetRepeatCount(mState.mNativePtr); in getRepeatCount()
177 return mState.mRepeatCount; in getRepeatCount()
251 final int repeatCount = mState.mRepeatCount; in updateStateFromTypedArray()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp87 jfieldID mRepeatCount; member
132 jint repeatCount = env->GetIntField(eventObj, gKeyEventClassInfo.mRepeatCount); in android_view_KeyEvent_toNative()
200 gKeyEventClassInfo.mRepeatCount = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mRepeatCount", in register_android_view_KeyEvent()
/frameworks/base/core/tests/coretests/src/android/view/
DScrollCaptureTargetResolverTest.java463 private int mRepeatCount; field in ScrollCaptureTargetResolverTest.RepeatingCaptureCallback
466 mRepeatCount = repeatCount; in RepeatingCaptureCallback()
471 for (int i = 0; i < mRepeatCount; i++) { in run()
/frameworks/native/libs/input/
DInput.cpp155 mRepeatCount = repeatCount; in initialize()
167 mRepeatCount = from.mRepeatCount; in initialize()
/frameworks/native/include/input/
DInput.h450 inline int32_t getRepeatCount() const { return mRepeatCount; } in getRepeatCount()
473 int32_t mRepeatCount; variable