Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp52 minikin::Layout MinikinUtils::doLayout(const Paint* paint, minikin::Bidi bidiFlags, in doLayout() argument
66 return minikin::Layout(textBuf.substr(contextRange), range - contextStart, bidiFlags, in doLayout()
73 void MinikinUtils::getBounds(const Paint* paint, minikin::Bidi bidiFlags, const Typeface* typeface, in getBounds() argument
81 minikin::getBounds(textBuf, minikin::Range(0, textBuf.size()), bidiFlags, minikinPaint, in getBounds()
85 float MinikinUtils::measureText(const Paint* paint, minikin::Bidi bidiFlags, in measureText() argument
94 return minikin::Layout::measureText(textBuf, range, bidiFlags, minikinPaint, startHyphen, in measureText()
98 minikin::MinikinExtent MinikinUtils::getFontExtent(const Paint* paint, minikin::Bidi bidiFlags, in getFontExtent() argument
105 return minikin::getFontExtent(textBuf, range, bidiFlags, minikinPaint); in getFontExtent()
DMinikinUtils.h45 static minikin::Layout doLayout(const Paint* paint, minikin::Bidi bidiFlags,
51 static void getBounds(const Paint* paint, minikin::Bidi bidiFlags, const Typeface* typeface,
54 static float measureText(const Paint* paint, minikin::Bidi bidiFlags,
59 static minikin::MinikinExtent getFontExtent(const Paint* paint, minikin::Bidi bidiFlags,
DCanvas.cpp162 int contextCount, float x, float y, minikin::Bidi bidiFlags, in drawText() argument
172 minikin::Layout layout = MinikinUtils::doLayout(&paint, bidiFlags, typeface, text, textSize, in drawText()
245 void Canvas::drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags, in drawTextOnPath() argument
257 MinikinUtils::doLayout(&paint, bidiFlags, typeface, text, count, // text buffer in drawTextOnPath()
DCanvas.h257 int contextCount, float x, float y, minikin::Bidi bidiFlags,
260 void drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags,
/frameworks/minikin/libs/minikin/
DBidiUtils.cpp75 BidiText::BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags) in BidiText() argument
76 : mRange(range), mIsRtl(isRtl(bidiFlags)), mRunCount(1 /* by default, single run */) { in BidiText()
77 if (isOverride(bidiFlags)) { in BidiText()
95 const UBiDiLevel bidiReq = bidiToUBidiLevel(bidiFlags); in BidiText()
DLayout.cpp48 void Layout::doLayout(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in doLayout() argument
54 for (const BidiText::RunInfo& runInfo : BidiText(textBuf, range, bidiFlags)) { in doLayout()
60 float Layout::measureText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in measureText() argument
64 for (const BidiText::RunInfo& runInfo : BidiText(textBuf, range, bidiFlags)) { in measureText()
DBidiUtils.h47 BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags);
/frameworks/base/libs/hwui/jni/
DPaint.cpp101 const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, in breakText() argument
107 MinikinUtils::measureText(&paint, static_cast<minikin::Bidi>(bidiFlags), typeface, text, in breakText()
133 jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) { in breakTextC() argument
155 bidiFlags, jmeasuredWidth, forwardTextDirection); in breakTextC()
162 jboolean forwards, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) { in breakTextS() argument
170 …count = breakText(env, *paint, typeface, text, count, maxWidth, bidiFlags, jmeasuredWidth, forward… in breakTextS()
176 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, in doTextAdvances() argument
199 static_cast<minikin::Bidi>(bidiFlags), typeface, text, start, count, contextCount, in doTextAdvances()
209 jint bidiFlags, jfloatArray advances, jint advancesIndex) { in getTextAdvances___CIIIII_FI() argument
214 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); in getTextAdvances___CIIIII_FI()
[all …]
Dandroid_graphics_Canvas.cpp591 jint index, jint count, jfloat x, jfloat y, jint bidiFlags, in drawTextChars() argument
602 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextChars()
606 jint start, jint end, jfloat x, jfloat y, jint bidiFlags, in drawTextString() argument
618 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextString()
626 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunChars() local
636 bidiFlags, *paint, typeface, mt); in drawTextRunChars()
642 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunString() local
652 bidiFlags, *paint, typeface, nullptr /* measured text */); in drawTextRunString()
657 jfloat vOffset, jint bidiFlags, jlong paintHandle) { in drawTextOnPathChars() argument
665 static_cast<minikin::Bidi>(bidiFlags), *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
[all …]
/frameworks/base/libs/hwui/jni/text/
DTextShaper.cpp50 int contextStart, int contextCount, minikin::Bidi bidiFlags, in shapeTextRun() argument
55 minikin::Layout layout = MinikinUtils::doLayout(&paint, bidiFlags, typeface, in shapeTextRun()
83 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in TextShaper_shapeTextRunChars() local
88 bidiFlags, in TextShaper_shapeTextRunChars()
99 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in TextShaper_shapeTextRunString() local
104 bidiFlags, in TextShaper_shapeTextRunString()
/frameworks/minikin/include/minikin/
DLayout.h68 Layout(const U16StringPiece& str, const Range& range, Bidi bidiFlags, const MinikinPaint& paint, in Layout() argument
71 doLayout(str, range, bidiFlags, paint, startHyphen, endHyphen); in Layout()
79 static float measureText(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
109 void doLayout(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
DMeasurement.h34 void getBounds(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
38 MinikinExtent getFontExtent(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
/frameworks/base/graphics/java/android/graphics/
DPaint.java3235 float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument
3237 float maxWidth, int bidiFlags, float[] measuredWidth); in nBreakText() argument
3239 int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument
3241 int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument
3246 private static native void nGetTextPath(long paintPtr, int bidiFlags, char[] text, int index, in nGetTextPath() argument
3248 private static native void nGetTextPath(long paintPtr, int bidiFlags, String text, int start, in nGetTextPath() argument
3251 int bidiFlags, Rect bounds); in nGetStringBounds() argument
3253 int count, int bidiFlags, Rect bounds); in nGetCharArrayBounds() argument
3254 private static native boolean nHasGlyph(long paintPtr, int bidiFlags, String string); in nHasGlyph() argument
DBaseRecordingCanvas.java741 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
DBaseCanvas.java824 long nativePath, float hOffset, float vOffset, int bidiFlags, long nativePaint); in nDrawTextOnPath() argument
/frameworks/minikin/tests/unittest/
DLayoutTest.cpp39 static void getBounds(const U16StringPiece& text, Bidi bidiFlags, const MinikinPaint& paint, in getBounds() argument
41 getBounds(text, Range(0, text.size()), bidiFlags, paint, StartHyphenEdit::NO_EDIT, in getBounds()