Searched defs:canvasHandle (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_graphics_Picture.cpp52 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, argument
54 Canvas* canvas = reinterpret_cast<Canvas*>(canvasHandle);
H A Dandroid_graphics_Canvas.cpp34 static Canvas* get_canvas(jlong canvasHandle) { argument
35 return reinterpret_cast<Canvas*>(canvasHandle);
38 static void finalizer(JNIEnv* env, jobject clazz, jlong canvasHandle) { argument
39 delete get_canvas(canvasHandle);
50 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, argument
53 get_canvas(canvasHandle)->setBitmap(bitmap, copyState);
56 static jboolean isOpaque(JNIEnv*, jobject, jlong canvasHandle) { argument
57 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE;
60 static jint getWidth(JNIEnv*, jobject, jlong canvasHandle) { argument
61 return static_cast<jint>(get_canvas(canvasHandle)
64 getHeight(JNIEnv*, jobject, jlong canvasHandle) argument
68 getSaveCount(JNIEnv*, jobject, jlong canvasHandle) argument
72 save(JNIEnv*, jobject, jlong canvasHandle, jint flagsHandle) argument
77 saveLayer(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jlong paintHandle, jint flagsHandle) argument
84 saveLayerAlpha(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint alpha, jint flagsHandle) argument
90 restore(JNIEnv* env, jobject, jlong canvasHandle) argument
99 restoreToCount(JNIEnv* env, jobject, jlong canvasHandle, jint restoreCount) argument
108 getCTM(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
113 setMatrix(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
118 concat(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
123 rotate(JNIEnv*, jobject, jlong canvasHandle, jfloat degrees) argument
127 scale(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) argument
131 skew(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) argument
135 translate(JNIEnv*, jobject, jlong canvasHandle, jfloat dx, jfloat dy) argument
139 getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) argument
153 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
159 quickRejectPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle) argument
165 clipRect(JNIEnv*, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint opHandle) argument
172 clipPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jint opHandle) argument
180 clipRegion(JNIEnv* env, jobject, jlong canvasHandle, jlong deviceRgnHandle, jint opHandle) argument
188 drawColor(JNIEnv* env, jobject, jlong canvasHandle, jint color, jint modeHandle) argument
193 drawPaint(JNIEnv* env, jobject, jlong canvasHandle, jlong paintHandle) argument
198 drawPoint(JNIEnv*, jobject, jlong canvasHandle, jfloat x, jfloat y, jlong paintHandle) argument
204 drawPoints(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
220 drawLine(JNIEnv* env, jobject, jlong canvasHandle, jfloat startX, jfloat startY, jfloat stopX, jfloat stopY, jlong paintHandle) argument
226 drawLines(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
242 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
248 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
254 drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, jfloat radius, jlong paintHandle) argument
260 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
266 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument
274 drawPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jlong paintHandle) argument
281 drawVertices(JNIEnv* env, jobject, jlong canvasHandle, jint modeHandle, jint vertexCount, jfloatArray jverts, jint vertIndex, jfloatArray jtexs, jint texIndex, jintArray jcolors, jint colorIndex, jshortArray jindices, jint indexIndex, jint indexCount, jlong paintHandle) argument
311 drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jlong bitmapHandle, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument
346 drawBitmapMatrix(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, jlong matrixHandle, jlong paintHandle) argument
354 drawBitmapRect(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom, jlong paintHandle, jint screenDensity, jint bitmapDensity) argument
376 drawBitmapArray(JNIEnv* env, jobject, jlong canvasHandle, jintArray jcolors, jint offset, jint stride, jfloat x, jfloat y, jint width, jint height, jboolean hasAlpha, jlong paintHandle) argument
398 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
507 drawTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
518 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
530 drawTextRunChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument
543 drawTextRunString(JNIEnv* env, jobject obj, jlong canvasHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument
559 drawPosTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloatArray pos, jlong paintHandle) argument
577 drawPosTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jfloatArray pos, jlong paintHandle) argument
637 drawTextOnPathChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
653 drawTextOnPathString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
669 setDrawFilter(JNIEnv* env, jobject, jlong canvasHandle, jlong filterHandle) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCamera.cpp98 static void Camera_applyToCanvas(JNIEnv* env, jobject obj, jlong canvasHandle) { argument
99 SkCanvas* canvas = reinterpret_cast<android::Canvas*>(canvasHandle)->getSkCanvas();
H A DNinePatch.cpp121 static void drawF(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRectF, argument
124 SkCanvas* canvas = reinterpret_cast<Canvas*>(canvasHandle)->getSkCanvas();
140 static void drawI(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRect, argument
143 SkCanvas* canvas = reinterpret_cast<Canvas*>(canvasHandle)->getSkCanvas();
H A DGraphics.cpp367 jlong canvasHandle = env->GetLongField(canvas, gCanvas_nativeInstanceID); local
368 if (!canvasHandle) {
371 SkCanvas* c = reinterpret_cast<android::Canvas*>(canvasHandle)->getSkCanvas();
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1964 private static native void native_setBitmap(long canvasHandle, argument
1967 private static native boolean native_isOpaque(long canvasHandle); argument
1968 private static native int native_getWidth(long canvasHandle); argument
1969 private static native int native_getHeight(long canvasHandle); argument
1971 private static native int native_save(long canvasHandle, int saveFlags); argument
1979 private static native void native_restore(long canvasHandle); argument
1980 private static native void native_restoreToCount(long canvasHandle, argument
1982 private static native int native_getSaveCount(long canvasHandle); argument
1984 private static native void native_translate(long canvasHandle, argument
1986 private static native void native_scale(long canvasHandle, argument
1988 native_rotate(long canvasHandle, float degrees) argument
1989 native_skew(long canvasHandle, float sx, float sy) argument
2020 native_drawPoint(long canvasHandle, float x, float y, long paintHandle) argument
2022 native_drawPoints(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument
2028 native_drawLines(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument
[all...]

Completed in 2024 milliseconds