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()
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.java20 import android.icu.text.Bidi;
48 case Layout.DIR_REQUEST_LTR: paraLevel = Bidi.LTR; break; in bidi()
49 case Layout.DIR_REQUEST_RTL: paraLevel = Bidi.RTL; break; in bidi()
50 case Layout.DIR_REQUEST_DEFAULT_LTR: paraLevel = Bidi.LEVEL_DEFAULT_LTR; break; in bidi()
51 case Layout.DIR_REQUEST_DEFAULT_RTL: paraLevel = Bidi.LEVEL_DEFAULT_RTL; break; in bidi()
52 default: paraLevel = Bidi.LTR; break; in bidi()
54 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()
366 return Bidi.DIRECTION_LEFT_TO_RIGHT; in getIcuFlags()
369 return Bidi.DIRECTION_RIGHT_TO_LEFT; in getIcuFlags()
371 return Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in getIcuFlags()
373 return Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT; in getIcuFlags()
376 return Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT; in getIcuFlags()
/frameworks/base/core/tests/coretests/src/android/text/
DEmojiTest.java23 import android.icu.text.Bidi;
106 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;
265 int contextCount, float x, float y, minikin::Bidi bidiFlags,
268 void drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags,
DCanvas.cpp144 int contextCount, float x, float y, minikin::Bidi bidiFlags, in drawText()
230 void Canvas::drawTextOnPath(const uint16_t* text, int count, minikin::Bidi bidiFlags, in drawTextOnPath()
/frameworks/base/libs/hwui/jni/
DPaint.cpp121 MinikinUtils::measureText(&paint, static_cast<minikin::Bidi>(bidiFlags), typeface, text, in breakText()
213 static_cast<minikin::Bidi>(bidiFlags), typeface, text, start, count, contextCount, in doTextAdvances()
249 minikin::Bidi bidiFlags = dir == 1 ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doTextRunCursor()
316 paint, static_cast<minikin::Bidi>(bidiFlags), typeface, in getTextPath()
361 static_cast<minikin::Bidi>(bidiFlags), typeface, in doTextBounds()
480 static_cast<minikin::Bidi>(bidiFlags), typeface, in hasGlyph()
504 static_cast<minikin::Bidi>(bidiFlags), typeface, in hasGlyph()
520 minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doRunAdvance()
544 minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in doOffsetForAdvance()
Dandroid_graphics_Canvas.cpp555 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextChars()
571 static_cast<minikin::Bidi>(bidiFlags), *paint, typeface, nullptr /* measured text */); in drawTextString()
579 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunChars()
595 const minikin::Bidi bidiFlags = isRtl ? minikin::Bidi::FORCE_RTL : minikin::Bidi::FORCE_LTR; in drawTextRunString()
618 static_cast<minikin::Bidi>(bidiFlags), *path, hOffset, vOffset, *paint, typeface); in drawTextOnPathChars()
633 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/
Dboot-image-profile.txt11302 HSPLandroid/icu/text/Bidi$ImpTabPair;-><init>([[B[[B[S[S)V
11303 HSPLandroid/icu/text/Bidi$InsertPoints;-><init>()V
11304 HSPLandroid/icu/text/Bidi;-><clinit>()V
11305 HSPLandroid/icu/text/Bidi;-><init>(II)V
11306 HSPLandroid/icu/text/Bidi;->DirPropFlag(B)I
11307 HSPLandroid/icu/text/Bidi;->DirPropFlagLR(B)I
11308 HSPLandroid/icu/text/Bidi;->GetParaLevelAt(I)B
11309 HSPLandroid/icu/text/Bidi;->IsDefaultLevel(B)Z
11310 HSPLandroid/icu/text/Bidi;->directionFromFlags()B
11311 HSPLandroid/icu/text/Bidi;->getCustomizedClass(I)I
[all …]
Dpreloaded-classes3173 android.icu.text.Bidi$ImpTabPair
3174 android.icu.text.Bidi
10711 java.text.Bidi
/frameworks/base/api/
Dcurrent.txt20190 public class Bidi {
20191 ctor public Bidi();
20192 ctor public Bidi(int, int);
20193 ctor public Bidi(String, int);
20194 ctor public Bidi(java.text.AttributedCharacterIterator);
20195 ctor public Bidi(char[], int, byte[], int, int, int);
20199 method public android.icu.text.Bidi createLineBidi(int, int);
20242 method public android.icu.text.Bidi setLine(int, int);
70947 public final class Bidi {
70948 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);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...