Searched defs:setText (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/text/
H A DClipboardManager.java35 public abstract void setText(CharSequence text); method in class:ClipboardManager
/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java30 * {@link #setText(CharSequence)} is called, TextSwitcher animates the current text
76 public void setText(CharSequence text) { method in class:TextSwitcher
78 t.setText(text);
89 ((TextView)getCurrentView()).setText(text);
H A DEditText.java83 public void setText(CharSequence text, BufferType type) { method in class:EditText
84 super.setText(text, BufferType.EDITABLE);
136 setText(text);
H A DToast.java265 tv.setText(text);
293 public void setText(@StringRes int resId) { method in class:Toast
294 setText(mContext.getText(resId));
301 public void setText(CharSequence s) { method in class:Toast
309 tv.setText(s);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DGenericAdapter.java31 setText(view, list);
36 setText(view, list);
41 setText(view, Arrays.asList(values));
46 setText(view, list);
61 setText(view, list);
68 private static <T> void setText(TextView view, Collection<T> collection) { method in class:GenericAdapter
79 view.setText(stringBuilder.toString());
/frameworks/base/core/java/android/content/
H A DClipboardManager.java205 public void setText(CharSequence text) { method in class:ClipboardManager
/frameworks/base/core/java/com/android/internal/widget/
H A DAccountItemView.java87 setText(mAccountName, name);
91 setText(mAccountNumber, number);
94 private void setText(TextView view, String text) { method in class:AccountItemView
98 view.setText(text);
H A DSubtitleView.java134 setText(text);
138 public void setText(int resId) { method in class:SubtitleView
140 setText(text);
143 public void setText(CharSequence text) { method in class:SubtitleView
/frameworks/base/core/tests/coretests/src/android/widget/
H A DLabelView.java56 setText(s.toString());
90 public void setText(String text) { method in class:LabelView
/frameworks/base/core/java/android/preference/
H A DEditTextPreference.java87 public void setText(String text) { method in class:EditTextPreference
114 editText.setText(getText());
146 setText(value);
158 setText(restoreValue ? getPersistedString(mText) : (String) defaultValue);
205 setText(myState.text);
/frameworks/base/core/java/com/android/internal/app/
H A DHeavyWeightSwitcherActivity.java93 void setText(int id, CharSequence text) { method in class:HeavyWeightSwitcherActivity
94 ((TextView)findViewById(id)).setText(text);
118 setText(actionId, getString(actionStr, appName));
119 setText(descriptionId, getText(descriptionStr));
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDualTileLabel.java118 public void setText(CharSequence text) { method in class:QSDualTileLabel
155 mFirstLine.setText(null);
156 mSecondLine.setText(null);
164 mFirstLine.setText(mText);
165 mSecondLine.setText(null);
191 mFirstLine.setText(mText.substring(0, lastWordBoundary));
192 mSecondLine.setText(mText.substring(lastWordBoundary).trim());
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java138 protected TextView setText(int index, String string, boolean reference) { method in class:CustomBar
142 setText(textView, string, reference);
149 private void setText(TextView textView, String string, boolean reference) { method in class:CustomBar
156 textView.setText(string);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DEditTextPreference.java61 public void setText(String text) { method in class:EditTextPreference
90 setText(restoreValue ? getPersistedString(mText) : (String) defaultValue);
121 setText(myState.text);
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java61 setText("");
77 public void setText(String text) { method in class:FindActionModeCallback
78 mEditText.setText(text);
179 mMatches.setText(com.android.internal.R.string.no_matches);
181 mMatches.setText(mResources.getQuantityString(
215 mMatches.setText("0");
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java102 .setText("This is a longer test")
122 .setText("This is a longer test")
150 .setText("This is a longer test")
170 .setText("This is a longer test")
192 .setText("This is a longer test")
244 LayoutBuilder setText(String text) { method in class:StaticLayoutTest.LayoutBuilder
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDebugOverlayView.java133 void setText(String message) { method in class:DebugOverlayView
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DUtil.java153 public static boolean setText(TextView tv, CharSequence text) { method in class:Util
155 tv.setText(text);
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java516 void setText(CharSequence text) { method
H A DSnackbar.java207 snackbar.setText(text);
288 tv.setText(text);
329 public Snackbar setText(@NonNull CharSequence message) { method in class:Snackbar
331 tv.setText(message);
341 public Snackbar setText(@StringRes int resId) { method in class:Snackbar
342 return setText(mContext.getText(resId));
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java597 public boolean setText(String text) throws UiObjectNotFoundException { method in class:UiObject
/frameworks/base/core/java/android/view/
H A DViewStructure.java161 public abstract void setText(CharSequence text); method in class:ViewStructure
164 * Like {@link #setText(CharSequence)} but with an active selection
167 public abstract void setText(CharSequence text, int selectionStart, int selectionEnd); method in class:ViewStructure
171 * {@link #setText}.
182 * {@link #setText(CharSequence)}. This provides the line breaking of the text as it
186 * @param charOffsets The offset in to {@link #setText} where a line starts.
198 * Retrieve the last {@link #setText(CharSequence)}.
203 * Retrieve the last selection start set by {@link #setText(CharSequence, int, int)}.
208 * Retrieve the last selection end set by {@link #setText(CharSequence, int, int)}.
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java212 public static void setText(Object info, CharSequence text) { method in class:AccessibilityNodeInfoCompatIcs
213 ((AccessibilityNodeInfo) info).setText(text);
/frameworks/minikin/libs/minikin/
H A DLineBreaker.cpp67 void LineBreaker::setText() { function in class:android::LineBreaker
70 mBreakIterator->setText(&mUText, status);
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java431 public IntentBuilder setText(CharSequence text) { method in class:ShareCompat.IntentBuilder
445 * @see #setText(CharSequence)
451 setText(Html.fromHtml(htmlText));

Completed in 661 milliseconds

12