Searched refs:canvasHandle (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp33 static Canvas* get_canvas(jlong canvasHandle) { argument
34 return reinterpret_cast<Canvas*>(canvasHandle);
37 static void finalizer(JNIEnv* env, jobject clazz, jlong canvasHandle) { argument
38 delete get_canvas(canvasHandle);
52 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap) { argument
57 get_canvas(canvasHandle)->setBitmap(bitmap);
60 static jboolean isOpaque(JNIEnv*, jobject, jlong canvasHandle) { argument
61 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE;
64 static jint getWidth(JNIEnv*, jobject, jlong canvasHandle) { argument
65 return static_cast<jint>(get_canvas(canvasHandle)
68 getHeight(JNIEnv*, jobject, jlong canvasHandle) argument
72 getSaveCount(JNIEnv*, jobject, jlong canvasHandle) argument
76 save(JNIEnv*, jobject, jlong canvasHandle, jint flagsHandle) argument
81 saveLayer(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jlong paintHandle, jint flagsHandle) argument
88 saveLayerAlpha(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint alpha, jint flagsHandle) argument
94 restore(JNIEnv* env, jobject, jlong canvasHandle, jboolean throwOnUnderflow) argument
105 restoreToCount(JNIEnv* env, jobject, jlong canvasHandle, jint restoreCount, jboolean throwOnUnderflow) argument
118 getCTM(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
123 setMatrix(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
128 concat(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
133 rotate(JNIEnv*, jobject, jlong canvasHandle, jfloat degrees) argument
137 scale(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) argument
141 skew(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) argument
145 translate(JNIEnv*, jobject, jlong canvasHandle, jfloat dx, jfloat dy) argument
149 getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) argument
163 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
169 quickRejectPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle) argument
175 clipRect(JNIEnv*, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint opHandle) argument
182 clipPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jint opHandle) argument
190 clipRegion(JNIEnv* env, jobject, jlong canvasHandle, jlong deviceRgnHandle, jint opHandle) argument
198 drawColor(JNIEnv* env, jobject, jlong canvasHandle, jint color, jint modeHandle) argument
203 drawPaint(JNIEnv* env, jobject, jlong canvasHandle, jlong paintHandle) argument
208 drawPoint(JNIEnv*, jobject, jlong canvasHandle, jfloat x, jfloat y, jlong paintHandle) argument
214 drawPoints(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
230 drawLine(JNIEnv* env, jobject, jlong canvasHandle, jfloat startX, jfloat startY, jfloat stopX, jfloat stopY, jlong paintHandle) argument
236 drawLines(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
252 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
258 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
264 drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, jfloat radius, jlong paintHandle) argument
270 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
276 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument
284 drawPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jlong paintHandle) argument
291 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
321 drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jobject jbitmap, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument
357 drawBitmapMatrix(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jlong matrixHandle, jlong paintHandle) argument
366 drawBitmapRect(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom, jlong paintHandle, jint screenDensity, jint bitmapDensity) argument
389 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
412 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
528 drawTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
539 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
551 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
564 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
622 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
638 drawTextOnPathString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
654 setDrawFilter(JNIEnv* env, jobject, jlong canvasHandle, jlong filterHandle) argument
[all...]
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);
/frameworks/base/core/jni/android/graphics/
H A DNinePatch.cpp120 static void drawF(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRectF, argument
123 SkCanvas* canvas = reinterpret_cast<Canvas*>(canvasHandle)->asSkCanvas();
139 static void drawI(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRect, argument
142 SkCanvas* canvas = reinterpret_cast<Canvas*>(canvasHandle)->asSkCanvas();
H A DCamera.cpp98 static void Camera_applyToCanvas(JNIEnv* env, jobject obj, jlong canvasHandle) { argument
99 SkCanvas* canvas = reinterpret_cast<android::Canvas*>(canvasHandle)->asSkCanvas();
H A DMovie.cpp67 static void movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, argument
71 android::Canvas* c = reinterpret_cast<android::Canvas*>(canvasHandle);
H A DGraphics.cpp377 jlong canvasHandle = env->GetLongField(canvas, gCanvas_nativeInstanceID); local
378 if (!canvasHandle) {
381 return reinterpret_cast<android::Canvas*>(canvasHandle);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1981 private static native void native_setBitmap(long canvasHandle, argument
1983 private static native boolean native_isOpaque(long canvasHandle); argument
1984 private static native int native_getWidth(long canvasHandle); argument
1985 private static native int native_getHeight(long canvasHandle); argument
1987 private static native int native_save(long canvasHandle, int saveFlags); argument
1995 private static native void native_restore(long canvasHandle, boolean tolerateUnderflow); argument
1996 private static native void native_restoreToCount(long canvasHandle, argument
1999 private static native int native_getSaveCount(long canvasHandle); argument
2001 private static native void native_translate(long canvasHandle, argument
2003 private static native void native_scale(long canvasHandle, argument
2005 native_rotate(long canvasHandle, float degrees) argument
2006 native_skew(long canvasHandle, float sx, float sy) argument
2037 native_drawPoint(long canvasHandle, float x, float y, long paintHandle) argument
2039 native_drawPoints(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument
2045 native_drawLines(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument
[all...]

Completed in 418 milliseconds