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()
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()
189 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in appendLayout()
234 const Bidi bidiFlag = mIsRtl ? Bidi::FORCE_RTL : Bidi::FORCE_LTR; in getBounds()
264 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.txt27079 Landroid/icu/text/Bidi$BracketData;-><init>()V
27080 Landroid/icu/text/Bidi$BracketData;->isNumbersSpecial:Z
27081 Landroid/icu/text/Bidi$BracketData;->isoRunLast:I
27082 Landroid/icu/text/Bidi$BracketData;->isoRuns:[Landroid/icu/text/Bidi$IsoRun;
27083 Landroid/icu/text/Bidi$BracketData;->openings:[Landroid/icu/text/Bidi$Opening;
27084 Landroid/icu/text/Bidi$ImpTabPair;-><init>([[B[[B[S[S)V
27085 Landroid/icu/text/Bidi$ImpTabPair;->impact:[[S
27086 Landroid/icu/text/Bidi$ImpTabPair;->imptab:[[[B
27087 Landroid/icu/text/Bidi$InsertPoints;-><init>()V
27088 Landroid/icu/text/Bidi$InsertPoints;->confirmed:I
[all …]
Dpreloaded-classes1934 android.icu.text.Bidi$ImpTabPair
1935 android.icu.text.Bidi
6276 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/non-updatable-api/
Dcurrent.txt19657 public class Bidi {
19658 ctor public Bidi();
19659 ctor public Bidi(int, int);
19660 ctor public Bidi(String, int);
19661 ctor public Bidi(java.text.AttributedCharacterIterator);
19662 ctor public Bidi(char[], int, byte[], int, int, int);
19666 method public android.icu.text.Bidi createLineBidi(int, int);
19709 method public android.icu.text.Bidi setLine(int, int);
68334 public final class Bidi {
68335 ctor public Bidi(String, int);
[all …]
/frameworks/base/api/
Dcurrent.txt19657 public class Bidi {
19658 ctor public Bidi();
19659 ctor public Bidi(int, int);
19660 ctor public Bidi(String, int);
19661 ctor public Bidi(java.text.AttributedCharacterIterator);
19662 ctor public Bidi(char[], int, byte[], int, int, int);
19666 method public android.icu.text.Bidi createLineBidi(int, int);
19709 method public android.icu.text.Bidi setLine(int, int);
68478 public final class Bidi {
68479 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);