H A D | android_graphics_Canvas.cpp | 34 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...] |