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

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DErrorFragment.java22 import android.text.TextUtils;
123 * Sets the button text.
125 * @param text The button text.
127 public void setButtonText(String text) { argument
128 mButtonText = text;
133 * Returns the button text.
H A DErrorSupportFragment.java25 import android.text.TextUtils;
126 * Sets the button text.
128 * @param text The button text.
130 public void setButtonText(String text) { argument
131 mButtonText = text;
136 * Returns the button text.
H A DOnboardingFragment.java397 * Sets the text color for TitleView. If not set, the default textColor set in style
399 * @param color the color to use as the text color for TitleView
410 * Returns the text color of TitleView if it's set through
419 * Sets the text color for DescriptionView. If not set, the default textColor set in style
421 * @param color the color to use as the text color for DescriptionView
432 * Returns the text color of DescriptionView if it's set through
508 * Returns the start button text if it's set through
516 * Sets the text on the start button text. If not set, the default text se
521 setStartButtonText(CharSequence text) argument
[all...]
H A DOnboardingSupportFragment.java400 * Sets the text color for TitleView. If not set, the default textColor set in style
402 * @param color the color to use as the text color for TitleView
413 * Returns the text color of TitleView if it's set through
422 * Sets the text color for DescriptionView. If not set, the default textColor set in style
424 * @param color the color to use as the text color for DescriptionView
435 * Returns the text color of DescriptionView if it's set through
511 * Returns the start button text if it's set through
519 * Sets the text on the start button text. If not set, the default text se
524 setStartButtonText(CharSequence text) argument
[all...]
/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;
41 * Shows the recognized text as a continuous stream of words.
104 * Resets the text view.
115 * Updates the recognized text.
146 // Copy the text and spans to a SpannedString, since editable text
188 addDottySpans(SpannableStringBuilder displayText, String text, int textStart) argument
198 addColorSpan(SpannableStringBuilder displayText, int color, String text, int textStart) argument
243 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
278 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
1195 * Return the text of this tab.
1197 * @return The tab's text
1218 * Set the text displayed on this tab. Text may be truncated if there is not
1221 * @param text The text to display
1224 public abstract Tab setText(CharSequence text); argument
[all...]
H A DAlertController.java34 import android.text.TextUtils;
308 * @param text The text to display in positive button.
312 public void setButton(int whichButton, CharSequence text, argument
322 mButtonPositiveText = text;
327 mButtonNegativeText = text;
332 mButtonNeutralText = text;
486 // Only display the text spacer if we don't have buttons.
999 CheckedTextView text = (CheckedTextView) view.findViewById(
1001 text
[all...]
H A DAlertDialog.java62 * without text editors, so that it will be placed on top of the current
206 * @param text The text to display in positive button.
209 public void setButton(int whichButton, CharSequence text, Message msg) { argument
210 mAlert.setButton(whichButton, text, null, msg);
221 * @param text The text to display in positive button.
224 public void setButton(int whichButton, CharSequence text, OnClickListener listener) { argument
225 mAlert.setButton(whichButton, text, listener, null);
448 * @param textId The resource id of the text t
466 setPositiveButton(CharSequence text, final OnClickListener listener) argument
492 setNegativeButton(CharSequence text, final OnClickListener listener) argument
518 setNeutralButton(CharSequence text, final OnClickListener listener) argument
[all...]
H A DWindowDecorActionBar.java1245 public Tab setText(CharSequence text) { argument
1246 mText = text;
/frameworks/support/v7/appcompat/src/android/support/v7/text/
H A DAllCapsTransformationMethod.java17 package android.support.v7.text;
24 import android.text.method.TransformationMethod;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatTextViewAutoSizeHelper.java32 import android.text.Layout;
33 import android.text.StaticLayout;
34 import android.text.TextDirectionHeuristic;
35 import android.text.TextDirectionHeuristics;
36 import android.text.TextPaint;
50 * Utility class which encapsulates the logic for the TextView auto-size text feature added to
53 * <p>A TextView can be instructed to let the size of the text expand or contract automatically to
58 // Default minimum size for auto-sizing text in scaled pixels.
60 // Default maximum size for auto-sizing text in scaled pixels.
69 // Auto-size text typ
686 createStaticLayoutForMeasuring(CharSequence text, Layout.Alignment alignment, int availableWidth, int maxLines) argument
710 createStaticLayoutForMeasuringPre23(CharSequence text, Layout.Alignment alignment, int availableWidth) argument
[all...]
H A DSearchView.java48 import android.text.Editable;
49 import android.text.InputType;
50 import android.text.Spannable;
51 import android.text.SpannableStringBuilder;
52 import android.text.TextUtils;
53 import android.text.TextWatcher;
54 import android.text.style.ImageSpan;
198 * Callbacks for changes to the query text.
209 * @param query the query text that is to be submitted
217 * Called when the query text i
1878 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;
61 * or simply tap to toggle as if it were a checkbox. The {@link #setText(CharSequence) text}
62 * property controls the text displayed in the label for the switch, whereas the
63 * {@link #setTextOff(CharSequence) off} and {@link #setTextOn(CharSequence) on} text
64 * controls the text o
871 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.java772 Item(int adapterIndex, String text) { argument
774 mText = text;
791 ", 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 DICUCompatApi21.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/java/android/support/v4/app/
H A DNotificationCompat.java222 * Notification extras key: this is the main text payload, as supplied to
225 public static final String EXTRA_TEXT = "android.text";
228 * Notification extras key: this is a third line of text, as supplied to
250 * Notification extras key: this is a small piece of additional text as supplied to
263 * Notification extras key: this is the longer text shown in the big form of a
1170 * Set the text (second row) of the notification, in a standard notification.
1172 public Builder setContentText(CharSequence text) { argument
1173 mContentText = limitCharSequenceLength(text);
1178 * Set the third line of text in the platform notification template.
1183 * The third line of text onl
1186 setSubText(CharSequence text) argument
1205 setRemoteInputHistory(CharSequence[] text) argument
2236 addMessage(CharSequence text, long timestamp, CharSequence sender) argument
2344 Message(CharSequence text, long timestamp, CharSequence sender) argument
[all...]
H A DShareCompat.java30 import android.text.Html;
31 import android.text.Spanned;
358 * Set the literal text data to be sent as part of the share.
361 * @param text Text to share
365 public IntentBuilder setText(CharSequence text) { argument
366 mIntent.putExtra(Intent.EXTRA_TEXT, text);
373 * a styled version of the supplied HTML text will be added as EXTRA_TEXT as
374 * parsed by {@link android.text.Html#fromHtml(String) Html.fromHtml}.
376 * @param htmlText A string containing HTML markup as a richer version of the text
664 * Get the literal text share
702 withinStyle(StringBuilder out, CharSequence text, int start, int end) 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.

Completed in 1296 milliseconds

1234567891011>>