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