Home
last modified time | relevance | path

Searched refs:Bidi (Results 1 – 23 of 23) 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/android/graphics/
DPaint.cpp122 MinikinUtils::measureText(&paint, static_cast<minikin::Bidi>(bidiFlags), typeface, text, in breakText()
214 static_cast<minikin::Bidi>(bidiFlags), typeface, text, start, count, contextCount, in doTextAdvances()
250 minikin::Bidi bidiFlags = dir == 1 ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doTextRunCursor()
317 paint, static_cast<minikin::Bidi>(bidiFlags), typeface, in getTextPath()
362 static_cast<minikin::Bidi>(bidiFlags), typeface, in doTextBounds()
481 static_cast<minikin::Bidi>(bidiFlags), typeface, in hasGlyph()
505 static_cast<minikin::Bidi>(bidiFlags), typeface, in hasGlyph()
521 minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doRunAdvance()
545 minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doOffsetForAdvance()
/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/
Dhiddenapi-greylist-max-o.txt28967 Landroid/icu/text/Bidi$BracketData;
28968 Landroid/icu/text/Bidi$BracketData;-><init>()V
28969 Landroid/icu/text/Bidi$BracketData;->isNumbersSpecial:Z
28970 Landroid/icu/text/Bidi$BracketData;->isoRunLast:I
28971 Landroid/icu/text/Bidi$BracketData;->isoRuns:[Landroid/icu/text/Bidi$IsoRun;
28972 Landroid/icu/text/Bidi$BracketData;->openings:[Landroid/icu/text/Bidi$Opening;
28973 Landroid/icu/text/Bidi$ImpTabPair;
28974 Landroid/icu/text/Bidi$ImpTabPair;-><init>([[B[[B[S[S)V
28975 Landroid/icu/text/Bidi$ImpTabPair;->impact:[[S
28976 Landroid/icu/text/Bidi$ImpTabPair;->imptab:[[[B
[all …]
Dpreloaded-classes1934 android.icu.text.Bidi$ImpTabPair
1935 android.icu.text.Bidi
6279 java.text.Bidi
Dboot-image-profile.txt8313 HSPLandroid/icu/text/Bidi$ImpTabPair;-><init>([[B[[B[S[S)V
8314 HSPLandroid/icu/text/Bidi;-><init>(II)V
8315 HSPLandroid/icu/text/Bidi;->DirPropFlag(B)I
8316 HSPLandroid/icu/text/Bidi;->GetParaLevelAt(I)B
8317 HSPLandroid/icu/text/Bidi;->directionFromFlags()B
8318 HSPLandroid/icu/text/Bidi;->getCustomizedClass(I)I
8319 HSPLandroid/icu/text/Bidi;->getDirProps()V
8320 HSPLandroid/icu/text/Bidi;->getDirPropsMemory(I)V
8321 HSPLandroid/icu/text/Bidi;->getLevelAt(I)B
8322 HSPLandroid/icu/text/Bidi;->getLevelsMemory(I)V
[all …]
/frameworks/base/api/
Dcurrent.txt19406 public class Bidi {
19407 ctor public Bidi();
19408 ctor public Bidi(int, int);
19409 ctor public Bidi(String, int);
19410 ctor public Bidi(java.text.AttributedCharacterIterator);
19411 ctor public Bidi(char[], int, byte[], int, int, int);
19415 method public android.icu.text.Bidi createLineBidi(int, int);
19458 method public android.icu.text.Bidi setLine(int, int);
66970 public final class Bidi {
66971 ctor public Bidi(String, int);
[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);