Searched refs:get_canvas (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 34 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas() function 39 delete get_canvas(canvasHandle); in finalizer() 53 get_canvas(canvasHandle)->setBitmap(bitmap, copyState); in setBitmap() 57 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE; in isOpaque() 61 return static_cast<jint>(get_canvas(canvasHandle)->width()); in getWidth() 65 return static_cast<jint>(get_canvas(canvasHandle)->height()); in getHeight() 69 return static_cast<jint>(get_canvas(canvasHandle)->getSaveCount()); in getSaveCount() 74 return static_cast<jint>(get_canvas(canvasHandle)->save(flags)); in save() 81 return static_cast<jint>(get_canvas(canvasHandle)->saveLayer(l, t, r, b, paint, flags)); in saveLayer() 87 return static_cast<jint>(get_canvas(canvasHandle)->saveLayerAlpha(l, t, r, b, alpha, flags)); in saveLayerAlpha() [all …]
|