/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 48 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas() argument 49 return reinterpret_cast<Canvas*>(canvasHandle); in get_canvas() 71 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle) { in setBitmap() argument 76 get_canvas(canvasHandle)->setBitmap(bitmap); in setBitmap() 79 static jboolean isOpaque(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle) { in isOpaque() argument 80 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE; in isOpaque() 83 static jint getWidth(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle) { in getWidth() argument 84 return static_cast<jint>(get_canvas(canvasHandle)->width()); in getWidth() 87 static jint getHeight(CRITICAL_JNI_PARAMS_COMMA jlong canvasHandle) { in getHeight() argument 88 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()
|
D | Movie.cpp | 64 static void movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, in movie_draw() argument 68 android::Canvas* c = reinterpret_cast<android::Canvas*>(canvasHandle); in movie_draw()
|
D | Camera.cpp | 95 static void Camera_applyToCanvas(JNIEnv* env, jobject obj, jlong canvasHandle) { in Camera_applyToCanvas() argument 96 android::Canvas* canvas = reinterpret_cast<android::Canvas*>(canvasHandle); in Camera_applyToCanvas()
|
D | Graphics.cpp | 466 jlong canvasHandle = env->GetLongField(canvas, gCanvas_nativeInstanceID); in getNativeCanvas() local 467 if (!canvasHandle) { in getNativeCanvas() 470 return reinterpret_cast<android::Canvas*>(canvasHandle); in getNativeCanvas()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 1402 private static native void nSetBitmap(long canvasHandle, long bitmapHandle); 1410 private static native boolean nIsOpaque(long canvasHandle); 1412 private static native int nGetWidth(long canvasHandle); 1414 private static native int nGetHeight(long canvasHandle); 1417 private static native int nSave(long canvasHandle, int saveFlags); 1430 private static native boolean nRestore(long canvasHandle); 1432 private static native void nRestoreToCount(long canvasHandle, int saveCount); 1434 private static native int nGetSaveCount(long canvasHandle); 1437 private static native void nTranslate(long canvasHandle, float dx, float dy); 1439 private static native void nScale(long canvasHandle, float sx, float sy); [all …]
|
D | BaseRecordingCanvas.java | 647 private static native void nDrawPoint(long canvasHandle, float x, float y, long paintHandle); in nDrawPoint() argument 650 private static native void nDrawPoints(long canvasHandle, float[] pts, int offset, int count, in nDrawPoints() argument 658 private static native void nDrawLines(long canvasHandle, float[] pts, int offset, int count, in nDrawLines() argument
|
D | BaseCanvas.java | 752 private static native void nDrawPoint(long canvasHandle, float x, float y, long paintHandle); in nDrawPoint() argument 754 private static native void nDrawPoints(long canvasHandle, float[] pts, int offset, int count, in nDrawPoints() argument 760 private static native void nDrawLines(long canvasHandle, float[] pts, int offset, int count, in nDrawLines() argument
|