Searched refs:get_canvas (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 60 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas() function 88 get_canvas(canvasHandle)->setBitmap(bitmap); in setBitmap() 92 return get_canvas(canvasHandle)->isHighContrastText() ? JNI_TRUE : JNI_FALSE; in isHighContrastText() 96 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE; in isOpaque() 100 return static_cast<jint>(get_canvas(canvasHandle)->width()); in getWidth() 104 return static_cast<jint>(get_canvas(canvasHandle)->height()); in getHeight() 109 return static_cast<jint>(get_canvas(canvasHandle)->save(flags)); in save() 115 return static_cast<jint>(get_canvas(canvasHandle)->saveLayer(l, t, r, b, paint)); in saveLayer() 120 return static_cast<jint>(get_canvas(canvasHandle)->saveLayerAlpha(l, t, r, b, alpha)); in saveLayerAlpha() 124 return reinterpret_cast<jint>(get_canvas(canvasHandle)->saveUnclippedLayer(l, t, r, b)); in saveUnclippedLayer() [all …]
|