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

/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp103 static jlong initWithPaint(JNIEnv* env, jobject clazz, jlong paintHandle) { argument
104 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
124 static jint getFlags(JNIEnv* env, jobject, jlong paintHandle) { argument
125 Paint* nativePaint = reinterpret_cast<Paint*>(paintHandle);
134 static void setFlags(JNIEnv* env, jobject, jlong paintHandle, jint flags) { argument
135 Paint* nativePaint = reinterpret_cast<Paint*>(paintHandle);
148 static jint getHinting(JNIEnv* env, jobject, jlong paintHandle) { argument
149 return reinterpret_cast<Paint*>(paintHandle)->getHinting()
153 static void setHinting(JNIEnv* env, jobject, jlong paintHandle, jint mode) { argument
154 reinterpret_cast<Paint*>(paintHandle)
158 setAntiAlias(JNIEnv* env, jobject, jlong paintHandle, jboolean aa) argument
162 setLinearText(JNIEnv* env, jobject, jlong paintHandle, jboolean linearText) argument
166 setSubpixelText(JNIEnv* env, jobject, jlong paintHandle, jboolean subpixelText) argument
170 setUnderlineText(JNIEnv* env, jobject, jlong paintHandle, jboolean underlineText) argument
174 setStrikeThruText(JNIEnv* env, jobject, jlong paintHandle, jboolean strikeThruText) argument
178 setFakeBoldText(JNIEnv* env, jobject, jlong paintHandle, jboolean fakeBoldText) argument
182 setFilterBitmap(JNIEnv* env, jobject, jlong paintHandle, jboolean filterBitmap) argument
187 setDither(JNIEnv* env, jobject, jlong paintHandle, jboolean dither) argument
202 getColor(JNIEnv* env, jobject, jlong paintHandle) argument
208 getAlpha(JNIEnv* env, jobject, jlong paintHandle) argument
214 setColor(JNIEnv* env, jobject, jlong paintHandle, jint color) argument
218 setAlpha(JNIEnv* env, jobject, jlong paintHandle, jint a) argument
222 getStrokeWidth(JNIEnv* env, jobject, jlong paintHandle) argument
226 setStrokeWidth(JNIEnv* env, jobject, jlong paintHandle, jfloat width) argument
230 getStrokeMiter(JNIEnv* env, jobject, jlong paintHandle) argument
234 setStrokeMiter(JNIEnv* env, jobject, jlong paintHandle, jfloat miter) argument
333 isElegantTextHeight(JNIEnv* env, jobject, jlong paintHandle) argument
338 setElegantTextHeight(JNIEnv* env, jobject, jlong paintHandle, jboolean aa) argument
343 getTextSize(JNIEnv* env, jobject, jlong paintHandle) argument
347 setTextSize(JNIEnv* env, jobject, jlong paintHandle, jfloat textSize) argument
351 getTextScaleX(JNIEnv* env, jobject, jlong paintHandle) argument
355 setTextScaleX(JNIEnv* env, jobject, jlong paintHandle, jfloat scaleX) argument
359 getTextSkewX(JNIEnv* env, jobject, jlong paintHandle) argument
363 setTextSkewX(JNIEnv* env, jobject, jlong paintHandle, jfloat skewX) argument
367 getLetterSpacing(JNIEnv* env, jobject clazz, jlong paintHandle) argument
372 setLetterSpacing(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat letterSpacing) argument
377 setFontFeatureSettings(JNIEnv* env, jobject clazz, jlong paintHandle, jstring settings) argument
387 getHyphenEdit(JNIEnv* env, jobject clazz, jlong paintHandle, jint hyphen) argument
392 setHyphenEdit(JNIEnv* env, jobject clazz, jlong paintHandle, jint hyphen) argument
397 getMetricsInternal(jlong paintHandle, jlong typefaceHandle, Paint::FontMetrics *metrics) argument
429 ascent(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle) argument
435 descent(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle) argument
441 getFontMetrics(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jobject metricsObj) argument
457 getFontMetricsInt(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jobject metricsObj) argument
508 getTextAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
521 getTextAdvances__StringIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
542 getTextRunCursor___C(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) argument
552 getTextRunCursor__String(JNIEnv* env, jobject clazz, jlong paintHandle, jstring text, jint contextStart, jint contextEnd, jint dir, jint offset, jint cursorOpt) argument
612 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
623 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
634 setShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat radius, jfloat dx, jfloat dy, jint color) argument
646 hasShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle) argument
683 breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray jtext, jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
712 breakTextS(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring jtext, jboolean forwards, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
743 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
752 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument
802 hasGlyph(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring string) argument
891 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
913 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 DRasterizer.cpp80 static void addLayer(JNIEnv* env, jobject, jlong layerHandle, jlong paintHandle, jfloat dx, jfloat dy) { argument
82 const Paint* paint = reinterpret_cast<Paint *>(paintHandle);
H A DMovie.cpp67 jfloat fx, jfloat fy, jlong paintHandle) {
71 const android::Paint* p = reinterpret_cast<android::Paint*>(paintHandle);
66 movie_draw(JNIEnv* env, jobject movie, jlong canvasHandle, jfloat fx, jfloat fy, jlong paintHandle) argument
H A DBitmap.cpp1161 jlong srcHandle, jlong paintHandle,
1165 const android::Paint* paint = reinterpret_cast<android::Paint*>(paintHandle);
1160 Bitmap_extractAlpha(JNIEnv* env, jobject clazz, jlong srcHandle, jlong paintHandle, jintArray offsetXY) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp93 jfloat r, jfloat b, jlong paintHandle, jint flagsHandle) {
94 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
214 static void drawPaint(JNIEnv* env, jobject, jlong canvasHandle, jlong paintHandle) { argument
215 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
220 jlong paintHandle) {
221 const Paint* paint = reinterpret_cast<Paint*>(paintHandle);
226 jint offset, jint count, jlong paintHandle) {
237 const Paint* paint = reinterpret_cast<Paint*>(paintHandle);
242 jfloat stopX, jfloat stopY, jlong paintHandle) {
243 Paint* paint = reinterpret_cast<Paint*>(paintHandle);
92 saveLayer(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jlong paintHandle, jint flagsHandle) 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
[all...]
/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.java2054 long paintHandle);
2057 long paintHandle);
2063 long paintHandle);
2053 native_drawPoint(long canvasHandle, float x, float y, long paintHandle) argument
2055 native_drawPoints(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument
2061 native_drawLines(long canvasHandle, float[] pts, int offset, int count, long paintHandle) argument

Completed in 147 milliseconds