Home
last modified time | relevance | path

Searched defs:text (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/frameworks/base/core/tests/coretests/src/android/text/method/
DWordIteratorTest.java28 final String text = "text"; in testSetCharSequence() local
50 final String text = "abc def-ghi. jkl"; in testPreceding() local
76 final String text = "abc def-ghi. jkl"; in testFollowing() local
102 final String text = "abc def-ghi. jkl"; in testIsBoundary() local
129 final String text = "abc def-ghi. jkl"; in testNextBoundary() local
175 final String text = "abc def-ghi. jkl"; in testPrevBoundary() local
221 final String text = "abc def-ghi. jkl"; in testGetBeginning() local
249 final String text = "abc def-ghi. jkl"; in testGetBeginning() local
272 final String text = "\u3042\u30A2\u30A3\u30A4"; in testGetBeginning() local
294 final String text = "abc def-ghi. jkl"; in testGetEnd() local
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java100 final String text = "\u0623\u064F\u067A\u0633\u0652"; in testPositionCursorAtTextAtIndex_arabic() local
121 final String text = "\u0915\u093E"; in testPositionCursorAtTextAtIndex_devanagari() local
170 final String text = "abc def ghi."; in testDragAndDrop() local
225 final String text = "Toolbar appears after selection."; in testToolbarAppearsAfterSelection() local
270 final String text = "text"; in testToolbarAndInsertionHandle() local
290 final String text = "abcd efg hijk"; in testToolbarAndSelectionHandle() local
326 final String text = "abcd efg hijk "; in testInsertionHandle() local
346 final String text = "abcd\n" + "efg\n" + "hijk\n"; in testInsertionHandle_multiLine() local
366 final String text = "abcd efg hijk lmn"; in testSelectionHandles() local
391 final String text = "abc \u0621\u0622\u0623 def"; in testSelectionHandles_bidi() local
[all …]
DTextViewActivityMouseTest.java104 final String text = "abc def ghi."; in testContextMenu() local
155 final String text = "abc def ghi."; in testDragAndDrop() local
172 final String text = "abc def ghi."; in testDragAndDrop_longClick() local
239 final String text = "abcd efg hijk lmn"; in testSelectTextByDoubleClickAndDrag() local
250 final String text = "abcd efg hijk lmn"; in testSelectTextByDoubleClickAndDrag_reverse() local
261 final String text = "abcd efg hijk lmn"; in testSelectTextByLongPressAndDrag() local
272 final String text = "abcd efg hijk lmn"; in testSelectTextByLongPressAndDrag_reverse() local
291 final String text = builder.toString(); in testSelectTextByTripleClick() local
325 final String text = builder.toString(); in testSelectTextByTripleClickAndDrag() local
354 final String text = builder.toString(); in testSelectTextByTripleClickAndDrag_reverse() local
DSuggestionsPopupWindowTest.java77 final Spannable text = (Spannable) textView.getText(); in setSuggestionSpan() local
86 final String text = "abc def ghi"; in testOnTextContextMenuItem() local
104 final String text = "abc def ghi"; in testSelectionActionMode() local
126 final String text = "abc def ghi"; in testInsertionActionMode() local
155 final String text = "abc def ghi"; in testSuggestionItems() local
193 final String text = "abc def ghi"; in testMisspelled() local
220 final String text = "abc def ghi"; in testEasyCorrect() local
256 final String text = "abc def ghi"; in testTextAppearanceInSuggestionsPopup() local
/frameworks/base/core/java/android/text/
DSelection.java37 public static final int getSelectionStart(CharSequence text) { in getSelectionStart()
48 public static final int getSelectionEnd(CharSequence text) { in getSelectionEnd()
67 public static void setSelection(Spannable text, int start, int stop) { in setSelection()
86 public static final void setSelection(Spannable text, int index) { in setSelection()
93 public static final void selectAll(Spannable text) { in selectAll()
100 public static final void extendSelection(Spannable text, int index) { in extendSelection()
108 public static final void removeSelection(Spannable text) { in removeSelection()
122 public static boolean moveUp(Spannable text, Layout layout) { in moveUp()
168 public static boolean moveDown(Spannable text, Layout layout) { in moveDown()
213 public static boolean moveLeft(Spannable text, Layout layout) { in moveLeft()
[all …]
DEditable.java58 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()
DHtml.java252 public static String toHtml(Spanned text) { in toHtml()
266 public static String toHtml(Spanned text, int option) { in toHtml()
275 public static String escapeHtml(CharSequence text) { in escapeHtml()
281 private static void withinHtml(StringBuilder out, Spanned text, int option) { in withinHtml()
290 private static void encodeTextAlignmentByDiv(StringBuilder out, Spanned text, int option) { in encodeTextAlignmentByDiv()
326 private static void withinDiv(StringBuilder out, Spanned text, int start, int end, in withinDiv()
345 private static String getTextDirection(Spanned text, int start, int end) { in getTextDirection()
362 private static String getTextStyles(Spanned text, int start, int end, in getTextStyles()
406 private static void withinBlockquote(StringBuilder out, Spanned text, int start, int end, in withinBlockquote()
415 private static void withinBlockquoteIndividual(StringBuilder out, Spanned text, int start, in withinBlockquoteIndividual()
[all …]
DSpanWatcher.java29 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/
DMovementMethod.java36 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()
DKeyListener.java63 public boolean onKeyDown(View view, Editable text, in onKeyDown()
71 public boolean onKeyUp(View view, Editable text, in onKeyUp()
79 public boolean onKeyOther(View view, Editable text, KeyEvent event); in onKeyOther()
/frameworks/base/core/java/android/widget/
DMultiAutoCompleteTextView.java94 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()
DDialerFilter.java320 public void append(String text) { in append()
343 Editable text; in clearText() local
360 CharSequence text = mLetters.getText(); in setLettersWatcher() local
366 CharSequence text = mDigits.getText(); in setDigitsWatcher() local
380 Spannable text; in removeFilterWatcher() local
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DInstanceAdapter.java31 public void setInstanceAttr0(TextView view, String text) { in setInstanceAttr0()
36 public void setInstanceAttr1(TextView view, String text, String text2) { in setInstanceAttr1()
41 public void setInstanceAttr3(TextView view, String oldText, String text) { in setInstanceAttr3()
52 … public static void setInstanceAttr6(DataBindingComponent component, TextView view, String text) { in setInstanceAttr6()
57 public void setInstanceAttr7(DataBindingComponent component, TextView view, String text) { in setInstanceAttr7()
62 … public void setInstanceAttr8(TestComponent component, TextView view, String text, String text2) { in setInstanceAttr8()
/frameworks/base/core/java/android/text/util/
DRfc822Tokenizer.java45 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/
DListItemFactory.java155 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() argument
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/
Dpseudolocalize.h19 String16 text(const String16& text) { return text; } in text() function
20 String16 placeholder(const String16& text) { return text; } in placeholder()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DItem.java32 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/base/packages/Shell/tests/src/com/android/shell/
DUiBot.java51 public UiObject getNotification(String text) { in getNotification()
65 public void clickOnNotification(String text) { in clickOnNotification()
75 public UiObject getObject(String text) { in getObject()
97 public UiObject getVisibleObject(String text) { in getVisibleObject()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java199 final CharSequence text = mContext.getString(R.string.ext_media_missing_message); in updateMissingPrivateVolumes() local
225 final CharSequence text = mContext.getString( in onDiskScannedInternal() local
326 final CharSequence text = mContext.getString( in onVolumeChecking() local
348 final CharSequence text = mContext.getString( in onVolumeMounted() local
365 final CharSequence text = mContext.getString( in onVolumeMounted() local
397 final CharSequence text = mContext.getString( in onVolumeEjecting() local
411 final CharSequence text = mContext.getString( in onVolumeUnmountable() local
429 final CharSequence text = mContext.getString( in onVolumeRemoved() local
446 final CharSequence text = mContext.getString( in onVolumeBadRemoval() local
462 final CharSequence text; in onMoveProgress() local
[all …]
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer.cpp41 std::u16string text(const StringPiece16& text) override { return text.toString(); } in text() argument
42 std::u16string placeholder(const StringPiece16& text) override { return text.toString(); } in placeholder()
82 std::u16string Pseudolocalizer::text(const StringPiece16& text) { in text() argument
270 std::u16string PseudoMethodAccent::text(const StringPiece16& source) in text() function in aapt::PseudoMethodAccent
364 std::u16string PseudoMethodBidi::text(const StringPiece16& source) { in text() function in aapt::PseudoMethodBidi
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java183 public void cdsect(String text) throws IOException, IllegalArgumentException, in cdsect()
188 public void comment(String text) throws IOException, IllegalArgumentException, in comment()
193 public void docdecl(String text) throws IOException, IllegalArgumentException, in docdecl()
224 public void entityRef(String text) throws IOException, IllegalArgumentException, in entityRef()
289 public void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, in ignorableWhitespace()
294 public void processingInstruction(String text) throws IOException, IllegalArgumentException, in processingInstruction()
375 public XmlSerializer text(char[] buf, int start, int len) throws IOException, in text() method in FastXmlSerializer
388 public XmlSerializer text(String text) throws IOException, IllegalArgumentException, in text() argument
/frameworks/support/compat/java/android/support/v4/text/util/
DLinkifyCompat.java93 public static final boolean addLinks(@NonNull Spannable text, @LinkifyMask int mask) { in addLinks()
154 public static final boolean addLinks(@NonNull TextView text, @LinkifyMask int mask) { in addLinks()
193 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks()
212 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks()
235 public static final void addLinks(@NonNull TextView text, @NonNull Pattern pattern, in addLinks()
257 public static final boolean addLinks(@NonNull Spannable text, @NonNull Pattern pattern, in addLinks()
399 private static void applyLink(String url, int start, int end, Spannable text) { in applyLink()
446 private static final void pruneOverlaps(ArrayList<LinkSpec> links, Spannable text) { in pruneOverlaps()
/frameworks/base/core/java/android/content/
DClipData.java205 public Item(CharSequence text) { in Item()
218 public Item(CharSequence text, String htmlText) { in Item()
249 public Item(CharSequence text, Intent intent, Uri uri) { in Item()
262 public Item(CharSequence text, String htmlText, Intent intent, Uri uri) { in Item()
325 CharSequence text = getText(); in coerceToText() local
398 CharSequence text = getText(); in coerceToStyledText() local
455 CharSequence text = getText(); in coerceToHtmlText() local
510 String text = builder.toString(); in coerceToHtmlOrStyledText() local
699 static public ClipData newPlainText(CharSequence label, CharSequence text) { in newPlainText()
714 static public ClipData newHtmlText(CharSequence label, CharSequence text, in newHtmlText()
[all …]
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java69 private String text; field in AbstractMessageParser
88 public AbstractMessageParser(String text) { in AbstractMessageParser()
98 public AbstractMessageParser(String text, boolean parseSmilies, in AbstractMessageParser()
195 public static Token tokenForUrl(String url, String text) { in tokenForUrl()
464 private void addURLToken(String url, String text) { in addURLToken()
684 protected String text; field in AbstractMessageParser.Token
686 protected Token(Type type, String text) { in Token()
724 public Html(String text, String html) { in Html()
750 private static String trimLeadingWhitespace(String text) { in trimLeadingWhitespace()
759 public static String trimTrailingWhitespace(String text) { in trimTrailingWhitespace()
[all …]
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/
DRichTextView.java60 public static CharSequence getRichText(Context context, CharSequence text) { in getRichText()
106 public void setText(CharSequence text, BufferType type) { in setText()
130 private boolean hasLinks(CharSequence text) { in hasLinks()

12345678910>>...17