Lines Matching defs:isRtl
299 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
301 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
304 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
327 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
329 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) {
332 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) {
345 public boolean isRtl(String str) {
346 return isRtl((CharSequence) str);
350 * Operates like {@link #isRtl(String)}, but takes a CharSequence instead of a string.
356 public boolean isRtl(CharSequence str) {
357 return mDefaultTextDirectionHeuristicCompat.isRtl(str, 0, str.length());
411 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
415 isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR));
417 if (isRtl != mIsRtlContext) {
418 result.append(isRtl ? RLE : LRE);
426 isRtl ? TextDirectionHeuristicsCompat.RTL : TextDirectionHeuristicsCompat.LTR));