Home
last modified time | relevance | path

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

12

/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.java285 public boolean queueJetSegment(int segmentNum, int libNum, int repeatCount, in queueJetSegment() argument
287 return native_queueJetSegment(segmentNum, libNum, repeatCount, in queueJetSegment()
314 public boolean queueJetSegmentMuteArray(int segmentNum, int libNum, int repeatCount, in queueJetSegmentMuteArray() argument
319 return native_queueJetSegmentMuteArray(segmentNum, libNum, repeatCount, in queueJetSegmentMuteArray()
519 void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount); in onJetUserIdUpdate() argument
552 int repeatCount, int transpose, int muteFlags, byte userID); in native_queueJetSegment() argument
554 int repeatCount, int transpose, boolean[] muteArray, byte userID); in native_queueJetSegmentMuteArray() argument
/frameworks/base/core/jni/android/graphics/
DInterpolator.cpp40 …setRepeatMirror(JNIEnv* env, jobject clazz, jlong interpHandle, jfloat repeatCount, jboolean mirro… in Interpolator_setRepeatMirror() argument
43 if (repeatCount > 32000) in Interpolator_setRepeatMirror()
44 repeatCount = 32000; in Interpolator_setRepeatMirror()
46 interp->setRepeatCount(repeatCount); in Interpolator_setRepeatMirror()
/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/core/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()
Dandroid_view_KeyEvent.cpp89 jint repeatCount = env->GetIntField(eventObj, gKeyEventClassInfo.mRepeatCount); in android_view_KeyEvent_toNative() local
95 repeatCount, in android_view_KeyEvent_toNative()
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp87 jlong interpolatorPtr, jlong startDelay, jlong duration, jint repeatCount, in addAnimator() argument
93 set->addPropertyAnimator(holder, interpolator, startDelay, duration, repeatCount, mode); in addAnimator()
/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/av/media/libmedia/
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()
/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/
DInputPublisherAndConsumer_test.cpp82 constexpr int32_t repeatCount = 1; in PublishAndConsumeKeyEvent() local
87 keyCode, scanCode, metaState, repeatCount, downTime, eventTime); in PublishAndConsumeKeyEvent()
112 EXPECT_EQ(repeatCount, keyEvent->getRepeatCount()); in PublishAndConsumeKeyEvent()
DStructLayout_test.cpp47 CHECK_OFFSET(InputMessage::Body::Key, repeatCount, 48); in TestInputMessageAlignment()
/frameworks/av/media/libmedia/include/media/
DJetPlayer.h55 int queueSegment(int segmentNum, int libNum, int repeatCount, int transpose,
/frameworks/av/include/media/
DJetPlayer.h55 int queueSegment(int segmentNum, int libNum, int repeatCount, int transpose,
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java66 long nativeInterpolator, long startDelay, long duration, int repeatCount, in nAddAnimator() argument
79 animator.setRepeatCount(repeatCount); in nAddAnimator()
/frameworks/native/libs/input/
DInputTransport.cpp154 msg->body.key.repeatCount = body.key.repeatCount; in getSanitizedCopy()
428 int32_t repeatCount, in publishKeyEvent() argument
441 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount, in publishKeyEvent()
461 msg.body.key.repeatCount = repeatCount; in publishKeyEvent()
1124 msg->body.key.repeatCount, in initializeKeyEvent()
/frameworks/native/include/input/
DInputTransport.h87 int32_t repeatCount; member
252 int32_t repeatCount,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java343 final int repeatCount = (flags & KeyEvent.FLAG_LONG_PRESS) != 0 ? 1 : 0; in sendEvent() local
344 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount, in sendEvent()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp738 entry->repeatCount += 1; in synthesizeKeyRepeatLocked()
743 entry->metaState, entry->repeatCount + 1, entry->downTime); in synthesizeKeyRepeatLocked()
794 if (entry->repeatCount == 0 in dispatchKeyLocked()
804 entry->repeatCount = mKeyRepeatState.lastKeyEntry->repeatCount + 1; in dispatchKeyLocked()
818 if (entry->repeatCount == 1) { in dispatchKeyLocked()
901 entry->repeatCount, entry->downTime); in logOutboundKeyDetails()
2188 keyEntry->metaState, keyEntry->repeatCount, keyEntry->downTime, in startDispatchCycleLocked()
2664 constexpr int32_t repeatCount = 0; in notifyKey() local
2680 flags, keyCode, args->scanCode, metaState, repeatCount, in notifyKey()
2708 metaState, repeatCount, args->downTime); in notifyKey()
[all …]

12