Home
last modified time | relevance | path

Searched refs:bidiFlags (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java600 int count, int bidiFlags) { in native_measureText() argument
607 RectF bounds = delegate.measureText(text, index, count, null, 0, bidiFlags); in native_measureText()
613 int bidiFlags) { in native_measureText() argument
614 return native_measureText(thisPaint, text.toCharArray(), start, end - start, bidiFlags); in native_measureText()
618 /*package*/ static float native_measureText(Paint thisPaint, String text, int bidiFlags) { in native_measureText() argument
619 return native_measureText(thisPaint, text.toCharArray(), 0, text.length(), bidiFlags); in native_measureText()
624 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) { in native_breakText() argument
646 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags); in native_breakText()
667 float maxWidth, int bidiFlags, float[] measuredWidth) { in native_breakText() argument
669 maxWidth, bidiFlags, measuredWidth); in native_breakText()
[all …]
DBidiRenderer.java111 public RectF renderText(int start, int limit, int bidiFlags, float[] advances, in renderText() argument
113 Bidi bidi = new Bidi(mText, start, null, 0, limit - start, getIcuFlags(bidiFlags)); in renderText()
DCanvas_Delegate.java885 float vOffset, int bidiFlags, in native_drawTextOnPath() argument
897 int bidiFlags, long paint, in native_drawTextOnPath() argument
/frameworks/base/core/jni/android/graphics/
DPaint.cpp515 jint bidiFlags) { in measureText_CIII() argument
534 … MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, index, count, textLength); in measureText_CIII()
541 jint bidiFlags) { in measureText_StringIII() argument
561 … MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, start, count, textLength); in measureText_StringIII()
568 static jfloat measureText_StringI(JNIEnv* env, jobject jpaint, jstring text, jint bidiFlags) { in measureText_StringI() argument
583 … MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, 0, textLength, textLength); in measureText_StringI()
591 jfloatArray widths, jint bidiFlags) { in dotextwidths() argument
612 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count); in dotextwidths()
619 jint index, jint count, jint bidiFlags, jfloatArray widths) { in getTextWidths___CIII_F() argument
623 count = dotextwidths(env, paint, typeface, textArray + index, count, widths, bidiFlags); in getTextWidths___CIII_F()
[all …]
DMinikinUtils.cpp41 void MinikinUtils::doLayout(Layout* layout, const Paint* paint, int bidiFlags, TypefaceImpl* typefa… in doLayout() argument
63 layout->doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint); in doLayout()
DMinikinUtils.h48 static void doLayout(Layout* layout, const Paint* paint, int bidiFlags, TypefaceImpl* typeface,
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp482 float x, float y, int bidiFlags, const Paint& origPaint, TypefaceImpl* typeface) { in drawText() argument
487 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCount); in drawText()
508 jint index, jint count, jfloat x, jfloat y, jint bidiFlags, in drawTextChars() argument
514 bidiFlags, *paint, typeface); in drawTextChars()
519 jint start, jint end, jfloat x, jfloat y, jint bidiFlags, in drawTextString() argument
526 bidiFlags, *paint, typeface); in drawTextString()
536 const int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; in drawTextRunChars() local
539 contextCount, x, y, bidiFlags, *paint, typeface); in drawTextRunChars()
550 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; in drawTextRunString() local
555 contextCount, x, y, bidiFlags, *paint, typeface); in drawTextRunString()
[all …]
Dandroid_view_GLES20Canvas.cpp654 jfloat x, jfloat y, int bidiFlags, Paint* paint, TypefaceImpl* typeface) { in renderText() argument
656 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count); in renderText()
687 SkPath* path, jfloat hOffset, jfloat vOffset, int bidiFlags, Paint* paint, in renderTextOnPath() argument
690 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count); in renderTextOnPath()
702 int bidiFlags, Paint* paint, TypefaceImpl* typeface) { in renderTextRun() argument
704 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, start, count, contextCount); in renderTextRun()
711 jfloat x, jfloat y, jint bidiFlags, jlong paintPtr, jlong typefacePtr) { in android_view_GLES20Canvas_drawTextArray() argument
717 renderText(renderer, textArray + index, count, x, y, bidiFlags, paint, typeface); in android_view_GLES20Canvas_drawTextArray()
723 jfloat x, jfloat y, jint bidiFlags, jlong paintPtr, jlong typefacePtr) { in android_view_GLES20Canvas_drawText() argument
729 renderText(renderer, textArray + start, end - start, x, y, bidiFlags, paint, typeface); in android_view_GLES20Canvas_drawText()
[all …]
/frameworks/minikin/sample/
Dexample.cpp87 int bidiFlags = 0; in runMinikinTest() local
92 …layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, … in runMinikinTest()
Dexample_skia.cpp122 int bidiFlags = 0; in runMinikinTest() local
127 …layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, … in runMinikinTest()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1469 private native float native_measureText(char[] text, int index, int count, int bidiFlags); in native_measureText() argument
1501 private native float native_measureText(String text, int start, int end, int bidiFlags); in native_measureText() argument
1528 private native float native_measureText(String text, int bidiFlags); in native_measureText() argument
1610 … float maxWidth, int bidiFlags, float[] measuredWidth); in native_breakText() argument
1702 float maxWidth, int bidiFlags, float[] measuredWidth); in native_breakText() argument
2262 char[] text, int index, int count, int bidiFlags, float[] widths); in native_getTextWidths() argument
2264 String text, int start, int end, int bidiFlags, float[] widths); in native_getTextWidths() argument
2283 int bidiFlags, char[] text, int index, int count, float x, float y, long path); in native_getTextPath() argument
2285 int bidiFlags, String text, int start, int end, float x, float y, long path); in native_getTextPath() argument
2287 String text, int start, int end, int bidiFlags, Rect bounds); in nativeGetStringBounds() argument
[all …]
DCanvas.java2041 float vOffset, int bidiFlags, in native_drawTextOnPath() argument
/frameworks/minikin/libs/minikin/
DLayout.cpp520 int bidiFlags, const FontStyle &style, const MinikinPaint &paint) { in doLayout() argument
527 bool isRtl = (bidiFlags & kDirection_Mask) != 0; in doLayout()
533 if (!(bidiFlags == kBidi_Force_LTR || bidiFlags == kBidi_Force_RTL)) { in doLayout()
537 UBiDiLevel bidiReq = bidiFlags; in doLayout()
538 if (bidiFlags == kBidi_Default_LTR) { in doLayout()
540 } else if (bidiFlags == kBidi_Default_RTL) { in doLayout()
/frameworks/minikin/include/minikin/
DLayout.h79 int bidiFlags, const FontStyle &style, const MinikinPaint &paint);
/frameworks/base/core/java/android/view/
DGLES20Canvas.java884 float x, float y, int bidiFlags, long paint, long typeface); in nDrawText() argument
914 float x, float y, int bidiFlags, long paint, long typeface); in nDrawText() argument
934 long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, in nDrawTextOnPath() argument
946 long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, in nDrawTextOnPath() argument