Home
last modified time | relevance | path

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

/cts/tests/tests/media/player/src/android/media/player/cts/
DJetPlayerTest.java112 int repeatCount = 0; in testQueueJetSegmentMuteArray() local
116 repeatCount, transpose, in testQueueJetSegmentMuteArray()
126 repeatCount, transpose, in testQueueJetSegmentMuteArray()
139 int repeatCount = 1; in runJet() local
142 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
146 repeatCount = 1; in runJet()
148 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
153 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
236 public void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount) { in onJetUserIdUpdate() argument
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionTest.java164 int repeatCount = 0; in sendKeyViaInstrumentation() local
166 new KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, repeatCount); in sendKeyViaInstrumentation()
169 repeatCount += 1; in sendKeyViaInstrumentation()
171 KeyEvent.ACTION_DOWN, keyCode, repeatCount); in sendKeyViaInstrumentation()
190 private void checkKeyEvent(int action, int keyCode, int repeatCount) { in checkKeyEvent() argument
197 assertEquals("repeatCount: " , repeatCount, event.getRepeatCount()); in checkKeyEvent()
DMockView.java191 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument
193 return super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
DKeyEventTest.java658 int repeatCount = 1; in testGetRepeatCount() local
660 KeyEvent.KEYCODE_0, repeatCount); in testGetRepeatCount()
661 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.java139 int repeatCount = 2; in testRepeatCount() local
140 ValueAnimator mValueAnimator = mActivity.createAnimatorWithRepeatCount(repeatCount); in testRepeatCount()
142 assertEquals(repeatCount, mValueAnimator.getRepeatCount()); in testRepeatCount()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java157 int repeatCount = 0; in injectKeyActionDown() local
159 new KeyEvent(downTime, downTime, KeyEvent.ACTION_DOWN, keyCode, repeatCount); in injectKeyActionDown()
162 repeatCount += 1; in injectKeyActionDown()
164 KeyEvent.ACTION_DOWN, keyCode, repeatCount); in injectKeyActionDown()
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java256 int repeatCount = event.getRepeatCount(); in sendKey() local
272 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey()
/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.java398 public void testRepeatCounts(int repeatCount) throws Throwable { in testRepeatCounts() argument
408 drawable.setRepeatCount(repeatCount); in testRepeatCounts()
409 assertEquals(repeatCount, drawable.getRepeatCount()); in testRepeatCounts()
417 cb.waitForEnd(DURATION * repeatCount); in testRepeatCounts()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java1244 public void testRepeatCount(int resId, int repeatCount) throws IOException {
1248 nTestRepeatCount(aimagedecoder, repeatCount);
1256 public void testRepeatCountStill(String name, int repeatCount) {
1260 nTestRepeatCount(aimagedecoder, repeatCount);
1307 private static native void nTestRepeatCount(long aimagedecoder, int repeatCount);
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java540 for (int repeatCount = 0; repeatCount < 2; ++repeatCount) { in testMatrixIsRequired()
/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()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSessionManagerTest.java305 private void assertKeyEventEquals(KeyEvent lhs, int keyCode, int action, int repeatCount) { in assertKeyEventEquals() argument
308 && lhs.getRepeatCount() == repeatCount).isTrue(); in assertKeyEventEquals()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1376 field public static final int repeatCount = 16843199; // 0x10101bf