/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 223 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/ |
D | PropertyValuesAnimatorSet.cpp | 136 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()
|
D | PropertyValuesAnimatorSet.h | 40 uint32_t mRepeatCount; variable
|
/frameworks/base/core/java/android/view/animation/ |
D | Animation.java | 166 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/ |
D | VerifiedKeyEvent.java | 109 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()
|
D | KeyEvent.java | 1284 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/ |
D | BenchmarkState.java | 77 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/ |
D | AnimatedImageDrawable.java | 95 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/ |
D | android_view_KeyEvent.cpp | 87 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/ |
D | ScrollCaptureTargetResolverTest.java | 463 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/ |
D | Input.cpp | 155 mRepeatCount = repeatCount; in initialize() 167 mRepeatCount = from.mRepeatCount; in initialize()
|
/frameworks/native/include/input/ |
D | Input.h | 450 inline int32_t getRepeatCount() const { return mRepeatCount; } in getRepeatCount() 473 int32_t mRepeatCount; variable
|