Searched defs:Canvas (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/include/private/graphics/
H A DCanvas.h26 class Canvas { class in namespace:android
28 virtual ~Canvas() {};
30 static Canvas* create_canvas(SkBitmap* bitmap);
31 static Canvas* create_canvas(SkCanvas* skiaCanvas);
34 // directly from Canvas
35 //static Canvas* create_canvas(uirenderer::Renderer* renderer);
50 // Canvas state operations
87 // Canvas draw operations
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java33 * The Canvas class holds the "draw" calls. To draw something, you need
34 * 4 basic components: A Bitmap to hold the pixels, a Canvas to host
41 * <p>For more information about how to use Canvas, read the
43 * Canvas and Drawables</a> developer guide.</p></div>
45 public class Canvas { class
96 // This field is used to finalize the native Canvas properly
129 public Canvas() { method in class:Canvas
148 public Canvas(@NonNull Bitmap bitmap) { method in class:Canvas
150 throw new IllegalStateException("Immutable bitmap passed to Canvas constructor");
160 public Canvas(lon method in class:Canvas
[all...]

Completed in 550 milliseconds