Searched refs:CanvasCallback (Results 1 – 1 of 1) sorted by relevance
52 static final CanvasCallback sGreenCanvasCallback =53 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.GREEN));54 static final CanvasCallback sWhiteCanvasCallback =55 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.WHITE));56 static final CanvasCallback sRedCanvasCallback =57 new CanvasCallback((canvas, width, height) -> canvas.drawColor(Color.RED));59 private static class CanvasCallback implements SurfaceHolder.Callback { class in SurfaceViewTests62 public CanvasCallback(CanvasClient canvasClient) { in CanvasCallback() method in SurfaceViewTests.CanvasCallback