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

1 2

  /frameworks/base/core/java/android/text/
TextDirectionHeuristic.java 33 boolean isRtl(char[] array, int start, int count);
45 boolean isRtl(CharSequence cs, int start, int count);
BidiFormatter.java 303 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
305 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
308 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
332 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
334 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) {
337 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) {
350 public boolean isRtl(String str) {
351 return mDefaultTextDirectionHeuristic.isRtl(str, 0, str.length())
    [all...]
TextDirectionHeuristics.java 130 public boolean isRtl(char[] array, int start, int count) {
131 return isRtl(CharBuffer.wrap(array), start, count);
135 public boolean isRtl(CharSequence cs, int start, int count) {
MeasuredText.java 145 boolean isRtl = textDir.isRtl(mChars, 0, len);
146 bidiRequest = isRtl ? Layout.DIR_REQUEST_RTL : Layout.DIR_REQUEST_LTR;
BoringLayout.java 283 if (textDir != null && textDir.isRtl(temp, 0, n)) {
  /frameworks/support/v4/java/android/support/v4/text/
TextDirectionHeuristicCompat.java 33 boolean isRtl(char[] array, int start, int count);
45 boolean isRtl(CharSequence cs, int start, int count);
BidiFormatter.java 297 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
299 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
302 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
324 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
326 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) {
329 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) {
342 public boolean isRtl(String str) {
343 return mDefaultTextDirectionHeuristicCompat.isRtl(str, 0, str.length())
    [all...]
TextDirectionHeuristicsCompat.java 124 public boolean isRtl(char[] array, int start, int count) {
125 return isRtl(CharBuffer.wrap(array), start, count);
129 public boolean isRtl(CharSequence cs, int start, int count) {
  /external/webkit/Source/WebCore/platform/graphics/chromium/
UniscribeHelperTextRun.h 54 bool isRtl,
UniscribeHelperTextRun.cpp 68 bool isRtl,
72 : UniscribeHelper(input, inputLength, isRtl, hfont,
UniscribeHelper.cpp 73 bool isRtl,
80 , m_isRtl(isRtl)
    [all...]
UniscribeHelper.h 76 bool isRtl,
  /frameworks/support/v4/tests/java/android/support/v4/text/
BidiFormatterTest.java 57 assertEquals(true, BidiFormatter.getInstance(true).isRtl(HE));
58 assertEquals(true, BidiFormatter.getInstance(false).isRtl(HE));
60 assertEquals(false, BidiFormatter.getInstance(true).isRtl(EN));
61 assertEquals(false, BidiFormatter.getInstance(false).isRtl(EN));
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedView.java 411 final boolean isRtl = isLayoutRtl();
414 boolean isXBeforeFirstPage = isRtl ? (x > mMaxScrollX) : (x < 0);
415 boolean isXAfterLastPage = isRtl ? (x < 0) : (x > mMaxScrollX);
419 if (isRtl) {
428 if (isRtl) {
653 final boolean isRtl = isLayoutRtl();
655 final int startIndex = isRtl ? childCount - 1 : 0;
656 final int endIndex = isRtl ? -1 : childCount;
657 final int delta = isRtl ? -1 : 1;
736 final boolean isRtl = isLayoutRtl()
    [all...]
ButtonDropTarget.java 120 private boolean isRtl() {
137 if (isRtl()) {
AppsCustomizePagedView.java     [all...]
DragController.java 534 final boolean isRtl = (dragLayer.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL);
535 final int forwardDirection = isRtl ? SCROLL_RIGHT : SCROLL_LEFT;
536 final int backwardsDirection = isRtl ? SCROLL_LEFT : SCROLL_RIGHT;
DragLayer.java 789 final boolean isRtl = isLayoutRtl();
790 CellLayout leftPage = (CellLayout) workspace.getChildAt(isRtl ? page + 1 : page - 1);
791 CellLayout rightPage = (CellLayout) workspace.getChildAt(isRtl ? page - 1 : page + 1);
  /cts/tests/tests/text/src/android/text/cts/
BidiFormatterTest.java 58 assertEquals(true, BidiFormatter.getInstance(true).isRtl(HE));
59 assertEquals(true, BidiFormatter.getInstance(false).isRtl(HE));
61 assertEquals(false, BidiFormatter.getInstance(true).isRtl(EN));
62 assertEquals(false, BidiFormatter.getInstance(false).isRtl(EN));
  /external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/
feed.js 96 var isRtl = 'lTR';
108 isRtl = 'rTL';
197 itemDesc += "<div class = '" + isRtl + "'>";
  /frameworks/base/core/java/com/android/internal/widget/
AbsActionBarView.java 225 static protected int next(int x, int val, boolean isRtl) {
226 return isRtl ? x - val : x + val;
  /packages/apps/DeskClock/src/com/android/deskclock/
DeskClock.java 412 private boolean isRtl() {
418 if (isRtl()) {
  /cts/tests/tests/view/src/android/view/cts/
GravityTest.java 338 private void assertOneGravity(int expected, int initial, boolean isRtl) {
339 final int layoutDirection = isRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR;
  /external/chromium/chrome/browser/resources/ntp/
drag_drop_controller.js 90 if (isRtl())
apps.js 624 var rtl = isRtl();

Completed in 859 milliseconds

1 2