Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewSearchResultHighlightTest.java218 assertPathEquals(expectPath, pathCaptor.getAllValues().get(0)); in drawWithHighlight()
219 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.GREEN); in drawWithHighlight()
223 assertPathEquals(expectPath, pathCaptor.getAllValues().get(1)); in drawWithHighlight()
224 assertThat(paintCaptor.getAllValues().get(1).getColor()).isEqualTo(Color.BLUE); in drawWithHighlight()
249 assertPathEquals(expectPath, pathCaptor.getAllValues().get(0)); in drawWithFocused()
250 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.BLUE); in drawWithFocused()
254 assertPathEquals(expectPath, pathCaptor.getAllValues().get(1)); in drawWithFocused()
255 assertThat(paintCaptor.getAllValues().get(1).getColor()).isEqualTo(Color.GREEN); in drawWithFocused()
DTextViewHighlightTest.java180 assertPathEquals(expectPath, pathCaptor.getAllValues().get(0)); in drawRectMultiple()
181 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.GREEN); in drawRectMultiple()
185 assertPathEquals(expectPath, pathCaptor.getAllValues().get(1)); in drawRectMultiple()
186 assertThat(paintCaptor.getAllValues().get(1).getColor()).isEqualTo(Color.BLUE); in drawRectMultiple()
216 assertPathEquals(expectPath, pathCaptor.getAllValues().get(0)); in drawRectCollapsed()
217 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.GREEN); in drawRectCollapsed()
277 assertPathEquals(expectPath, pathCaptor.getAllValues().get(0)); in drawRectMultiple_EditText()
278 assertThat(paintCaptor.getAllValues().get(0).getColor()).isEqualTo(Color.GREEN); in drawRectMultiple_EditText()
282 assertPathEquals(expectPath, pathCaptor.getAllValues().get(1)); in drawRectMultiple_EditText()
283 assertThat(paintCaptor.getAllValues().get(1).getColor()).isEqualTo(Color.BLUE); in drawRectMultiple_EditText()
DAbsSeekBarTest.java175 List<Integer> alphaCaptures = alphaCaptor.getAllValues(); in testDrawableStateChanged()
184 alphaCaptures = alphaCaptor.getAllValues(); in testDrawableStateChanged()
DAbsListViewTest.java269 MatcherAssert.assertThat(firstVisibleItemCaptor.getAllValues(), in testSetOnScrollListener()
273 final List<Integer> capturedVisibleItemCounts = visibleItemCountCaptor.getAllValues(); in testSetOnScrollListener()
282 final List<Integer> capturedScrollStates = scrollStateCaptor.getAllValues(); in testSetOnScrollListener()
300 List<Integer> capturedFirstVisibleItems = firstVisibleItemCaptor.getAllValues(); in testFling()
308 capturedFirstVisibleItems = firstVisibleItemCaptor.getAllValues(); in testFling()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_ScrollCaptureTest.java68 public List<T> getAllValues() { in getAllValues() method in ViewGroup_ScrollCaptureTest.Receiver
305 assertEquals("expected two targets", 2, receiver.getAllValues().size()); in testDispatchScrollCaptureSearch_toChildren()
317 receiver.getAllValues().forEach(target -> in callOnScrollCaptureSearch()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java337 assertEquals(KeyEvent.ACTION_DOWN, keyEvent0Captor.getAllValues().get(0).getAction()); in testSetOnKeyListener()
338 assertEquals(KeyEvent.ACTION_UP, keyEvent0Captor.getAllValues().get(1).getAction()); in testSetOnKeyListener()
339 assertEquals(KeyEvent.ACTION_DOWN, keyEvent1Captor.getAllValues().get(0).getAction()); in testSetOnKeyListener()
340 assertEquals(KeyEvent.ACTION_UP, keyEvent1Captor.getAllValues().get(1).getAction()); in testSetOnKeyListener()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DHearingAidProfileTest.java318 for (Intent intent : captor.getAllValues()) { in getConnectionStateChangedIntent()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java887 for (Long nextTimestamp : timestamps.getAllValues()) { in verifyCaptureResults()
895 for (Long nextFrameNumber : frameNumbers.getAllValues()) { in verifyCaptureResults()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DChoreographerTest.java241 assertTimeDeltaLessThan(frameTimeNanosCaptor1.getAllValues().get(1) - postTimeNanos, in testPostFrameCallbackWithoutDelay()