Searched refs:get_canvas (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 46 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas() function 74 get_canvas(canvasHandle)->setBitmap(bitmap); in setBitmap() 78 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE; in isOpaque() 82 return static_cast<jint>(get_canvas(canvasHandle)->width()); in getWidth() 86 return static_cast<jint>(get_canvas(canvasHandle)->height()); in getHeight() 91 return static_cast<jint>(get_canvas(canvasHandle)->save(flags)); in save() 98 return static_cast<jint>(get_canvas(canvasHandle)->saveLayer(l, t, r, b, paint, flags)); in saveLayer() 104 return static_cast<jint>(get_canvas(canvasHandle)->saveLayerAlpha(l, t, r, b, alpha, flags)); in saveLayerAlpha() 108 return reinterpret_cast<jint>(get_canvas(canvasHandle)->saveUnclippedLayer(l, t, r, b)); in saveUnclippedLayer() 113 get_canvas(canvasHandle)->restoreUnclippedLayer(saveCount, *paint); in restoreUnclippedLayer() [all …]
|