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

/frameworks/base/libs/hwui/
H A DCanvas.h28 class ANDROID_API Canvas { class in namespace:android
30 virtual ~Canvas() {};
32 static Canvas* create_canvas(const SkBitmap& bitmap);
35 * Create a new Canvas object which delegates to an SkCanvas.
39 * SkCanvas, and the returned Canvas will unref() it upon
41 * @return new Canvas object. Will not return NULL.
43 static Canvas* create_canvas(SkCanvas* skiaCanvas);
46 * Provides a Skia SkCanvas interface that acts as a proxy to this Canvas.
50 * The SkCanvas returned is *only* valid until another Canvas call is made
66 // Canvas stat
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java35 * The Canvas class holds the "draw" calls. To draw something, you need
36 * 4 basic components: A Bitmap to hold the pixels, a Canvas to host
43 * <p>For more information about how to use Canvas, read the
45 * Canvas and Drawables</a> developer guide.</p></div>
47 public class Canvas { class
88 // This field is used to finalize the native Canvas properly
121 public Canvas() { method in class:Canvas
140 public Canvas(@NonNull Bitmap bitmap) { method in class:Canvas
142 throw new IllegalStateException("Immutable bitmap passed to Canvas constructor");
152 public Canvas(lon method in class:Canvas
[all...]

Completed in 86 milliseconds