Home
last modified time | relevance | path

Searched refs:nativePaint (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java253 /*package*/ static int nGetFlags(long nativePaint) { in nGetFlags() argument
255 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetFlags()
266 /*package*/ static void nSetFlags(long nativePaint, int flags) { in nSetFlags() argument
268 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetFlags()
277 /*package*/ static void nSetFilterBitmap(long nativePaint, boolean filter) { in nSetFilterBitmap() argument
278 setFlag(nativePaint, Paint.FILTER_BITMAP_FLAG, filter); in nSetFilterBitmap()
282 /*package*/ static int nGetHinting(long nativePaint) { in nGetHinting() argument
284 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nGetHinting()
293 /*package*/ static void nSetHinting(long nativePaint, int mode) { in nSetHinting() argument
295 Paint_Delegate delegate = sManager.getDelegate(nativePaint); in nSetHinting()
[all …]
DBaseCanvas_Delegate.java166 long nativePaint) { in nDrawPoint() argument
168 draw(nativeCanvas, nativePaint, false /*compositeOnly*/, false /*forceSrcMode*/, in nDrawPoint()
174 long nativePaint) { in nDrawPoints() argument
181 nDrawPoint(nativeCanvas, pts[i], pts[i + 1], nativePaint); in nDrawPoints()
196 long nativePaint) { in nDrawLines() argument
197 draw(nativeCanvas, nativePaint, false /*compositeOnly*/, in nDrawLines()
368 long nativePaint) { in nDrawRegion() argument
DBitmap_Delegate.java490 /*package*/ static Bitmap nativeExtractAlpha(long nativeBitmap, long nativePaint, in nativeExtractAlpha() argument
498 Paint_Delegate paint = Paint_Delegate.getDelegate(nativePaint); in nativeExtractAlpha()
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java122 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap() local
137 dst.left, dst.top, dst.right, dst.bottom, nativePaint, mScreenDensity, in drawBitmap()
148 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap() local
163 dst.left, dst.top, dst.right, dst.bottom, nativePaint, mScreenDensity, in drawBitmap()
277 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawPatch() local
279 dst.left, dst.top, dst.right, dst.bottom, nativePaint, in drawPatch()
287 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawPatch() local
289 dst.left, dst.top, dst.right, dst.bottom, nativePaint, in drawPatch()
569 private static native void nDrawPaint(long nativeCanvas, long nativePaint); in nDrawPaint() argument
577 float stopY, long nativePaint); in nDrawLine() argument
[all …]
DBitmap.java1854 long nativePaint = paint != null ? paint.getNativeInstance() : 0; in extractAlpha() local
1856 Bitmap bm = nativeExtractAlpha(mNativePtr, nativePaint, offsetXY); in extractAlpha()
1960 long nativePaint, in nativeExtractAlpha() argument
DPaint.java2774 private static native void nGetStringBounds(long nativePaint, long typefacePtr, in nGetStringBounds() argument
2776 private static native void nGetCharArrayBounds(long nativePaint, long typefacePtr, in nGetCharArrayBounds() argument
DCanvas.java1255 long nativePaint, int layerFlags); in nSaveLayer() argument
/frameworks/base/core/java/android/view/
DRecordingCanvas.java98 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap() local
113 dst.left, dst.top, dst.right, dst.bottom, nativePaint, mScreenDensity, in drawBitmap()
124 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawBitmap() local
139 dst.left, dst.top, dst.right, dst.bottom, nativePaint, mScreenDensity, in drawBitmap()
261 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawPatch() local
263 dst.left, dst.top, dst.right, dst.bottom, nativePaint, in drawPatch()
272 final long nativePaint = paint == null ? 0 : paint.getNativeInstance(); in drawPatch() local
274 dst.left, dst.top, dst.right, dst.bottom, nativePaint, in drawPatch()
553 private static native void nDrawPaint(long nativeCanvas, long nativePaint); in nDrawPaint() argument
564 float stopY, long nativePaint); in nDrawLine() argument
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DStaticLayout_Delegate.java93 /*package*/ static float nAddStyleRun(long nativeBuilder, long nativePaint, long nativeTypeface, in nAddStyleRun() argument
99 measureText(nativePaint, builder.mText, start, end - start, builder.mWidths, in nAddStyleRun()
216 private static float measureText(long nativePaint, char []text, int index, int count, in measureText() argument
218 Paint_Delegate paint = Paint_Delegate.getDelegate(nativePaint); in measureText()
/frameworks/base/core/jni/
Dandroid_text_StaticLayout.cpp160 jlong nativePaint, jlong nativeTypeface, jint start, jint end, jboolean isRtl) { in nAddStyleRun() argument
162 Paint* paint = reinterpret_cast<Paint*>(nativePaint); in nAddStyleRun()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp656 Paint* nativePaint = reinterpret_cast<Paint*>(paintHandle); in getFlags() local
657 uint32_t result = nativePaint->getFlags(); in getFlags()
659 if (nativePaint->getFilterQuality() != kNone_SkFilterQuality) { in getFlags()
666 Paint* nativePaint = reinterpret_cast<Paint*>(paintHandle); in setFlags() local
668 nativePaint->setFilterQuality(flags & sFilterBitmapFlag in setFlags()
674 const uint32_t existing0x02Flag = nativePaint->getFlags() & sFilterBitmapFlag; in setFlags()
676 nativePaint->setFlags(flags); in setFlags()
/frameworks/base/core/java/android/text/
DStaticLayout.java1321 private static native float nAddStyleRun(long nativePtr, long nativePaint,