Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCanvasTest.java198 assertEquals(1f, shadowCanvas.getDrawnTextEvent(0).x, 0); in shouldRecordText()
199 assertEquals(2f, shadowCanvas.getDrawnTextEvent(0).y, 0); in shouldRecordText()
200 assertEquals(4f, shadowCanvas.getDrawnTextEvent(1).x, 0); in shouldRecordText()
201 assertEquals(6f, shadowCanvas.getDrawnTextEvent(1).y, 0); in shouldRecordText()
203 assertEquals(paint, shadowCanvas.getDrawnTextEvent(0).paint); in shouldRecordText()
204 assertEquals(paint2, shadowCanvas.getDrawnTextEvent(1).paint); in shouldRecordText()
206 assertEquals("hello", shadowCanvas.getDrawnTextEvent(0).text); in shouldRecordText()
207 assertEquals("hello 2", shadowCanvas.getDrawnTextEvent(1).text); in shouldRecordText()
220 assertEquals(1f, shadowCanvas.getDrawnTextEvent(0).x, 0); in shouldRecordText_charArrayOverload()
221 assertEquals(2f, shadowCanvas.getDrawnTextEvent(0).y, 0); in shouldRecordText_charArrayOverload()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCanvas.java330 public TextHistoryEvent getDrawnTextEvent(int i) { in getDrawnTextEvent() method in ShadowCanvas