HomeSort by relevance Sort by last modified time
    Searched refs:RTL (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/webkit/Source/WebCore/platform/text/
TextDirection.h 31 enum TextDirection { RTL, LTR };
  /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 76 // This array should be aligned with the array RTL below.
103 private static final int[] RTL = {
136 LANGUAGE_ARABIC, RTL,
137 LANGUAGE_PERSIAN, RTL,
138 LANGUAGE_HEBREW, RTL,
142 if (DEFAULT.length != RTL.length || DEFAULT.length != ID_TO_NAME.length) {
  /external/webkit/Source/WebKit/chromium/src/
ExternalPopupMenu.cpp 144 if (style.textDirection() == WebCore::RTL)
156 m_popupMenuClient->menuStyle().textDirection() == WebCore::RTL;
WebNotification.cpp 101 return (m_private->direction() == RTL) ?
ChromeClientImpl.cpp 625 WebTextDirection textDirection = (dir == RTL) ?
773 if (inputItem.textDirection == WebCore::RTL)
798 info->rightAligned = popupContainer->menuStyle().textDirection() == RTL;
842 // FIXME: RTL style not supported by the compositor yet.
  /external/webkit/Source/WebCore/notifications/
Notification.h 82 TextDirection direction() const { return dir() == "rtl" ? RTL : LTR; }
  /external/webkit/Source/WebCore/rendering/
InlineIterator.h 109 return dir == RTL ? RightToLeftEmbedding : LeftToRightEmbedding;
110 return dir == RTL ? RightToLeftOverride : LeftToRightOverride;
InlineBox.h 277 TextDirection direction() const { return m_bidiEmbeddingLevel % 2 ? RTL : LTR; }
RenderThemeChromiumLinux.cpp 271 extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 7 : right - 13;
  /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/webkit/Source/WebCore/platform/chromium/
PopupMenuChromium.cpp 351 // Use popupInitialCoordinate.x() + rightOffset because RTL position
359 if (m_listBox->m_popupClient->menuStyle().textDirection() == RTL && widgetRect.x() < screen.x()) {
445 // Adjust the starting x-axis for RTL dropdown. For RTL dropdown, the right edge
451 bool rightAligned = m_listBox->m_popupClient->menuStyle().textDirection() == RTL;
932 bool rightAligned = m_popupClient->menuStyle().textDirection() == RTL;
946 // FIXME: We should leftTruncate for the rtl case.
962 bool rtl = style.textDirection() == RTL; local
    [all...]
  /external/webkit/Source/WebCore/editing/mac/
EditorMac.mm 183 case RTL:
  /external/webkit/Source/WebCore/platform/graphics/
WidthIterator.cpp 66 unsigned expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion);
85 bool rtl = m_run.rtl(); local
123 const GlyphData& glyphData = m_font->glyphDataForCharacter(c, rtl);
151 const GlyphData& uppercaseGlyphData = m_font->glyphDataForCharacter(toUpper(c), rtl);
180 || (m_run.rtl() && currentCharacter)) {
  /external/webkit/Source/WebCore/editing/
visible_units.cpp     [all...]
  /external/webkit/Source/WebCore/platform/gtk/
RenderThemeGtk.cpp 176 case RTL:
650 if (renderObject->style()->direction() == RTL)
RenderThemeGtk2.cpp 333 if (style->direction() == RTL)
385 if (style->direction() == RTL)
409 if (style->direction() == RTL)
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
BidiTest.java 946 String RTL = "\u05DC\u05DD";
948 String defText = LTR + newLine + RTL + LTR + RTL;
    [all...]
  /external/chromium/chrome/browser/resources/ntp/
drag_drop_controller.js 88 // If we're in an RTL language, reflect the coordinates so the delegate

Completed in 1269 milliseconds

1 2 3