Home
last modified time | relevance | path

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

12345678910>>...12

/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()
121 public static boolean moveUp(Spannable text, Layout layout) { in moveUp()
162 public static boolean moveDown(Spannable text, Layout layout) { in moveDown()
204 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.java145 public static String toHtml(Spanned text) { in toHtml()
154 public static String escapeHtml(CharSequence text) { in escapeHtml()
160 private static void withinHtml(StringBuilder out, Spanned text) { in withinHtml()
196 private static void withinDiv(StringBuilder out, Spanned text, in withinDiv()
215 private static String getOpenParaTagWithDirection(Spanned text, int start, int end) { in getOpenParaTagWithDirection()
232 private static void withinBlockquote(StringBuilder out, Spanned text, in withinBlockquote()
256 private static void withinParagraph(StringBuilder out, Spanned text, in withinParagraph()
383 private static void withinStyle(StringBuilder out, CharSequence text, in withinStyle()
578 private static void handleP(SpannableStringBuilder text) { in handleP()
595 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.java91 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering()
116 Editable text = getText(); in enoughToFilter() local
168 protected void performFiltering(CharSequence text, int start, int end, in performFiltering()
187 protected void replaceText(CharSequence text) { in replaceText()
217 public int findTokenStart(CharSequence text, int cursor); in findTokenStart()
223 public int findTokenEnd(CharSequence text, int cursor); in findTokenEnd()
229 public CharSequence terminateToken(CharSequence text); in terminateToken()
237 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart()
250 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd()
265 public CharSequence terminateToken(CharSequence text) { in terminateToken()
DDialerFilter.java322 public void append(String text) { in append()
345 Editable text; in clearText() local
362 CharSequence text = mLetters.getText(); in setLettersWatcher() local
368 CharSequence text = mDigits.getText(); in setDigitsWatcher() local
382 Spannable text; in removeFilterWatcher() local
DTextSwitcher.java78 public void setText(CharSequence text) { in setText()
90 public void setCurrentText(CharSequence text) { in setCurrentText()
/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/core/java/android/content/
DClipData.java194 public Item(CharSequence text) { in Item()
207 public Item(CharSequence text, String htmlText) { in Item()
238 public Item(CharSequence text, Intent intent, Uri uri) { in Item()
251 public Item(CharSequence text, String htmlText, Intent intent, Uri uri) { in Item()
314 CharSequence text = getText(); in coerceToText() local
387 CharSequence text = getText(); in coerceToStyledText() local
444 CharSequence text = getText(); in coerceToHtmlText() local
494 String text = builder.toString(); in coerceToHtmlOrStyledText() local
666 static public ClipData newPlainText(CharSequence label, CharSequence text) { in newPlainText()
681 static public ClipData newHtmlText(CharSequence label, CharSequence text, in newHtmlText()
[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/base/graphics/java/android/graphics/
DPaint.java1388 public float measureText(char[] text, int index, int count) { in measureText()
1410 private native float native_measureText(char[] text, int index, int count, int bidiFlags); in native_measureText()
1420 public float measureText(String text, int start, int end) { in measureText()
1442 private native float native_measureText(String text, int start, int end, int bidiFlags); in native_measureText()
1450 public float measureText(String text) { in measureText()
1469 private native float native_measureText(String text, int bidiFlags); in native_measureText()
1479 public float measureText(CharSequence text, int start, int end) { in measureText()
1523 public int breakText(char[] text, int index, int count, in breakText()
1548 private native int native_breakText(char[] text, int index, int count, in native_breakText()
1567 public int breakText(CharSequence text, int start, int end, in breakText()
[all …]
/frameworks/base/core/jni/android/graphics/
DTextLayout.cpp35 bool TextLayout::needsLayout(const jchar* text, jint len, jint bidiFlags) { in needsLayout()
54 void TextLayout::handleText(SkPaint *paint, const jchar* text, jsize len, in handleText()
83 void TextLayout::getTextPath(SkPaint *paint, const jchar *text, jsize len, in getTextPath()
89 void TextLayout::drawTextOnPath(SkPaint* paint, const jchar* text, int count, in drawTextOnPath()
/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()
435 public boolean setComposingText(CharSequence text, int newCursorPosition) { in setComposingText()
596 private void replaceText(CharSequence text, int newCursorPosition, in replaceText()
/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()
/frameworks/testing/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/app/
DAlertDialog.java221 public void setButton(int whichButton, CharSequence text, Message msg) { in setButton()
235 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { in setButton()
244 public void setButton(CharSequence text, Message msg) { in setButton()
253 public void setButton2(CharSequence text, Message msg) { in setButton2()
262 public void setButton3(CharSequence text, Message msg) { in setButton3()
276 public void setButton(CharSequence text, final OnClickListener listener) { in setButton()
289 public void setButton2(CharSequence text, final OnClickListener listener) { in setButton2()
302 public void setButton3(CharSequence text, final OnClickListener listener) { in setButton3()
500 public Builder setPositiveButton(CharSequence text, final OnClickListener listener) { in setPositiveButton()
526 public Builder setNegativeButton(CharSequence text, final OnClickListener listener) { in setNegativeButton()
[all …]
/frameworks/ex/chips/src/com/android/ex/chips/recipientchip/
DInvisibleRecipientChip.java75 public void setOriginalText(final String text) { in setOriginalText()
90 public void draw(final Canvas canvas, final CharSequence text, final int start, final int end, in draw()
96 public int getSize(final Paint paint, final CharSequence text, final int start, final int end, in getSize()
/frameworks/base/core/java/android/text/style/
DLineHeightSpan.java27 public void chooseHeight(CharSequence text, int start, int end, in chooseHeight()
32 public void chooseHeight(CharSequence text, int start, int end, in chooseHeight()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V40.java55 protected String maybeUnescapeText(final String text) { in maybeUnescapeText()
59 public static String unescapeText(final String text) { in unescapeText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTicker.java64 CharSequence text; field in Ticker.Segment
138 Segment(StatusBarNotification n, Drawable icon, CharSequence text) { in Segment()
177 TextView text = (TextView)mTextSwitcher.getChildAt(0); in Ticker() local
202 final CharSequence text = n.getNotification().tickerText; in addEntry() local
265 CharSequence text = seg.getText(); in reflowText() local

12345678910>>...12