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

/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java37 * The Canvas class holds the "draw" calls. To draw something, you need
38 * 4 basic components: A Bitmap to hold the pixels, a Canvas to host
45 * <p>For more information about how to use Canvas, read the
47 * Canvas and Drawables</a> developer guide.</p></div>
49 public class Canvas extends BaseCanvas { class in inherits:BaseCanvas
74 // a Canvas object.
77 // Use a Holder to allow static initialization of Canvas in the boot image.
80 Canvas.class.getClassLoader(), nGetNativeFinalizer(), NATIVE_ALLOCATION_SIZE);
83 // This field is used to finalize the native Canvas properly
92 public Canvas() { method in class:Canvas
112 public Canvas(@NonNull Bitmap bitmap) { method in class:Canvas
125 public Canvas(long nativeCanvas) { method in class:Canvas
[all...]
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h48 // These must match the corresponding Canvas API constants.
74 class ANDROID_API Canvas { class in namespace:android
76 virtual ~Canvas() {};
78 static Canvas* create_canvas(const SkBitmap& bitmap);
81 * Create a new Canvas object that records view system drawing operations for deferred
86 * @param width of the requested Canvas.
87 * @param height of the requested Canvas.
89 * DisplayList produced by the returned Canvas. This enables the reuse of select C++
91 * @return new non-null Canvas Object. The type of DisplayList produced by this canvas is
95 static WARN_UNUSED_RESULT Canvas* create_recording_canva
[all...]

Completed in 206 milliseconds