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