HomeSort by relevance Sort by last modified time
    Searched full:newtext (Results 1 - 25 of 151) 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/ui/base/cocoa/
find_pasteboard.mm 58 - (void)setFindText:(NSString*)newText {
59 DCHECK(newText);
60 if (!newText)
65 BOOL needToSendNotification = ![findText_.get() isEqualToString:newText];
67 findText_.reset([newText copy]);
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;
  /external/chromium_org/third_party/WebKit/Source/web/tests/data/listener/
mutation_event_listener.html 18 function changeText(id, newText) {
20 node.childNodes[0].nodeValue = newText;
  /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);
  /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());
  /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/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 93 public boolean onQueryTextChange(String newText) {
94 newText = TextUtils.isEmpty(newText) ? "" : "Query so far: " + newText;
95 mSearchText.setText(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));
  /external/chromium_org/third_party/WebKit/Source/core/editing/
TextInsertionBaseCommand.cpp 62 String newText = text;
68 newText = evt->text();
71 return 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;
  /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);
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ContentViewCoreInputConnectionTest.java 66 String newtext = mContentViewCore.getEditableForTest().toString(); local
67 assertEquals("Check if the string is restored.", "Is this text restored?", newtext);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorStyleTextEditor.h 46 void replaceProperty(unsigned index, const String& newText);
50 void internalReplaceProperty(const InspectorStyleProperty&, const String& newText);
InspectorStyleTextEditor.cpp 109 void InspectorStyleTextEditor::replaceProperty(unsigned index, const String& newText)
112 internalReplaceProperty(m_allProperties->at(index), newText);
115 void InspectorStyleTextEditor::internalReplaceProperty(const InspectorStyleProperty& property, const String& newText)
120 long newTextLength = newText.length();
121 String finalNewText = newText;
130 if (isHTMLLineBreak(newText[newTextLength - 1])) {
  /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/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());
  /packages/apps/Mms/src/com/android/mms/ui/
SlideshowEditor.java 180 public void changeText(int position, String newText) {
181 if (newText != null) {
188 text.setText(newText);
190 } else if (!newText.equals(text.getText())) {
191 text.setText(newText);
  /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...]
  /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/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);

Completed in 669 milliseconds

1 2 3 4 5 6 7