Home
last modified time | relevance | path

Searched refs:paintPtr (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DPaint.java3665 private static native float nGetTextAdvances(long paintPtr, char[] text, int index, int count, in nGetTextAdvances() argument
3667 private static native float nGetTextAdvances(long paintPtr, String text, int start, int end, in nGetTextAdvances() argument
3669 private native int nGetTextRunCursor(long paintPtr, char[] text, int contextStart, in nGetTextRunCursor() argument
3671 private native int nGetTextRunCursor(long paintPtr, String text, int contextStart, in nGetTextRunCursor() argument
3673 private static native void nGetTextPath(long paintPtr, int bidiFlags, char[] text, int index, in nGetTextPath() argument
3675 private static native void nGetTextPath(long paintPtr, int bidiFlags, String text, int start, in nGetTextPath() argument
3681 private static native boolean nHasGlyph(long paintPtr, int bidiFlags, String string); in nHasGlyph() argument
3682 private static native float nGetRunAdvance(long paintPtr, char[] text, int start, int end, in nGetRunAdvance() argument
3684 private static native float nGetRunCharacterAdvance(long paintPtr, char[] text, int start, in nGetRunCharacterAdvance() argument
3687 private static native int nGetOffsetForAdvance(long paintPtr, char[] text, int start, int end, in nGetOffsetForAdvance() argument
[all …]
/frameworks/base/libs/hwui/jni/
DCanvasProperty.cpp31 static jlong createPaint(JNIEnv* env, jobject clazz, jlong paintPtr) { in createPaint() argument
32 const Paint* paint = reinterpret_cast<const Paint*>(paintPtr); in createPaint()
Dandroid_graphics_TextureLayer.cpp38 jlong layerUpdaterPtr, jlong paintPtr) { in TextureLayer_setLayerPaint() argument
41 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in TextureLayer_setLayerPaint()
Dandroid_graphics_RenderNode.cpp96 …roid_view_RenderNode_setLayerPaint(CRITICAL_JNI_PARAMS_COMMA jlong renderNodePtr, jlong paintPtr) { in android_view_RenderNode_setLayerPaint() argument
97 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_RenderNode_setLayerPaint()
/frameworks/base/libs/hwui/jni/text/
DMeasuredText.cpp65 jlong paintPtr, jint lbStyle, jint lbWordStyle, jboolean hyphenation, in nAddStyleRun() argument
67 Paint* paint = toPaint(paintPtr); in nAddStyleRun()
77 jlong paintPtr, jint start, jint end, jfloat width) { in nAddReplacementRun() argument
79 toPaint(paintPtr)->getMinikinLocaleListId()); in nAddReplacementRun()
DTextShaper.cpp76 jlong paintPtr) { in TextShaper_shapeTextRunChars() argument
78 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in TextShaper_shapeTextRunChars()
92 jlong paintPtr) { in TextShaper_shapeTextRunString() argument
94 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in TextShaper_shapeTextRunString()
/frameworks/base/graphics/java/android/graphics/text/
DMeasuredText.java526 /* Non Zero */ long paintPtr, in nAddStyleRun() argument
543 /* Non Zero */ long paintPtr, in nAddReplacementRun() argument