Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DBidiUtils.cpp61 const UBiDiDirection runDir = ubidi_getVisualRun(mBidi.get(), runOffset, &startRun, &lengthRun); in getRunInfoAt()
82 mBidi.reset(ubidi_open()); in BidiText()
83 if (!mBidi) { in BidiText()
89 ubidi_setClassCallback(mBidi.get(), emojiBidiOverride, nullptr, nullptr, nullptr, &status); in BidiText()
96 ubidi_setPara(mBidi.get(), reinterpret_cast<const UChar*>(textBuf.data()), textBuf.size(), in BidiText()
103 const bool paraIsRTL = ubidi_getParaLevel(mBidi.get()) & 0x01; in BidiText()
104 const ssize_t rc = ubidi_countRuns(mBidi.get(), &status); in BidiText()
116 const UBiDiDirection runDir = ubidi_getVisualRun(mBidi.get(), 0, nullptr, nullptr); in BidiText()
DBidiUtils.h84 UBiDiUniquePtr mBidi; // Maybe null for single run.
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java121 private Bidi mBidi; field in MeasuredParagraph
172 mBidi = null; in reset()
203 if (mBidi == null) { in getParagraphDir()
206 return (mBidi.getParaLevel() & 0x01) == 0 in getParagraphDir()
222 if (mBidi == null) { in getDirections()
229 if ((mBidi.getParaLevel() & 0x01) == 0) { in getDirections()
237 Bidi bidi = mBidi.createLineBidi(start, end); in getDirections()
262 if ((mBidi.getBaseLevel() & 0x01) == 1) { in getDirections()
704 mBidi = new Bidi(mCopiedBuffer, 0, null, 0, mCopiedBuffer.length, bidiRequest); in resetAndAnalyzeBidi()
707 && mBidi.getParagraphIndex(mCopiedBuffer.length - 1) != 0) { in resetAndAnalyzeBidi()
[all …]