Home
last modified time | relevance | path

Searched defs:canvasHandle (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp44 static Canvas* get_canvas(jlong canvasHandle) { in get_canvas()
67 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle) { in setBitmap()
75 static jboolean isOpaque(jlong canvasHandle) { in isOpaque()
79 static jint getWidth(jlong canvasHandle) { in getWidth()
83 static jint getHeight(jlong canvasHandle) { in getHeight()
87 static jint save(jlong canvasHandle, jint flagsHandle) { in save()
92 static jint saveLayer(jlong canvasHandle, jfloat l, jfloat t, in saveLayer()
99 static jint saveLayerAlpha(jlong canvasHandle, jfloat l, jfloat t, in saveLayerAlpha()
105 static jint saveUnclippedLayer(jlong canvasHandle, jint l, jint t, jint r, jint b) { in saveUnclippedLayer()
109 static void restoreUnclippedLayer(jlong canvasHandle, jint saveCount, jlong paintHandle) { in restoreUnclippedLayer()
[all …]
Dandroid_graphics_Picture.cpp50 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, in android_graphics_Picture_draw()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1386 private static native void nSetBitmap(long canvasHandle, long bitmapHandle); in nSetBitmap()
1394 private static native boolean nIsOpaque(long canvasHandle); in nIsOpaque()
1396 private static native int nGetWidth(long canvasHandle); in nGetWidth()
1398 private static native int nGetHeight(long canvasHandle); in nGetHeight()
1401 private static native int nSave(long canvasHandle, int saveFlags); in nSave()
1414 private static native boolean nRestore(long canvasHandle); in nRestore()
1416 private static native void nRestoreToCount(long canvasHandle, int saveCount); in nRestoreToCount()
1418 private static native int nGetSaveCount(long canvasHandle); in nGetSaveCount()
1421 private static native void nTranslate(long canvasHandle, float dx, float dy); in nTranslate()
1423 private static native void nScale(long canvasHandle, float sx, float sy); in nScale()
[all …]
DBaseCanvas.java682 private static native void nDrawPoint(long canvasHandle, float x, float y, long paintHandle); in nDrawPoint()
684 private static native void nDrawPoints(long canvasHandle, float[] pts, int offset, int count, in nDrawPoints()
690 private static native void nDrawLines(long canvasHandle, float[] pts, int offset, int count, in nDrawLines()
DBaseRecordingCanvas.java605 private static native void nDrawPoint(long canvasHandle, float x, float y, long paintHandle); in nDrawPoint()
608 private static native void nDrawPoints(long canvasHandle, float[] pts, int offset, int count, in nDrawPoints()
616 private static native void nDrawLines(long canvasHandle, float[] pts, int offset, int count, in nDrawLines()
/frameworks/base/core/jni/android/graphics/
DMovie.cpp66 static void movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, in movie_draw()
DCamera.cpp98 static void Camera_applyToCanvas(JNIEnv* env, jobject obj, jlong canvasHandle) { in Camera_applyToCanvas()
DGraphics.cpp375 jlong canvasHandle = env->GetLongField(canvas, gCanvas_nativeInstanceID); in getNativeCanvas() local