Home
last modified time | relevance | path

Searched refs:repeatCount (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/libs/hwui/
DPropertyValuesAnimatorSet.cpp27 nsecs_t duration, int repeatCount, in addPropertyAnimator() argument
30 propertyValuesHolder, interpolator, startDelay, duration, repeatCount, repeatMode); in addPropertyAnimator()
34 if (repeatCount == -1) { in addPropertyAnimator()
129 nsecs_t startDelay, nsecs_t duration, int repeatCount, in PropertyAnimator() argument
135 if (repeatCount < 0) { in PropertyAnimator()
138 mRepeatCount = repeatCount; in PropertyAnimator()
DPropertyValuesAnimatorSet.h29 nsecs_t duration, int repeatCount, RepeatMode repeatMode);
59 int repeatCount, RepeatMode repeatMode);
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java138 public void setRepeatCount(@IntRange(from = REPEAT_INFINITE) int repeatCount) { in setRepeatCount()
139 if (repeatCount < REPEAT_INFINITE) { in setRepeatCount()
141 + repeatCount); in setRepeatCount()
143 if (mState.mRepeatCount != repeatCount) { in setRepeatCount()
144 mState.mRepeatCount = repeatCount; in setRepeatCount()
146 nSetRepeatCount(mState.mNativePtr, repeatCount); in setRepeatCount()
251 final int repeatCount = mState.mRepeatCount; in updateStateFromTypedArray() local
258 if (repeatCount != REPEAT_UNDEFINED) { in updateStateFromTypedArray()
259 this.setRepeatCount(repeatCount); in updateStateFromTypedArray()
273 int repeatCount = a.getInt( in updateStateFromTypedArray() local
[all …]
/frameworks/base/graphics/java/android/graphics/
DInterpolator.java105 public void setRepeatMirror(float repeatCount, boolean mirror) { in setRepeatMirror() argument
106 if (repeatCount >= 0) { in setRepeatMirror()
107 nativeSetRepeatMirror(native_instance, repeatCount, mirror); in setRepeatMirror()
161 …private static native void nativeSetRepeatMirror(long native_instance, float repeatCount, boolean … in nativeSetRepeatMirror() argument
/frameworks/base/media/java/android/media/
DJetPlayer.java287 public boolean queueJetSegment(int segmentNum, int libNum, int repeatCount, in queueJetSegment() argument
289 return native_queueJetSegment(segmentNum, libNum, repeatCount, in queueJetSegment()
316 public boolean queueJetSegmentMuteArray(int segmentNum, int libNum, int repeatCount, in queueJetSegmentMuteArray() argument
321 return native_queueJetSegmentMuteArray(segmentNum, libNum, repeatCount, in queueJetSegmentMuteArray()
521 void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount); in onJetUserIdUpdate() argument
554 int repeatCount, int transpose, int muteFlags, byte userID); in native_queueJetSegment() argument
556 int repeatCount, int transpose, boolean[] muteArray, byte userID); in native_queueJetSegmentMuteArray() argument
/frameworks/base/libs/hwui/jni/
DInterpolator.cpp37 …setRepeatMirror(JNIEnv* env, jobject clazz, jlong interpHandle, jfloat repeatCount, jboolean mirro… in Interpolator_setRepeatMirror() argument
40 if (repeatCount > 32000) in Interpolator_setRepeatMirror()
41 repeatCount = 32000; in Interpolator_setRepeatMirror()
43 interp->setRepeatCount(repeatCount); in Interpolator_setRepeatMirror()
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp84 jlong interpolatorPtr, jlong startDelay, jlong duration, jint repeatCount, in addAnimator() argument
90 set->addPropertyAnimator(holder, interpolator, startDelay, duration, repeatCount, mode); in addAnimator()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp40 entry.repeatCount}; in verifiedKeyEventFromKeyEntry()
135 int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, in KeyEntry() argument
146 repeatCount(repeatCount), in KeyEntry()
163 keyCode, scanCode, metaState, repeatCount, policyFlags); in appendDescription()
DEntry.h132 int32_t repeatCount; member
148 int32_t metaState, int32_t repeatCount, nsecs_t downTime);
/frameworks/base/core/java/android/view/
DVerifiedKeyEvent.java195 int repeatCount) { argument
208 this.mRepeatCount = repeatCount;
370 int repeatCount = in.readInt(); in VerifiedKeyEvent() local
383 this.mRepeatCount = repeatCount; in VerifiedKeyEvent()
/frameworks/av/media/libstagefright/tests/
DBatteryChecker_test.cpp52 uint32_t repeatCount = 0; member
139 if (!mOps[0].repeatCount) { in onMessageReceived()
142 mOps[0].repeatCount--; in onMessageReceived()
/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedKeyEventTest.kt50 assertEquals(REPEAT_COUNT, event.repeatCount) in testConstructor()
162 assertEquals(event1.repeatCount, event2.repeatCount) in compareVerifiedKeyEvents()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java124 int repeatCount = event != null ? event.getRepeatCount() : 0; in onKeyDown() local
125 if (repeatCount == 0) { in onKeyDown()
136 } else if (i == '0' && repeatCount == 1) { in onKeyDown()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeAdapter.java54 final int repeatCount = binding.getRepeatCount(); in FakeAdapter() local
62 for (int r = 0 ; r < repeatCount ; r++) { in FakeAdapter()
DFakeExpandableAdapter.java56 final int repeatCount, List<ResourceReference> types, int depth) { in createItems() argument
62 for (int r = 0 ; r < repeatCount ; r++) { in createItems()
/frameworks/base/media/jni/
Dandroid_media_JetPlayer.cpp271 jint segmentNum, jint libNum, jint repeatCount, jint transpose, jint muteFlags, in android_media_JetPlayer_queueSegment() argument
283 = lpJet->queueSegment(segmentNum, libNum, repeatCount, transpose, muteFlags, userID); in android_media_JetPlayer_queueSegment()
298 jint segmentNum, jint libNum, jint repeatCount, jint transpose, jbooleanArray muteArray, in android_media_JetPlayer_queueSegmentMuteArray() argument
328 result = lpJet->queueSegment(segmentNum, libNum, repeatCount, transpose, muteMask, userID); in android_media_JetPlayer_queueSegmentMuteArray()
DJetPlayer.cpp414 int JetPlayer::queueSegment(int segmentNum, int libNum, int repeatCount, int transpose, in queueSegment() argument
418 segmentNum, libNum, repeatCount, transpose); in queueSegment()
420 return JET_QueueSegment(mEasData, segmentNum, libNum, repeatCount, transpose, muteFlags, in queueSegment()
DJetPlayer.h55 int queueSegment(int segmentNum, int libNum, int repeatCount, int transpose,
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java196 int repeatCount = 0; in sendKeyEvent() local
198 KeyEvent event = new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, repeatCount, in sendKeyEvent()
205 repeatCount++; in sendKeyEvent()
206 injectKeyEvent(KeyEvent.changeTimeRepeat(event, now, repeatCount, in sendKeyEvent()
/frameworks/base/core/jni/
Dandroid_view_VerifiedKeyEvent.cpp37 event.scanCode, event.metaState, event.repeatCount); in android_view_VerifiedKeyEvent()
Dandroid_view_KeyEvent.cpp132 jint repeatCount = env->GetIntField(eventObj, gKeyEventClassInfo.mRepeatCount); in android_view_KeyEvent_toNative() local
138 metaState, repeatCount, milliseconds_to_nanoseconds(downTime), in android_view_KeyEvent_toNative()
/frameworks/base/core/java/android/view/animation/
DAnimation.java557 public void setRepeatCount(int repeatCount) { in setRepeatCount() argument
558 if (repeatCount < 0) { in setRepeatCount()
559 repeatCount = INFINITE; in setRepeatCount()
561 mRepeatCount = repeatCount; in setRepeatCount()
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java251 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument
254 || super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp49 CHECK_OFFSET(InputMessage::Body::Key, repeatCount, 80); in TestInputMessageAlignment()
122 sizeof(VerifiedKeyEvent::repeatCount); in TestVerifiedEventSize()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp354 verifiedEvent.repeatCount += 1; in TEST_F()
913 static int32_t injectKey(const sp<InputDispatcher>& dispatcher, int32_t action, int32_t repeatCount, in injectKey() argument
923 repeatCount, currentTime, currentTime); in injectKey()
1685 ASSERT_EQ(0, verifiedKey.repeatCount); in TEST_F()
1762 void expectKeyRepeatOnce(int32_t repeatCount) { in expectKeyRepeatOnce() argument
1763 SCOPED_TRACE(StringPrintf("Checking event with repeat count %" PRId32, repeatCount)); in expectKeyRepeatOnce()
1773 EXPECT_EQ(repeatCount, repeatKeyEvent->getRepeatCount()); in expectKeyRepeatOnce()
1789 for (int32_t repeatCount = 1; repeatCount <= 10; ++repeatCount) { in TEST_F() local
1790 expectKeyRepeatOnce(repeatCount); in TEST_F()
1803 for (int32_t repeatCount = 1; repeatCount <= 10; ++repeatCount) { in TEST_F() local
[all …]

123