Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DJetPlayerTest.java93 int repeatCount = 0; in testQueueJetSegmentMuteArray() local
97 repeatCount, transpose, in testQueueJetSegmentMuteArray()
107 repeatCount, transpose, in testQueueJetSegmentMuteArray()
120 int repeatCount = 1; in runJet() local
123 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
127 repeatCount = 1; in runJet()
129 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
134 assertTrue(mJetPlayer.queueJetSegment(segmentNum, libNum, repeatCount, in runJet()
216 public void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount) { in onJetUserIdUpdate() argument
DMediaSessionManagerTest.java94 private void assertKeyEventEquals(KeyEvent lhs, int keyCode, int action, int repeatCount) { in assertKeyEventEquals() argument
97 && lhs.getRepeatCount() == repeatCount); in assertKeyEventEquals()
/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.java126 int repeatCount = 2; in testRepeatCount() local
127 ValueAnimator mValueAnimator = mActivity.createAnimatorWithRepeatCount(repeatCount); in testRepeatCount()
129 assertEquals(repeatCount, mValueAnimator.getRepeatCount()); in testRepeatCount()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java174 int repeatCount = event.getRepeatCount(); in sendKey() local
190 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey()
/cts/tests/app/app/src/android/app/stubs/
DTestDialog.java163 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument
165 onKeyMultipleReturn = super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
/cts/tests/tests/view/src/android/view/cts/
DMockView.java186 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { in onKeyMultiple() argument
188 return super.onKeyMultiple(keyCode, repeatCount, event); in onKeyMultiple()
DKeyEventTest.java613 int repeatCount = 1; in testGetRepeatCount() local
615 KeyEvent.KEYCODE_0, repeatCount); in testGetRepeatCount()
616 assertEquals(repeatCount, mKeyEvent.getRepeatCount()); in testGetRepeatCount()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedImageDrawableTest.java367 for (int repeatCount : new int[] { 3, 5, 7, 16 }) { in testRepeatCounts()
376 drawable.setRepeatCount(repeatCount); in testRepeatCounts()
377 assertEquals(repeatCount, drawable.getRepeatCount()); in testRepeatCounts()
382 cb.waitForEnd(DURATION * repeatCount); in testRepeatCounts()