/aosp14/frameworks/base/apct-tests/perftests/core/src/android/text/ |
H A D | StaticLayoutPerfTest.java | 203 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation() local 220 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent() local 239 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation() local 466 final String text = JP_TEXT_SHORT; in testCreate_JPText_Phrase_Short() local 485 final String text = JP_TEXT_LONG; in testCreate_JPText_Phrase_Long() local 523 final String text = JP_TEXT_SHORT; in testCreate_JPText_NoPhrase_Short() local 542 final String text = JP_TEXT_LONG; in testCreate_JPText_NoPhrase_Long() local 580 final String text = KO_TEXT_SHORT; in testCreate_KOText_Phrase_Short() local 599 final String text = KO_TEXT_LONG; in testCreate_KOText_Phrase_Long() local 637 final String text = KO_TEXT_SHORT; in testCreate_KOText_NoPhrase_Short() local [all …]
|
H A D | PrecomputedTextPerfTest.java | 63 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_NoStyled_Hyphenation() local 80 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_NoStyled_NoHyphenation() local 97 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_NoStyled_Hyphenation_WidthOnly() local 114 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_NoStyled_NoHyphenation_WidthOnly() local 131 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, STYLE_TEXT); in testCreate_Styled_Hyphenation() local 148 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, STYLE_TEXT); in testCreate_Styled_NoHyphenation() local 165 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, STYLE_TEXT); in testCreate_Styled_Hyphenation_WidthOnly() local 182 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, STYLE_TEXT); in testCreate_Styled_NoHyphenation_WidthOnly() local
|
/aosp14/frameworks/base/core/tests/coretests/src/android/text/method/ |
H A D | WordIteratorTest.java | 154 final String text = "text"; in testSetCharSequence() local 194 final String text = "abc def-ghi. jkl"; in testPreceding() local 234 final String text = "abc def-ghi. jkl"; in testFollowing() local 274 final String text = "abc def-ghi. jkl"; in testIsBoundary() local 302 final String text = "abc def-ghi. jkl"; in testNextBoundary() local 349 final String text = "abc def-ghi. jkl"; in testPrevBoundary() local 544 final String text = "abc!? (^^;) def"; in testGetPunctuationBeginning() local 579 final String text = "abc!? (^^;) def"; in testGetPunctuationEnd() local 611 final String text = "abc!? (^^;) def"; in testIsAfterPunctuation() local 627 final String text = "abc!? (^^;) def"; in testIsOnPunctuation() local [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewActivityMouseTest.java | 108 final String text = "abc def ghi."; in testContextMenu() local 176 final String text = "abc def ghi."; in testDragAndDrop() local 192 final String text = "abc def ghi."; in testDragAndDrop_longClick() local 259 final String text = "abcd efg hijk lmn"; in testSelectTextByDoubleClickAndDrag() local 270 final String text = "abcd efg hijk lmn"; in testSelectTextByDoubleClickAndDrag_reverse() local 281 final String text = "abcd efg hijk lmn"; in testSelectTextByLongPressAndDrag() local 292 final String text = "abcd efg hijk lmn"; in testSelectTextByLongPressAndDrag_reverse() local 311 final String text = builder.toString(); in testSelectTextByTripleClick() local 345 final String text = builder.toString(); in testSelectTextByTripleClickAndDrag() local 374 final String text = builder.toString(); in testSelectTextByTripleClickAndDrag_reverse() local
|
H A D | TextViewActivityTest.java | 183 final String text = "\u0915\u093E"; in testPositionCursorAtTextAtIndex_devanagari() local 245 final String text = "abc def ghi."; in testDragAndDrop() local 385 final String text = "abcd efg hijk"; in testToolbarMenuItemClickAfterSelectionChange() local 423 final String text = "hello world"; in testSelectionOnCreateActionModeReturnsFalse() local 520 final String text = "text"; in testToolbarAndInsertionHandle() local 537 final String text = "abcd efg hijk"; in testToolbarAndSelectionHandle() local 569 final String text = "abcd efg hijk "; in testInsertionHandle() local 626 final String text = "hello the world"; in testInsertionHandle_longPressToSelect() local 960 final String text = "abc def"; in testSetSelectionAndActionMode() local 1019 final String text = "abc def"; in testTransientState() local [all …]
|
H A D | SuggestionsPopupWindowTest.java | 91 final String text = "abc def ghi"; in testOnTextContextMenuItem() local 109 final String text = "abc def ghi"; in testSelectionActionMode() local 127 final String text = "abc def ghi"; in testInsertionActionMode() local 154 final String text = "abc def ghi"; in testSuggestionItems() local 192 final String text = "abc def ghi"; in testMisspelled() local 219 final String text = "abc def ghi"; in testEasyCorrect() local 255 final String text = "abc def ghi"; in testTextAppearanceInSuggestionsPopup() local 357 final String text = "abc"; in testCursorVisibility() local 382 final String text = "abc"; in testCursorVisibilityWhenImeConsumesInput() local
|
H A D | TextViewPopulateCharacterBoundsTest.java | 77 private TextView createTextView(String text, float textSize, int width, int height) { in createTextView() 93 final String text = "IIVX"; in testPopulateCharacterBounds_LTR() local 122 final String text = "IVVI"; in testPopulateCharacterBounds_LTR_multiline() local 152 final String text = "IV\nVI"; in testPopulateCharacterBounds_LTR_newline() local 185 final String text = "\u05D0\u05D0\u05D1\u05D1"; in testPopulateCharacterBounds_RTL() local 214 final String text = "\u05D0\u05D1\u05D1\u05D0"; in testPopulateCharacterBounds_RTL_multiline() local 244 final String text = "\u05D0\u05D1\n\u05D1\u05D0"; in testPopulateCharacterBounds_RTL_newline() local 278 final String text = "IV\u05D0\u05D1IV"; in testPopulateCharacterBounds_BiDi() local 311 final String text = "IV\u05D0\u05D1IV"; in testPopulateCharacterBounds_BiDi_multiline() local 346 final String text = "IVVI"; in testPopulateCharacterBounds_charactersWithInvisibleRegion() local [all …]
|
H A D | TextViewTest.java | 191 String text = "HelloWorld"; in testUseDynamicLayout() local 216 String text = "HelloWorld"; in testUseDynamicLayout_SPANNABLE() local 242 String text = "HelloWorld"; in testUseDynamicLayout_EDITABLE() local 339 final String text = "Hello world"; in transformedToOriginal_noOffsetMapping() local 353 final String text = "Hello world"; in originalToTransformed_noOffsetMapping() local 367 final CharSequence text = "Hello world"; in originalToTransformed_hasOffsetMapping() local 397 final CharSequence text = "Hello world"; in transformedToOriginal_hasOffsetMapping() local 438 public void setText(CharSequence text, BufferType type) { in setText()
|
/aosp14/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
H A D | CsvParserTest.java | 62 final String text = ""; in testEmpty() local 74 final String text = "\n"; in testOnlyNewline() local 101 final String text = "\"\",\"\",\"\"\n"; in testEscapedEmpty() local 140 final String text = "\",\",\",\",\",\"\n"; in testEscapedCommas() local 166 final String text = "a,b,c"; in testNoNewline() local 179 final String text = "a,b,,"; in testNoNewlineWithCommas() local 192 final String text = "a,b,\",\""; in testNoNewlineWithQuote() local 205 final String text = "aasdfadfadfad"; in testNoCommas() local 232 final String text = big + "," + big; in testMaxLengthTwice() local 259 final String text = big + ",b,c,d,e,f,g"; in testBufferBoundary() local [all …]
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 41 public static final int getSelectionStart(CharSequence text) { in getSelectionStart() 52 public static final int getSelectionEnd(CharSequence text) { in getSelectionEnd() 59 private static int getSelectionMemory(CharSequence text) { in getSelectionMemory() 107 private static void updateMemory(Spannable text, int memory) { in updateMemory() 123 private static void removeMemory(Spannable text) { in removeMemory() 160 public static final void selectAll(Spannable text) { in selectAll() 184 public static final void removeSelection(Spannable text) { in removeSelection() 199 public static boolean moveUp(Spannable text, Layout layout) { in moveUp() 270 public static boolean moveDown(Spannable text, Layout layout) { in moveDown() 306 public static boolean moveLeft(Spannable text, Layout layout) { in moveLeft() [all …]
|
H A D | Html.java | 253 public static String toHtml(Spanned text) { in toHtml() 267 public static String toHtml(Spanned text, int option) { in toHtml() 276 public static String escapeHtml(CharSequence text) { in escapeHtml() 990 private static void endBlockElement(Editable text) { in endBlockElement() 1003 private static void handleBr(Editable text) { in handleBr() 1013 private static void endLi(Editable text) { in endLi() 1024 private static void endBlockquote(Editable text) { in endBlockquote() 1034 private static void endHeading(Editable text) { in endHeading() 1116 private static void endCssStyle(Editable text) { in endCssStyle() 1170 private static void endFont(Editable text) { in endFont() [all …]
|
H A D | Editable.java | 58 public Editable replace(int st, int en, CharSequence text); in replace() 64 public Editable insert(int where, CharSequence text, int start, int end); in insert() 70 public Editable insert(int where, CharSequence text); in insert() 82 public Editable append(CharSequence text); in append() 88 public Editable append(CharSequence text, int start, int end); in append() 94 public Editable append(char text); in append()
|
H A D | SpanWatcher.java | 29 public void onSpanAdded(Spannable text, Object what, int start, int end); in onSpanAdded() 34 public void onSpanRemoved(Spannable text, Object what, int start, int end); in onSpanRemoved() 40 public void onSpanChanged(Spannable text, Object what, int ostart, int oend, in onSpanChanged()
|
/aosp14/frameworks/base/core/java/android/text/method/ |
H A D | MovementMethod.java | 36 public void initialize(TextView widget, Spannable text); in initialize() 37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyDown() 38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event); in onKeyUp() 45 public boolean onKeyOther(TextView view, Spannable text, KeyEvent event); in onKeyOther() 47 public void onTakeFocus(TextView widget, Spannable text, int direction); in onTakeFocus() 48 public boolean onTrackballEvent(TextView widget, Spannable text, MotionEvent event); in onTrackballEvent() 49 public boolean onTouchEvent(TextView widget, Spannable text, MotionEvent event); in onTouchEvent() 50 public boolean onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event); in onGenericMotionEvent()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
H A D | TextViewPrecomputedTextPerfTest.java | 90 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testNewLayout_RandomText() local 109 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testNewLayout_RandomText_Selectable() local 132 final CharSequence text = PrecomputedText.create( in testNewLayout_PrecomputedText() local 154 final CharSequence text = PrecomputedText.create( in testNewLayout_PrecomputedText_Selectable() local 174 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testSetText_RandomText() local 212 final CharSequence text = PrecomputedText.create( in testSetText_PrecomputedText() local 232 final CharSequence text = PrecomputedText.create( in testSetText_PrecomputedText_Selectable() local 295 final CharSequence text = PrecomputedText.create( in testOnMeasure_PrecomputedText() local 318 final CharSequence text = PrecomputedText.create( in testOnMeasure_PrecomputedText_Selectable() local 396 final CharSequence text = PrecomputedText.create( in testOnDraw_PrecomputedText() local [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlSerializerWrapper.java | 104 public XmlSerializer text(String text) throws IOException{ in text() method in XmlSerializerWrapper 108 public XmlSerializer text(char[] buf, int start, int len) throws IOException { in text() method in XmlSerializerWrapper 112 public void cdsect(String text) in cdsect() 117 public void entityRef(String text) throws IOException { in entityRef() 121 public void processingInstruction(String text) throws IOException { in processingInstruction() 125 public void comment(String text) throws IOException { in comment() 129 public void docdecl(String text) throws IOException { in docdecl() 133 public void ignorableWhitespace(String text) throws IOException { in ignorableWhitespace()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | MultiAutoCompleteTextView.java | 94 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering() 119 Editable text = getText(); in enoughToFilter() local 171 protected void performFiltering(CharSequence text, int start, int end, in performFiltering() 190 protected void replaceText(CharSequence text) { in replaceText() 213 public int findTokenStart(CharSequence text, int cursor); in findTokenStart() 219 public int findTokenEnd(CharSequence text, int cursor); in findTokenEnd() 225 public CharSequence terminateToken(CharSequence text); in terminateToken() 233 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart() 246 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd() 261 public CharSequence terminateToken(CharSequence text) { in terminateToken()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ConfigurableTexts.java | 40 public int add(final TextView text) { in add() 44 public int add(final TextView text, final int labelResId) { in add() 69 public void remove(final TextView text) { in remove() 79 private void setTextSizeH(TextView text, int sp) { in setTextSizeH() 83 private void setTextLabelH(TextView text, int labelResId) { in setTextLabelH()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | MenuEduTooltipViewTest.java | 53 final CharSequence text = "Message"; in show_matchMessageText() local 65 final CharSequence text = "Message"; in show_menuOnLeft_onRightOfAnchor() local 78 final CharSequence text = "Message"; in show_menuCloseToLeftOfCenter_onLeftOfAnchor() local 96 final CharSequence text = "Message"; in show_menuOnRight_onLeftOfAnchor() local
|
H A D | AnnotationLinkSpanTest.java | 54 final CharSequence text = getContext().getText( in linkifyText_textAttachedWithSpan() local 67 final CharSequence text = "text without any annotation tag"; in linkifyText_withoutAnnotationTag_textWithoutSpan() local 80 final CharSequence text = getContext().getText( in linkifyText_twoLinkInfoWithSameAnnotation_listenerInvoked() local
|
/aosp14/frameworks/base/core/java/android/text/util/ |
H A D | Rfc822Tokenizer.java | 45 public static void tokenize(CharSequence text, Collection<Rfc822Token> out) { in tokenize() 171 public static Rfc822Token[] tokenize(CharSequence text) { in tokenize() 210 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart() 241 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd() 311 public CharSequence terminateToken(CharSequence text) { in terminateToken()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 155 public static View button(int position, Context context, String text, int desiredHeight) { in button() 176 public static View convertButton(View convertView, String text, int position) { in convertButton() 195 public static View text(int position, Context context, String text, int desiredHeight) { in text() method in ListItemFactory 216 public static View convertText(View convertView, String text, int position) { in convertText() 236 public static View doubleText(int position, Context context, String text, int desiredHeight) { in doubleText() 279 public static View convertDoubleText(View convertView, String text, int position) { in convertDoubleText()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | DynamicLayoutOffsetMappingTest.java | 41 final String text = "abcde"; in textWithOffsetMapping() local 57 final String text = "abcdef"; in textWithOffsetMapping_deletion() local 86 final String text = "abcdef"; in textWithOffsetMapping_insertion() local 107 final String text = "abcdef"; in textWithOffsetMapping_replace() local 124 final String text = "abcdef"; in textWithOffsetMapping_blockBeforeTextChanged_deletion() local 148 final String text = "abcdef"; in textWithOffsetMapping_blockBeforeTextChanged_insertion() local 169 final String text = "abcdef"; in textWithOffsetMapping_blockBeforeTextChanged_replace() local 186 String text = "abcdef"; in textWithOffsetMapping_onlyCallOnTextChanged_notCrash() local 218 TestNoBeforeTextChangeSpannableString(CharSequence text) { in TestNoBeforeTextChangeSpannableString()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | pseudolocalize.h | 19 String16 text(const String16& text) { return text; } in text() argument 20 String16 placeholder(const String16& text) { return text; } in placeholder()
|
/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | UiBot.java | 65 public UiObject getNotification(String text) { in getNotification() 80 public UiObject2 getNotification2(String text) { in getNotification2() 123 public void clickOnNotification(String text) { in clickOnNotification() 133 public UiObject getObject(String text) { in getObject() 155 public UiObject getVisibleObject(String text) { in getVisibleObject()
|