Home
last modified time | relevance | path

Searched refs:Bidi (Results 1 – 19 of 19) sorted by relevance

/frameworks/minikin/libs/minikin/
DBidiUtils.cpp32 static inline UBiDiLevel bidiToUBidiLevel(Bidi bidi) { in bidiToUBidiLevel()
34 case Bidi::LTR: in bidiToUBidiLevel()
36 case Bidi::RTL: in bidiToUBidiLevel()
38 case Bidi::DEFAULT_LTR: in bidiToUBidiLevel()
40 case Bidi::DEFAULT_RTL: in bidiToUBidiLevel()
42 case Bidi::FORCE_LTR: in bidiToUBidiLevel()
43 case Bidi::FORCE_RTL: in bidiToUBidiLevel()
75 BidiText::BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags) in BidiText()
DMeasuredText.cpp59 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getMetrics()
110 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in measureHyphenPiece()
186 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in appendLayout()
231 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getBounds()
261 Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getExtent()
DLayout.cpp48 void Layout::doLayout(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in doLayout()
60 float Layout::measureText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in measureText()
DBidiUtils.h47 BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags);
/frameworks/minikin/tests/unittest/
DBidiUtilsTest.cpp36 BidiText bidiText(text, Range(0, ltrLength), Bidi::LTR); in TEST()
45 BidiText bidiText(text, Range(0, ltrLength), Bidi::RTL); in TEST()
54 BidiText bidiText(text, Range(0, ltrLength), Bidi::DEFAULT_LTR); in TEST()
63 BidiText bidiText(text, Range(0, ltrLength), Bidi::DEFAULT_RTL); in TEST()
72 BidiText bidiText(text, Range(0, ltrLength), Bidi::FORCE_LTR); in TEST()
81 BidiText bidiText(text, Range(0, ltrLength), Bidi::FORCE_RTL); in TEST()
95 BidiText bidiText(text, Range(0, rtlLength), Bidi::LTR); in TEST()
104 BidiText bidiText(text, Range(0, rtlLength), Bidi::RTL); in TEST()
113 BidiText bidiText(text, Range(0, rtlLength), Bidi::DEFAULT_LTR); in TEST()
122 BidiText bidiText(text, Range(0, rtlLength), Bidi::DEFAULT_RTL); in TEST()
[all …]
DLayoutTest.cpp64 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
82 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
100 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
118 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
148 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
166 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
185 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
205 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
238 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
256 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
[all …]
/frameworks/base/core/java/android/text/
DAndroidBidi.java23 import android.icu.text.Bidi;
78 case Layout.DIR_REQUEST_LTR: paraLevel = Bidi.LTR; break; in bidi()
79 case Layout.DIR_REQUEST_RTL: paraLevel = Bidi.RTL; break; in bidi()
80 case Layout.DIR_REQUEST_DEFAULT_LTR: paraLevel = Bidi.LEVEL_DEFAULT_LTR; break; in bidi()
81 case Layout.DIR_REQUEST_DEFAULT_RTL: paraLevel = Bidi.LEVEL_DEFAULT_RTL; break; in bidi()
82 default: paraLevel = Bidi.LTR; break; in bidi()
84 final Bidi icuBidi = new Bidi(length /* maxLength */, 0 /* maxRunCount */); in bidi()
/frameworks/minikin/include/minikin/
DLayout.h47 enum class Bidi : uint8_t { enum
56 inline bool isRtl(Bidi bidi) { in isRtl()
59 inline bool isOverride(Bidi bidi) { in isOverride()
68 Layout(const U16StringPiece& str, const Range& range, Bidi bidiFlags, const MinikinPaint& paint, in Layout()
79 static float measureText(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
110 void doLayout(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
/frameworks/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java26 import android.icu.text.Bidi;
69 private final Bidi mBidi = new Bidi();
110 boolean isRtl = visualRun.getDirection() == Bidi.RTL; in renderText()
365 return Bidi.DIRECTION_LEFT_TO_RIGHT; in getIcuFlags()
368 return Bidi.DIRECTION_RIGHT_TO_LEFT; in getIcuFlags()
370 return Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in getIcuFlags()
372 return Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT; in getIcuFlags()
375 return Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in getIcuFlags()
/frameworks/base/core/tests/coretests/src/android/text/
DEmojiTest.java23 import android.icu.text.Bidi;
90 final Bidi icuBidi = new Bidi(0 /* maxLength */, 0 /* maxRunCount */); in testIsNewEmoji_Emoji()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.h45 ANDROID_API static minikin::Layout doLayout(const Paint* paint, minikin::Bidi bidiFlags,
51 ANDROID_API static float measureText(const Paint* paint, minikin::Bidi bidiFlags,
DMinikinUtils.cpp51 minikin::Layout MinikinUtils::doLayout(const Paint* paint, minikin::Bidi bidiFlags, in doLayout()
72 float MinikinUtils::measureText(const Paint* paint, minikin::Bidi bidiFlags, in measureText()
DCanvas.h38 enum class Bidi : uint8_t;
287 int contextCount, float x, float y, minikin::Bidi bidiFlags,
290 void drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags,
DCanvas.cpp152 int contextCount, float x, float y, minikin::Bidi bidiFlags, in drawText()
236 void Canvas::drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags, in drawTextOnPath()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp553 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextChars()
569 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextString()
577 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunChars()
593 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunString()
616 static_cast<minikin::Bidi>(bidiFlags), *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
631 get_canvas(canvasHandle)->drawTextOnPath(jchars, count, static_cast<minikin::Bidi>(bidiFlags), in drawTextOnPathString()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp89 x, y, minikin::Bidi::LTR, paint, nullptr, nullptr /* measured text */); in drawUtf8ToCanvas()
95 canvas->drawTextOnPath(utf16.get(), strlen(text), minikin::Bidi::LTR, path, 0, 0, paint, in drawUtf8ToCanvas()
/frameworks/minikin/tests/stresstest/
DMultithreadTest.cpp78 Layout layout(text, Range(0, text.size()), Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in thread_main()
/frameworks/base/config/
Dpreloaded-classes1934 android.icu.text.Bidi$ImpTabPair
1935 android.icu.text.Bidi
6279 java.text.Bidi
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...