/frameworks/base/core/java/android/util/ |
LayoutDirection.java | 21 * or right-to-left (RTL). It can also be inherited (from a parent) or deduced from the default 37 public static final int RTL = 1;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
TextDirection.h | 31 enum TextDirection { RTL, LTR };
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebTextRun.cpp | 42 return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion, rtl ? RTL : LTR, directionalOverride);
|
ExternalPopupMenu.cpp | 179 if (style.textDirection() == WebCore::RTL) 189 info->rightAligned = m_popupMenuClient->menuStyle().textDirection() == WebCore::RTL;
|
WebNotification.cpp | 97 return (m_private->direction() == RTL) ?
|
ValidationMessageClientImpl.cpp | 86 WebTextDirection dir = m_currentAnchor->renderer()->style()->direction() == RTL ? WebTextDirectionRightToLeft : WebTextDirectionLeftToRight;
|
WebPopupMenuImpl.cpp | 103 client()->setToolTipText(container->getSelectedItemToolTip(), container->menuStyle().textDirection() == WebCore::RTL ? WebTextDirectionRightToLeft : WebTextDirectionLeftToRight);
|
/external/icu4c/common/ |
uscript_props.cpp | 39 const int32_t RTL = 1 << 24; 48 0x0628 | RECOMMENDED | RTL, // Arab 65 0x05D0 | RECOMMENDED | RTL, // Hebr 80 0x0710 | LIMITED_USE | RTL, // Syrc 83 0x078C | RECOMMENDED | RTL, // Thaa 93 0x10800 | EXCLUSION | RTL, // Cprt 103 0x10A00 | EXCLUSION | RTL, // Khar 130 0x0840 | LIMITED_USE | RTL, // Mand 132 0x10980 | EXCLUSION | RTL, // Mero 133 0x07CA | LIMITED_USE | RTL, // Nko [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
BidiFormatterTest.java | 28 private static final BidiFormatter RTL_FMT = BidiFormatter.getInstance(true /* RTL context */); 33 new BidiFormatter.Builder(true /* RTL context */).stereoReset(false).build(); 68 assertEquals("uniform dir matches RTL context", 69 "", RTL_FMT.markAfter(HE, TextDirectionHeuristics.RTL)); 73 assertEquals("exit dir opposite to RTL context", 74 RLM, RTL_FMT.markAfter(HE + EN, TextDirectionHeuristics.RTL)); 77 LRM, LTR_FMT.markAfter(HE + EN, TextDirectionHeuristics.RTL)); 78 assertEquals("overall dir (but not exit dir) opposite to RTL context", 83 assertEquals("exit dir neutral, overall dir matches RTL context", 84 "", RTL_FMT.markAfter(".", TextDirectionHeuristics.RTL)); [all...] |
/frameworks/support/v4/tests/java/android/support/v4/text/ |
BidiFormatterTest.java | 27 private static final BidiFormatter RTL_FMT = BidiFormatter.getInstance(true /* RTL context */); 32 new BidiFormatter.Builder(true /* RTL context */).stereoReset(false).build(); 77 LTR_FMT_EXIT_RESET.unicodeWrap(".", TextDirectionHeuristicsCompat.RTL)); 78 assertEquals("uniform dir opposite to RTL context", 81 assertEquals("uniform dir opposite to RTL context, stereo reset", 84 assertEquals("uniform dir opposite to RTL context, stereo reset, no isolation", 87 assertEquals("neutral treated as opposite to RTL context", 106 assertEquals("exit dir opposite to RTL context", 108 RTL_FMT_EXIT_RESET.unicodeWrap(HE + EN, TextDirectionHeuristicsCompat.RTL)); 109 assertEquals("exit dir opposite to RTL context, stereo reset" [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldBidiTest.java | 76 String RTL = "\u05DC\u05DD"; 78 String defText = LTR + newLine + RTL + LTR + RTL;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardCodesSet.java | 77 // This array should be aligned with the array RTL below. 105 private static final int[] RTL = { 139 LANGUAGE_ARABIC, RTL, 140 LANGUAGE_PERSIAN, RTL, 141 LANGUAGE_HEBREW, RTL, 145 if (DEFAULT.length != RTL.length || DEFAULT.length != ID_TO_NAME.length) {
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/harfbuzz/ |
HarfBuzzShaper.h | 91 bool rtl() { return m_direction == RTL; } function in class:WebCore::HarfBuzzShaper::HarfBuzzRun
|
/external/chromium_org/third_party/WebKit/Source/modules/notifications/ |
Notification.h | 105 TextDirection direction() const { return dir() == "rtl" ? RTL : LTR; }
|
/frameworks/base/core/java/android/text/ |
TextDirectionHeuristics.java | 46 public static final TextDirectionHeuristic RTL = 125 * Return true if the default text direction is rtl. 177 * Returns whether the range of text is RTL according to the algorithm.
|
BidiFormatter.java | 56 * number.) Still, the safest policy is to do the "reset" on both ends of each string, since RTL 148 * @param rtlContext Whether the context directionality is RTL. 166 * @param isRtlContext Whether the context is RTL or not. 225 true /* RTL context */, 244 * @param rtlContext Whether the context directionality is RTL. 260 * @param isRtlContext Whether the context directionality is RTL or not. 271 * @return Whether the context directionality is RTL 297 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context; 326 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context [all...] |
MeasuredText.java | 138 } else if (textDir == TextDirectionHeuristics.RTL) {
|
/frameworks/support/v4/java/android/support/v4/text/ |
TextDirectionHeuristicsCompat.java | 39 public static final android.support.v4.text.TextDirectionHeuristicCompat RTL = 119 * Return true if the default text direction is rtl. 171 * Returns whether the range of text is RTL according to the algorithm.
|
BidiFormatter.java | 52 * number.) Still, the safest policy is to do the "reset" on both ends of each string, since RTL 144 * @param rtlContext Whether the context directionality is RTL. 162 * @param isRtlContext Whether the context is RTL or not. 221 true /* RTL context */, 240 * @param rtlContext Whether the context directionality is RTL. 256 * @param isRtlContext Whether the context directionality is RTL or not. 267 * @return Whether the context directionality is RTL 293 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context; 320 * @return LRM for RTL text in LTR context; RLM for LTR text in RTL context [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
WidthIterator.cpp | 61 unsigned expansionOpportunityCount = m_run.is8Bit() ? Font::expansionOpportunityCount(m_run.characters8(), m_run.length(), m_run.ltr() ? LTR : RTL, isAfterExpansion) : Font::expansionOpportunityCount(m_run.characters16(), m_run.length(), m_run.ltr() ? LTR : RTL, isAfterExpansion); 146 bool rtl = m_run.rtl(); local 165 const GlyphData& glyphData = glyphDataForCharacter(character, rtl, textIterator.currentCharacter(), advanceLength); 200 const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(toUpper(character), rtl); 235 || (m_run.rtl() && textIterator.currentCharacter())) { 296 glyphBuffer->add(glyph, fontData, (rtl ? oldWidth + lastRoundingWidth : width));
|
TextRun.h | 201 bool rtl() const { return m_direction == RTL; }
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
InlineIterator.h | 116 return dir == RTL ? RightToLeftEmbedding : LeftToRightEmbedding; 117 return dir == RTL ? RightToLeftOverride : LeftToRightOverride;
|
InlineBox.h | 250 TextDirection direction() const { return bidiLevel() % 2 ? RTL : LTR; }
|
/external/chromium_org/chrome_frame/cfinstall/src/implementation/ |
dialoginteractiondelegate.js | 71 '_zoom: 1; /* Ensures proper width in IE6 RTL. */' +
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 135 LayoutDirection dir = isRtl ? LayoutDirection.RTL : LayoutDirection.LTR;
|