/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | MeasuredTextTest.java | 62 String text = "Hello, World"; in testBuilder() local 75 String text = "Hello, World"; in testBuilder_FromExistingMeasuredText() local 84 String text = "Hello, World"; in testBuilder_FromExistingMeasuredText_differentLayoutParam() local 94 String text = "Hello, World"; in testBuilder_FromExistingMeasuredText_differentHyphenationParam() local 115 String text = "Hello, World"; in testBuilder_NullPaint() local 121 String text = "Hello, World"; in testGetWidth() local 133 String text = "Hello, World"; in testGetWidth_StartSmallerThanZero() local 142 String text = "Hello, World"; in testGetWidth_StartLargerThanLength() local 151 String text = "Hello, World"; in testGetWidth_EndSmallerThanZero() local 160 String text = "Hello, World"; in testGetWidth_EndLargerThanLength() local [all …]
|
D | HyphenationTest.java | 63 final String text = "zastavila zastavila zastavila zastavila"; in testAfrikaansPattern() local 86 final String text = "vazhduar vazhduar vazhduar vazhduar"; in testAlbanianPattern() local 112 final String text = "መጋበዛቸውን መጋበዛቸውን መጋበዛቸውን መጋበዛቸውን መጋበዛቸውን"; in testAmharicPattern() local 135 final String text = "epidemiologická epidemiologická epidemiologická"; in testCzechPattern() local 164 final String text = "beschuldigt beschuldigt beschuldigt beschuldigt"; in testDutchPattern() local 187 final String text = "hyphenation hyphenation hyphenation hyphenation"; in testEnglishPattern() local 210 final String text = "tecnoloxía tecnoloxía tecnoloxía"; in testGalicianPattern() local 230 final String text = "ინფორმაციით ინფორმაციით ინფორმაციით ინფორმაციით"; in testGeorgianPattern() local 254 final String text = "εργαζόμενους εργαζόμενους εργαζόμενους"; in testGreekPattern() local 277 final String text = "Assicurati Assicurati Assicurati Assicurati"; in testItalianPattern() local [all …]
|
D | LineBreakerTest.java | 236 final String text = "Hello, World."; in testLineBreak_Simple() local 259 final String text = "abc defg hijkl"; in testLineBreak_Simple2() local 291 final String text = "abc defg hijkl"; in testLineBreak_Simple3() local 335 final String text = "abc defg hijkl"; in testLineBreak_Simple_NotRectangle() local 368 final String text = "ab\u00ADc de\u00ADfg hi\u00ADjkl"; in testLineBreak_Simple_Hyphenation() local 414 final String text = "abc defg hijkl"; in testLineBreak_Simple_Styled() local 455 final String text = "abc defg hijkl"; in testLineBreak_Simple_Styled2() local 490 final String text = "abc defg hijkl"; in testLineBreak_Simple_indents() local 523 final String text = "abc defg hijkl"; in testLineBreak_Simple_indents2() local 563 final String text = "abc de\tfg hijkl"; in testLineBreak_Simple_tabStop() local [all …]
|
D | TextRunShaperTest.java | 65 String text = "Hello, World."; in shapeText() local 101 String text = "Hello, World."; in shapeText_differentPaint() local 130 String text = "\u0645\u0631\u062D\u0628\u0627"; in shapeText_context() local 147 String text = "Hello, World."; in shapeText_twoAPISameResult() local 176 String text = "Hello, Emoji: \uD83E\uDE90"; // Usually emoji is came from ColorEmoji font. in shapeText_multiLanguage() local 279 String text = "Hello, World."; in positionedGlyphs_IllegalArgument_glyphID() local 292 String text = "Hello, World."; in resultTest_IllegalArgument_font() local 305 String text = "Hello, World."; in resultTest_IllegalArgument_X() local 318 String text = "Hello, World."; in resultTest_IllegalArgument_Y() local 327 public void assertSameDrawResult(CharSequence text, TextPaint paint, in assertSameDrawResult()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SelectionTest.java | 45 CharSequence text = "hello, world"; in testGetSelectionStart() local 63 CharSequence text = "hello, world"; in testGetSelectionEnd() local 81 CharSequence text = "hello, world"; in testSetSelection1() local 138 CharSequence text = "hello, world"; in testRemoveSelection() local 158 CharSequence text = "hello, world"; in testSelectAll() local 185 CharSequence text = "hello\nworld"; in testMoveLeft() local 213 CharSequence text = "hello\nworld"; in testMoveRight() local 245 CharSequence text = "Google\nhello,world"; in testMoveUp() local 285 CharSequence text = "aaa\nmm"; in testMoveUpAfterTyping() local 310 CharSequence text = "aa\nm"; in testMoveUpKeepsOriginalMemoryPosition() local [all …]
|
D | LayoutUseBoundsTest.kt | 118 val text = "aaaa bbbb cccc dddd" in testBreakOvershoot_trailing_LTR() constant 229 val text = "\u05D0\u05D0\u05D0\u05D0 \u05D1\u05D1\u05D1\u05D1 " + in testBreakOvershoot_trailing_RTL() constant 341 val text = "a\u05D0\u05D0a b\u05D1\u05D1b c\u05D2\u05D2c d\u05D3\u05D3d" in testBreakOvershoot_trailing_Bidi_LTRFirst() constant 452 val text = "\u05D0aa\u05D0 \u05D1bb\u05D1 \u05D2cc\u05D2 \u05D3dd\u05D3" in testBreakOvershoot_trailing_Bidi_RTLFirst() constant 563 val text = "aaaa eeee ffff gggg" in testBreakOvershoot_preceding_LTR() constant 673 val text = "\u05D0\u05D0\u05D0\u05D0 \u05D4\u05D4\u05D4\u05D4 " + in testBreakOvershoot_preceding_RTL() constant 784 val text = "a\u05D0\u05D0a e\u05D4\u05D4e f\u05D5\u05D5f g\u05D6\u05D6g" in testBreakOvershoot_preceding_Bidi_LTRFirst() constant 894 val text = "\u05D0aa\u05D0 \u05D4ee\u05D4 \u05D5ff\u05D5 \u05D6gg\u05D6" in testBreakOvershoot_preceding_Bidi_RTLFirst() constant 1004 val text = "hhhh dddd" in testOvershoot_bounds_inside_LTR() constant 1020 val text = "\u05D8\u05D8\u05D8\u05D8 \u05D6\u05D6\u05D6\u05D6" in testOvershoot_bounds_inside_RTL() constant
|
D | LayoutMinimumLineHeightTest.kt | 56 val text = "Hello, World." in layout_SetGetMinimumFontMetrics() constant 70 val text = "Hello, World." in StaticLayout_SetGetMinimumFontMetrics() constant 84 val text = "Hello, World." in DynamicLayout_SetGetMinimumFontMetrics() constant 98 val text = "Hello, World." in Layout_expandToReserveMinimumFontMetrics() constant 117 val text = "Hello, World." in StaticLayout_expandToReserveMinimumFontMetrics() constant 136 val text = "Hello, World." in DynamicLayout_expandToReserveMinimumFontMetrics() constant 155 val text = "Hello, World." in Layout_useActualFont() constant 174 val text = "Hello, World." in StaticLayout_useActualFont() constant 193 val text = "Hello, World." in DynamicLayout_useActualFont() constant
|
D | TextRunAdvancesTest.java | 50 final char[] text = "abcde".toCharArray(); in testGetRunCharacterAdvance() local 64 final CharSequence text = "abcde"; in testGetRunCharacterAdvance_charSequence() local 76 final char[] text = "abcde".toCharArray(); in testGetRunCharacterAdvance_LTR() local 88 final char[] text = "\u05D1\u05D0\u05D0\u05D0\u05D0".toCharArray(); in testGetRunCharacterAdvance_RTL() local 100 final char[] text = "\ud83d\ude00abc".toCharArray(); in testGetRunCharacterAdvance_surrogate() local 113 final char[] text = "abc".toCharArray(); in testGetRunCharacterAdvance_advanceIndex() local 124 final char[] text = "abcde".toCharArray(); in testGetRunCharacterAdvance_contextStartOutOfBounds() local 133 final char[] text = "abcde".toCharArray(); in testGetRunCharacterAdvance_contextEndOutOfBounds() local 142 final char[] text = "abcde".toCharArray(); in testGetRunCharacterAdvance_contextStartLargerThanContextEnd() local 151 final char[] text = "abcde".toCharArray(); in testGetRunCharacterAdvance_startOutOfBounds() local [all …]
|
D | TextShaperTest.java | 54 private List<Pair<PositionedGlyphs, TextPaint>> shapeText(CharSequence text, TextPaint paint) { in shapeText() 68 String text = "Hello, World."; in shapeText_noStyle() local 89 SpannableString text = new SpannableString("Hello, World."); in shapeText_multiStyle() local 117 public void assertSameDrawResult(CharSequence text, TextPaint paint, in assertSameDrawResult() 186 SpannableString text = new SpannableString("こんにちは Android."); in testDrawConsistencyMultiStyle() local 218 SpannableString text = new SpannableString("مرحبا, Android."); in testDrawConsistencyBidiMultiStyle() local 232 SpannableString text = new SpannableString("Hello, العالمية"); in testDrawConsistencyBidi2MultiStyle() local
|
D | LayoutFillCharacterBoundsTest.java | 52 private static StaticLayout getStaticLayout(CharSequence text, int width) { in getStaticLayout() 60 final String text = "aabb"; in staticLayout_fillCharacterBounds_LTR() local 76 final String text = "abab"; in staticLayout_fillCharacterBounds_LTR_multiline() local 94 final String text = "\u05D0\u05D0\u05D1\u05D1"; in staticLayout_fillCharacterBounds_RTL() local 110 final String text = "\u05D1\u05D0\u05D1\u05D0"; in staticLayout_fillCharacterBounds_RTL_multiline() local 128 final String text = "abab"; in boringLayout_fillCharacterBounds() local
|
D | BoringLayoutUseBoundsTest.kt | 65 val text = "aaaa bbbb cccc dddd" in testBreakOvershoot_trailing_LTR() constant 81 val text = "gggg ffff eeee aaaa" in testBreakOvershoot_preceding_LTR() constant 97 val text = "hhhh dddd" in testBreakOvershoot_bounds_inside() constant
|
D | GraphemeClusterSegmentFinderTest.java | 40 String text = "abc"; in singleCharacterGraphemes() local 48 String text = "\uD83D\uDE00a\uD83D\uDE00b"; in surrogates() local 56 String text = "\uD83C\uDDFA\uD83C\uDDF8ab"; in countryCodeFlag() local
|
D | SpannableStringTest.java | 61 String text = "test valueOf"; in testValueOf() local 78 String text = "hello, world"; in testSetSpan() local 133 String text = "hello, world"; in testSubSequence() local 246 final String text = "this is a test!"; in testEquals() local 266 final String text = "this is a test!"; in testEqualsWithPriority() local 286 final String text = "this is a test!"; in testEqualsWithDifferentSequence() local
|
D | SpannedStringTest.java | 47 String text = "test valueOf"; in testValueOf() local 62 String text = "hello, world"; in testSubSequence() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 189 String text = "Android test."; in testPerformFiltering() local 208 String text = "CTS."; in testReplaceText() local 224 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart() 241 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd() 256 public CharSequence terminateToken(CharSequence text) { in terminateToken() 285 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering() 289 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { in performFiltering() 293 protected void replaceText(CharSequence text) { in replaceText()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | UnderlineSpanTest.java | 102 private float textWidth(CharSequence text) { in textWidth() 115 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth() local 123 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth() local 131 final SpannableString text = new SpannableString("P. P."); in testDoesntAffectWidth() local 139 final SpannableString text = new SpannableString("P. P."); in testDoesntAffectWidth() local 158 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth_safeSubclass() local 178 final SpannableString text = new SpannableString("P."); in testDoesntAffectWidth_noUnderlineSubclass() local
|
D | LineBreakConfigSpanTest.kt | 99 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan() constant 144 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan_override() constant 189 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan_partialOverride() constant 237 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan_partialOverride2() constant 287 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan_partialOverride3() constant 338 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan_MetricAffectingSpanMixture() constant 387 val text = SpannableString(TEST_STRING).apply { in testLineBreakConfigSpan_MetricAffectingSpanMixture2() constant 453 val text = SpannableString("abcde").apply { in testLineBreakConfigSpan_parcelable() constant 490 val text = context.resources.getText(R.string.linebreakconfig_span_test) in testLineBreakConfigSpan_resource() constant
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | TestUtils.java | 99 void tapOnViewWithText(String text) { in tapOnViewWithText() 110 boolean isTextShown(String text) { in isTextShown() 118 boolean isTextHidden(String text) { in isTextHidden() 122 boolean isTextFocused(String text) { in isTextFocused() 175 private UiObject2 getTextObject(String text) { in getTextObject() 180 private boolean scrollToAndGetTextObject(String text) { in scrollToAndGetTextObject()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TextKeyListenerTest.java | 103 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanAdded() local 153 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanChanged() local 168 CharSequence text = "123456"; in testClear() local 181 final Spannable text = new SpannableStringBuilder("123456"); in testOnSpanRemoved() local 219 String text = mTextView.getText().toString(); in testPressKey() local 235 final String text = "abcd"; in testOnKeyOther() local
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 154 public static View button(int position, Context context, String text, int desiredHeight) { in button() 175 public static View convertButton(View convertView, String text, int position) { in convertButton() 194 public static View text(int position, Context context, String text, int desiredHeight) { in text() argument 215 public static View convertText(View convertView, String text, int position) { in convertText() 235 public static View doubleText(int position, Context context, String text, int desiredHeight) { in doubleText() 277 public static View convertDoubleText(View convertView, String text, int position) { in convertDoubleText()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | CanvasTests.java | 651 final char[] text = { 'a', 'n', 'd', 'r', 'o', 'i', 'd' }; in testDrawArrayTextNegativeIndex() local 659 final char[] text = { 'a', 'n', 'd', 'r', 'o', 'i', 'd' }; in testDrawArrayTextNegativeCount() local 667 final char[] text = { 'a', 'n', 'd', 'r', 'o', 'i', 'd' }; in testDrawArrayTextTextLengthTooSmall() local 733 final String text = "android"; in testDrawTextRunNegativeIndex() local 744 final String text = "android"; in testDrawTextRunNegativeCount() local 754 final String text = "android"; in testDrawTextRunContestIndexTooLarge() local 764 final String text = "android"; in testDrawTextRunContestIndexTooSmall() local 775 final String text = "android"; in testDrawTextRunIndexTooLarge() local 787 final String text = "android"; in testDrawTextRunNegativeContextStart() local 798 final String text = "android"; in testDrawTextRunStartLessThanContextStart() local [all …]
|
/cts/tests/smartspace/src/android/smartspace/cts/ |
D | TextTest.java | 41 Text text = new Text.Builder("test").build(); in testCreateText_defaultValues() local 58 Text text = new Text.Builder("test") in testCreateText_marqueeTrunctAtType_maxLinesTwo() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VerticalTextTest.kt | 47 val text = "lllllll" in <lambda>() constant 94 val text = "Android Android Android" in <lambda>() constant 113 val text = "Android Android Android" in <lambda>() constant
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20223/src/android/security/cts/CVE_2022_20223/ |
D | DeviceTest.java | 77 String text = res.getString( in testAppRestrictionsFragment() local 103 String text = in testAppRestrictionsFragment() local 121 String text = in testAppRestrictionsFragment() local
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | Rfc822TokenizerTest.java | 53 String text = ", " + token1 + "\",\"" + token2 + ";" + token3 + " <;>" + token4; in testFindTokenStart() local 121 String text = "text"; in testTerminateToken() local 134 String text = "\"Berg\" (home) <berg\\@example.com>, tom\\@example.com (work)"; in testTokenize() local 158 String text = "\"Berg\" (home) <berg\\@example.com>, tom\\@example.com (work)"; in testTokenize_withListParam() local
|