Home
last modified time | relevance | path

Searched refs:Bidi (Results 1 – 24 of 24) 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()
DBidiUtils.h47 BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags);
DMeasuredText.cpp59 const MinikinPaint& paint, Bidi bidiFlags, in buildLayout()
DLayout.cpp228 void Layout::doLayout(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in doLayout()
244 Bidi bidiFlags, const MinikinPaint& paint, in doLayoutWithPrecomputedPieces()
260 Bidi bidiFlags, in getBoundsWithPrecomputedPieces()
273 float Layout::measureText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in measureText()
/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.cpp51 layout.doLayout(utf16, range, Bidi::FORCE_LTR, paint, StartHyphenEdit::NO_EDIT, in doLayout()
61 layout.doLayoutWithPrecomputedPieces(utf16, range, Bidi::FORCE_LTR, paint, in doLayoutWithPrecomputedPieces()
95 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
115 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
135 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
155 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
191 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
211 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
235 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
257 layout.doLayout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F()
[all …]
/frameworks/minikin/include/minikin/
DMeasuredText.h87 Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getMetrics()
94 Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getBounds()
103 Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in measureHyphenPiece()
183 Bidi bidiFlag, StartHyphenEdit startHyphen, EndHyphenEdit endHyphen,
DLayout.h50 enum class Bidi : uint8_t { enum
59 inline bool isRtl(Bidi bidi) { in isRtl()
62 inline bool isOverride(Bidi bidi) { in isOverride()
88 void doLayout(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
92 Bidi bidiFlags, const MinikinPaint& paint,
97 Bidi bidiFlags,
101 static float measureText(const U16StringPiece& str, const Range& range, Bidi bidiFlags,
/frameworks/base/core/java/android/text/
DAndroidBidi.java22 import android.icu.text.Bidi;
76 case Layout.DIR_REQUEST_LTR: paraLevel = Bidi.LTR; break; in bidi()
77 case Layout.DIR_REQUEST_RTL: paraLevel = Bidi.RTL; break; in bidi()
78 case Layout.DIR_REQUEST_DEFAULT_LTR: paraLevel = Bidi.LEVEL_DEFAULT_LTR; break; in bidi()
79 case Layout.DIR_REQUEST_DEFAULT_RTL: paraLevel = Bidi.LEVEL_DEFAULT_RTL; break; in bidi()
80 default: paraLevel = Bidi.LTR; break; in bidi()
82 final Bidi icuBidi = new Bidi(length /* maxLength */, 0 /* maxRunCount */); in bidi()
/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()
335 return Bidi.DIRECTION_LEFT_TO_RIGHT; in getIcuFlags()
338 return Bidi.DIRECTION_RIGHT_TO_LEFT; in getIcuFlags()
340 return Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in getIcuFlags()
342 return Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT; in getIcuFlags()
345 return Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in getIcuFlags()
/frameworks/base/core/tests/coretests/src/android/text/
DEmojiTest.java23 import android.icu.text.Bidi;
71 final Bidi icuBidi = new Bidi(0 /* maxLength */, 0 /* maxRunCount */); in testIsNewEmoji_Emoji5()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.h45 ANDROID_API static minikin::Layout doLayout(const Paint* paint, minikin::Bidi bidiFlags,
50 ANDROID_API static float measureText(const Paint* paint, minikin::Bidi bidiFlags,
DMinikinUtils.cpp50 minikin::Layout MinikinUtils::doLayout(const Paint* paint, minikin::Bidi bidiFlags, in doLayout()
70 float MinikinUtils::measureText(const Paint* paint, minikin::Bidi bidiFlags, in measureText()
DCanvas.h38 enum class Bidi : uint8_t;
272 minikin::Bidi bidiFlags, const Paint& origPaint, const Typeface* typeface,
275 void drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags,
DCanvas.cpp160 float y, minikin::Bidi bidiFlags, const Paint& origPaint, in drawText()
210 void Canvas::drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags, in drawTextOnPath()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp497 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr); in drawTextChars()
509 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr); in drawTextString()
520 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunChars()
533 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunString()
552 static_cast<minikin::Bidi>(bidiFlags), *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
567 get_canvas(canvasHandle)->drawTextOnPath(jchars, count, static_cast<minikin::Bidi>(bidiFlags), in drawTextOnPathString()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp117 MinikinUtils::measureText(&paint, static_cast<minikin::Bidi>(bidiFlags), typeface, text, in breakText()
209 static_cast<minikin::Bidi>(bidiFlags), typeface, text, start, count, contextCount, in doTextAdvances()
245 minikin::Bidi bidiFlags = dir == 1 ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doTextRunCursor()
311 paint, static_cast<minikin::Bidi>(bidiFlags), typeface, text, 0, count, count, in getTextPath()
354 static_cast<minikin::Bidi>(bidiFlags), typeface, text, 0, count, count, nullptr); in doTextBounds()
469 static_cast<minikin::Bidi>(bidiFlags), typeface, str.get(), 0, str.size(), in hasGlyph()
490 static_cast<minikin::Bidi>(bidiFlags), typeface, ZZ_FLAG_STR, 0, 4, 4, in hasGlyph()
503 minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doRunAdvance()
527 minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doOffsetForAdvance()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp127 canvas->drawText(utf16.get(), 0, strlen(text), strlen(text), x, y, minikin::Bidi::LTR, in drawUtf8ToCanvas()
136 canvas->drawTextOnPath(utf16.get(), strlen(text), minikin::Bidi::LTR, path, 0, 0, glyphPaint, in drawUtf8ToCanvas()
/frameworks/minikin/tests/stresstest/
DMultithreadTest.cpp78 layout.doLayout(text, Range(0, text.size()), Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in thread_main()
/frameworks/base/config/
Dpreloaded-classes1694 android.icu.text.Bidi
1695 android.icu.text.Bidi$ImpTabPair
5288 java.text.Bidi
Dboot-image-profile.txt2892 HPLandroid/icu/text/Bidi;-><init>([CI[BIII)V
2893 HPLandroid/icu/text/Bidi;->adjustWSLevels()V
2894 HPLandroid/icu/text/Bidi;->baseIsLeftToRight()Z
2895 HPLandroid/icu/text/Bidi;->bracketInit(Landroid/icu/text/Bidi$BracketData;)V
2896 HPLandroid/icu/text/Bidi;->bracketProcessChar(Landroid/icu/text/Bidi$BracketData;I)V
2897 HPLandroid/icu/text/Bidi;->processPropertySeq(Landroid/icu/text/Bidi$LevState;SII)V
2898 HPLandroid/icu/text/Bidi;->resolveImplicitLevels(IISS)V
11297 HPLjava/text/Bidi;-><init>(Ljava/lang/String;I)V
11298 HPLjava/text/Bidi;->baseIsLeftToRight()Z
11299 HPLjava/text/Bidi;->getLevelAt(I)I
[all …]
Dhiddenapi-public-dex.txt64577 Ljava/text/Bidi;
64578 Ljava/text/Bidi;-><init>(Ljava/lang/String;I)V
64579 Ljava/text/Bidi;-><init>(Ljava/text/AttributedCharacterIterator;)V
64580 Ljava/text/Bidi;-><init>([CI[BIII)V
64581 Ljava/text/Bidi;->baseIsLeftToRight()Z
64582 Ljava/text/Bidi;->createLineBidi(II)Ljava/text/Bidi;
64583 Ljava/text/Bidi;->DIRECTION_DEFAULT_LEFT_TO_RIGHT:I
64584 Ljava/text/Bidi;->DIRECTION_DEFAULT_RIGHT_TO_LEFT:I
64585 Ljava/text/Bidi;->DIRECTION_LEFT_TO_RIGHT:I
64586 Ljava/text/Bidi;->DIRECTION_RIGHT_TO_LEFT:I
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt47061 public final class Bidi {
47062 ctor public Bidi(java.text.AttributedCharacterIterator);
47063 ctor public Bidi(char[], int, byte[], int, int, int);
47064 ctor public Bidi(java.lang.String, int);
47066 method public java.text.Bidi createLineBidi(int, int);
/frameworks/base/api/
Dcurrent.txt63667 public final class Bidi {
63668 ctor public Bidi(java.lang.String, int);
63669 ctor public Bidi(java.text.AttributedCharacterIterator);
63670 ctor public Bidi(char[], int, byte[], int, int, int);
63672 method public java.text.Bidi createLineBidi(int, int);