/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 44 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas() argument 45 return reinterpret_cast<Canvas*>(canvasHandle); in get_canvas() 67 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle) { in setBitmap() argument 72 get_canvas(canvasHandle)->setBitmap(bitmap); in setBitmap() 75 static jboolean isOpaque(jlong canvasHandle) { in isOpaque() argument 76 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE; in isOpaque() 79 static jint getWidth(jlong canvasHandle) { in getWidth() argument 80 return static_cast<jint>(get_canvas(canvasHandle)->width()); in getWidth() 83 static jint getHeight(jlong canvasHandle) { in getHeight() argument 84 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 | 1386 private static native void nSetBitmap(long canvasHandle, long bitmapHandle); in nSetBitmap() argument 1394 private static native boolean nIsOpaque(long canvasHandle); in nIsOpaque() argument 1396 private static native int nGetWidth(long canvasHandle); in nGetWidth() argument 1398 private static native int nGetHeight(long canvasHandle); in nGetHeight() argument 1401 private static native int nSave(long canvasHandle, int saveFlags); in nSave() argument 1414 private static native boolean nRestore(long canvasHandle); in nRestore() argument 1416 private static native void nRestoreToCount(long canvasHandle, int saveCount); in nRestoreToCount() argument 1418 private static native int nGetSaveCount(long canvasHandle); in nGetSaveCount() argument 1421 private static native void nTranslate(long canvasHandle, float dx, float dy); in nTranslate() argument 1423 private static native void nScale(long canvasHandle, float sx, float sy); in nScale() argument [all …]
|
D | BaseCanvas.java | 682 private static native void nDrawPoint(long canvasHandle, float x, float y, long paintHandle); in nDrawPoint() argument 684 private static native void nDrawPoints(long canvasHandle, float[] pts, int offset, int count, in nDrawPoints() argument 690 private static native void nDrawLines(long canvasHandle, float[] pts, int offset, int count, in nDrawLines() argument
|
D | BaseRecordingCanvas.java | 605 private static native void nDrawPoint(long canvasHandle, float x, float y, long paintHandle); in nDrawPoint() argument 608 private static native void nDrawPoints(long canvasHandle, float[] pts, int offset, int count, in nDrawPoints() argument 616 private static native void nDrawLines(long canvasHandle, float[] pts, int offset, int count, in nDrawLines() argument
|
/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 android::Canvas* canvas = reinterpret_cast<android::Canvas*>(canvasHandle); in Camera_applyToCanvas()
|
D | Graphics.cpp | 375 jlong canvasHandle = env->GetLongField(canvas, gCanvas_nativeInstanceID); in getNativeCanvas() local 376 if (!canvasHandle) { in getNativeCanvas() 379 return reinterpret_cast<android::Canvas*>(canvasHandle); in getNativeCanvas()
|