Searched refs:newText (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewTest.java39 CharSequence newText = tv.getText();
41 assertTrue(newText == oldText);
43 assertEquals(5, newText.length());
44 assertEquals('o', newText.charAt(0));
45 assertEquals("o Wor", newText.toString());
47 assertEquals(" Wo", newText.subSequence(1, 4));
50 ((GetChars) newText).getChars(1, 4, c2, 2);
/frameworks/base/core/java/android/view/inputmethod/
H A DCorrectionInfo.java35 * @param newText The replacement text.
37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { argument
40 mNewText = newText;
/frameworks/support/v4/honeycomb/android/support/v4/widget/
H A DSearchViewCompatHoneycomb.java34 public boolean onQueryTextChange(String newText); argument
60 public boolean onQueryTextChange(String newText) {
61 return listener.onQueryTextChange(newText);
/frameworks/base/core/java/android/content/
H A DClipData.java394 CharSequence newText = Html.fromHtml(htmlText);
395 if (newText != null) {
396 return newText;
500 CharSequence newText = Html.fromHtml(text);
501 return newText != null ? newText : text;
/frameworks/support/v4/java/android/support/v4/widget/
H A DSearchViewCompat.java156 public boolean onQueryTextChange(String newText) {
157 return listener.onQueryTextChange(newText);
359 * @param newText the new content of the query text field.
364 public boolean onQueryTextChange(String newText) { argument
/frameworks/base/core/java/android/widget/
H A DSwitch.java845 StringBuilder newText = new StringBuilder();
846 newText.append(oldText).append(' ').append(switchText);
847 info.setText(newText);
H A DSearchView.java195 * @param newText the new content of the query text field.
200 boolean onQueryTextChange(String newText); argument
1144 private void onTextChanged(CharSequence newText) { argument
1152 if (mOnQueryChangeListener != null && !TextUtils.equals(newText, mOldQueryText)) {
1153 mOnQueryChangeListener.onQueryTextChange(newText.toString());
1155 mOldQueryText = newText.toString();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java208 * @param newText the new content of the query text field.
213 boolean onQueryTextChange(String newText); argument
1109 private void onTextChanged(CharSequence newText) { argument
1117 if (mOnQueryChangeListener != null && !TextUtils.equals(newText, mOldQueryText)) {
1118 mOnQueryChangeListener.onQueryTextChange(newText.toString());
1120 mOldQueryText = newText.toString();
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java136 char[] newText = new char[newLength];
137 System.arraycopy(mText, 0, newText, 0, mGapStart);
139 System.arraycopy(mText, oldLength - after, newText, newLength - after, after);
140 mText = newText;
/frameworks/base/core/java/android/app/
H A DSearchDialog.java688 public boolean onQueryTextChange(String newText) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
H A DPrintJobConfigActivity.java2070 String newText = getString(R.string.print_button);
2071 if (!TextUtils.equals(newText, mPrintButton.getText())) {
2075 String newText = getString(R.string.save_button);
2076 if (!TextUtils.equals(newText, mPrintButton.getText())) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsActivity.java481 public boolean onQueryTextChange(String newText) {

Completed in 341 milliseconds