/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 222 private int mRepeatCount = 0; field in ValueAnimator 630 if (mRepeatCount == INFINITE) { in getTotalDuration() 633 return mStartDelay + (mDuration * (mRepeatCount + 1)); in getTotalDuration() 728 } else if (mRepeatCount != INFINITE) { in clampFraction() 729 fraction = Math.min(fraction, mRepeatCount + 1); in clampFraction() 741 (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE)) { in shouldPlayBackward() 894 mRepeatCount = value; in setRepeatCount() 903 return mRepeatCount; in getRepeatCount() 1052 if (mRepeatCount == INFINITE) { in start() 1057 mSeekFraction = 1 + mRepeatCount - mSeekFraction; in start() [all …]
|
/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/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/ |
D | KeyEvent.java | 1281 private int mRepeatCount; field in KeyEvent 1365 mRepeatCount = 0; in KeyEvent() 1388 mRepeatCount = repeat; in KeyEvent() 1412 mRepeatCount = repeat; in KeyEvent() 1440 mRepeatCount = repeat; in KeyEvent() 1470 mRepeatCount = repeat; in KeyEvent() 1502 mRepeatCount = repeat; in KeyEvent() 1529 mRepeatCount = 0; in KeyEvent() 1544 mRepeatCount = origEvent.mRepeatCount; in KeyEvent() 1571 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 | 47 jfieldID mRepeatCount; member 89 jint repeatCount = env->GetIntField(eventObj, gKeyEventClassInfo.mRepeatCount); in android_view_KeyEvent_toNative() 151 gKeyEventClassInfo.mRepeatCount = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mRepeatCount", in register_android_view_KeyEvent()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 85 mRepeatCount = repeatCount; in initialize() 97 mRepeatCount = from.mRepeatCount; in initialize()
|
/frameworks/native/include/input/ |
D | Input.h | 378 inline int32_t getRepeatCount() const { return mRepeatCount; } in getRepeatCount() 407 int32_t mRepeatCount; variable
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 1216 Landroid/animation/ValueAnimator;->mRepeatCount:I 19397 Landroid/graphics/drawable/AnimatedImageDrawable$State;->mRepeatCount:I 73538 Landroid/view/animation/Animation;->mRepeatCount:I
|