Searched refs:canvasHandle (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 34 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas() argument 35 return reinterpret_cast<Canvas*>(canvasHandle); in get_canvas() 38 static void finalizer(JNIEnv* env, jobject clazz, jlong canvasHandle) { in finalizer() argument 39 delete get_canvas(canvasHandle); in finalizer() 50 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, in setBitmap() argument 53 get_canvas(canvasHandle)->setBitmap(bitmap, copyState); in setBitmap() 56 static jboolean isOpaque(JNIEnv*, jobject, jlong canvasHandle) { in isOpaque() argument 57 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE; in isOpaque() 60 static jint getWidth(JNIEnv*, jobject, jlong canvasHandle) { in getWidth() argument 61 return static_cast<jint>(get_canvas(canvasHandle)->width()); in getWidth() [all …]
|
D | android_graphics_Picture.cpp | 52 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, in android_graphics_Picture_draw() argument 54 Canvas* canvas = reinterpret_cast<Canvas*>(canvasHandle); in android_graphics_Picture_draw()
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatch.cpp | 121 static void drawF(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRectF, in drawF() argument 124 SkCanvas* canvas = reinterpret_cast<Canvas*>(canvasHandle)->getSkCanvas(); in drawF() 140 static void drawI(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRect, in drawI() argument 143 SkCanvas* canvas = reinterpret_cast<Canvas*>(canvasHandle)->getSkCanvas(); in drawI()
|
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)->getSkCanvas(); in Camera_applyToCanvas()
|
D | Graphics.cpp | 367 jlong canvasHandle = env->GetLongField(canvas, gCanvas_nativeInstanceID); in getNativeCanvas() local 368 if (!canvasHandle) { in getNativeCanvas() 371 SkCanvas* c = reinterpret_cast<android::Canvas*>(canvasHandle)->getSkCanvas(); in getNativeCanvas()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 1964 private static native void native_setBitmap(long canvasHandle, in native_setBitmap() argument 1967 private static native boolean native_isOpaque(long canvasHandle); in native_isOpaque() argument 1968 private static native int native_getWidth(long canvasHandle); in native_getWidth() argument 1969 private static native int native_getHeight(long canvasHandle); in native_getHeight() argument 1971 private static native int native_save(long canvasHandle, int saveFlags); in native_save() argument 1979 private static native void native_restore(long canvasHandle); in native_restore() argument 1980 private static native void native_restoreToCount(long canvasHandle, in native_restoreToCount() argument 1982 private static native int native_getSaveCount(long canvasHandle); in native_getSaveCount() argument 1984 private static native void native_translate(long canvasHandle, in native_translate() argument 1986 private static native void native_scale(long canvasHandle, in native_scale() argument [all …]
|