Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/animation/
DAnimation.java163 int mRepeatCount = 0; field in Animation
248 … setRepeatCount(a.getInt(com.android.internal.R.styleable.Animation_repeatCount, mRepeatCount)); in Animation()
455 mRepeatCount = 0; in restrictDuration()
467 mRepeatCount = 0; in restrictDuration()
473 if (mRepeatCount < 0 || mRepeatCount > durationMillis in restrictDuration()
474 || (dur*mRepeatCount) > durationMillis) { in restrictDuration()
477 mRepeatCount = (int)(durationMillis/dur) - 1; in restrictDuration()
478 if (mRepeatCount < 0) { in restrictDuration()
479 mRepeatCount = 0; in restrictDuration()
553 mRepeatCount = repeatCount; in setRepeatCount()
[all …]
/frameworks/base/core/java/android/view/
DKeyEvent.java1234 private int mRepeatCount; field in KeyEvent
1313 mRepeatCount = 0; in KeyEvent()
1336 mRepeatCount = repeat; in KeyEvent()
1360 mRepeatCount = repeat; in KeyEvent()
1388 mRepeatCount = repeat; in KeyEvent()
1418 mRepeatCount = repeat; in KeyEvent()
1450 mRepeatCount = repeat; in KeyEvent()
1476 mRepeatCount = 0; in KeyEvent()
1490 mRepeatCount = origEvent.mRepeatCount; in KeyEvent()
1516 mRepeatCount = newRepeat; in KeyEvent()
[all …]
/frameworks/base/core/java/android/animation/
DValueAnimator.java204 private int mRepeatCount = 0; field in ValueAnimator
559 if (mRepeatCount == INFINITE) { in getTotalDuration()
562 return mStartDelay + (mDuration * (mRepeatCount + 1)); in getTotalDuration()
654 } else if (mRepeatCount != INFINITE) { in clampFraction()
655 fraction = Math.min(fraction, mRepeatCount + 1); in clampFraction()
667 (iteration < (mRepeatCount + 1) || mRepeatCount == INFINITE)) { in shouldPlayBackward()
817 mRepeatCount = value; in setRepeatCount()
826 return mRepeatCount; in getRepeatCount()
974 if (mRepeatCount == INFINITE) { in start()
979 mSeekFraction = 1 + mRepeatCount - mSeekFraction; in start()
[all …]
/frameworks/base/libs/hwui/
DPropertyValuesAnimatorSet.cpp114 mRepeatCount = UINT32_MAX; in PropertyAnimator()
116 mRepeatCount = repeatCount; in PropertyAnimator()
118 mTotalDuration = ((nsecs_t) mRepeatCount + 1) * mDuration + mStartDelay; in PropertyAnimator()
DPropertyValuesAnimatorSet.h41 uint32_t mRepeatCount; variable
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp46 jfieldID mRepeatCount; member
86 jint repeatCount = env->GetIntField(eventObj, gKeyEventClassInfo.mRepeatCount); in android_view_KeyEvent_toNative()
145 gKeyEventClassInfo.mRepeatCount = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mRepeatCount", in register_android_view_KeyEvent()
/frameworks/native/libs/input/
DInput.cpp71 mRepeatCount = repeatCount; in initialize()
83 mRepeatCount = from.mRepeatCount; in initialize()
/frameworks/native/include/input/
DInput.h334 inline int32_t getRepeatCount() const { return mRepeatCount; } in getRepeatCount()
362 int32_t mRepeatCount; variable