Searched refs:canvasHandle (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 35 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas() argument 36 return reinterpret_cast<Canvas*>(canvasHandle); in get_canvas() 58 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap) { in setBitmap() argument 63 get_canvas(canvasHandle)->setBitmap(bitmap); in setBitmap() 66 static jboolean isOpaque(JNIEnv*, jobject, jlong canvasHandle) { in isOpaque() argument 67 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE; in isOpaque() 70 static jint getWidth(JNIEnv*, jobject, jlong canvasHandle) { in getWidth() argument 71 return static_cast<jint>(get_canvas(canvasHandle)->width()); in getWidth() 74 static jint getHeight(JNIEnv*, jobject, jlong canvasHandle) { in getHeight() argument 75 return static_cast<jint>(get_canvas(canvasHandle)->height()); in getHeight() [all …]
|
D | android_graphics_Picture.cpp | 50 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, in android_graphics_Picture_draw() argument 52 Canvas* canvas = reinterpret_cast<Canvas*>(canvasHandle); in android_graphics_Picture_draw()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 1996 private static native void native_setBitmap(long canvasHandle, in native_setBitmap() argument 1998 private static native boolean native_isOpaque(long canvasHandle); in native_isOpaque() argument 2000 private static native int native_getWidth(long canvasHandle); in native_getWidth() argument 2001 private static native int native_getHeight(long canvasHandle); in native_getHeight() argument 2003 private static native int native_save(long canvasHandle, int saveFlags); in native_save() argument 2011 private static native void native_restore(long canvasHandle, boolean tolerateUnderflow); in native_restore() argument 2012 private static native void native_restoreToCount(long canvasHandle, in native_restoreToCount() argument 2015 private static native int native_getSaveCount(long canvasHandle); in native_getSaveCount() argument 2017 private static native void native_translate(long canvasHandle, in native_translate() argument 2019 private static native void native_scale(long canvasHandle, in native_scale() argument [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Movie.cpp | 66 static void movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, in movie_draw() argument 70 android::Canvas* c = reinterpret_cast<android::Canvas*>(canvasHandle); in movie_draw()
|
D | Camera.cpp | 98 static void Camera_applyToCanvas(JNIEnv* env, jobject obj, jlong canvasHandle) { in Camera_applyToCanvas() argument 99 SkCanvas* canvas = reinterpret_cast<android::Canvas*>(canvasHandle)->asSkCanvas(); in Camera_applyToCanvas()
|
D | Graphics.cpp | 377 jlong canvasHandle = env->GetLongField(canvas, gCanvas_nativeInstanceID); in getNativeCanvas() local 378 if (!canvasHandle) { in getNativeCanvas() 381 return reinterpret_cast<android::Canvas*>(canvasHandle); in getNativeCanvas()
|