/frameworks/base/core/tests/coretests/src/android/text/ |
D | BidiFormatterTest.java | 45 "", LTR_FMT.markAfter(EN, TextDirectionHeuristics.LTR)); in testMarkAfter() 47 "", RTL_FMT.markAfter(HE, TextDirectionHeuristics.RTL)); in testMarkAfter() 50 LRM, LTR_FMT.markAfter(EN + HE, TextDirectionHeuristics.LTR)); in testMarkAfter() 52 RLM, RTL_FMT.markAfter(HE + EN, TextDirectionHeuristics.RTL)); in testMarkAfter() 55 LRM, LTR_FMT.markAfter(HE + EN, TextDirectionHeuristics.RTL)); in testMarkAfter() 57 RLM, RTL_FMT.markAfter(EN + HE, TextDirectionHeuristics.LTR)); in testMarkAfter() 60 "", LTR_FMT.markAfter(".", TextDirectionHeuristics.LTR)); in testMarkAfter() 62 "", RTL_FMT.markAfter(".", TextDirectionHeuristics.RTL)); in testMarkAfter() 68 "", LTR_FMT.markBefore(EN, TextDirectionHeuristics.LTR)); in testMarkBefore() 70 "", RTL_FMT.markBefore(HE, TextDirectionHeuristics.RTL)); in testMarkBefore() [all …]
|
D | StaticLayoutTest.java | 86 assertEquals(TextDirectionHeuristics.FIRSTSTRONG_LTR, in testBuilder_textDirection() 93 builder.setTextDirection(TextDirectionHeuristics.RTL); in testBuilder_textDirection() 95 assertEquals(TextDirectionHeuristics.RTL, in testBuilder_textDirection() 522 TextDirectionHeuristics.FIRSTSTRONG_LTR, in createEllipsizeStaticLayout() 562 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, in testEllipsis_singleLine() 569 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, in testEllipsis_singleLine() 576 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, in testEllipsis_singleLine() 583 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, in testEllipsis_singleLine() 597 halfWidth, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, in testEllipsis_singleLine() 616 avail, DEFAULT_ALIGN, TextDirectionHeuristics.FIRSTSTRONG_LTR, in testEllipsis_singleLine() [all …]
|
D | TextUtilsTest.java | 357 null /* no callback */, TextDirectionHeuristics.LTR, in testEllipsize_multiCodepoint() 363 null /* no callback */, TextDirectionHeuristics.LTR, in testEllipsize_multiCodepoint() 369 null /* no callback */, TextDirectionHeuristics.LTR, in testEllipsize_multiCodepoint() 375 null /* no callback */, TextDirectionHeuristics.LTR, in testEllipsize_multiCodepoint() 384 null /* no callback */, TextDirectionHeuristics.LTR, in testEllipsize_multiCodepoint() 390 null /* no callback */, TextDirectionHeuristics.LTR, in testEllipsize_multiCodepoint() 396 null /* no callback */, TextDirectionHeuristics.LTR, in testEllipsize_multiCodepoint() 402 null /* no callback */, TextDirectionHeuristics.LTR, in testEllipsize_multiCodepoint()
|
D | DynamicLayoutTest.java | 293 assertEquals(TextDirectionHeuristics.FIRSTSTRONG_LTR, layout.getTextDirectionHeuristic()); in testBuilder_defaultTextDirection() 300 .setTextDirection(TextDirectionHeuristics.ANYRTL_LTR); in testBuilder_setTextDirection() 302 assertEquals(TextDirectionHeuristics.ANYRTL_LTR, layout.getTextDirectionHeuristic()); in testBuilder_setTextDirection()
|
D | MeasuredParagraphTest.java | 37 private static final TextDirectionHeuristic LTR = TextDirectionHeuristics.LTR; 38 private static final TextDirectionHeuristic RTL = TextDirectionHeuristics.RTL;
|
D | TextLineTest.java | 106 TextDirectionHeuristics.FIRSTSTRONG_LTR.isRtl(str, 0, str.length()) ? -1 : 1, in getTextLine()
|
/frameworks/base/core/java/android/text/ |
D | MeasuredParagraph.java | 473 if ((textDir == TextDirectionHeuristics.LTR in resetAndAnalyzeBidi() 474 || textDir == TextDirectionHeuristics.FIRSTSTRONG_LTR in resetAndAnalyzeBidi() 475 || textDir == TextDirectionHeuristics.ANYRTL_LTR) in resetAndAnalyzeBidi() 482 if (textDir == TextDirectionHeuristics.LTR) { in resetAndAnalyzeBidi() 484 } else if (textDir == TextDirectionHeuristics.RTL) { in resetAndAnalyzeBidi() 486 } else if (textDir == TextDirectionHeuristics.FIRSTSTRONG_LTR) { in resetAndAnalyzeBidi() 488 } else if (textDir == TextDirectionHeuristics.FIRSTSTRONG_RTL) { in resetAndAnalyzeBidi()
|
D | BidiFormatter.java | 19 import static android.text.TextDirectionHeuristics.FIRSTSTRONG_LTR; 425 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); in unicodeWrap() 436 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); in unicodeWrap()
|
D | BoringLayout.java | 283 return isBoring(text, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR, null); in isBoring() 298 return isBoring(text, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR, metrics); in isBoring()
|
D | TextDirectionHeuristics.java | 35 public class TextDirectionHeuristics { class
|
D | DynamicLayout.java | 80 b.mTextDir = TextDirectionHeuristics.FIRSTSTRONG_LTR; in obtain() 343 this(base, display, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR, in DynamicLayout()
|
D | PrecomputedText.java | 106 private TextDirectionHeuristic mTextDir = TextDirectionHeuristics.FIRSTSTRONG_LTR;
|
D | StaticLayout.java | 103 b.mTextDir = TextDirectionHeuristics.FIRSTSTRONG_LTR; in obtain() 483 TextDirectionHeuristics.FIRSTSTRONG_LTR, in StaticLayout()
|
D | TextUtils.java | 1296 TextDirectionHeuristics.FIRSTSTRONG_LTR, in ellipsize() 1507 TextDirectionHeuristics.FIRSTSTRONG_LTR); in commaEllipsize()
|
D | Layout.java | 167 return getDesiredWidth(source, start, end, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR); in getDesiredWidth() 229 this(text, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR, in Layout()
|
D | Html.java | 344 if (TextDirectionHeuristics.FIRSTSTRONG_LTR.isRtl(text, start, end - start)) { in getTextDirection()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 186 .setTextDirection(TextDirectionHeuristics.RTL) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 102 import android.text.TextDirectionHeuristics; 12785 return TextDirectionHeuristics.LTR; in getTextDirectionHeuristic() 12802 return TextDirectionHeuristics.RTL; in getTextDirectionHeuristic() 12804 return TextDirectionHeuristics.LTR; in getTextDirectionHeuristic() 12815 return (defaultIsRtl ? TextDirectionHeuristics.FIRSTSTRONG_RTL : in getTextDirectionHeuristic() 12816 TextDirectionHeuristics.FIRSTSTRONG_LTR); in getTextDirectionHeuristic() 12818 return TextDirectionHeuristics.ANYRTL_LTR; in getTextDirectionHeuristic() 12820 return TextDirectionHeuristics.LTR; in getTextDirectionHeuristic() 12822 return TextDirectionHeuristics.RTL; in getTextDirectionHeuristic() 12824 return TextDirectionHeuristics.LOCALE; in getTextDirectionHeuristic() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmMmiCode.java | 42 import android.text.TextDirectionHeuristics; 1574 return str == null ? str : fmt.unicodeWrap(str, TextDirectionHeuristics.LTR, true); in formatLtr()
|
/frameworks/base/config/ |
D | preloaded-classes | 3489 android.text.TextDirectionHeuristics$AnyStrong 3490 android.text.TextDirectionHeuristics$FirstStrong 3491 android.text.TextDirectionHeuristics$TextDirectionAlgorithm 3492 android.text.TextDirectionHeuristics$TextDirectionHeuristicImpl 3493 android.text.TextDirectionHeuristics$TextDirectionHeuristicInternal 3494 android.text.TextDirectionHeuristics$TextDirectionHeuristicLocale 3495 android.text.TextDirectionHeuristics
|
D | boot-image-profile.txt | 15089 HSPLandroid/text/TextDirectionHeuristics$AnyStrong;-><init>(Z)V 15090 HSPLandroid/text/TextDirectionHeuristics$FirstStrong;-><init>()V 15091 HSPLandroid/text/TextDirectionHeuristics$FirstStrong;->checkRtl(Ljava/lang/CharSequence;II)I 15092 HSPLandroid/text/TextDirectionHeuristics$TextDirectionHeuristicImpl;->isRtl(Ljava/lang/CharSequence… 15093 …TextDirectionHeuristics$TextDirectionHeuristicInternal;-><init>(Landroid/text/TextDirectionHeurist… 15094 HSPLandroid/text/TextDirectionHeuristics$TextDirectionHeuristicInternal;->defaultIsRtl()Z 15095 HSPLandroid/text/TextDirectionHeuristics$TextDirectionHeuristicLocale;-><init>()V 15096 HSPLandroid/text/TextDirectionHeuristics$TextDirectionHeuristicLocale;->defaultIsRtl()Z 15097 HSPLandroid/text/TextDirectionHeuristics;->isRtlCodePoint(I)I 36141 Landroid/text/TextDirectionHeuristics$AnyStrong; [all …]
|
D | hiddenapi-greylist-max-o.txt | 75962 Landroid/text/TextDirectionHeuristics$AnyStrong; 75963 Landroid/text/TextDirectionHeuristics$AnyStrong;-><init>(Z)V 75964 Landroid/text/TextDirectionHeuristics$AnyStrong;->checkRtl(Ljava/lang/CharSequence;II)I 75965 Landroid/text/TextDirectionHeuristics$AnyStrong;->INSTANCE_LTR:Landroid/text/TextDirectionHeuristic… 75966 Landroid/text/TextDirectionHeuristics$AnyStrong;->INSTANCE_RTL:Landroid/text/TextDirectionHeuristic… 75967 Landroid/text/TextDirectionHeuristics$AnyStrong;->mLookForRtl:Z 75968 Landroid/text/TextDirectionHeuristics$FirstStrong; 75969 Landroid/text/TextDirectionHeuristics$FirstStrong;-><init>()V 75970 Landroid/text/TextDirectionHeuristics$FirstStrong;->checkRtl(Ljava/lang/CharSequence;II)I 75971 Landroid/text/TextDirectionHeuristics$FirstStrong;->INSTANCE:Landroid/text/TextDirectionHeuristics$… [all …]
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 29924 public class TextDirectionHeuristics { 29925 ctor public TextDirectionHeuristics();
|
/frameworks/base/api/ |
D | current.txt | 46201 public class TextDirectionHeuristics { 46202 ctor public TextDirectionHeuristics();
|