Searched defs:text (Results 1 - 25 of 441) sorted by last modified time

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DErrorFragment.java19 import android.text.TextUtils;
127 * Sets the button text.
129 * @param text The button text.
131 public void setButtonText(String text) { argument
132 mButtonText = text;
137 * Returns the button text.
H A DErrorSupportFragment.java21 import android.text.TextUtils;
129 * Sets the button text.
131 * @param text The button text.
133 public void setButtonText(String text) { argument
134 mButtonText = text;
139 * Returns the button text.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DImageCardView.java391 * Sets the title text.
393 public void setTitleText(CharSequence text) { argument
397 mTitleView.setText(text);
401 * Returns the title text.
412 * Sets the content text.
414 public void setContentText(CharSequence text) { argument
418 mContentView.setText(text);
422 * Returns the content text.
H A DListRowHoverCardView.java18 import android.text.TextUtils;
50 * Returns the title text.
57 * Sets the title text.
59 public final void setTitle(CharSequence text) { argument
60 if (!TextUtils.isEmpty(text)) {
61 mTitleView.setText(text);
69 * Returns the description text.
76 * Sets the description text.
78 public final void setDescription(CharSequence text) { argument
79 if (!TextUtils.isEmpty(text)) {
[all...]
H A DStreamingTextView.java23 import android.text.SpannableStringBuilder;
24 import android.text.Spanned;
25 import android.text.SpannedString;
26 import android.text.style.ForegroundColorSpan;
27 import android.text.style.ReplacementSpan;
42 * Shows the recognized text as a continuous stream of words.
105 * Resets the text view.
116 * Updates the recognized text.
147 // Copy the text and spans to a SpannedString, since editable text
189 addDottySpans(SpannableStringBuilder displayText, String text, int textStart) argument
199 addColorSpan(SpannableStringBuilder displayText, int color, String text, int textStart) argument
244 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
279 getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fontMetricsInt) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java72 * in place of their standard title text.</p>
101 * and title text with an optional subtitle. Clicking any of these elements
114 * List navigation mode. Instead of static title text this mode
127 * Tab navigation mode. Instead of static title text this mode
1187 * Return the text of this tab.
1189 * @return The tab's text
1210 * Set the text displayed on this tab. Text may be truncated if there is not
1213 * @param text The text to display
1216 public abstract Tab setText(CharSequence text); argument
[all...]
H A DAlertController.java31 import android.text.TextUtils;
296 * @param text The text to display in positive button.
300 public void setButton(int whichButton, CharSequence text, argument
310 mButtonPositiveText = text;
315 mButtonNegativeText = text;
320 mButtonNeutralText = text;
474 // Only display the text spacer if we don't have buttons.
912 CheckedTextView text = (CheckedTextView) view.findViewById(
914 text
[all...]
H A DAlertDialog.java63 * without text editors, so that it will be placed on top of the current
204 * @param text The text to display in positive button.
207 public void setButton(int whichButton, CharSequence text, Message msg) { argument
208 mAlert.setButton(whichButton, text, null, msg);
219 * @param text The text to display in positive button.
222 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
223 mAlert.setButton(whichButton, text, listener, null);
446 * @param textId The resource id of the text t
464 setPositiveButton(CharSequence text, final OnClickListener listener) argument
490 setNegativeButton(CharSequence text, final OnClickListener listener) argument
516 setNeutralButton(CharSequence text, final OnClickListener listener) argument
[all...]
H A DWindowDecorActionBar.java1223 public Tab setText(CharSequence text) { argument
1224 mText = text;
/frameworks/support/v7/appcompat/src/android/support/v7/text/
H A DAllCapsTransformationMethod.java17 package android.support.v7.text;
22 import android.text.method.TransformationMethod;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java55 import android.text.Editable;
56 import android.text.InputType;
57 import android.text.Spannable;
58 import android.text.SpannableStringBuilder;
59 import android.text.TextUtils;
60 import android.text.TextWatcher;
61 import android.text.style.ImageSpan;
221 * Callbacks for changes to the query text.
232 * @param query the query text that is to be submitted
240 * Called when the query text i
1923 replaceText(CharSequence text) argument
[all...]
H A DSuggestionsAdapter.java36 import android.text.Spannable;
37 import android.text.SpannableString;
38 import android.text.TextUtils;
39 import android.text.style.TextAppearanceSpan;
109 * will be shown for each entry. When clicked, the suggested text on that line will be
110 * copied to the query text field.
293 // If no second line of text is indicated, allow the first line of text
342 SpannableString text = new SpannableString(url);
343 text
349 setViewText(TextView v, CharSequence text) argument
[all...]
H A DSwitchCompat.java37 import android.support.v7.text.AllCapsTransformationMethod;
38 import android.text.Layout;
39 import android.text.StaticLayout;
40 import android.text.TextPaint;
41 import android.text.TextUtils;
42 import android.text.method.TransformationMethod;
62 * or simply tap to toggle as if it were a checkbox. The {@link #setText(CharSequence) text}
63 * property controls the text displayed in the label for the switch, whereas the
64 * {@link #setTextOff(CharSequence) off} and {@link #setTextOn(CharSequence) on} text
65 * controls the text o
857 makeLayout(CharSequence text) argument
[all...]
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DEditTextPreference.java24 import android.text.TextUtils;
59 * Saves the text to the {@link android.content.SharedPreferences}.
61 * @param text The text to save
63 public void setText(String text) { argument
66 mText = text;
68 persistString(text);
77 * Gets the text from the {@link android.content.SharedPreferences}.
109 myState.text = getText();
123 setText(myState.text);
127 String text; field in class:EditTextPreference.SavedState
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java773 Item(int adapterIndex, String text) { argument
775 mText = text;
783 ", text='" + mText + '\'' +
H A DDefaultItemAnimatorTest.java434 public void bind(String text) { argument
435 mBindedText = text;
436 ((TextView) itemView).setText(text);
/frameworks/support/compat/api23/android/support/v4/text/
H A DICUCompatApi23.java17 package android.support.v4.text;
/frameworks/support/compat/ics/android/support/v4/text/
H A DICUCompatIcs.java17 package android.support.v4.text;
/frameworks/support/compat/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java50 public static List<Object> findAccessibilityNodeInfosByText(Object info, String text) { argument
51 Object result = ((AccessibilityNodeInfo) info).findAccessibilityNodeInfosByText(text);
211 public static void setText(Object info, CharSequence text) { argument
212 ((AccessibilityNodeInfo) info).setText(text);
/frameworks/support/compat/java/android/support/v4/app/
H A DNotificationCompat.java215 * Notification extras key: this is the main text payload, as supplied to
218 public static final String EXTRA_TEXT = "android.text";
221 * Notification extras key: this is a third line of text, as supplied to
243 * Notification extras key: this is a small piece of additional text as supplied to
256 * Notification extras key: this is the longer text shown in the big form of a
1143 * Set the text (second row) of the notification, in a standard notification.
1145 public Builder setContentText(CharSequence text) { argument
1146 mContentText = limitCharSequenceLength(text);
1151 * Set the third line of text in the platform notification template.
1156 * The third line of text onl
1159 setSubText(CharSequence text) argument
1178 setRemoteInputHistory(CharSequence[] text) argument
2103 addMessage(CharSequence text, long timestamp, CharSequence sender) argument
2208 Message(CharSequence text, long timestamp, CharSequence sender) argument
[all...]
H A DShareCompat.java30 import android.text.Html;
31 import android.text.Spanned;
83 String escapeHtml(CharSequence text); argument
93 public String escapeHtml(CharSequence text) { argument
95 withinStyle(out, text, 0, text.length());
99 private static void withinStyle(StringBuilder out, CharSequence text, argument
102 char c = text.charAt(i);
113 while (i + 1 < end && text.charAt(i + 1) == ' ') {
430 * Set the literal text dat
437 setText(CharSequence text) argument
[all...]
/frameworks/support/compat/java/android/support/v4/text/
H A DICUCompat.java17 package android.support.v4.text;
H A DTextDirectionHeuristicCompat.java17 package android.support.v4.text;
20 * Interface for objects that use a heuristic for guessing at the paragraph direction by examining text.
H A DTextDirectionHeuristicsCompat.java17 package android.support.v4.text;
33 public static final android.support.v4.text.TextDirectionHeuristicCompat LTR =
39 public static final android.support.v4.text.TextDirectionHeuristicCompat RTL =
47 public static final android.support.v4.text.TextDirectionHeuristicCompat FIRSTSTRONG_LTR =
55 public static final android.support.v4.text.TextDirectionHeuristicCompat FIRSTSTRONG_RTL =
59 * If the text contains any strong right to left non-format character, determines that the
62 public static final android.support.v4.text.TextDirectionHeuristicCompat ANYRTL_LTR =
68 public static final android.support.v4.text.TextDirectionHeuristicCompat LOCALE =
107 * Computes the text direction based on an algorithm. Subclasses implement
109 * direction from the text alon
[all...]
H A DTextUtilsCompat.java17 package android.support.v4.text;

Completed in 545 milliseconds

1234567891011>>