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

/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp82 jfloat r, jfloat b, jlong paintHandle, jint flagsHandle) {
83 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
203 static void drawPaint(JNIEnv* env, jobject, jlong canvasHandle, jlong paintHandle) { argument
204 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
209 jlong paintHandle) {
210 const Paint* paint = reinterpret_cast<Paint*>(paintHandle);
215 jint offset, jint count, jlong paintHandle) {
226 const Paint* paint = reinterpret_cast<Paint*>(paintHandle);
231 jfloat stopX, jfloat stopY, jlong paintHandle) {
232 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
81 saveLayer(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jlong paintHandle, jint flagsHandle) 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
[all...]
/frameworks/base/core/jni/android/graphics/
H A DRasterizer.cpp79 static void addLayer(JNIEnv* env, jobject, jlong layerHandle, jlong paintHandle, jfloat dx, jfloat dy) { argument
81 const Paint* paint = reinterpret_cast<Paint *>(paintHandle);
H A DPaint.cpp94 jlong paintHandle = env->GetLongField(paint, gPaint_nativeInstanceID); local
95 android::Paint* p = reinterpret_cast<android::Paint*>(paintHandle);
130 static jlong initWithPaint(JNIEnv* env, jobject clazz, jlong paintHandle) { argument
131 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
461 static jfloat getLetterSpacing(JNIEnv* env, jobject clazz, jlong paintHandle) { argument
462 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
466 static void setLetterSpacing(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat letterSpacing) { argument
467 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
471 static void setFontFeatureSettings(JNIEnv* env, jobject clazz, jlong paintHandle, jstring settings) { argument
472 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
481 getHyphenEdit(JNIEnv* env, jobject clazz, jlong paintHandle, jint hyphen) argument
486 setHyphenEdit(JNIEnv* env, jobject clazz, jlong paintHandle, jint hyphen) argument
679 getTextWidths___CIII_F(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jfloatArray widths) argument
690 getTextWidths__StringIII_F(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jfloatArray widths) argument
737 getTextRunAdvances___CIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
750 getTextRunAdvances__StringIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
771 getTextRunCursor___C(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) argument
781 getTextRunCursor__String(JNIEnv* env, jobject clazz, jlong paintHandle, jstring text, jint contextStart, jint contextEnd, jint dir, jint offset, jint cursorOpt) argument
841 getTextPath___C(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jcharArray text, jint index, jint count, jfloat x, jfloat y, jlong pathHandle) argument
852 getTextPath__String(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring text, jint start, jint end, jfloat x, jfloat y, jlong pathHandle) argument
863 setShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat radius, jfloat dx, jfloat dy, jint color) argument
875 hasShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle) argument
914 breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray jtext, jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
943 breakTextS(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring jtext, jboolean forwards, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
974 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
983 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument
1009 hasGlyph(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring string) argument
1063 getRunAdvance___CIIIIZI_F(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jint offset) argument
1083 getOffsetForAdvance___CIIIIZF_I(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jfloat advance) argument
[all...]
H A DNinePatch.cpp121 jobject jbitmap, jlong chunkHandle, jlong paintHandle,
125 const Paint* paint = reinterpret_cast<Paint*>(paintHandle);
140 jobject jbitmap, jlong chunkHandle, jlong paintHandle,
144 const Paint* paint = reinterpret_cast<Paint*>(paintHandle);
120 drawF(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRectF, jobject jbitmap, jlong chunkHandle, jlong paintHandle, jint destDensity, jint srcDensity) argument
139 drawI(JNIEnv* env, jobject, jlong canvasHandle, jobject boundsRect, jobject jbitmap, jlong chunkHandle, jlong paintHandle, jint destDensity, jint srcDensity) argument
H A DMovie.cpp68 jfloat fx, jfloat fy, jlong paintHandle) {
72 const android::Paint* p = reinterpret_cast<android::Paint*>(paintHandle);
67 movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, jfloat fx, jfloat fy, jlong paintHandle) argument
H A DBitmap.cpp1145 jlong srcHandle, jlong paintHandle,
1149 const android::Paint* paint = reinterpret_cast<android::Paint*>(paintHandle);
1144 Bitmap_extractAlpha(JNIEnv* env, jobject clazz, jlong srcHandle, jlong paintHandle, jintArray offsetXY) argument
/frameworks/base/graphics/java/android/graphics/
H A DMovie.java40 private native void nDraw(long nativeCanvas, float x, float y, long paintHandle); argument
H A DCanvas.java2038 long paintHandle);
2041 long paintHandle);
2047 long paintHandle);
2037 native_drawPoint(long canvasHandle, float x, float y, long paintHandle) argument
2039 native_drawPoints(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument
2045 native_drawLines(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument

Completed in 103 milliseconds