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

1 2 3

  /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;
  /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) {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
NavigationBar.java 30 public NavigationBar(Context context, Density density, int orientation, boolean isRtl,
42 if (orientation == LinearLayout.VERTICAL || (isRtl && !rtlEnabled)) {
48 loadIcon(back, "ic_sysbar_back.png", density, isRtl);
49 loadIcon(2, "ic_sysbar_home.png", density, isRtl);
50 loadIcon(recent, "ic_sysbar_recent.png", density, isRtl);
CustomBar.java 128 protected void loadIcon(int index, String iconName, Density density, boolean isRtl) {
135 LayoutDirection dir = isRtl ? LayoutDirection.RTL : LayoutDirection.LTR;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
UniscribeHelperTextRun.h 55 bool isRtl,
UniscribeHelperTextRun.cpp 76 bool isRtl,
80 : UniscribeHelper(input, inputLength, isRtl, hfont,
UniscribeHelper.h 80 bool isRtl,
UniscribeHelper.cpp 145 bool isRtl,
152 , m_isRtl(isRtl)
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BidiRenderer.java 42 boolean isRtl;
46 public ScriptRun(int start, int limit, boolean isRtl) {
49 this.isRtl = isRtl;
80 * @param isRtl is the text right-to-left
91 /* package */ RectF renderText(int start, int limit, boolean isRtl, float[] advances,
97 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mPaint.getFonts())) {
99 flag |= isRtl ? Font.LAYOUT_RIGHT_TO_LEFT : Font.LAYOUT_LEFT_TO_RIGHT;
209 boolean isRtl, List<FontInfo> fonts) {
217 ScriptRun run = new ScriptRun(scriptStart, scriptLimit, isRtl);
    [all...]
Paint_Delegate.java 578 RectF bounds = delegate.measureText(text, index, count, isRtl(bidiFlags));
618 RectF bounds = delegate.measureText(text, start, end - start + 1, isRtl(bidiFlags));
993 boolean isRtl = isRtl(flags);
997 index, limit, isRtl, advances, advancesIndex, false, 0, 0);
    [all...]
  /external/chromium_org/ui/android/java/src/org/chromium/ui/base/
LocalizationUtils.java 77 * Jni binding to base::i18n::IsRTL.
80 public static boolean 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...]
  /packages/apps/Launcher3/src/com/android/launcher3/
ButtonDropTarget.java 122 private boolean isRtl() {
139 if (isRtl()) {
  /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 + "'>";
  /external/chromium_org/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 232 static protected int next(int x, int val, boolean isRtl) {
233 return isRtl ? x - val : x + val;

Completed in 2094 milliseconds

1 2 3