/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 478 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, in doTextAdvances() argument 500 const float advance = MinikinUtils::measureText(paint, bidiFlags, typeface, text, in doTextAdvances() 511 jint bidiFlags, jfloatArray advances, jint advancesIndex) { in getTextAdvances___CIIIII_FI() argument 516 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); in getTextAdvances___CIIIII_FI() 523 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, in getTextAdvances__StringIIIII_FI() argument 529 start - contextStart, end - start, contextEnd - contextStart, bidiFlags, in getTextAdvances__StringIIIII_FI() 594 jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) { in getTextPath() argument 596 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count); in getTextPath() 613 jlong typefaceHandle, jint bidiFlags, in getTextPath___C() argument 619 getTextPath(env, paint, typeface, textArray + index, count, bidiFlags, x, y, path); in getTextPath___C() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 625 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) { in nBreakText() argument 647 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags); in nBreakText() 668 float maxWidth, int bidiFlags, float[] measuredWidth) { in nBreakText() argument 670 maxWidth, bidiFlags, measuredWidth); in nBreakText() 967 int bidiFlags, float[] advances, int advancesIndex) { in nGetTextAdvances() argument 983 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, bidiFlags); in nGetTextAdvances() 990 int bidiFlags, float[] advances, int advancesIndex) { in nGetTextAdvances() argument 997 contextStart, contextEnd - contextStart, bidiFlags, advances, advancesIndex); in nGetTextAdvances() 1020 int bidiFlags, char[] text, int index, int count, float x, float y, long path) { in nGetTextPath() argument 1028 int bidiFlags, String text, int start, int end, float x, float y, long path) { in nGetTextPath() argument [all …]
|
D | BidiRenderer.java | 110 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()
|
D | Canvas_Delegate.java | 979 float vOffset, int bidiFlags, in native_drawTextOnPath() argument 991 int bidiFlags, long paint, in native_drawTextOnPath() argument
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 53 void MinikinUtils::doLayout(Layout* layout, const Paint* paint, int bidiFlags, in doLayout() argument 60 layout->doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint); in doLayout() 63 float MinikinUtils::measureText(const Paint* paint, int bidiFlags, Typeface* typeface, in measureText() argument 68 return Layout::measureText(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint, in measureText()
|
D | Canvas.cpp | 150 float x, float y, int bidiFlags, const Paint& origPaint, Typeface* typeface) { in drawText() argument 155 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCount); in drawText() 209 void Canvas::drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, in drawTextOnPath() argument 213 MinikinUtils::doLayout(&layout, &paintCopy, bidiFlags, typeface, text, 0, count, count); in drawTextOnPath()
|
D | MinikinUtils.h | 40 ANDROID_API static void doLayout(Layout* layout, const Paint* paint, int bidiFlags, 44 ANDROID_API static float measureText(const Paint* paint, int bidiFlags, Typeface* typeface,
|
D | Canvas.h | 230 float x, float y, int bidiFlags, const Paint& origPaint, Typeface* typeface); 232 void drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path,
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 478 jint index, jint count, jfloat x, jfloat y, jint bidiFlags, in drawTextChars() argument 484 bidiFlags, *paint, typeface); in drawTextChars() 489 jint start, jint end, jfloat x, jfloat y, jint bidiFlags, in drawTextString() argument 496 bidiFlags, *paint, typeface); in drawTextString() 506 const int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; in drawTextRunChars() local 509 contextCount, x, y, bidiFlags, *paint, typeface); in drawTextRunChars() 520 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; in drawTextRunString() local 525 contextCount, x, y, bidiFlags, *paint, typeface); in drawTextRunString() 531 jfloat vOffset, jint bidiFlags, jlong paintHandle, in drawTextOnPathChars() argument 539 get_canvas(canvasHandle)->drawTextOnPath(jchars + index, count, bidiFlags, *path, in drawTextOnPathChars() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
D | StaticLayout_Delegate.java | 95 int bidiFlags = isRtl ? Paint.BIDI_FORCE_RTL : Paint.BIDI_FORCE_LTR; in nAddStyleRun() local 98 bidiFlags); in nAddStyleRun() 213 float[] widths, int bidiFlags) { in measureText() argument 216 .renderText(index, index + count, bidiFlags, widths, 0, false); in measureText()
|
/frameworks/minikin/sample/ |
D | example.cpp | 87 int bidiFlags = 0; in runMinikinTest() local 92 …layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, … in runMinikinTest()
|
D | example_skia.cpp | 119 int bidiFlags = 0; in runMinikinTest() local 124 …layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, … in runMinikinTest()
|
/frameworks/minikin/libs/minikin/ |
D | Layout.cpp | 475 BidiText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags); 543 BidiText::BidiText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, int bidiFlags) in BidiText() argument 545 mIsRtl((bidiFlags & kDirection_Mask) != 0) { in BidiText() 546 if (bidiFlags == kBidi_Force_LTR || bidiFlags == kBidi_Force_RTL) { in BidiText() 556 UBiDiLevel bidiReq = bidiFlags; in BidiText() 557 if (bidiFlags == kBidi_Default_LTR) { in BidiText() 559 } else if (bidiFlags == kBidi_Default_RTL) { in BidiText() 580 int bidiFlags, const FontStyle &style, const MinikinPaint &paint) { in doLayout() argument 590 for (const BidiText::Iter::RunInfo& runInfo : BidiText(buf, start, count, bufSize, bidiFlags)) { in doLayout() 598 int bidiFlags, const FontStyle &style, const MinikinPaint &paint, in measureText() argument [all …]
|
D | LineBreaker.cpp | 126 int bidiFlags = isRtl ? kBidi_Force_RTL : kBidi_Force_LTR; in addStyleRun() local 130 width = Layout::measureText(mTextBuf.data(), start, end - start, mTextBuf.size(), bidiFlags, in addStyleRun() 193 lastBreak, j - lastBreak, mTextBuf.size(), bidiFlags, style, in addStyleRun() 199 afterWord - j, mTextBuf.size(), bidiFlags, style, *paint, in addStyleRun()
|
/frameworks/minikin/include/minikin/ |
D | Layout.h | 94 int bidiFlags, const FontStyle &style, const MinikinPaint &paint); 97 int bidiFlags, const FontStyle &style, const MinikinPaint &paint,
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1847 … float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument 1939 float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument 2682 int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument 2685 int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument 2693 int bidiFlags, char[] text, int index, int count, float x, float y, long path); in nGetTextPath() argument 2695 int bidiFlags, String text, int start, int end, float x, float y, long path); in nGetTextPath() argument 2697 String text, int start, int end, int bidiFlags, Rect bounds); in nGetStringBounds() argument 2699 char[] text, int index, int count, int bidiFlags, Rect bounds); in nGetCharArrayBounds() argument 2714 int bidiFlags, String string); in nHasGlyph() argument
|
D | Canvas.java | 2139 float vOffset, int bidiFlags, in native_drawTextOnPath() argument
|