Home
last modified time | relevance | path

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

12345678910>>...15

/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.java54 public Editable replace(int st, int en, CharSequence text); in replace()
60 public Editable insert(int where, CharSequence text, int start, int end); in insert()
66 public Editable insert(int where, CharSequence text); in insert()
78 public Editable append(CharSequence text); in append()
84 public Editable append(CharSequence text, int start, int end); in append()
90 public Editable append(char text); in append()
DHtml.java147 public static String toHtml(Spanned text) { in toHtml()
156 public static String escapeHtml(CharSequence text) { in escapeHtml()
162 private static void withinHtml(StringBuilder out, Spanned text) { in withinHtml()
198 private static void withinDiv(StringBuilder out, Spanned text, in withinDiv()
217 private static String getOpenParaTagWithDirection(Spanned text, int start, int end) { in getOpenParaTagWithDirection()
234 private static void withinBlockquote(StringBuilder out, Spanned text, in withinBlockquote()
263 private static boolean withinParagraph(StringBuilder out, Spanned text, in withinParagraph()
387 private static void withinStyle(StringBuilder out, CharSequence text, in withinStyle()
582 private static void handleP(SpannableStringBuilder text) { in handleP()
599 private static void handleBr(SpannableStringBuilder text) { in handleBr()
[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()
DMetaKeyKeyListener.java144 public static void resetMetaState(Spannable text) { in resetMetaState()
159 public static final int getMetaState(CharSequence text) { in getMetaState()
180 public static final int getMetaState(final CharSequence text, final KeyEvent event) { in getMetaState()
199 public static final int getMetaState(CharSequence text, int meta) { in getMetaState()
230 public static final int getMetaState(final CharSequence text, final int meta, in getMetaState()
249 private static int getActive(CharSequence text, Object meta, in getActive()
282 public static boolean isMetaTracker(CharSequence text, Object what) { in isMetaTracker()
291 public static boolean isSelectingMetaTracker(CharSequence text, Object what) { in isSelectingMetaTracker()
/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() 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/
Dpseudolocalize.h19 String16 text(const String16& text) { return text; } in text() argument
20 String16 placeholder(const String16& text) { return text; } in placeholder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java193 final CharSequence text = mContext.getString(R.string.ext_media_missing_message); in updateMissingPrivateVolumes() local
218 final CharSequence text = mContext.getString( in onDiskScannedInternal() local
309 final CharSequence text = mContext.getString( in onVolumeChecking() local
331 final CharSequence text = mContext.getString( in onVolumeMounted() local
348 final CharSequence text = mContext.getString( in onVolumeMounted() local
380 final CharSequence text = mContext.getString( in onVolumeEjecting() local
394 final CharSequence text = mContext.getString( in onVolumeUnmountable() local
412 final CharSequence text = mContext.getString( in onVolumeRemoved() local
429 final CharSequence text = mContext.getString( in onVolumeBadRemoval() local
445 final CharSequence text; in onMoveProgress() local
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java182 public void cdsect(String text) throws IOException, IllegalArgumentException, in cdsect()
187 public void comment(String text) throws IOException, IllegalArgumentException, in comment()
192 public void docdecl(String text) throws IOException, IllegalArgumentException, in docdecl()
223 public void entityRef(String text) throws IOException, IllegalArgumentException, in entityRef()
288 public void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, in ignorableWhitespace()
293 public void processingInstruction(String text) throws IOException, IllegalArgumentException, in processingInstruction()
372 public XmlSerializer text(char[] buf, int start, int len) throws IOException, in text() method in FastXmlSerializer
385 public XmlSerializer text(String text) throws IOException, IllegalArgumentException, in text() method in FastXmlSerializer
/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/core/java/android/content/
DClipData.java195 public Item(CharSequence text) { in Item()
208 public Item(CharSequence text, String htmlText) { in Item()
239 public Item(CharSequence text, Intent intent, Uri uri) { in Item()
252 public Item(CharSequence text, String htmlText, Intent intent, Uri uri) { in Item()
315 CharSequence text = getText(); in coerceToText() local
388 CharSequence text = getText(); in coerceToStyledText() local
445 CharSequence text = getText(); in coerceToHtmlText() local
495 String text = builder.toString(); in coerceToHtmlOrStyledText() local
684 static public ClipData newPlainText(CharSequence label, CharSequence text) { in newPlainText()
699 static public ClipData newHtmlText(CharSequence label, CharSequence text, in newHtmlText()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPaint.java1481 public float measureText(char[] text, int index, int count) { in measureText()
1503 private native float native_measureText(char[] text, int index, int count, int bidiFlags); in native_measureText()
1513 public float measureText(String text, int start, int end) { in measureText()
1535 private native float native_measureText(String text, int start, int end, int bidiFlags); in native_measureText()
1543 public float measureText(String text) { in measureText()
1562 private native float native_measureText(String text, int bidiFlags); in native_measureText()
1572 public float measureText(CharSequence text, int start, int end) { in measureText()
1616 public int breakText(char[] text, int index, int count, in breakText()
1643 char[] text, int index, int count, in native_breakText()
1662 public int breakText(CharSequence text, int start, int end, in breakText()
[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/base/core/java/android/view/inputmethod/
DBaseInputConnection.java76 public static final void removeComposingSpans(Spannable text) { in removeComposingSpans()
89 public static void setComposingSpans(Spannable text) { in setComposingSpans()
94 public static void setComposingSpans(Spannable text, int start, int end) { in setComposingSpans()
119 public static int getComposingSpanStart(Spannable text) { in getComposingSpanStart()
123 public static int getComposingSpanEnd(Spannable text) { in getComposingSpanEnd()
179 public boolean commitCompletion(CompletionInfo text) { in commitCompletion()
195 public boolean commitText(CharSequence text, int newCursorPosition) { in commitText()
443 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText()
606 private void replaceText(CharSequence text, int newCursorPosition, in replaceText()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiScrollable.java115 public UiObject getChildByDescription(UiSelector childPattern, String text) in getChildByDescription()
137 public UiObject getChildByDescription(UiSelector childPattern, String text, in getChildByDescription()
186 public UiObject getChildByText(UiSelector childPattern, String text) in getChildByText()
207 public UiObject getChildByText(UiSelector childPattern, String text, boolean allowScrollSearch) in getChildByText()
228 public boolean scrollDescriptionIntoView(String text) throws UiObjectNotFoundException { in scrollDescriptionIntoView()
333 public boolean scrollTextIntoView(String text) throws UiObjectNotFoundException { in scrollTextIntoView()
/frameworks/base/core/java/android/view/textservice/
DTextInfo.java41 public TextInfo(String text) { in TextInfo()
51 public TextInfo(String text, int cookie, int sequenceNumber) { in TextInfo()
55 private static int getStringLengthOrZero(final String text) { in getStringLengthOrZero()
/frameworks/base/core/java/android/app/
DAlertDialog.java307 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton()
321 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton()
330 public void setButton(CharSequence text, Message msg) { in setButton()
339 public void setButton2(CharSequence text, Message msg) { in setButton2()
348 public void setButton3(CharSequence text, Message msg) { in setButton3()
362 public void setButton(CharSequence text, final OnClickListener listener) { in setButton()
375 public void setButton2(CharSequence text, final OnClickListener listener) { in setButton2()
388 public void setButton3(CharSequence text, final OnClickListener listener) { in setButton3()
622 public Builder setPositiveButton(CharSequence text, final OnClickListener listener) { in setPositiveButton()
648 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DInvisibleRecipientChip.java85 public void setOriginalText(final String text) { in setOriginalText()
95 public void draw(final Canvas canvas, final CharSequence text, final int start, final int end, in draw()
101 public int getSize(final Paint paint, final CharSequence text, final int start, final int end, in getSize()
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DCompilationResult.java37 public boolean resultContainsText(String text) { in resultContainsText()
41 public boolean errorContainsText(String text) { in errorContainsText()

12345678910>>...15