Home
last modified time | relevance | path

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

12

/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/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java31 import android.text.TextDirectionHeuristics;
220 return BidiFormatter.getInstance().unicodeWrap(phoneNumber, TextDirectionHeuristics.LTR); in getBidiFormattedPhoneNumber()
/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;
12814 return TextDirectionHeuristics.LTR; in getTextDirectionHeuristic()
12831 return TextDirectionHeuristics.RTL; in getTextDirectionHeuristic()
12833 return TextDirectionHeuristics.LTR; in getTextDirectionHeuristic()
12844 return (defaultIsRtl ? TextDirectionHeuristics.FIRSTSTRONG_RTL : in getTextDirectionHeuristic()
12845 TextDirectionHeuristics.FIRSTSTRONG_LTR); in getTextDirectionHeuristic()
12847 return TextDirectionHeuristics.ANYRTL_LTR; in getTextDirectionHeuristic()
12849 return TextDirectionHeuristics.LTR; in getTextDirectionHeuristic()
12851 return TextDirectionHeuristics.RTL; in getTextDirectionHeuristic()
12853 return TextDirectionHeuristics.LOCALE; in getTextDirectionHeuristic()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java42 import android.text.TextDirectionHeuristics;
1601 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.txt15088 HSPLandroid/text/TextDirectionHeuristics$AnyStrong;-><init>(Z)V
15089 HSPLandroid/text/TextDirectionHeuristics$FirstStrong;-><init>()V
15090 HSPLandroid/text/TextDirectionHeuristics$FirstStrong;->checkRtl(Ljava/lang/CharSequence;II)I
15091 HSPLandroid/text/TextDirectionHeuristics$TextDirectionHeuristicImpl;->isRtl(Ljava/lang/CharSequence…
15092TextDirectionHeuristics$TextDirectionHeuristicInternal;-><init>(Landroid/text/TextDirectionHeurist…
15093 HSPLandroid/text/TextDirectionHeuristics$TextDirectionHeuristicInternal;->defaultIsRtl()Z
15094 HSPLandroid/text/TextDirectionHeuristics$TextDirectionHeuristicLocale;-><init>()V
15095 HSPLandroid/text/TextDirectionHeuristics$TextDirectionHeuristicLocale;->defaultIsRtl()Z
15096 HSPLandroid/text/TextDirectionHeuristics;->isRtlCodePoint(I)I
36140 Landroid/text/TextDirectionHeuristics$AnyStrong;
[all …]
Dhiddenapi-greylist-max-o.txt70892 Landroid/text/TextDirectionHeuristics$AnyStrong;-><init>(Z)V
70893 Landroid/text/TextDirectionHeuristics$AnyStrong;->checkRtl(Ljava/lang/CharSequence;II)I
70894 Landroid/text/TextDirectionHeuristics$AnyStrong;->INSTANCE_LTR:Landroid/text/TextDirectionHeuristic…
70895 Landroid/text/TextDirectionHeuristics$AnyStrong;->INSTANCE_RTL:Landroid/text/TextDirectionHeuristic…
70896 Landroid/text/TextDirectionHeuristics$AnyStrong;->mLookForRtl:Z
70897 Landroid/text/TextDirectionHeuristics$FirstStrong;-><init>()V
70898 Landroid/text/TextDirectionHeuristics$FirstStrong;->checkRtl(Ljava/lang/CharSequence;II)I
70899 Landroid/text/TextDirectionHeuristics$FirstStrong;->INSTANCE:Landroid/text/TextDirectionHeuristics$…
70900 Landroid/text/TextDirectionHeuristics$TextDirectionAlgorithm;->checkRtl(Ljava/lang/CharSequence;II)I
70901 Landroid/text/TextDirectionHeuristics$TextDirectionHeuristicImpl;-><init>(Landroid/text/TextDirecti…
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29924 public class TextDirectionHeuristics {
29925 ctor public TextDirectionHeuristics();
/frameworks/base/non-updatable-api/
Dcurrent.txt47492 public class TextDirectionHeuristics {
47493 ctor public TextDirectionHeuristics();

12