Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DPaint.java3053 private static native float nGetTextAdvances(long paintPtr, char[] text, int index, int count, in nGetTextAdvances() argument
3055 private static native float nGetTextAdvances(long paintPtr, String text, int start, int end, in nGetTextAdvances() argument
3057 private native int nGetTextRunCursor(long paintPtr, char[] text, int contextStart, in nGetTextRunCursor() argument
3059 private native int nGetTextRunCursor(long paintPtr, String text, int contextStart, in nGetTextRunCursor() argument
3061 private static native void nGetTextPath(long paintPtr, int bidiFlags, char[] text, int index, in nGetTextPath() argument
3063 private static native void nGetTextPath(long paintPtr, int bidiFlags, String text, int start, in nGetTextPath() argument
3069 private static native boolean nHasGlyph(long paintPtr, int bidiFlags, String string); in nHasGlyph() argument
3070 private static native float nGetRunAdvance(long paintPtr, char[] text, int start, int end, in nGetRunAdvance() argument
3072 private static native int nGetOffsetForAdvance(long paintPtr, char[] text, int start, int end, in nGetOffsetForAdvance() argument
3079 private static native int nSetTextLocales(long paintPtr, String locales); in nSetTextLocales() argument
[all …]
/frameworks/base/core/jni/android/graphics/text/
DMeasuredText.cpp69 jlong paintPtr, jint start, jint end, jboolean isRtl) { in nAddStyleRun() argument
70 Paint* paint = toPaint(paintPtr); in nAddStyleRun()
78 jlong paintPtr, jint start, jint end, jfloat width) { in nAddReplacementRun() argument
80 toPaint(paintPtr)->getMinikinLocaleListId()); in nAddReplacementRun()
/frameworks/base/core/jni/android/graphics/
DCanvasProperty.cpp33 static jlong createPaint(JNIEnv* env, jobject clazz, jlong paintPtr) { in createPaint() argument
34 const Paint* paint = reinterpret_cast<const Paint*>(paintPtr); in createPaint()
/frameworks/layoutlib/bridge/src/android/graphics/text/
DMeasuredText_Builder_Delegate.java64 /*package*/ static void nAddStyleRun(long nativeBuilderPtr, long paintPtr, int start, in nAddStyleRun() argument
70 builder.mRuns.add(new StyleRun(paintPtr, start, end, isRtl)); in nAddStyleRun()
83 /*package*/ static void nAddReplacementRun(long nativeBuilderPtr, long paintPtr, int start, in nAddReplacementRun() argument
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java380 /*package*/ static void nSetColor(long paintPtr, long colorSpaceHandle, long color) { in nSetColor() argument
381 Paint_Delegate delegate = sManager.getDelegate(paintPtr); in nSetColor()
390 /*package*/ static void nSetColor(long paintPtr, int color) { in nSetColor() argument
391 Paint_Delegate delegate = sManager.getDelegate(paintPtr); in nSetColor()
455 /*package*/ static void nSetShadowLayer(long paintPtr, in nSetShadowLayer() argument
948 /*package*/ static void nSetTextLocalesByMinikinLocaleListId(long paintPtr, in nSetTextLocalesByMinikinLocaleListId() argument
1189 /*package*/ static float nGetUnderlinePosition(long paintPtr) { in nGetUnderlinePosition() argument
1190 return (1.0f / 9.0f) * nGetTextSize(paintPtr); in nGetUnderlinePosition()
1194 /*package*/ static float nGetUnderlineThickness(long paintPtr) { in nGetUnderlineThickness() argument
1195 return (1.0f / 18.0f) * nGetTextSize(paintPtr); in nGetUnderlineThickness()
[all …]
/frameworks/base/core/jni/
Dandroid_view_TextureLayer.cpp52 jlong layerUpdaterPtr, jlong paintPtr) { in TextureLayer_setLayerPaint() argument
55 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in TextureLayer_setLayerPaint()
Dandroid_view_RenderNode.cpp101 static jboolean android_view_RenderNode_setLayerPaint(jlong renderNodePtr, jlong paintPtr) { in android_view_RenderNode_setLayerPaint() argument
102 Paint* paint = reinterpret_cast<Paint*>(paintPtr); in android_view_RenderNode_setLayerPaint()
/frameworks/base/graphics/java/android/graphics/text/
DMeasuredText.java357 /* Non Zero */ long paintPtr, in nAddStyleRun() argument
371 /* Non Zero */ long paintPtr, in nAddReplacementRun() argument