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

/frameworks/base/core/jni/
H A Dandroid_graphics_Picture.cpp50 static void android_graphics_Picture_draw(JNIEnv* env, jobject, jlong canvasHandle, argument
52 Canvas* canvas = reinterpret_cast<Canvas*>(canvasHandle);
H A Dandroid_graphics_Canvas.cpp35 static Canvas* get_canvas(jlong canvasHandle) { argument
36 return reinterpret_cast<Canvas*>(canvasHandle);
58 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap) { argument
63 get_canvas(canvasHandle)->setBitmap(bitmap);
66 static jboolean isOpaque(JNIEnv*, jobject, jlong canvasHandle) { argument
67 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE;
70 static jint getWidth(JNIEnv*, jobject, jlong canvasHandle) { argument
71 return static_cast<jint>(get_canvas(canvasHandle)->width());
74 static jint getHeight(JNIEnv*, jobject, jlong canvasHandle) { argument
75 return static_cast<jint>(get_canvas(canvasHandle)
78 setHighContrastText(JNIEnv*, jobject, jlong canvasHandle, jboolean highContrastText) argument
83 getSaveCount(JNIEnv*, jobject, jlong canvasHandle) argument
87 save(JNIEnv*, jobject, jlong canvasHandle, jint flagsHandle) argument
92 saveLayer(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jlong paintHandle, jint flagsHandle) argument
99 saveLayerAlpha(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint alpha, jint flagsHandle) argument
105 restore(JNIEnv* env, jobject, jlong canvasHandle, jboolean throwOnUnderflow) argument
116 restoreToCount(JNIEnv* env, jobject, jlong canvasHandle, jint restoreCount, jboolean throwOnUnderflow) argument
129 getCTM(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
134 setMatrix(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
139 concat(JNIEnv* env, jobject, jlong canvasHandle, jlong matrixHandle) argument
144 rotate(JNIEnv*, jobject, jlong canvasHandle, jfloat degrees) argument
148 scale(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) argument
152 skew(JNIEnv*, jobject, jlong canvasHandle, jfloat sx, jfloat sy) argument
156 translate(JNIEnv*, jobject, jlong canvasHandle, jfloat dx, jfloat dy) argument
160 getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) argument
174 quickRejectRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
180 quickRejectPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle) argument
186 clipRect(JNIEnv*, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint opHandle) argument
193 clipPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jint opHandle) argument
201 clipRegion(JNIEnv* env, jobject, jlong canvasHandle, jlong deviceRgnHandle, jint opHandle) argument
209 drawColor(JNIEnv* env, jobject, jlong canvasHandle, jint color, jint modeHandle) argument
214 drawPaint(JNIEnv* env, jobject, jlong canvasHandle, jlong paintHandle) argument
219 drawPoint(JNIEnv*, jobject, jlong canvasHandle, jfloat x, jfloat y, jlong paintHandle) argument
225 drawPoints(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
241 drawLine(JNIEnv* env, jobject, jlong canvasHandle, jfloat startX, jfloat startY, jfloat stopX, jfloat stopY, jlong paintHandle) argument
247 drawLines(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
263 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
269 drawRegion(JNIEnv* env, jobject, jlong canvasHandle, jlong regionHandle, jlong paintHandle) argument
276 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
282 drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, jfloat radius, jlong paintHandle) argument
288 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
294 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument
302 drawPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jlong paintHandle) argument
309 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
339 drawNinePatch(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, jlong chunkHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle, jint dstDensity, jint srcDensity) argument
372 drawBitmap(JNIEnv* env, jobject jcanvas, jlong canvasHandle, jobject jbitmap, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument
408 drawBitmapMatrix(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jlong matrixHandle, jlong paintHandle) argument
417 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
440 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
463 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
477 drawTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
488 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
500 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
513 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
529 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
545 drawTextOnPathString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
561 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)->asSkCanvas();
H A DMovie.cpp66 static void movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, argument
70 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.java1996 private static native void native_setBitmap(long canvasHandle, argument
1998 private static native boolean native_isOpaque(long canvasHandle); argument
2000 private static native int native_getWidth(long canvasHandle); argument
2001 private static native int native_getHeight(long canvasHandle); argument
2003 private static native int native_save(long canvasHandle, int saveFlags); argument
2011 private static native void native_restore(long canvasHandle, boolean tolerateUnderflow); argument
2012 private static native void native_restoreToCount(long canvasHandle, argument
2015 private static native int native_getSaveCount(long canvasHandle); argument
2017 private static native void native_translate(long canvasHandle, argument
2019 private static native void native_scale(long canvasHandle, argument
2021 native_rotate(long canvasHandle, float degrees) argument
2022 native_skew(long canvasHandle, float sx, float sy) argument
2053 native_drawPoint(long canvasHandle, float x, float y, long paintHandle) argument
2055 native_drawPoints(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument
2061 native_drawLines(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument
[all...]

Completed in 180 milliseconds