Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DJetPlayerTest.java94 int repeatCount = 0; in testQueueJetSegmentMuteArray() local
98 repeatCount, transpose, in testQueueJetSegmentMuteArray()
108 repeatCount, transpose, in testQueueJetSegmentMuteArray()
121 int repeatCount = 1; in runJet() local
124 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
128 repeatCount = 1; in runJet()
130 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
135 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
217 public void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount) { in onJetUserIdUpdate() argument
DMediaSessionManagerTest.java208 private void assertKeyEventEquals(KeyEvent lhs, int keyCode, int action, int repeatCount) { in assertKeyEventEquals() argument
211 && lhs.getRepeatCount() == repeatCount); in assertKeyEventEquals()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionTest.java155 int repeatCount = 0; in sendKeyViaInstrumentation() local
157 new KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, repeatCount); in sendKeyViaInstrumentation()
160 repeatCount += 1; in sendKeyViaInstrumentation()
162 KeyEvent.ACTION_DOWN, keyCode, repeatCount); in sendKeyViaInstrumentation()
181 private void checkKeyEvent(int action, int keyCode, int repeatCount) { in checkKeyEvent() argument
188 assertEquals("repeatCount: " , repeatCount, event.getRepeatCount()); in checkKeyEvent()
DMockView.java190 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument
192 return super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
DKeyEventTest.java641 int repeatCount = 1; in testGetRepeatCount() local
643 KeyEvent.KEYCODE_0, repeatCount); in testGetRepeatCount()
644 assertEquals(repeatCount, mKeyEvent.getRepeatCount()); in testGetRepeatCount()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java82 int repeatCount, int repeatMode, in createAnimator() argument
86 valueAnimator.setRepeatCount(repeatCount); in createAnimator()
97 public ValueAnimator createAnimatorWithRepeatCount(int repeatCount) { in createAnimatorWithRepeatCount() argument
98 return createAnimator(view.newBall, "y", 1000, repeatCount, ValueAnimator.REVERSE, in createAnimatorWithRepeatCount()
113 long duration, int repeatCount, int repeatMode, TimeInterpolator timeInterpolator, in createObjectAnimatorForInt() argument
118 objAnimator.setRepeatCount(repeatCount); in createObjectAnimatorForInt()
DValueAnimatorTest.java130 int repeatCount = 2; in testRepeatCount() local
131 ValueAnimator mValueAnimator = mActivity.createAnimatorWithRepeatCount(repeatCount); in testRepeatCount()
133 assertEquals(repeatCount, mValueAnimator.getRepeatCount()); in testRepeatCount()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java152 int repeatCount = 0; in injectKey() local
154 new KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, repeatCount); in injectKey()
157 repeatCount += 1; in injectKey()
159 KeyEvent.ACTION_DOWN, keyCode, repeatCount); in injectKey()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java180 int repeatCount = event.getRepeatCount(); in sendKey() local
196 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey()
/cts/tests/app/app/src/android/app/stubs/
DTestDialog.java165 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument
167 onKeyMultipleReturn = super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java412 for (int repeatCount = 0; repeatCount < 2; ++repeatCount) { in testMatrixIsRequired()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp74 outMsg->body.key.repeatCount = msg.body.key.repeatCount; in sanitizeMessage()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java390 public void testRepeatCounts(int repeatCount) throws Throwable { in testRepeatCounts() argument
400 drawable.setRepeatCount(repeatCount); in testRepeatCounts()
401 assertEquals(repeatCount, drawable.getRepeatCount()); in testRepeatCounts()
409 cb.waitForEnd(DURATION * repeatCount); in testRepeatCounts()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java1148 public void testRepeatCount(int resId, int repeatCount) throws IOException {
1152 nTestRepeatCount(aimagedecoder, repeatCount);
1160 public void testRepeatCountStill(String name, int repeatCount) {
1164 nTestRepeatCount(aimagedecoder, repeatCount);
1211 private static native void nTestRepeatCount(long aimagedecoder, int repeatCount);
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp1243 static void testRepeatCount(JNIEnv* env, jclass, jlong imageDecoderPtr, jint repeatCount) { in testRepeatCount() argument
1247 if (repeatCount == -1) { // AnimatedImageDrawable.REPEAT_INFINITE in testRepeatCount()
1248 repeatCount = ANDROID_IMAGE_DECODER_INFINITE; in testRepeatCount()
1252 ASSERT_EQ(repeatCount, AImageDecoder_getRepeatCount(decoder)); in testRepeatCount()