Lines Matching defs:isRtl
306 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
308 if (!mIsRtlContext && (isRtl || getExitDir(str) == DIR_RTL)) {
311 if (mIsRtlContext && (!isRtl || getExitDir(str) == DIR_LTR)) {
335 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
337 if (!mIsRtlContext && (isRtl || getEntryDir(str) == DIR_RTL)) {
340 if (mIsRtlContext && (!isRtl || getEntryDir(str) == DIR_LTR)) {
353 public boolean isRtl(String str) {
354 return isRtl((CharSequence) str);
360 public boolean isRtl(CharSequence str) {
361 return mDefaultTextDirectionHeuristic.isRtl(str, 0, str.length());
406 final boolean isRtl = heuristic.isRtl(str, 0, str.length());
410 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR));
412 if (isRtl != mIsRtlContext) {
413 result.append(isRtl ? RLE : LRE);
421 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR));