/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 + '\'' +
|
/developers/build/prebuilts/gradle/ClippingBasic/Application/src/main/java/com/example/android/clippingbasic/ |
ClippingBasicFragment.java | 116 String newText = mSampleTexts[mClickCount % mSampleTexts.length]; 119 mTextView.setText(newText);
|
/developers/samples/android/ui/views/Clipping/ClippingBasic/Application/src/main/java/com/example/android/clippingbasic/ |
ClippingBasicFragment.java | 116 String newText = mSampleTexts[mClickCount % mSampleTexts.length]; 119 mTextView.setText(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());
|
/development/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/ |
ClippingBasicFragment.java | 116 String newText = mSampleTexts[mClickCount % mSampleTexts.length]; 119 mTextView.setText(newText);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewTest.java | 47 CharSequence newText = tv.getText(); 49 assertTrue(newText == oldText); 51 assertEquals(5, newText.length()); 52 assertEquals('o', newText.charAt(0)); 53 assertEquals("o Wor", newText.toString()); 55 assertEquals(" Wo", newText.subSequence(1, 4)); 58 ((GetChars) newText).getChars(1, 4, c2, 2); 79 CharSequence newText = "Text is replaced."; 81 data.putExtra(Intent.EXTRA_PROCESS_TEXT, newText); 100 CharSequence newText = "Text is replaced." [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);
|
/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);
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 238 final String newText = getActivity().getString(R.string.text_input_blah_blah); 239 final String afterText = beforeText.substring(0, 3) + newText; 262 editText.getEditableText().replace(3, 4, newText);
|
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 604 SmallString<512> newText; 605 llvm::raw_svector_ostream vecOS(newText); 609 StringRef(newText.data(), newText.size()), newFname));
|
ObjCMT.cpp | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSDualTileLabel.java | 119 final String newText = text == null ? null : text.toString().trim(); 120 if (Objects.equals(newText, mText)) return; 121 mText = newText;
|
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringBuilderSpanTest.java | 507 Spanned newText = Html.fromHtml("<blockquote>new text</blockquote>"); 508 assertEquals(1, newText.getSpans(0, newText.length(), ParagraphStyle.class).length); 510 spannable.replace(2, spannable.length(), newText); 521 Spanned newText = Html.fromHtml("<blockquote>new text</blockquote>"); 522 assertTrue(newText.getSpans(0, newText.length(), ParagraphStyle.class).length > 0); 524 spannable.replace(2, spannable.length(), newText); 537 Spanned newText = Html.fromHtml("<blockquote>new text</blockquote>"); 538 assertTrue(newText.getSpans(0, newText.length(), ParagraphStyle.class).length > 0) [all...] |
/external/icu/icu4c/source/test/cintltst/ |
utransts.c | 99 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); 100 u_strncpy(newText, x->text, start); 101 u_strncpy(newText + start, text, textLength); 102 u_strcpy(newText + start + textLength, x->text + limit); 104 x->text = newText; 111 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); 112 u_strncpy(newText, x->text, dest); 113 u_strncpy(newText + dest, x->text + start, limit - start); 114 u_strcpy(newText + dest + limit - start, x->text + dest); 116 x->text = newText; [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/net/ |
NetAPITest.java | 232 final String newText = httpResponse.getResultAsString();
235 text = newText;
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorText.java | 233 public void changeTextTo(CharSequence newText) { 235 if (startsWith(newText, oldText)) { 236 final int newLen = newText.length(); 241 final char c = newText.charAt(oldLen); 250 announceForAccessibility(newText.subSequence(oldLen, newLen)); 253 announceForAccessibility(newText); 255 setText(newText);
|
/prebuilts/go/darwin-x86/src/text/template/parse/ |
node.go | 127 func (t *Tree) newText(pos Pos, text string) *TextNode {
|
/prebuilts/go/linux-x86/src/text/template/parse/ |
node.go | 127 func (t *Tree) newText(pos Pos, text string) *TextNode {
|
/frameworks/base/core/java/android/content/ |
ClipData.java | 405 CharSequence newText = Html.fromHtml(htmlText); 406 if (newText != null) { 407 return newText; 516 CharSequence newText = Html.fromHtml(text); 517 return newText != null ? newText : text; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ListViewTest.java | [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
TextField.java | 469 String newText = (minIndex > 0 ? text.substring(0, minIndex) : "") 472 changeText(text, newText); 474 text = newText; 584 boolean changeText (String oldText, String newText) { 585 if (newText.equals(oldText)) return false; 586 text = newText; 589 text = cancelled ? oldText : newText; [all...] |
/frameworks/base/core/java/android/text/ |
SpannableStringBuilder.java | 146 char[] newText = ArrayUtils.newUnpaddedCharArray(GrowingArrayUtils.growSize(size)); 147 System.arraycopy(mText, 0, newText, 0, mGapStart); 148 final int newLength = newText.length; 151 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); 152 mText = newText; [all...] |
/frameworks/base/core/java/android/widget/ |
Switch.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SwitchCompat.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.updatesite_1.0.201.R36x_v20100823.jar | |