/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | WordIteratorTest.java | 154 final String text = "text"; in testSetCharSequence() local 177 final String text = "aaaa bbbb cccc dddd eeee ffff gggg hhhh iiii jjjj kkkk llll mmmm nnnn"; in testWindowWidth() 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 396 final String text = "abc def-ghi. jkl"; in testGetBeginning() local 424 final String text = "abc def-ghi. jkl"; in testGetBeginning() local 447 final String text = "\u3042\u30A2\u30A3\u30A4"; in testGetBeginning() local [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 56 private PrecomputedText makeMeasured(CharSequence text, TextPaint paint) { in makeMeasured() 61 private PrecomputedText makeMeasured(CharSequence text, TextPaint paint, int strategy, in makeMeasured() 71 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_FixedText_NoStyle_Greedy_NoHyphenation() local 85 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_RandomText_NoStyled_Greedy_NoHyphenation() local 100 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_RandomText_NoStyled_Greedy_Hyphenation() local 115 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_RandomText_NoStyled_Balanced_NoHyphenation() local 130 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_RandomText_NoStyled_Balanced_Hyphenation() local 145 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testCreate_RandomText_NoStyled_Balanced_Hyphenation_Fast() local 160 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, STYLE_TEXT); in testCreate_RandomText_Styled_Greedy_NoHyphenation() local 175 final PrecomputedText text = makeMeasured( in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation() local [all …]
|
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
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
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
|
D | TextViewActivityTest.java | 163 final String text = "\u0623\u064F\u067A\u0633\u0652"; in testPositionCursorAtTextAtIndex_arabic() local 183 final String text = "\u0915\u093E"; in testPositionCursorAtTextAtIndex_devanagari() local 231 final String text = "\uD83D\uDE00\uD83D\uDE01\uD83D\uDE02\uD83D\uDE03"; in testLongPressAndDragToSelect_emoji() local 245 final String text = "abc def ghi."; in testDragAndDrop() local 305 final String text = "Toolbar appears after selection."; in testToolbarAppearsAfterSelection() local 370 final String text = "Toolbar appears after performing accessibility's ACTION_LONG_CLICK."; in testToolbarAppearsAccessibilityLongClick() 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 [all …]
|
D | SuggestionsPopupWindowTest.java | 82 final Spannable text = (Spannable) textView.getText(); in setSuggestionSpan() local 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
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | CsvParserTest.java | 62 final String text = ""; in testEmpty() local 74 final String text = "\n"; in testOnlyNewline() local 86 final String text = "one,twoo,3\nfour,5,six\n"; in testTwoLines() local 101 final String text = "\"\",\"\",\"\"\n"; in testEscapedEmpty() local 114 final String text = "\"one\",\"twoo\",\"3\"\n"; in testEscapedText() local 127 final String text = "\"\"\"\",\"\"\"\"\"\",\"\"\"\"\n"; in testEscapedQuotes() local 140 final String text = "\",\",\",\",\",\"\n"; in testEscapedCommas() local 153 final String text = "\"\"\",\",\"\"\",\",\"\"\",\"\n"; in testEscapedQuotesAndCommas() local 166 final String text = "a,b,c"; in testNoNewline() local 179 final String text = "a,b,,"; in testNoNewlineWithCommas() local [all …]
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 40 public static final int getSelectionStart(CharSequence text) { in getSelectionStart() 51 public static final int getSelectionEnd(CharSequence text) { in getSelectionEnd() 58 private static int getSelectionMemory(CharSequence text) { in getSelectionMemory() 77 public static void setSelection(Spannable text, int start, int stop) { in setSelection() 85 private static void setSelection(Spannable text, int start, int stop, int memory) { in setSelection() 106 private static void updateMemory(Spannable text, int memory) { in updateMemory() 122 private static void removeMemory(Spannable text) { in removeMemory() 152 public static final void setSelection(Spannable text, int index) { in setSelection() 159 public static final void selectAll(Spannable text) { in selectAll() 166 public static final void extendSelection(Spannable text, int index) { in extendSelection() [all …]
|
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()
|
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() 282 private static void withinHtml(StringBuilder out, Spanned text, int option) { in withinHtml() 291 private static void encodeTextAlignmentByDiv(StringBuilder out, Spanned text, int option) { in encodeTextAlignmentByDiv() 327 private static void withinDiv(StringBuilder out, Spanned text, int start, int end, in withinDiv() 346 private static String getTextDirection(Spanned text, int start, int end) { in getTextDirection() 354 private static String getTextStyles(Spanned text, int start, int end, in getTextStyles() 398 private static void withinBlockquote(StringBuilder out, Spanned text, int start, int end, in withinBlockquote() 407 private static void withinBlockquoteIndividual(StringBuilder out, Spanned text, int start, in withinBlockquoteIndividual() [all …]
|
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()
|
/frameworks/base/core/java/android/text/method/ |
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()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
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 191 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testSetText_RandomText_Selectable() local 212 final CharSequence text = PrecomputedText.create( in testSetText_PrecomputedText() local 232 final CharSequence text = PrecomputedText.create( in testSetText_PrecomputedText_Selectable() local 251 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testOnMeasure_RandomText() local 271 final CharSequence text = mTextUtil.nextRandomParagraph(WORD_LENGTH, NO_STYLE_TEXT); in testOnMeasure_RandomText_Selectable() local [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
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()
|
D | BinaryXmlSerializer.java | 112 private void writeToken(int token, @Nullable String text) throws IOException { in writeToken() 320 public XmlSerializer text(char[] buf, int start, int len) throws IOException { in text() method in BinaryXmlSerializer 326 public XmlSerializer text(String text) throws IOException { in text() argument 332 public void cdsect(String text) throws IOException { in cdsect() 337 public void entityRef(String text) throws IOException { in entityRef() 342 public void processingInstruction(String text) throws IOException { in processingInstruction() 347 public void comment(String text) throws IOException { in comment() 352 public void docdecl(String text) throws IOException { in docdecl() 357 public void ignorableWhitespace(String text) throws IOException { in ignorableWhitespace()
|
/frameworks/base/core/java/android/widget/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
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()
|
/frameworks/base/core/java/android/text/util/ |
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()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
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()
|
/frameworks/base/tools/aapt/ |
D | pseudolocalize.h | 19 String16 text(const String16& text) { return text; } in text() argument 20 String16 placeholder(const String16& text) { return text; } in placeholder()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
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
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegate.java | 44 CharSequence text = event.getContentDescription(); in onInitializeAccessibilityEvent() local 55 CharSequence text = ((TextView) host).getText(); in onPopulateAccessibilityEvent() local 76 private CharSequence replaceFancyColon(CharSequence text) { in replaceFancyColon()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | Item.java | 32 public String text; field in Item 36 public Item(int id, String text) { in Item() 40 public Item(int id, String text, Bitmap icon) { in Item()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 39 static void getBounds(const U16StringPiece& text, Bidi bidiFlags, const MinikinPaint& paint, in getBounds() 64 std::vector<uint16_t> text; in TEST_F() local 150 std::vector<uint16_t> text; in TEST_F() local 244 std::vector<uint16_t> text; in TEST_F() local 336 std::vector<uint16_t> text = parseUnicodeString("'a' 'b' U+3042 U+3043 'c' 'd'"); in TEST_F() local 359 std::vector<uint16_t> text = parseUnicodeString("'1' '2' '3'"); in TEST_F() local 388 std::vector<uint16_t> text; in TEST_F() local 448 std::vector<uint16_t> text = utf8ToUtf16("I"); in TEST_F() local 458 std::vector<uint16_t> text = utf8ToUtf16("IV"); in TEST_F() local 469 std::vector<uint16_t> text = utf8ToUtf16("IVX"); in TEST_F() local
|