/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
ReplaceTextCommentScanner.java | 23 * Replaces all occurrences of {@code oldText} with {@code newText}. 27 private final String newText; 29 public ReplaceTextCommentScanner(String oldText, String newText) { 31 this.newText = newText; 36 String newCommentText = commentText.replace(oldText, newText); 47 ", newText='" + newText + '\'' +
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidator.java | 101 public String isValid(String newText) { 104 if (newText == null || newText.trim().length() == 0) { 108 if (mAllowXmlExtension && newText.endsWith(DOT_XML)) { 109 newText = newText.substring(0, newText.length() - DOT_XML.length()); 113 && ImageUtils.hasImageExtension(newText)) { 114 newText = newText.substring(0, newText.lastIndexOf('.')) [all...] |
CyclicDependencyValidator.java | 36 public String isValid(String newText) { 37 if (mInvalidIds.contains(newText)) {
|
/external/icu/icu4c/source/common/unicode/ |
schriter.h | 137 * @param newText The string to be iterated over 140 void setText(const UnicodeString& newText); 174 * @param newText The string to be iterated over 178 void setText(const char16_t* newText, int32_t newTextLength);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
BreakIteratorICU.java | 93 public void setText(CharacterIterator newText) { 94 fIcuBrkItr.setText(newText); 98 public void setText(String newText) { 99 fIcuBrkItr.setText(newText);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarUsage.java | 83 public boolean onQueryTextChange(String newText) { 84 newText = newText.isEmpty() ? "" : "Query so far: " + newText; 85 mSearchText.setText(newText);
|
/libcore/ojluni/src/main/java/java/text/ |
IcuIteratorWrapper.java | 390 public void setText(String newText) { 391 wrapped.setText(newText); 398 * @param newText An iterator over the text to analyze. 400 public void setText(CharacterIterator newText) { 401 newText.current(); 402 wrapped.setText(newText);
|
BreakIterator.java | 418 * @param newText new text to scan. 420 public void setText(String newText) 422 setText(new StringCharacterIterator(newText)); 428 * @param newText new text to scan. 430 public abstract void setText(CharacterIterator newText);
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
ConversionUtilities.java | 34 private static StringBuffer appendTextPart(StringBuffer sb, String newText) { 35 if (newText == null) { 39 sb = new StringBuffer(newText); 44 sb.append(newText);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SearchViewFilterMode.java | 66 public boolean onQueryTextChange(String newText) { 67 if (TextUtils.isEmpty(newText)) { 70 mListView.setFilterText(newText.toString());
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
ActionBarUsage.java | 98 public boolean onQueryTextChange(String newText) { 99 newText = TextUtils.isEmpty(newText) ? "" : "Query so far: " + newText; 100 mSearchText.setText(newText);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ActionButtonPreference.java | 76 final String newText = getContext().getString(textResId); 77 if (!TextUtils.equals(newText, mButton1Info.mText)) { 78 mButton1Info.mText = newText; 93 final String newText = getContext().getString(textResId); 94 if (!TextUtils.equals(newText, mButton2Info.mText)) { 95 mButton2Info.mText = newText;
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
SearchViewBindingAdapter.java | 53 public boolean onQueryTextChange(String newText) { 55 return change.onQueryTextChange(newText); 103 boolean onQueryTextChange(String newText);
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
Javadoc.kt | 33 * Merges the given [newText] into the existing documentation block [existingDoc] 46 newText: String, 54 tagSection == "@return" -> "@return $newText" 55 tagSection?.startsWith("@") ?: false -> "$tagSection $newText" 56 tagSection != null -> "@param $tagSection $newText" 57 else -> newText 61 return if (newText.contains('\n')) { 89 return insertInto(doc, "@return $newText", offset) 95 return insertInto(doc, newText, offset) 118 return insertInto(doc, "$tagName $newText", offset [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringBuilderSpanTest.java | 518 Spanned newText = Html.fromHtml("<blockquote>new text</blockquote>"); 519 assertEquals(1, newText.getSpans(0, newText.length(), ParagraphStyle.class).length); 521 spannable.replace(2, spannable.length(), newText); 531 Spanned newText = Html.fromHtml("<blockquote>new text</blockquote>"); 532 assertTrue(newText.getSpans(0, newText.length(), ParagraphStyle.class).length > 0); 534 spannable.replace(2, spannable.length(), newText); 546 Spanned newText = Html.fromHtml("<blockquote>new text</blockquote>"); 547 assertTrue(newText.getSpans(0, newText.length(), ParagraphStyle.class).length > 0) [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
CorrectionInfo.java | 35 * @param newText The replacement text. 37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { 40 mNewText = newText;
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewTest.java | 81 CharSequence newText = mTextView.getText(); 83 assertTrue(newText == oldText); 85 assertEquals(5, newText.length()); 86 assertEquals('o', newText.charAt(0)); 87 assertEquals("o Wor", newText.toString()); 89 assertEquals(" Wo", newText.subSequence(1, 4)); 92 ((GetChars) newText).getChars(1, 4, c2, 2); 112 CharSequence newText = "Text is replaced."; 114 data.putExtra(Intent.EXTRA_PROCESS_TEXT, newText); 134 CharSequence newText = "Text is replaced." [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
BreakIterator.java | 391 * @param newText A String containing the text to analyze with 395 public void setText(String newText) 397 setText(new StringCharacterIterator(newText)); 406 * @param newText A CharacterIterator referring to the text 411 public abstract void setText(CharacterIterator newText); 790 public void setText(CharacterIterator newText) { 791 breakIterator.setText(newText); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
Parameter.java | 331 public String isValid(String newText) { 332 newText = newText.trim(); 333 if (newText.isEmpty()) { 348 status = ApplicationInfoPage.validateActivity(newText); 350 status = ApplicationInfoPage.validatePackage(newText); 353 status = ApplicationInfoPage.validateClass(newText); 367 String fqcn = newText; 377 fqcn = pkg.isEmpty() ? newText : pkg + '.' + newText; [all...] |
/external/icu/icu4c/source/i18n/ |
utf16collationiterator.cpp | 31 const UChar *newText) 33 start(newText), 34 pos(newText + (other.pos - other.start)), 35 limit(other.limit == NULL ? NULL : newText + (other.limit - other.start)) { 152 const UChar *newText) 154 rawStart(newText), 155 segmentStart(newText + (other.segmentStart - other.rawStart)), 156 segmentLimit(other.segmentLimit == NULL ? NULL : newText + (other.segmentLimit - other.rawStart)), 157 rawLimit(other.rawLimit == NULL ? NULL : newText + (other.rawLimit - other.rawStart)), 162 start = newText + (other.start - other.rawStart) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
TextImpl.java | 50 Text newText = document.createTextNode( 56 getParentNode().appendChild(newText); 58 getParentNode().insertBefore(newText, refNode);
|
/external/pdfium/fxjs/xfa/ |
cjx_eventpseudomodel.h | 23 NewText, 50 JS_PROP(newText);
|
/external/icu/icu4c/source/common/ |
schriter.cpp | 110 StringCharacterIterator::setText(const UnicodeString& newText) { 111 text = newText;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BreakIterator.java | 485 * @param newText A String containing the text to analyze with 488 public void setText(String newText) 490 setText(new StringCharacterIterator(newText)); 498 * @param newText A CharSequence containing the text to analyze with 502 public void setText(CharSequence newText) { 503 setText(new CSCharacterIterator(newText)); 512 * @param newText A CharacterIterator referring to the text 516 public abstract void setText(CharacterIterator newText); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BreakIterator.java | 511 * @param newText A String containing the text to analyze with 515 public void setText(String newText) 517 setText(new StringCharacterIterator(newText)); 525 * @param newText A CharSequence containing the text to analyze with 529 public void setText(CharSequence newText) { 530 setText(new CSCharacterIterator(newText)); 539 * @param newText A CharacterIterator referring to the text 544 public abstract void setText(CharacterIterator newText); [all...] |