/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/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorStyleTextEditor.h | 45 void replaceProperty(unsigned index, const String& newText); 49 void internalReplaceProperty(const InspectorStyleProperty&, const String& newText);
|
InspectorStyleTextEditor.cpp | 107 void InspectorStyleTextEditor::replaceProperty(unsigned index, const String& newText) 110 internalReplaceProperty(m_allProperties->at(index), newText); 113 void InspectorStyleTextEditor::internalReplaceProperty(const InspectorStyleProperty& property, const String& newText) 118 long newTextLength = newText.length(); 119 String finalNewText = newText; 128 if (isHTMLLineBreak(newText[newTextLength - 1])) {
|
/external/chromium_org/third_party/icu/source/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);
|
/external/icu/icu4c/source/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);
|
/libcore/luni/src/main/java/java/text/ |
BreakIterator.java | 365 * @param newText 368 public void setText(String newText) { 369 if (newText == null) { 370 throw new NullPointerException("newText == null"); 372 wrapped.setText(newText); 457 * @param newText 461 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);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarUsage.java | 88 public boolean onQueryTextChange(String newText) { 89 newText = TextUtils.isEmpty(newText) ? "" : "Query so far: " + newText; 90 mSearchText.setText(newText);
|
/external/chromium_org/ui/base/cocoa/ |
find_pasteboard.h | 41 // Sets the current find text to |newText| and sends a 43 // it the new text different from the current text. |newText| must not be nil. 44 - (void)setFindText:(NSString*)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());
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TextInsertionBaseCommand.cpp | 62 String newText = text; 68 newText = evt->text(); 71 return newText;
|
/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;
|
/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 | 29 const UChar *newText) 31 start(newText), 32 pos(newText + (other.pos - other.start)), 33 limit(other.limit == NULL ? NULL : newText + (other.limit - other.start)) { 150 const UChar *newText) 152 rawStart(newText), 153 segmentStart(newText + (other.segmentStart - other.rawStart)), 154 segmentLimit(other.segmentLimit == NULL ? NULL : newText + (other.segmentLimit - other.rawStart)), 155 rawLimit(other.rawLimit == NULL ? NULL : newText + (other.rawLimit - other.rawStart)), 160 start = newText + (other.start - other.rawStart) [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);
|
/external/chromium_org/third_party/icu/source/common/ |
schriter.cpp | 108 StringCharacterIterator::setText(const UnicodeString& newText) { 109 text = newText;
|
/external/icu/icu4c/source/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...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
RangeTest.cpp | 60 Text* newText = toText(oldText->nextSibling()); 65 EXPECT_EQ(newText, range04->endContainer()); 84 EXPECT_EQ(newText, range24->endContainer()); 105 Text* newText = toText(oldText->nextSibling()); 138 EXPECT_EQ(newText, rangeFromTextToMiddleOfElement->startContainer());
|