Home
last modified time | relevance | path

Searched refs:newText (Results 1 – 14 of 14) 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/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java122 final String newText = text == null ? null : text.toString().trim(); in setText() local
123 if (Objects.equals(newText, mText)) return; in setText()
124 mText = newText; in setText()
/frameworks/base/core/java/android/content/
DClipData.java395 CharSequence newText = Html.fromHtml(htmlText); in coerceToStyledText() local
396 if (newText != null) { in coerceToStyledText()
397 return newText; in coerceToStyledText()
501 CharSequence newText = Html.fromHtml(text); in coerceToHtmlOrStyledText() local
502 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/
DSearchView.java206 boolean onQueryTextChange(String newText); in onQueryTextChange() argument
1180 private void onTextChanged(CharSequence newText) { in onTextChanged() argument
1188 if (mOnQueryChangeListener != null && !TextUtils.equals(newText, mOldQueryText)) { in onTextChanged()
1189 mOnQueryChangeListener.onQueryTextChange(newText.toString()); in onTextChanged()
1191 mOldQueryText = newText.toString(); in onTextChanged()
DSwitch.java1189 StringBuilder newText = new StringBuilder(); in onInitializeAccessibilityNodeInfo() local
1190 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfo()
1191 info.setText(newText); in onInitializeAccessibilityNodeInfo()
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java138 char[] newText = ArrayUtils.newUnpaddedCharArray(GrowingArrayUtils.growSize(size)); in resizeFor() local
139 System.arraycopy(mText, 0, newText, 0, mGapStart); in resizeFor()
140 final int newLength = newText.length; in resizeFor()
143 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
144 mText = newText; in resizeFor()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java1048 StringBuilder newText = new StringBuilder(); in onInitializeAccessibilityNodeInfo() local
1049 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfo()
1050 info.setText(newText); in onInitializeAccessibilityNodeInfo()
DSearchView.java223 boolean onQueryTextChange(String newText); in onQueryTextChange() argument
1114 private void onTextChanged(CharSequence newText) { in onTextChanged() argument
1122 if (mOnQueryChangeListener != null && !TextUtils.equals(newText, mOldQueryText)) { in onTextChanged()
1123 mOnQueryChangeListener.onQueryTextChange(newText.toString()); in onTextChanged()
1125 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/app/
DSearchDialog.java687 public boolean onQueryTextChange(String newText) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsActivity.java489 public boolean onQueryTextChange(String newText) { in onCreateOptionsMenu()