Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/animation/
H A DValueAnimator.java223 private int mRepeatCount = 0; field in ValueAnimator
636 if (mRepeatCount == INFINITE) { in getTotalDuration()
734 } else if (mRepeatCount != INFINITE) { 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()
1339 (mRepeatCount != INFINITE); in animateBasedOnTime()
1379 if (mRepeatCount > 0) { in animateBasedOnPlayTime()
1384 iteration = Math.min(iteration, mRepeatCount); in animateBasedOnPlayTime()
[all …]
/aosp12/frameworks/base/core/java/android/view/animation/
H A DAnimation.java166 int mRepeatCount = 0; field 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()
759 return mRepeatCount; in getRepeatCount()
[all …]
/aosp12/frameworks/base/core/java/android/view/
H A DVerifiedKeyEvent.java111 private int mRepeatCount; field in VerifiedKeyEvent
206 this.mRepeatCount = repeatCount;
284 return mRepeatCount; in getRepeatCount()
307 && mRepeatCount == that.mRepeatCount; in equals()
324 _hash = 31 * _hash + mRepeatCount; in hashCode()
341 dest.writeInt(mRepeatCount); in writeToParcel()
372 this.mRepeatCount = repeatCount; in VerifiedKeyEvent()
H A DKeyEvent.java1298 private int mRepeatCount; field in KeyEvent
1383 mRepeatCount = 0; in KeyEvent()
1407 mRepeatCount = repeat; in KeyEvent()
1432 mRepeatCount = repeat; in KeyEvent()
1461 mRepeatCount = repeat; in KeyEvent()
1492 mRepeatCount = repeat; in KeyEvent()
1553 mRepeatCount = 0; in KeyEvent()
1569 mRepeatCount = origEvent.mRepeatCount; in KeyEvent()
1690 ev.mRepeatCount = other.mRepeatCount; in obtain()
1789 mRepeatCount = origEvent.mRepeatCount; in KeyEvent()
[all …]
/aosp12/frameworks/base/libs/hwui/
H A 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()
H A DPropertyValuesAnimatorSet.h40 uint32_t mRepeatCount; variable
/aosp12/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A DBenchmarkState.java78 private int mRepeatCount = 0; field in BenchmarkState
148 mRepeatCount = 0; in beginBenchmark()
156 mRepeatCount++; in startNextTestRun()
157 if (mRepeatCount >= REPEAT_COUNT) { in startNextTestRun()
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedImageDrawable.java94 int mRepeatCount = REPEAT_UNDEFINED; field in AnimatedImageDrawable.State
142 if (mState.mRepeatCount != repeatCount) { in setRepeatCount()
143 mState.mRepeatCount = repeatCount; in setRepeatCount()
172 if (mState.mRepeatCount == REPEAT_UNDEFINED) { in getRepeatCount()
173 mState.mRepeatCount = nGetRepeatCount(mState.mNativePtr); in getRepeatCount()
176 return mState.mRepeatCount; in getRepeatCount()
250 final int repeatCount = mState.mRepeatCount; in updateStateFromTypedArray()
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_KeyEvent.cpp88 jfieldID mRepeatCount; member
133 jint repeatCount = env->GetIntField(eventObj, gKeyEventClassInfo.mRepeatCount); in android_view_KeyEvent_toNative()
201 gKeyEventClassInfo.mRepeatCount = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mRepeatCount", in register_android_view_KeyEvent()
/aosp12/packages/services/Car/service/src/com/android/car/hal/
H A DInputHalService.java92 public int mRepeatCount = 0; field in InputHalService.KeyState
348 repeat = state.mRepeatCount++;
359 state.mRepeatCount = 0;
/aosp12/frameworks/native/include/input/
H A DInput.h490 inline int32_t getRepeatCount() const { return mRepeatCount; } in getRepeatCount()
513 int32_t mRepeatCount; variable
/aosp12/frameworks/native/libs/input/
H A DInput.cpp238 mRepeatCount = repeatCount; in initialize()
250 mRepeatCount = from.mRepeatCount; in initialize()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt1216 Landroid/animation/ValueAnimator;->mRepeatCount:I
19388 Landroid/graphics/drawable/AnimatedImageDrawable$State;->mRepeatCount:I
62432 Landroid/view/animation/Animation;->mRepeatCount:I