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

/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp36 static Canvas* get_canvas(jlong canvasHandle) { argument
37 return reinterpret_cast<Canvas*>(canvasHandle);
59 static void setBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap) { argument
64 get_canvas(canvasHandle)->setBitmap(bitmap);
67 static jboolean isOpaque(jlong canvasHandle) { argument
68 return get_canvas(canvasHandle)->isOpaque() ? JNI_TRUE : JNI_FALSE;
71 static jint getWidth(jlong canvasHandle) { argument
72 return static_cast<jint>(get_canvas(canvasHandle)->width());
75 static jint getHeight(jlong canvasHandle) { argument
76 return static_cast<jint>(get_canvas(canvasHandle)
79 setHighContrastText(jlong canvasHandle, jboolean highContrastText) argument
84 save(jlong canvasHandle, jint flagsHandle) argument
89 saveLayer(jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jlong paintHandle, jint flagsHandle) argument
96 saveLayerAlpha(jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint alpha, jint flagsHandle) argument
102 restore(jlong canvasHandle) argument
111 restoreToCount(jlong canvasHandle, jint saveCount) argument
116 getSaveCount(jlong canvasHandle) argument
120 getMatrix(jlong canvasHandle, jlong matrixHandle) argument
125 setMatrix(jlong canvasHandle, jlong matrixHandle) argument
130 concat(jlong canvasHandle, jlong matrixHandle) argument
135 rotate(jlong canvasHandle, jfloat degrees) argument
139 scale(jlong canvasHandle, jfloat sx, jfloat sy) argument
143 skew(jlong canvasHandle, jfloat sx, jfloat sy) argument
147 translate(jlong canvasHandle, jfloat dx, jfloat dy) argument
151 getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) argument
165 quickRejectRect(jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
171 quickRejectPath(jlong canvasHandle, jlong pathHandle) argument
199 clipRect(jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint opHandle) argument
206 clipPath(jlong canvasHandle, jlong pathHandle, jint opHandle) argument
213 drawColor(JNIEnv* env, jobject, jlong canvasHandle, jint color, jint modeHandle) argument
218 drawPaint(JNIEnv* env, jobject, jlong canvasHandle, jlong paintHandle) argument
223 drawPoint(JNIEnv*, jobject, jlong canvasHandle, jfloat x, jfloat y, jlong paintHandle) argument
229 drawPoints(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
245 drawLine(JNIEnv* env, jobject, jlong canvasHandle, jfloat startX, jfloat startY, jfloat stopX, jfloat stopY, jlong paintHandle) argument
251 drawLines(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
267 drawRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
273 drawRegion(JNIEnv* env, jobject, jlong canvasHandle, jlong regionHandle, jlong paintHandle) argument
280 drawRoundRect(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jlong paintHandle) argument
286 drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, jfloat radius, jlong paintHandle) argument
292 drawOval(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jlong paintHandle) argument
298 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument
306 drawPath(JNIEnv* env, jobject, jlong canvasHandle, jlong pathHandle, jlong paintHandle) argument
313 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
343 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
374 drawBitmap(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jfloat left, jfloat top, jlong paintHandle, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument
409 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
439 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
462 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
475 drawTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
486 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
498 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
511 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
527 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
543 drawTextOnPathString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
559 setDrawFilter(jlong canvasHandle, jlong filterHandle) argument
[all...]
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);
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1235 private static native void nSetBitmap(long canvasHandle, Bitmap bitmap); argument
1243 private static native boolean nIsOpaque(long canvasHandle); argument
1247 private static native int nGetWidth(long canvasHandle); argument
1249 private static native int nGetHeight(long canvasHandle); argument
1252 private static native int nSave(long canvasHandle, int saveFlags); argument
1260 private static native boolean nRestore(long canvasHandle); argument
1262 private static native void nRestoreToCount(long canvasHandle, int saveCount); argument
1264 private static native int nGetSaveCount(long canvasHandle); argument
1267 private static native void nTranslate(long canvasHandle, float dx, float dy); argument
1269 private static native void nScale(long canvasHandle, floa argument
1271 nRotate(long canvasHandle, float degrees) argument
1273 nSkew(long canvasHandle, float sx, float sy) argument
[all...]
H A DBaseCanvas.java571 private static native void nDrawPoint(long canvasHandle, float x, float y, long paintHandle); argument
573 private static native void nDrawPoints(long canvasHandle, float[] pts, int offset, int count, argument
579 private static native void nDrawLines(long canvasHandle, float[] pts, int offset, int count, argument
/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.cpp395 jlong canvasHandle = env->GetLongField(canvas, gCanvas_nativeInstanceID); local
396 if (!canvasHandle) {
399 return reinterpret_cast<android::Canvas*>(canvasHandle);
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java556 private static native void nDrawPoint(long canvasHandle, float x, float y, long paintHandle); argument
559 private static native void nDrawPoints(long canvasHandle, float[] pts, int offset, int count, argument
567 private static native void nDrawLines(long canvasHandle, float[] pts, int offset, int count, argument

Completed in 74 milliseconds