Home
last modified time | relevance | path

Searched refs:TextDirectionHeuristics (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DBidiFormatterTest.java45 "", 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 …]
DStaticLayoutTest.java86 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 …]
DTextUtilsTest.java357 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()
DDynamicLayoutTest.java293 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()
DMeasuredParagraphTest.java37 private static final TextDirectionHeuristic LTR = TextDirectionHeuristics.LTR;
38 private static final TextDirectionHeuristic RTL = TextDirectionHeuristics.RTL;
DTextLineTest.java106 TextDirectionHeuristics.FIRSTSTRONG_LTR.isRtl(str, 0, str.length()) ? -1 : 1, in getTextLine()
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java473 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()
DBidiFormatter.java19 import static android.text.TextDirectionHeuristics.FIRSTSTRONG_LTR;
425 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); in unicodeWrap()
436 isRtl ? TextDirectionHeuristics.RTL : TextDirectionHeuristics.LTR)); in unicodeWrap()
DBoringLayout.java283 return isBoring(text, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR, null); in isBoring()
298 return isBoring(text, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR, metrics); in isBoring()
DTextDirectionHeuristics.java35 public class TextDirectionHeuristics { class
DDynamicLayout.java80 b.mTextDir = TextDirectionHeuristics.FIRSTSTRONG_LTR; in obtain()
343 this(base, display, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR, in DynamicLayout()
DPrecomputedText.java106 private TextDirectionHeuristic mTextDir = TextDirectionHeuristics.FIRSTSTRONG_LTR;
DStaticLayout.java103 b.mTextDir = TextDirectionHeuristics.FIRSTSTRONG_LTR; in obtain()
483 TextDirectionHeuristics.FIRSTSTRONG_LTR, in StaticLayout()
DTextUtils.java1296 TextDirectionHeuristics.FIRSTSTRONG_LTR, in ellipsize()
1507 TextDirectionHeuristics.FIRSTSTRONG_LTR); in commaEllipsize()
DLayout.java167 return getDesiredWidth(source, start, end, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR); in getDesiredWidth()
229 this(text, paint, width, align, TextDirectionHeuristics.FIRSTSTRONG_LTR, in Layout()
DHtml.java344 if (TextDirectionHeuristics.FIRSTSTRONG_LTR.isRtl(text, start, end - start)) { in getTextDirection()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutPerfTest.java186 .setTextDirection(TextDirectionHeuristics.RTL) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent()
/frameworks/base/core/java/android/widget/
DTextView.java102 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/
DGsmMmiCode.java42 import android.text.TextDirectionHeuristics;
1574 return str == null ? str : fmt.unicodeWrap(str, TextDirectionHeuristics.LTR, true); in formatLtr()
/frameworks/base/config/
Dpreloaded-classes3489 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
Dboot-image-profile.txt15089 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…
15093TextDirectionHeuristics$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 …]
Dhiddenapi-greylist-max-o.txt75962 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/
Dandroid-22.txt29924 public class TextDirectionHeuristics {
29925 ctor public TextDirectionHeuristics();
/frameworks/base/api/
Dcurrent.txt46201 public class TextDirectionHeuristics {
46202 ctor public TextDirectionHeuristics();