Searched defs:text (Results 126 - 150 of 328) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/method/
H A DDigitsKeyListener.java17 package android.text.method;
19 import android.text.InputType;
20 import android.text.Spanned;
21 import android.text.SpannableStringBuilder;
26 * For digits-only text entry
157 * Find out if the existing text has a sign or decimal point characters.
H A DNumberKeyListener.java17 package android.text.method;
21 import android.text.Editable;
22 import android.text.InputFilter;
23 import android.text.Selection;
24 import android.text.Spannable;
25 import android.text.SpannableStringBuilder;
26 import android.text.Spanned;
29 * For numeric text entry
H A DTouch.java17 package android.text.method;
19 import android.text.Layout;
20 import android.text.Layout.Alignment;
21 import android.text.NoCopySpan;
22 import android.text.Spannable;
34 * the text that will be visible after scrolling to the specified
180 * @param widget The text view.
181 * @param buffer The text buffer.
189 * @param widget The text view.
190 * @param buffer The text buffe
[all...]
H A DWordIterator.java18 package android.text.method;
20 import android.text.Selection;
21 import android.text.SpannableStringBuilder;
23 import java.text.BreakIterator;
52 * @param locale The locale to be used when analysing the text.
H A DBaseMovementMethod.java17 package android.text.method;
19 import android.text.Layout;
20 import android.text.Spannable;
36 public void initialize(TextView widget, Spannable text) { argument
40 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event) { argument
41 final int movementMetaState = getMovementMetaState(text, event);
42 boolean handled = handleMovementKey(widget, text, keyCode, movementMetaState, event);
44 MetaKeyKeyListener.adjustMetaAfterKeypress(text);
45 MetaKeyKeyListener.resetLockedMeta(text);
51 public boolean onKeyOther(TextView widget, Spannable text, KeyEven argument
74 onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event) argument
79 onTakeFocus(TextView widget, Spannable text, int direction) argument
83 onTouchEvent(TextView widget, Spannable text, MotionEvent event) argument
88 onTrackballEvent(TextView widget, Spannable text, MotionEvent event) argument
93 onGenericMotionEvent(TextView widget, Spannable text, MotionEvent event) argument
[all...]
/frameworks/base/core/java/android/text/util/
H A DRfc822Token.java17 package android.text.util;
H A DLinkify.java17 package android.text.util;
20 import android.text.method.LinkMovementMethod;
21 import android.text.method.MovementMethod;
22 import android.text.style.URLSpan;
23 import android.text.Spannable;
24 import android.text.SpannableString;
25 import android.text.Spanned;
45 * Linkify take a piece of text and a regular expression and turns all of the
46 * regex matches in the text into clickable links. This is particularly
52 * will have the scheme prepended to the matched text whe
204 addLinks(Spannable text, int mask) argument
256 addLinks(TextView text, int mask) argument
306 addLinks(TextView text, Pattern pattern, String scheme) argument
325 addLinks(TextView text, Pattern p, String scheme, MatchFilter matchFilter, TransformFilter transformFilter) argument
346 addLinks(Spannable text, Pattern pattern, String scheme) argument
392 applyLink(String url, int start, int end, Spannable text) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DCompletionInfo.java21 import android.text.TextUtils;
24 * Information about a single text completion that an editor has reported to
58 * Create a simple completion with just text, no label.
63 * @param text The text that should be inserted into the editor when
66 public CompletionInfo(long id, int index, CharSequence text) { argument
69 mText = text;
74 * Create a full completion with both text and label. The text is
82 * @param text Th
87 CompletionInfo(long id, int index, CharSequence text, CharSequence label) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java20 import android.text.Layout;
21 import android.text.Spannable;
25 * This class contains the implementation of text segment iterators
45 public void initialize(Spannable text, Layout layout) { argument
46 mText = text.toString();
H A DEditText.java20 import android.text.Editable;
21 import android.text.Selection;
22 import android.text.Spannable;
23 import android.text.TextUtils;
24 import android.text.method.ArrowKeyMovementMethod;
25 import android.text.method.MovementMethod;
41 * <p>See the <a href="{@docRoot}guide/topics/ui/controls/text.html">Text Fields</a>
79 public void setText(CharSequence text, BufferType type) { argument
80 super.setText(text, BufferType.EDITABLE);
H A DMultiAutoCompleteTextView.java20 import android.text.Editable;
21 import android.text.SpannableString;
22 import android.text.Spanned;
23 import android.text.TextUtils;
24 import android.text.method.QwertyKeyListener;
30 * An editable text view, extending {@link AutoCompleteTextView}, that
31 * can show completion suggestions for the substring of the text where
37 * <p>The following code snippet shows how to create a text view which suggests
78 * range of the text where the user is typing.
91 protected void performFiltering(CharSequence text, in argument
168 performFiltering(CharSequence text, int start, int end, int keyCode) argument
187 replaceText(CharSequence text) argument
217 findTokenStart(CharSequence text, int cursor) argument
223 findTokenEnd(CharSequence text, int cursor) argument
229 terminateToken(CharSequence text) argument
237 findTokenStart(CharSequence text, int cursor) argument
250 findTokenEnd(CharSequence text, int cursor) argument
265 terminateToken(CharSequence text) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DLabelView.java26 * is used to draw simple text views. Note that it does not handle
27 * styled text or right-to-left writing systems.
87 * Sets the text to display in this label
88 * @param text The text to display. This will be drawn as one line.
90 public void setText(String text) { argument
91 mText = text;
97 * Sets the text size for this label
107 * Sets the text color for this label
108 * @param color ARGB value for the text
[all...]
H A DTextViewWordLimitsTest.java21 import android.text.InputType;
22 import android.text.Selection;
23 import android.text.Spannable;
24 import android.text.SpannableString;
69 * @param text Text to select a word from
79 private void verifyWordLimits(String text, int pos, int correctStart, int correctEnd) argument
81 mTv.setText(text, TextView.BufferType.SPANNABLE);
91 private void verifySelectCurrentWord(Spannable text, int selectionStart, int selectionEnd, int correctStart, argument
93 mTv.setText(text, TextView.BufferType.SPANNABLE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsBasicTile.java53 mTextView = (TextView) findViewById(R.id.text);
78 public void setText(CharSequence text) { argument
79 mTextView.setText(text);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java32 * Render the text by breaking it into various scripts and using the right font for each script.
33 * Can be used to measure the text without actually drawing it.
55 /* package */ char[] text; field in class:BidiRenderer
60 * @param text Unidirectional text. Should not be null.
62 /* package */ BidiRenderer(Graphics2D graphics, Paint_Delegate paint, char[] text) { argument
66 this.text = text;
70 * Render unidirectional text.
72 * This method can also be used to measure the width of the text withou
186 getScriptRuns(char[] text, int start, int limit, boolean isRtl, List<FontInfo> fonts) argument
205 setScriptFont(char[] text, ScriptRun run, List<FontInfo> fonts) argument
[all...]
/frameworks/compile/mclinker/unittests/
H A DLinkerTest.cpp369 /// [ 1] .text PROGBITS 00000000 000034 000010 00 AX 0 0 4
370 LDSection* text = builder.CreateELFHeader(*input, local
371 ".text",
376 SectionData* text_data = builder.CreateSectionData(*text);
384 /// [ 2] .rel.text REL 00000000 0002ac 000008 08 7 1 4
386 ".rel.text",
389 rel_text->setLink(text);
434 ".text", ResolveInfo::Section,
435 ResolveInfo::Define, ResolveInfo::Local, 0, 0x0, text);
454 text);
[all...]
/frameworks/ex/chips/src/com/android/ex/chips/recipientchip/
H A DSimpleRecipientChip.java21 import android.text.TextUtils;
82 public void setOriginalText(final String text) { argument
83 if (TextUtils.isEmpty(text)) {
84 mOriginalText = text;
86 mOriginalText = text.trim();
H A DVisibleRecipientChip.java22 import android.text.style.DynamicDrawableSpan;
23 import android.text.style.ImageSpan;
76 public void setOriginalText(final String text) { argument
77 mDelegate.setOriginalText(text);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DUtils.java24 import android.text.format.Time;
51 * Try to speak the specified text, for accessibility. Only available on JB or later.
52 * @param text Text to announce.
55 public static void tryAccessibilityAnnounce(View view, CharSequence text) { argument
56 if (isJellybeanOrLater() && view != null && text != null) {
57 view.announceForAccessibility(text);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DInput.java28 public String text; field in class:Input
42 text = "";
57 text = in.readString();
78 dest.writeString(text);
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeProviderCompat.java57 String text, int virtualViewId) {
59 compat.findAccessibilityNodeInfosByText(text, virtualViewId);
98 String text, int virtualViewId) {
100 compat.findAccessibilityNodeInfosByText(text, virtualViewId);
216 * Finds {@link AccessibilityNodeInfoCompat}s by text. The match is case insensitive
223 * @param text The searched text.
229 public List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByText(String text, argument
/frameworks/base/core/java/android/text/
H A DBidiFormatter.java17 package android.text;
21 import static android.text.TextDirectionHeuristics.FIRSTSTRONG_LTR;
26 * Utility class for formatting text for display in a potentially opposite-directionality context
28 * directionality of the text can be either estimated or passed in when known.
31 * you can use the support library's {@link android.support.v4.text.BidiFormatter} class.
36 * When text in one language is mixed into a document in another, opposite-directionality language,
37 * e.g. when an English business name is embedded in some Hebrew text, both the inserted string
38 * and the text surrounding it may be displayed incorrectly unless the inserted string is explicitly
39 * separated from the surrounding text in a "wrapper" that:
49 * separate opposite-direction text tha
526 private final String text; field in class:BidiFormatter.DirectionalityEstimator
559 DirectionalityEstimator(String text, boolean isHtml) argument
[all...]
H A DBoringLayout.java17 package android.text;
22 import android.text.style.ParagraphStyle;
26 * A BoringLayout is a very simple Layout implementation for text that
30 * the text meets the criteria.
31 * <p>This class is used by widgets to control text layout. You should not need
61 * Returns a BoringLayout for the specified text, potentially reusing
83 * Returns a BoringLayout for the specified text, potentially reusing
209 * full text, not the ellipsized form.
227 public static Metrics isBoring(CharSequence text, argument
229 return isBoring(text, pain
236 isBoring(CharSequence text, TextPaint paint, TextDirectionHeuristic textDir) argument
247 isBoring(CharSequence text, TextPaint paint, Metrics metrics) argument
257 isBoring(CharSequence text, TextPaint paint, TextDirectionHeuristic textDir, Metrics metrics) argument
[all...]
H A DSelection.java17 package android.text;
19 import java.text.BreakIterator;
37 public static final int getSelectionStart(CharSequence text) { argument
38 if (text instanceof Spanned)
39 return ((Spanned) text).getSpanStart(SELECTION_START);
48 public static final int getSelectionEnd(CharSequence text) { argument
49 if (text instanceof Spanned)
50 return ((Spanned) text).getSpanStart(SELECTION_END);
67 public static void setSelection(Spannable text, int start, int stop) { argument
68 // int len = text
86 setSelection(Spannable text, int index) argument
93 selectAll(Spannable text) argument
100 extendSelection(Spannable text, int index) argument
108 removeSelection(Spannable text) argument
121 moveUp(Spannable text, Layout layout) argument
162 moveDown(Spannable text, Layout layout) argument
204 moveLeft(Spannable text, Layout layout) argument
229 moveRight(Spannable text, Layout layout) argument
252 extendUp(Spannable text, Layout layout) argument
281 extendDown(Spannable text, Layout layout) argument
310 extendLeft(Spannable text, Layout layout) argument
326 extendRight(Spannable text, Layout layout) argument
338 extendToLeftEdge(Spannable text, Layout layout) argument
344 extendToRightEdge(Spannable text, Layout layout) argument
350 moveToLeftEdge(Spannable text, Layout layout) argument
356 moveToRightEdge(Spannable text, Layout layout) argument
371 moveToPreceding( Spannable text, PositionIterator iter, boolean extendSelection) argument
385 moveToFollowing( Spannable text, PositionIterator iter, boolean extendSelection) argument
398 findEdge(Spannable text, Layout layout, int dir) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java17 package android.text;
21 import android.text.Layout.Alignment;
22 import static android.text.Layout.Alignment.*;
116 * large text. See effect of leading. Currently, we don't expect there to
236 String text = "This is a test"; field in class:StaticLayoutTest.LayoutBuilder
244 LayoutBuilder setText(String text) { argument
245 this.text = text;
280 return new StaticLayout(text, paint, width, align, spacingMult,

Completed in 647 milliseconds

1234567891011>>