Home
last modified time | relevance | path

Searched refs:getDrawnLine (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java359 assertThat(shadowCanvas.getDrawnLine(0).startX).isEqualTo(0f); in drawLine_shouldRecordLineHistoryEvents()
360 assertThat(shadowCanvas.getDrawnLine(0).startY).isEqualTo(2f); in drawLine_shouldRecordLineHistoryEvents()
361 assertThat(shadowCanvas.getDrawnLine(0).stopX).isEqualTo(3f); in drawLine_shouldRecordLineHistoryEvents()
362 assertThat(shadowCanvas.getDrawnLine(0).stopY).isEqualTo(4f); in drawLine_shouldRecordLineHistoryEvents()
363 assertThat(shadowCanvas.getDrawnLine(0).paint.getColor()).isEqualTo(Color.RED); in drawLine_shouldRecordLineHistoryEvents()
364 assertThat(shadowCanvas.getDrawnLine(0).paint.getStrokeWidth()).isEqualTo(1.0f); in drawLine_shouldRecordLineHistoryEvents()
366 assertThat(shadowCanvas.getDrawnLine(1).startX).isEqualTo(5f); in drawLine_shouldRecordLineHistoryEvents()
367 assertThat(shadowCanvas.getDrawnLine(1).startY).isEqualTo(6f); in drawLine_shouldRecordLineHistoryEvents()
368 assertThat(shadowCanvas.getDrawnLine(1).stopX).isEqualTo(7f); in drawLine_shouldRecordLineHistoryEvents()
369 assertThat(shadowCanvas.getDrawnLine(1).stopY).isEqualTo(8f); in drawLine_shouldRecordLineHistoryEvents()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCanvas.java350 public LinePaintHistoryEvent getDrawnLine(int i) { in getDrawnLine() method in ShadowCanvas