Home
last modified time | relevance | path

Searched refs:TypefaceImpl (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DTypefaceImpl.h29 struct TypefaceImpl { struct
47 TypefaceImpl* TypefaceImpl_resolveDefault(TypefaceImpl* src);
49 TypefaceImpl* TypefaceImpl_createFromTypeface(TypefaceImpl* src, SkTypeface::Style style);
51 TypefaceImpl* TypefaceImpl_createWeightAlias(TypefaceImpl* src, int baseweight);
55 TypefaceImpl* TypefaceImpl_createFromFamilies(const jlong* families, size_t size);
57 void TypefaceImpl_unref(TypefaceImpl* face);
59 int TypefaceImpl_getStyle(TypefaceImpl* face);
61 void TypefaceImpl_setDefault(TypefaceImpl* face);
DTypefaceImpl.cpp43 static void resolveStyle(TypefaceImpl* typeface) { in resolveStyle()
55 TypefaceImpl* gDefaultTypeface = NULL;
94 gDefaultTypeface = new TypefaceImpl; in getDefaultTypefaceOnce()
102 TypefaceImpl* TypefaceImpl_resolveDefault(TypefaceImpl* src) { in TypefaceImpl_resolveDefault()
111 TypefaceImpl* TypefaceImpl_createFromTypeface(TypefaceImpl* src, SkTypeface::Style style) { in TypefaceImpl_createFromTypeface()
112 TypefaceImpl* resolvedFace = TypefaceImpl_resolveDefault(src); in TypefaceImpl_createFromTypeface()
113 TypefaceImpl* result = new TypefaceImpl; in TypefaceImpl_createFromTypeface()
124 TypefaceImpl* TypefaceImpl_createWeightAlias(TypefaceImpl* src, int weight) { in TypefaceImpl_createWeightAlias()
125 TypefaceImpl* resolvedFace = TypefaceImpl_resolveDefault(src); in TypefaceImpl_createWeightAlias()
126 TypefaceImpl* result = new TypefaceImpl; in TypefaceImpl_createWeightAlias()
[all …]
DTypeface.cpp31 TypefaceImpl* family = reinterpret_cast<TypefaceImpl*>(familyHandle); in Typeface_createFromTypeface()
32 TypefaceImpl* face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface()
45 TypefaceImpl* family = reinterpret_cast<TypefaceImpl*>(familyHandle); in Typeface_createWeightAlias()
46 TypefaceImpl* face = TypefaceImpl_createWeightAlias(family, weight); in Typeface_createWeightAlias()
51 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); in Typeface_unref()
56 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); in Typeface_getStyle()
66 TypefaceImpl* face = reinterpret_cast<TypefaceImpl*>(faceHandle); in Typeface_setDefault()
DPaint.cpp440 TypefaceImpl* typeface = GraphicsJNI::getNativeTypeface(env, jpaint); in getMetricsInternal()
533 TypefaceImpl* typeface = GraphicsJNI::getNativeTypeface(env, jpaint); in measureText_CIII()
560 TypefaceImpl* typeface = GraphicsJNI::getNativeTypeface(env, jpaint); in measureText_StringIII()
582 TypefaceImpl* typeface = GraphicsJNI::getNativeTypeface(env, jpaint); in measureText_StringI()
590 …static int dotextwidths(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar text[], int… in dotextwidths()
621 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in getTextWidths___CIII_F()
632 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in getTextWidths__StringIII_F()
639 …static jfloat doTextRunAdvances(JNIEnv *env, Paint *paint, TypefaceImpl* typeface, const jchar *te… in doTextRunAdvances()
681 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in getTextRunAdvances___CIIIIZ_FI()
694 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in getTextRunAdvances__StringIIIIZ_FI()
[all …]
DMinikinUtils.cpp41 void MinikinUtils::doLayout(Layout* layout, const Paint* paint, int bidiFlags, TypefaceImpl* typefa… in doLayout()
43 TypefaceImpl* resolvedFace = TypefaceImpl_resolveDefault(typeface); in doLayout()
DMinikinUtils.h48 static void doLayout(Layout* layout, const Paint* paint, int bidiFlags, TypefaceImpl* typeface,
DGraphicsJNI.h18 class TypefaceImpl; variable
52 static android::TypefaceImpl* getNativeTypeface(JNIEnv*, jobject paint);
DGraphics.cpp386 android::TypefaceImpl* GraphicsJNI::getNativeTypeface(JNIEnv* env, jobject paint) { in getNativeTypeface()
391 android::TypefaceImpl* p = reinterpret_cast<android::TypefaceImpl*>(typefaceHandle); in getNativeTypeface()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp482 float x, float y, int bidiFlags, const Paint& origPaint, TypefaceImpl* typeface) { in drawText()
511 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in drawTextChars()
522 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in drawTextString()
534 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in drawTextRunChars()
548 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in drawTextRunString()
622 const Paint& paint, TypefaceImpl* typeface) { in drawTextOnPath()
643 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in drawTextOnPathChars()
658 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle); in drawTextOnPathString()
Dandroid_view_GLES20Canvas.cpp642 jfloat x, jfloat y, int bidiFlags, Paint* paint, TypefaceImpl* typeface) { in renderText()
676 TypefaceImpl* typeface) { in renderTextOnPath()
690 int bidiFlags, Paint* paint, TypefaceImpl* typeface) { in renderTextRun()
703 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefacePtr); in android_view_GLES20Canvas_drawTextArray()
715 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefacePtr); in android_view_GLES20Canvas_drawText()
729 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefacePtr); in android_view_GLES20Canvas_drawTextArrayOnPath()
744 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefacePtr); in android_view_GLES20Canvas_drawTextOnPath()
758 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefacePtr); in android_view_GLES20Canvas_drawTextRunArray()
775 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefacePtr); in android_view_GLES20Canvas_drawTextRun()
DAndroid.mk127 android/graphics/TypefaceImpl.cpp \