Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DLayoutTest.java431 MockCanvas c = new MockCanvas(width, height); in testDraw()
433 List<MockCanvas.DrawCommand> drawCommands = c.getDrawCommands(); in testDraw()
436 MockCanvas.DrawCommand drawCommand = drawCommands.get(i); in testDraw()
445 private final class MockCanvas extends Canvas { class in LayoutTest
461 public MockCanvas(int width, int height) { in MockCanvas() method in LayoutTest.MockCanvas
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java741 MockCanvas canvas = new MockCanvas(); in testDrawChild()
1210 MockCanvas canvas = new MockCanvas(); in testOnAnimationEnd()
1240 MockCanvas canvas = new MockCanvas(); in testOnAnimationStart()
1896 MockCanvas canvas = new MockCanvas(bitmap); in testSetClipChildren()
1905 class MockCanvas extends Canvas { class in ViewGroupTest
1913 public MockCanvas() { in MockCanvas() method in ViewGroupTest.MockCanvas
1917 public MockCanvas(Bitmap bitmap) { in MockCanvas() method in ViewGroupTest.MockCanvas
1960 MockCanvas canvas = new MockCanvas(); in testSetClipToPadding()
1975 canvas = new MockCanvas(); in testSetClipToPadding()