Home
last modified time | relevance | path

Searched refs:newText (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java39 CharSequence newText = tv.getText(); in testArray() local
41 assertTrue(newText == oldText); in testArray()
43 assertEquals(5, newText.length()); in testArray()
44 assertEquals('o', newText.charAt(0)); in testArray()
45 assertEquals("o Wor", newText.toString()); in testArray()
47 assertEquals(" Wo", newText.subSequence(1, 4)); in testArray()
50 ((GetChars) newText).getChars(1, 4, c2, 2); in testArray()
/frameworks/support/v4/honeycomb/android/support/v4/widget/
DSearchViewCompatHoneycomb.java34 public boolean onQueryTextChange(String newText); in onQueryTextChange() argument
60 public boolean onQueryTextChange(String newText) { in newOnQueryTextListener() argument
61 return listener.onQueryTextChange(newText); in newOnQueryTextListener()
/frameworks/base/core/java/android/view/inputmethod/
DCorrectionInfo.java37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { in CorrectionInfo() argument
40 mNewText = newText; in CorrectionInfo()
/frameworks/base/core/java/android/content/
DClipData.java394 CharSequence newText = Html.fromHtml(htmlText); in coerceToStyledText() local
395 if (newText != null) { in coerceToStyledText()
396 return newText; in coerceToStyledText()
500 CharSequence newText = Html.fromHtml(text); in coerceToHtmlOrStyledText() local
501 return newText != null ? newText : text; in coerceToHtmlOrStyledText()
/frameworks/support/v4/java/android/support/v4/widget/
DSearchViewCompat.java156 public boolean onQueryTextChange(String newText) { in newOnQueryTextListener() argument
157 return listener.onQueryTextChange(newText); in newOnQueryTextListener()
364 public boolean onQueryTextChange(String newText) {
/frameworks/base/core/java/android/widget/
DSwitch.java845 StringBuilder newText = new StringBuilder(); in onInitializeAccessibilityNodeInfo() local
846 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfo()
847 info.setText(newText); in onInitializeAccessibilityNodeInfo()
DSearchView.java200 boolean onQueryTextChange(String newText); in onQueryTextChange() argument
1144 private void onTextChanged(CharSequence newText) { in onTextChanged() argument
1152 if (mOnQueryChangeListener != null && !TextUtils.equals(newText, mOldQueryText)) { in onTextChanged()
1153 mOnQueryChangeListener.onQueryTextChange(newText.toString()); in onTextChanged()
1155 mOldQueryText = newText.toString(); in onTextChanged()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java213 boolean onQueryTextChange(String newText); in onQueryTextChange() argument
1109 private void onTextChanged(CharSequence newText) { in onTextChanged() argument
1117 if (mOnQueryChangeListener != null && !TextUtils.equals(newText, mOldQueryText)) { in onTextChanged()
1118 mOnQueryChangeListener.onQueryTextChange(newText.toString()); in onTextChanged()
1120 mOldQueryText = newText.toString(); in onTextChanged()
/frameworks/base/docs/html/guide/components/
Dloaders.jd219 public boolean onQueryTextChanged(String newText) {
223 mCurFilter = !TextUtils.isEmpty(newText) ? newText : null;
420     public boolean onQueryTextChange(String newText) {
424         mCurFilter = !TextUtils.isEmpty(newText) ? newText : null;
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java136 char[] newText = new char[newLength]; in resizeFor() local
137 System.arraycopy(mText, 0, newText, 0, mGapStart); in resizeFor()
139 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
140 mText = newText; in resizeFor()
/frameworks/base/core/java/android/app/
DSearchDialog.java688 public boolean onQueryTextChange(String newText) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DPrintJobConfigActivity.java2273 String newText = getString(R.string.print_button); in updateUi() local
2274 if (!TextUtils.equals(newText, mPrintButton.getText())) { in updateUi()
2278 String newText = getString(R.string.save_button); in updateUi() local
2279 if (!TextUtils.equals(newText, mPrintButton.getText())) { in updateUi()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsActivity.java483 public boolean onQueryTextChange(String newText) { in onCreateOptionsMenu()