Lines Matching defs:typeface

301         // TODO: in Paint refactoring, set typeface on android Paint, not Paint
440 TypefaceImpl* typeface = GraphicsJNI::getNativeTypeface(env, jpaint);
441 typeface = TypefaceImpl_resolveDefault(typeface);
442 FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle);
533 TypefaceImpl* typeface = GraphicsJNI::getNativeTypeface(env, jpaint);
534 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, index, count, textLength);
560 TypefaceImpl* typeface = GraphicsJNI::getNativeTypeface(env, jpaint);
561 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, start, count, textLength);
582 TypefaceImpl* typeface = GraphicsJNI::getNativeTypeface(env, jpaint);
583 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, 0, textLength, textLength);
590 static int dotextwidths(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar text[], int count,
612 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count);
621 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
623 count = dotextwidths(env, paint, typeface, textArray + index, count, widths, bidiFlags);
632 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
634 int count = dotextwidths(env, paint, typeface, textArray + start, end - start, widths, bidiFlags);
639 static jfloat doTextRunAdvances(JNIEnv *env, Paint *paint, TypefaceImpl* typeface, const jchar *text,
665 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, start, count, contextCount);
681 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
683 jfloat result = doTextRunAdvances(env, paint, typeface, textArray + contextIndex,
694 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
696 jfloat result = doTextRunAdvances(env, paint, typeface, textArray + contextStart,
761 static void getTextPath(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar* text,
764 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count);
784 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
787 getTextPath(env, paint, typeface, textArray + index, count, bidiFlags, x, y, path);
795 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
798 getTextPath(env, paint, typeface, textArray + start, end - start, bidiFlags, x, y, path);
819 static int breakText(JNIEnv* env, const Paint& paint, TypefaceImpl* typeface, const jchar text[],
826 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, 0, count, count);
858 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
875 count = breakText(env, *paint, typeface, text + index, count, maxWidth,
887 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
895 count = breakText(env, *paint, typeface, text, count, maxWidth, bidiFlags, jmeasuredWidth, tbd);
901 const Paint& paint, TypefaceImpl* typeface, jint bidiFlags) {
906 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, 0, count, count);
920 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
922 doTextBounds(env, textArray + start, end - start, bounds, *paint, typeface, bidiFlags);
929 TypefaceImpl* typeface = reinterpret_cast<TypefaceImpl*>(typefaceHandle);
931 doTextBounds(env, textArray + index, count, bounds, *paint, typeface, bidiFlags);