Home
last modified time | relevance | path

Searched refs:repeatCount (Results 1 – 25 of 73) 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()
DSkiaInterpolator.h57 void setRepeatCount(float repeatCount) { fRepeat = repeatCount; } in setRepeatCount() argument
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.java108 public void setRepeatMirror(float repeatCount, boolean mirror) { in setRepeatMirror() argument
109 if (repeatCount >= 0) { in setRepeatMirror()
110 nativeSetRepeatMirror(native_instance, repeatCount, mirror); in setRepeatMirror()
164 …private static native void nativeSetRepeatMirror(long native_instance, float repeatCount, boolean … in nativeSetRepeatMirror() argument
/frameworks/base/libs/hwui/jni/
DInterpolator.cpp33 …setRepeatMirror(JNIEnv* env, jobject clazz, jlong interpHandle, jfloat repeatCount, jboolean mirro… in Interpolator_setRepeatMirror() argument
36 if (repeatCount > 32000) in Interpolator_setRepeatMirror()
37 repeatCount = 32000; in Interpolator_setRepeatMirror()
39 interp->setRepeatCount(repeatCount); in Interpolator_setRepeatMirror()
/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()
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/java/android/view/
DVerifiedKeyEvent.java196 int repeatCount) { argument
206 this.mRepeatCount = repeatCount;
362 int repeatCount = in.readInt(); in VerifiedKeyEvent() local
372 this.mRepeatCount = repeatCount; in VerifiedKeyEvent()
/frameworks/base/libs/hwui/tests/macrobench/
Dmain.cpp266 gOpts.repeatCount = atoi(optarg); in parseOptions()
267 if (!gOpts.repeatCount) { in parseOptions()
271 gOpts.repeatCount = (gOpts.repeatCount > 0 ? gOpts.repeatCount : INT_MAX); in parseOptions()
/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.kt52 assertEquals(REPEAT_COUNT, event.repeatCount) in testConstructor()
164 assertEquals(event1.repeatCount, event2.repeatCount) in compareVerifiedKeyEvents()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp42 entry.repeatCount}; in verifiedKeyEventFromKeyEntry()
137 int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime) in KeyEntry() argument
151 repeatCount(repeatCount) { in KeyEntry()
165 KeyEvent::getLabel(keyCode), keyCode, scanCode, metaState, repeatCount, in getDescription()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java122 int repeatCount = event != null ? event.getRepeatCount() : 0; in onKeyDown() local
123 if (repeatCount == 0) { in onKeyDown()
134 } 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.java55 final int repeatCount, List<ResourceReference> types, int depth) { in createItems() argument
61 for (int r = 0 ; r < repeatCount ; r++) { in createItems()
/frameworks/native/include/input/
DInputEventBuilders.h231 KeyEventBuilder& repeatCount(int32_t repeatCount) { in repeatCount() function
232 mRepeatCount = repeatCount; in repeatCount()
/frameworks/native/services/inputflinger/
DInputCommonConverter.h37 KeyEvent toKeyEvent(const NotifyKeyArgs&, int32_t repeatCount = 0,
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationStats.java306 public final int repeatCount; field in VibrationStats.StatsInfo
336 repeatCount = stats.mRepeatCount; in StatsInfo()
388 interruptedUsage, repeatCount, totalDurationMillis, vibratorOnMillis, in writeVibrationReported()
/frameworks/base/media/jni/
Dandroid_media_JetPlayer.cpp295 jint segmentNum, jint libNum, jint repeatCount, jint transpose, jint muteFlags, in android_media_JetPlayer_queueSegment() argument
307 = lpJet->queueSegment(segmentNum, libNum, repeatCount, transpose, muteFlags, userID); in android_media_JetPlayer_queueSegment()
322 jint segmentNum, jint libNum, jint repeatCount, jint transpose, jbooleanArray muteArray, in android_media_JetPlayer_queueSegmentMuteArray() argument
352 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()
/frameworks/base/tests/Input/src/com/android/test/input/
DInputEventSenderAndReceiverTest.kt37 assertEquals(expected.repeatCount, received.repeatCount) in <lambda>()
/frameworks/base/core/jni/
Dandroid_view_VerifiedKeyEvent.cpp37 event.scanCode, event.metaState, event.repeatCount); in android_view_VerifiedKeyEvent()
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java252 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument
255 || super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DLeftRightArrowPressedListener.kt48 } else if (keyEvent.repeatCount == 0) { in onKey()
/frameworks/base/libs/hwui/tests/common/
DTestScene.h39 int repeatCount = 1; member

123