HomeSort by relevance Sort by last modified time
    Searched refs:newText (Results 1 - 25 of 168) sorted by null

1 2 3 4 5 6 7

  /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 43 void replaceProperty(unsigned index, const String& newText);
50 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);
136 void InspectorStyleTextEditor::internalReplaceProperty(const InspectorStyleProperty& property, const String& newText)
141 long newTextLength = newText.length();
142 String finalNewText = newText;
151 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/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);
  /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);
  /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/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;
  /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;
  /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));
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
ConversionUtilities.java 41 private static StringBuffer appendTextPart(StringBuffer sb, String newText) {
42 if (newText == null) {
46 sb = new StringBuffer(newText);
51 sb.append(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);
  /external/chromium_org/third_party/icu/source/common/
schriter.cpp 108 StringCharacterIterator::setText(const UnicodeString& newText) {
109 text = 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...]

Completed in 1067 milliseconds

1 2 3 4 5 6 7