/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);
|
/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/icu4c/common/unicode/ |
schriter.h | 135 * @param newText The string to be iterated over 138 void setText(const UnicodeString& newText); 172 * @param newText The string to be iterated over 176 void setText(const UChar* newText, int32_t newTextLength);
|
normlzr.h | 671 * @param newText a string that replaces the current input text 675 void setText(const UnicodeString& newText, 682 * @param newText a CharacterIterator object that replaces the current input text 686 void setText(const CharacterIterator& newText, 693 * @param newText a string that replaces the current input text 698 void setText(const UChar* newText,
|
/libcore/luni/src/main/java/java/text/ |
BreakIterator.java | 384 * @param newText 387 public void setText(String newText) { 388 if (newText == null) { 389 throw new NullPointerException("newText == null"); 391 wrapped.setText(newText); 476 * @param newText 480 public abstract void setText(CharacterIterator newText);
|
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);
|
/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);
|
LoaderCursor.java | 127 public boolean onQueryTextChange(String newText) { 131 String newFilter = !TextUtils.isEmpty(newText) ? newText : null;
|
LoaderRetained.java | 132 public boolean onQueryTextChange(String newText) { 136 String newFilter = !TextUtils.isEmpty(newText) ? newText : null;
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarUsage.java | 86 public boolean onQueryTextChange(String newText) { 87 newText = newText.isEmpty() ? "" : "Query so far: " + newText; 88 mSearchText.setText(newText);
|
/external/chromium/chrome/browser/ui/cocoa/ |
find_pasteboard.h | 40 // Sets the current find text to |newText| and sends a 42 // it the new text different from the current text. |newText| must not be nil. 43 - (void)setFindText:(NSString*)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());
|
/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));
|
/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;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowEditor.java | 146 public void changeText(int position, String newText) { 147 if (newText != null) { 154 text.setText(newText); 156 } else if (!newText.equals(text.getText())) { 157 text.setText(newText);
|
/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...] |
/frameworks/support/v4/honeycomb/android/support/v4/widget/ |
SearchViewCompatHoneycomb.java | 34 public boolean onQueryTextChange(String newText); 60 public boolean onQueryTextChange(String newText) { 61 return listener.onQueryTextChange(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);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
ConversionUtilities.java | 42 private static StringBuffer appendTextPart(StringBuffer sb, String newText) { 43 if (newText == null) { 47 sb = new StringBuffer(newText); 52 sb.append(newText);
|
/external/icu4c/common/ |
schriter.cpp | 108 StringCharacterIterator::setText(const UnicodeString& newText) { 109 text = newText;
|
/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...] |
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
CursorFragment.java | 84 public boolean onQueryTextChange(String newText) { 88 mCurFilter = !TextUtils.isEmpty(newText) ? newText : null;
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderCursorSupport.java | 110 public boolean onQueryTextChange(String newText) { 114 String newFilter = !TextUtils.isEmpty(newText) ? newText : null;
|
LoaderRetainedSupport.java | 112 public boolean onQueryTextChange(String newText) { 116 String newFilter = !TextUtils.isEmpty(newText) ? newText : null;
|