Searched refs:paintPtr (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DCanvasProperty.cpp33 static jlong createPaint(JNIEnv* env, jobject clazz, jlong paintPtr) { argument
34 const Paint* paint = reinterpret_cast<const Paint*>(paintPtr);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java2856 private static native float nGetTextAdvances(long paintPtr, long typefacePtr, argument
2859 private static native float nGetTextAdvances(long paintPtr, long typefacePtr, argument
2862 private native int nGetTextRunCursor(long paintPtr, long typefacePtr, char[] text, argument
2864 private native int nGetTextRunCursor(long paintPtr, long typefacePtr, String text, argument
2866 private static native void nGetTextPath(long paintPtr, long typefacePtr, argument
2868 private static native void nGetTextPath(long paintPtr, long typefacePtr, argument
2874 private static native boolean nHasGlyph(long paintPtr, long typefacePtr, argument
2876 private static native float nGetRunAdvance(long paintPtr, long typefacePtr, argument
2879 private static native int nGetOffsetForAdvance(long paintPtr, argument
2887 private static native int nSetTextLocales(long paintPtr, Strin argument
2889 nSetFontFeatureSettings(long paintPtr, String settings) argument
2891 nGetFontMetrics(long paintPtr, long typefacePtr, FontMetrics metrics) argument
2894 nGetFontMetricsInt(long paintPtr, long typefacePtr, FontMetricsInt fmi) argument
2901 nReset(long paintPtr) argument
2905 nGetStyle(long paintPtr) argument
2907 nSetStyle(long paintPtr, int style) argument
2909 nGetStrokeCap(long paintPtr) argument
2911 nSetStrokeCap(long paintPtr, int cap) argument
2913 nGetStrokeJoin(long paintPtr) argument
2915 nSetStrokeJoin(long paintPtr, int join) argument
2917 nGetFillPath(long paintPtr, long src, long dst) argument
2919 nSetShader(long paintPtr, long shader) argument
2921 nSetColorFilter(long paintPtr, long filter) argument
2923 nSetXfermode(long paintPtr, int xfermode) argument
2925 nSetPathEffect(long paintPtr, long effect) argument
2927 nSetMaskFilter(long paintPtr, long maskfilter) argument
2929 nSetTypeface(long paintPtr, long typeface) argument
2931 nGetTextAlign(long paintPtr) argument
2933 nSetTextAlign(long paintPtr, int align) argument
2935 nSetTextLocalesByMinikinLangListId(long paintPtr, int mMinikinLangListId) argument
2938 nSetShadowLayer(long paintPtr, float radius, float dx, float dy, int color) argument
2941 nHasShadowLayer(long paintPtr) argument
2943 nGetLetterSpacing(long paintPtr) argument
2945 nSetLetterSpacing(long paintPtr, float letterSpacing) argument
2947 nGetWordSpacing(long paintPtr) argument
2949 nSetWordSpacing(long paintPtr, float wordSpacing) argument
2951 nGetHyphenEdit(long paintPtr) argument
2953 nSetHyphenEdit(long paintPtr, int hyphen) argument
2955 nSetStrokeMiter(long paintPtr, float miter) argument
2957 nGetStrokeMiter(long paintPtr) argument
2959 nSetStrokeWidth(long paintPtr, float width) argument
2961 nGetStrokeWidth(long paintPtr) argument
2963 nSetAlpha(long paintPtr, int a) argument
2965 nSetDither(long paintPtr, boolean dither) argument
2967 nGetFlags(long paintPtr) argument
2969 nSetFlags(long paintPtr, int flags) argument
2971 nGetHinting(long paintPtr) argument
2973 nSetHinting(long paintPtr, int mode) argument
2975 nSetAntiAlias(long paintPtr, boolean aa) argument
2977 nSetLinearText(long paintPtr, boolean linearText) argument
2979 nSetSubpixelText(long paintPtr, boolean subpixelText) argument
2981 nSetUnderlineText(long paintPtr, boolean underlineText) argument
2983 nSetFakeBoldText(long paintPtr, boolean fakeBoldText) argument
2985 nSetFilterBitmap(long paintPtr, boolean filter) argument
2987 nGetColor(long paintPtr) argument
2989 nSetColor(long paintPtr, @ColorInt int color) argument
2991 nGetAlpha(long paintPtr) argument
2993 nSetStrikeThruText(long paintPtr, boolean strikeThruText) argument
2995 nIsElegantTextHeight(long paintPtr) argument
2997 nSetElegantTextHeight(long paintPtr, boolean elegant) argument
2999 nGetTextSize(long paintPtr) argument
3001 nGetTextScaleX(long paintPtr) argument
3003 nSetTextScaleX(long paintPtr, float scaleX) argument
3005 nGetTextSkewX(long paintPtr) argument
3007 nSetTextSkewX(long paintPtr, float skewX) argument
3009 nAscent(long paintPtr, long typefacePtr) argument
3011 nDescent(long paintPtr, long typefacePtr) argument
3013 nGetUnderlinePosition(long paintPtr, long typefacePtr) argument
3015 nGetUnderlineThickness(long paintPtr, long typefacePtr) argument
3017 nGetStrikeThruPosition(long paintPtr, long typefacePtr) argument
3019 nGetStrikeThruThickness(long paintPtr, long typefacePtr) argument
3021 nSetTextSize(long paintPtr, float textSize) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_HardwareLayer.cpp53 jlong layerUpdaterPtr, jlong paintPtr) {
56 Paint* paint = reinterpret_cast<Paint*>(paintPtr);
52 android_view_HardwareLayer_setLayerPaint(JNIEnv* env, jobject clazz, jlong layerUpdaterPtr, jlong paintPtr) argument
H A Dandroid_view_RenderNode.cpp100 static jboolean android_view_RenderNode_setLayerPaint(jlong renderNodePtr, jlong paintPtr) { argument
101 Paint* paint = reinterpret_cast<Paint*>(paintPtr);
/frameworks/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java925 /*package*/ static void nSetTextLocalesByMinikinLangListId(long paintPtr, argument
1162 /*package*/ static float nGetUnderlinePosition(long paintPtr, long typefacePtr) { argument
1163 return (1.0f / 9.0f) * nGetTextSize(paintPtr);
1167 /*package*/ static float nGetUnderlineThickness(long paintPtr, long typefacePtr) { argument
1168 return (1.0f / 18.0f) * nGetTextSize(paintPtr);
1172 /*package*/ static float nGetStrikeThruPosition(long paintPtr, long typefacePtr) { argument
1173 return (-79.0f / 252.0f) * nGetTextSize(paintPtr);
1177 /*package*/ static float nGetStrikeThruThickness(long paintPtr, long typefacePtr) { argument
1178 return (1.0f / 18.0f) * nGetTextSize(paintPtr);

Completed in 347 milliseconds