/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
D | ActionButtonsPreference.java | 115 final String newText = getContext().getString(textResId); in setButton1Text() local 116 if (!TextUtils.equals(newText, mButton1Info.mText)) { in setButton1Text() 117 mButton1Info.mText = newText; in setButton1Text() 180 final String newText = getContext().getString(textResId); in setButton2Text() local 181 if (!TextUtils.equals(newText, mButton2Info.mText)) { in setButton2Text() 182 mButton2Info.mText = newText; in setButton2Text() 245 final String newText = getContext().getString(textResId); in setButton3Text() local 246 if (!TextUtils.equals(newText, mButton3Info.mText)) { in setButton3Text() 247 mButton3Info.mText = newText; in setButton3Text() 310 final String newText = getContext().getString(textResId); in setButton4Text() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 84 CharSequence newText = mTextView.getText(); in testArray() local 86 assertTrue(newText == oldText); in testArray() 88 assertEquals(5, newText.length()); in testArray() 89 assertEquals('o', newText.charAt(0)); in testArray() 90 assertEquals("o Wor", newText.toString()); in testArray() 92 assertEquals(" Wo", newText.subSequence(1, 4)); in testArray() 95 ((GetChars) newText).getChars(1, 4, c2, 2); in testArray() 115 CharSequence newText = "Text is replaced."; in testProcessTextActivityResultNonEditable() local 117 data.putExtra(Intent.EXTRA_PROCESS_TEXT, newText); in testProcessTextActivityResultNonEditable() 137 CharSequence newText = "Text is replaced."; in testProcessTextActivityResultEditable() local [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CorrectionInfo.java | 37 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/ |
D | QSDualTileLabel.java | 119 final String newText = text == null ? null : text.toString().trim(); in setText() local 120 if (Objects.equals(newText, mText)) return; in setText() 121 mText = newText; in setText()
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 435 CharSequence newText = Html.fromHtml(htmlText); in coerceToStyledText() local 436 if (newText != null) { in coerceToStyledText() 437 return newText; in coerceToStyledText() 546 CharSequence newText = Html.fromHtml(text); in coerceToHtmlOrStyledText() local 547 return newText != null ? newText : text; in coerceToHtmlOrStyledText()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePickerWithRegion.java | 264 public boolean onQueryTextChange(String newText) { in onQueryTextChange() argument 266 mAdapter.getFilter().filter(newText); in onQueryTextChange()
|
/frameworks/base/core/java/android/widget/ |
D | Switch.java | 1507 StringBuilder newText = new StringBuilder(); in onProvideStructure() local 1508 newText.append(oldText).append(' ').append(switchText); in onProvideStructure() 1509 structure.setText(newText); in onProvideStructure() 1527 StringBuilder newText = new StringBuilder(); in onInitializeAccessibilityNodeInfoInternal() local 1528 newText.append(oldText).append(' ').append(switchText); in onInitializeAccessibilityNodeInfoInternal() 1529 info.setText(newText); in onInitializeAccessibilityNodeInfoInternal()
|
D | SearchView.java | 229 boolean onQueryTextChange(String newText); in onQueryTextChange() argument 1283 private void onTextChanged(CharSequence newText) { in onTextChanged() argument 1291 if (mOnQueryChangeListener != null && !TextUtils.equals(newText, mOldQueryText)) { in onTextChanged() 1292 mOnQueryChangeListener.onQueryTextChange(newText.toString()); in onTextChanged() 1294 mOldQueryText = newText.toString(); in onTextChanged()
|
D | Editor.java | 6580 String newText = TextUtils.substring(source, start, end); 6582 EditOperation edit = new EditOperation(mEditor, oldText, dstart, newText, 6702 public EditOperation(Editor editor, String oldText, int dstart, String newText, 6706 mNewText = newText; 6917 CharSequence newText, int newTextInsertAt, int newCursorPos) { 6924 if (newText.length() != 0) { 6925 text.insert(newTextInsertAt, newText);
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 146 char[] newText = ArrayUtils.newUnpaddedCharArray(GrowingArrayUtils.growSize(size)); in resizeFor() local 147 System.arraycopy(mText, 0, newText, 0, mGapStart); in resizeFor() 148 final int newLength = newText.length; in resizeFor() 151 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor() 152 mText = newText; in resizeFor()
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 698 public boolean onQueryTextChange(String newText) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 5755 final String newText = String.valueOf(newN.extras.get(Notification.EXTRA_TEXT)); 5756 if (!Objects.equals(oldText, newText)) { 5763 newText, newText.getClass(), newText.hashCode()));
|