Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DPaint.cpp573 jint bidiFlags) { in measureText_CIII() argument
592 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray + index, 0, count, in measureText_CIII()
600 jint bidiFlags) { in measureText_StringIII() argument
622 … MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray + start, 0, count, count); in measureText_StringIII()
629 static jfloat measureText_StringI(JNIEnv* env, jobject jpaint, jstring text, jint bidiFlags) { in measureText_StringI() argument
644 … MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, 0, textLength, textLength); in measureText_StringI()
652 jfloatArray widths, jint bidiFlags) { in dotextwidths() argument
673 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count); in dotextwidths()
680 jint index, jint count, jint bidiFlags, jfloatArray widths) { in getTextWidths___CIII_F() argument
684 count = dotextwidths(env, paint, typeface, textArray + index, count, widths, bidiFlags); in getTextWidths___CIII_F()
[all …]
DMinikinUtils.cpp56 void MinikinUtils::doLayout(Layout* layout, const Paint* paint, int bidiFlags, in doLayout() argument
63 layout->doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint); in doLayout()
DMinikinUtils.h39 static void doLayout(Layout* layout, const Paint* paint, int bidiFlags,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java605 int count, int bidiFlags) { in native_measureText() argument
612 RectF bounds = delegate.measureText(text, index, count, null, 0, bidiFlags); in native_measureText()
618 int bidiFlags) { in native_measureText() argument
619 return native_measureText(thisPaint, text.toCharArray(), start, end - start, bidiFlags); in native_measureText()
623 /*package*/ static float native_measureText(Paint thisPaint, String text, int bidiFlags) { in native_measureText() argument
624 return native_measureText(thisPaint, text.toCharArray(), 0, text.length(), bidiFlags); in native_measureText()
629 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) { in native_breakText() argument
651 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags); in native_breakText()
672 float maxWidth, int bidiFlags, float[] measuredWidth) { in native_breakText() argument
674 maxWidth, bidiFlags, measuredWidth); in native_breakText()
[all …]
DBidiRenderer.java110 public RectF renderText(int start, int limit, int bidiFlags, float[] advances, in renderText() argument
112 Bidi bidi = new Bidi(mText, start, null, 0, limit - start, getIcuFlags(bidiFlags)); in renderText()
DCanvas_Delegate.java891 float vOffset, int bidiFlags, in native_drawTextOnPath() argument
903 int bidiFlags, long paint, in native_drawTextOnPath() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp500 float x, float y, int bidiFlags, const Paint& origPaint, TypefaceImpl* typeface) { in drawText() argument
505 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCount); in drawText()
529 jint index, jint count, jfloat x, jfloat y, jint bidiFlags, in drawTextChars() argument
535 bidiFlags, *paint, typeface); in drawTextChars()
540 jint start, jint end, jfloat x, jfloat y, jint bidiFlags, in drawTextString() argument
547 bidiFlags, *paint, typeface); in drawTextString()
557 const int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; in drawTextRunChars() local
560 contextCount, x, y, bidiFlags, *paint, typeface); in drawTextRunChars()
571 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; in drawTextRunString() local
576 contextCount, x, y, bidiFlags, *paint, typeface); in drawTextRunString()
[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.cpp119 int bidiFlags = 0; in runMinikinTest() local
124 …layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, … in runMinikinTest()
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DStaticLayout_Delegate.java94 int bidiFlags = isRtl ? Paint.BIDI_FORCE_RTL : Paint.BIDI_FORCE_LTR; in nAddStyleRun() local
97 bidiFlags); in nAddStyleRun()
212 float[] widths, int bidiFlags) { in measureText() argument
215 .renderText(index, index + count, bidiFlags, widths, 0, false); in measureText()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1503 private native float native_measureText(char[] text, int index, int count, int bidiFlags); in native_measureText() argument
1535 private native float native_measureText(String text, int start, int end, int bidiFlags); in native_measureText() argument
1562 private native float native_measureText(String text, int bidiFlags); in native_measureText() argument
1644 … float maxWidth, int bidiFlags, float[] measuredWidth); in native_breakText() argument
1736 float maxWidth, int bidiFlags, float[] measuredWidth); in native_breakText() argument
2478 char[] text, int index, int count, int bidiFlags, float[] widths); in native_getTextWidths() argument
2480 String text, int start, int end, int bidiFlags, float[] widths); in native_getTextWidths() argument
2499 int bidiFlags, char[] text, int index, int count, float x, float y, long path); in native_getTextPath() argument
2501 int bidiFlags, String text, int start, int end, float x, float y, long path); in native_getTextPath() argument
2503 String text, int start, int end, int bidiFlags, Rect bounds); in nativeGetStringBounds() argument
[all …]
DCanvas.java2118 float vOffset, int bidiFlags, in native_drawTextOnPath() argument
/frameworks/minikin/libs/minikin/
DLineBreaker.cpp135 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; in addStyleRun() local
140 layout.doLayout(mTextBuf.data(), start, end - start, mTextBuf.size(), bidiFlags, style, in addStyleRun()
204 mTextBuf.size(), bidiFlags, style, *paint); in addStyleRun()
208 mTextBuf.size(), bidiFlags, style, *paint); in addStyleRun()
DLayout.cpp544 int bidiFlags, const FontStyle &style, const MinikinPaint &paint) { in doLayout() argument
551 bool isRtl = (bidiFlags & kDirection_Mask) != 0; in doLayout()
557 if (!(bidiFlags == kBidi_Force_LTR || bidiFlags == kBidi_Force_RTL)) { in doLayout()
561 UBiDiLevel bidiReq = bidiFlags; in doLayout()
562 if (bidiFlags == kBidi_Default_LTR) { in doLayout()
564 } else if (bidiFlags == kBidi_Default_RTL) { in doLayout()
/frameworks/minikin/include/minikin/
DLayout.h94 int bidiFlags, const FontStyle &style, const MinikinPaint &paint);