Home
last modified time | relevance | path

Searched refs:bidiFlag (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/libs/minikin/
DMeasuredText.cpp69 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getMetrics() local
72 for (const BidiText::RunInfo info : BidiText(textBuf, mRange, bidiFlag)) { in getMetrics()
108 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in measureText() local
110 for (const BidiText::RunInfo info : BidiText(textBuf, Range(0, textBuf.length()), bidiFlag)) { in measureText()
153 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in measureHyphenPiece() local
154 for (const BidiText::RunInfo info : BidiText(textBuf, range, bidiFlag)) { in measureHyphenPiece()
237 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in appendLayout() local
239 for (const BidiText::RunInfo info : BidiText(textBuf, range, bidiFlag)) { in appendLayout()
281 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getBounds() local
283 for (const BidiText::RunInfo info : BidiText(textBuf, range, bidiFlag)) { in getBounds()
[all …]
DMeasurement.cpp208 void getBounds(const U16StringPiece& str, const Range& range, Bidi bidiFlag, in getBounds() argument
212 for (const BidiText::RunInfo info : BidiText(str, range, bidiFlag)) { in getBounds()
240 MinikinExtent getFontExtent(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlag, in getFontExtent() argument
243 for (const BidiText::RunInfo info : BidiText(textBuf, range, bidiFlag)) { in getFontExtent()
/frameworks/minikin/tests/unittest/
DLayoutLetterSpacingTest.cpp52 Bidi bidiFlag = isRtl ? Bidi::RTL : Bidi::LTR; in LayoutTest() local
56 float width = Layout::measureText(text, range, bidiFlag, *mPaint, StartHyphenEdit::NO_EDIT, in LayoutTest()
61 Layout::measureText(text, range, bidiFlag, *mPaint, StartHyphenEdit::NO_EDIT, in LayoutTest()
63 Layout layout(text, range, bidiFlag, *mPaint, StartHyphenEdit::NO_EDIT, in LayoutTest()