Searched refs:getDrawnRect (Results 1 – 2 of 2) sorted by relevance
409 assertThat(shadowCanvas.getDrawnRect(0).left).isEqualTo(0f); in drawRect_shouldRecordRectHistoryEvents()410 assertThat(shadowCanvas.getDrawnRect(0).top).isEqualTo(2f); in drawRect_shouldRecordRectHistoryEvents()411 assertThat(shadowCanvas.getDrawnRect(0).right).isEqualTo(3f); in drawRect_shouldRecordRectHistoryEvents()412 assertThat(shadowCanvas.getDrawnRect(0).bottom).isEqualTo(4f); in drawRect_shouldRecordRectHistoryEvents()413 assertThat(shadowCanvas.getDrawnRect(0).rect).isEqualTo(rect0); in drawRect_shouldRecordRectHistoryEvents()414 assertThat(shadowCanvas.getDrawnRect(0).paint.getColor()).isEqualTo(Color.WHITE); in drawRect_shouldRecordRectHistoryEvents()416 assertThat(shadowCanvas.getDrawnRect(1).left).isEqualTo(5f); in drawRect_shouldRecordRectHistoryEvents()417 assertThat(shadowCanvas.getDrawnRect(1).top).isEqualTo(6f); in drawRect_shouldRecordRectHistoryEvents()418 assertThat(shadowCanvas.getDrawnRect(1).right).isEqualTo(7f); in drawRect_shouldRecordRectHistoryEvents()419 assertThat(shadowCanvas.getDrawnRect(1).bottom).isEqualTo(8f); in drawRect_shouldRecordRectHistoryEvents()[all …]
338 public RectPaintHistoryEvent getDrawnRect(int i) { in getDrawnRect() method in ShadowCanvas