/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewTest.java | 39 CharSequence newText = tv.getText(); 41 assertTrue(newText == oldText); 43 assertEquals(5, newText.length()); 44 assertEquals('o', newText.charAt(0)); 45 assertEquals("o Wor", newText.toString()); 47 assertEquals(" Wo", newText.subSequence(1, 4)); 50 ((GetChars) newText).getChars(1, 4, c2, 2);
|
/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());
|
/libcore/luni/src/main/java/java/text/ |
RuleBasedBreakIterator.java | 78 @Override public void setText(CharacterIterator newText) { 79 if (newText == null) { 80 throw new NullPointerException("newText == null"); 82 newText.current(); 83 wrapped.setText(newText);
|
/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);
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 236 final String newText = getActivity().getString(R.string.text_input_blah_blah); 237 final String afterText = beforeText.substring(0, 3) + newText; 260 editText.getEditableText().replace(3, 4, newText);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Text.cpp | 65 RefPtr<Text> newText = cloneWithData(oldStr.substring(offset)); 71 parentNode()->insertBefore(newText.get(), nextSibling(), es); 81 return newText.release(); 143 PassRefPtr<Text> Text::replaceWholeText(const String& newText) 168 if (newText.isEmpty()) { 174 setData(newText);
|
Range.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TypingCommand.cpp | 178 String newText = dispatchBeforeTextInsertedEvent(text, selectionForInsertion, compositionType == TextCompositionUpdate); 192 lastTypingCommand->insertText(newText, options & SelectInsertedText); 196 RefPtr<TypingCommand> cmd = TypingCommand::create(document, InsertText, newText, options, compositionType);
|
/external/smali/util/src/main/java/ds/tree/ |
RadixTreeImpl.java | 184 String newText = key.substring(numberOfMatchingCharacters, key.length()); 186 if (child.getKey().startsWith(newText.charAt(0) + "")) { 188 insert(newText, child, value); 196 n.setKey(newText); 297 String newText = key.substring(numberOfMatchingCharacters, key.length()); 299 if (child.getKey().startsWith(newText.charAt(0) + "")) { 300 result = searchPefix(newText, child); 357 String newText = prefix.substring(numberOfMatchingCharacters, prefix.length()); 360 if (child.getKey().startsWith(newText.charAt(0) + "")) { 361 visit(newText, visitor, node, child) [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
NativeBreakIterator.java | 114 public void setText(CharacterIterator newText) { 116 for (char c = newText.first(); c != CharacterIterator.DONE; c = newText.next()) { 119 setText(sb.toString(), newText); 122 public void setText(String newText) { 123 setText(newText, new StringCharacterIterator(newText));
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
utransts.c | 96 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); 97 u_strncpy(newText, x->text, start); 98 u_strncpy(newText + start, text, textLength); 99 u_strcpy(newText + start + textLength, x->text + limit); 101 x->text = newText; 108 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); 109 u_strncpy(newText, x->text, dest); 110 u_strncpy(newText + dest, x->text + start, limit - start); 111 u_strcpy(newText + dest + limit - start, x->text + dest); 113 x->text = newText; [all...] |
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 652 SmallString<512> newText; 653 llvm::raw_svector_ostream vecOS(newText); 657 StringRef(newText.data(), newText.size()), newFname);
|
ObjCMT.cpp | 748 SmallString<512> newText; 749 llvm::raw_svector_ostream vecOS(newText); 753 StringRef(newText.data(), newText.size()), file->getName());
|
/external/icu4c/test/cintltst/ |
utransts.c | 96 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); 97 u_strncpy(newText, x->text, start); 98 u_strncpy(newText + start, text, textLength); 99 u_strcpy(newText + start + textLength, x->text + limit); 101 x->text = newText; 108 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); 109 u_strncpy(newText, x->text, dest); 110 u_strncpy(newText + dest, x->text + start, limit - start); 111 u_strcpy(newText + dest + limit - start, x->text + dest); 113 x->text = newText; [all...] |
/frameworks/base/core/java/android/content/ |
ClipData.java | 394 CharSequence newText = Html.fromHtml(htmlText); 395 if (newText != null) { 396 return newText; 500 CharSequence newText = Html.fromHtml(text); 501 return newText != null ? newText : text; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ListViewTest.java | 781 final CharSequence newText = ((TextView) newItem.findViewById(android.R.id.text1)) 784 Assert.assertFalse(oldText.equals(newText)); 818 final CharSequence newText = ((TextView) newItem.findViewById(android.R.id.text1)) 822 Assert.assertEquals(oldText, newText);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
Switch.java | 499 StringBuilder newText = new StringBuilder(); 500 newText.append(oldText).append(' ').append(switchText); 501 info.setText(newText);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
Switch.java | 487 StringBuilder newText = new StringBuilder(); 488 newText.append(oldText).append(' ').append(switchText); 489 info.setText(newText);
|
/frameworks/base/core/java/android/text/ |
SpannableStringBuilder.java | 136 char[] newText = new char[newLength]; 137 System.arraycopy(mText, 0, newText, 0, mGapStart); 139 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); 140 mText = newText; [all...] |
/frameworks/base/core/java/android/widget/ |
Switch.java | 845 StringBuilder newText = new StringBuilder(); 846 newText.append(oldText).append(' ').append(switchText); 847 info.setText(newText);
|
SearchView.java | 195 * @param newText the new content of the query text field. 200 boolean onQueryTextChange(String newText); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SearchView.java | 208 * @param newText the new content of the query text field. 213 boolean onQueryTextChange(String newText); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.updatesite_1.0.201.R36x_v20100823.jar | |
org.eclipse.equinox.p2.metadata.generator_1.0.200.v20100503a.jar | |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
PrintJobConfigActivity.java | [all...] |