Home
last modified time | relevance | path

Searched refs:oldText (Results 1 – 4 of 4) sorted by relevance

/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DReplaceTextCommentScanner.java26 private final String oldText; field in ReplaceTextCommentScanner
29 public ReplaceTextCommentScanner(String oldText, String newText) { in ReplaceTextCommentScanner() argument
30 this.oldText = oldText; in ReplaceTextCommentScanner()
36 String newCommentText = commentText.replace(oldText, newText); in processComment()
46 "oldText='" + oldText + '\'' + in toString()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DTextField.java570 String oldText = text; in setText() local
573 if (programmaticChangeEvents) changeText(oldText, text); in setText()
584 boolean changeText (String oldText, String newText) { in changeText() argument
585 if (newText.equals(oldText)) return false; in changeText()
589 text = cancelled ? oldText : newText; in changeText()
847 String oldText = text; in keyDown() local
849 undoText = oldText; in keyDown()
959 String oldText = text; in keyTyped() local
980 if (changeText(oldText, text)) { in keyTyped()
982 if (time - 750 > lastChangeTime) undoText = oldText; in keyTyped()
/external/icu/icu4c/source/common/unicode/
Dunistr.h2520 inline UnicodeString& findAndReplace(const UnicodeString& oldText,
2536 const UnicodeString& oldText,
2558 const UnicodeString& oldText,
4345 UnicodeString::findAndReplace(const UnicodeString& oldText, in findAndReplace() argument
4347 { return findAndReplace(0, length(), oldText, 0, oldText.length(), in findAndReplace()
4353 const UnicodeString& oldText, in findAndReplace() argument
4355 { return findAndReplace(start, _length, oldText, 0, oldText.length(), in findAndReplace()
/external/icu/icu4c/source/common/
Dunistr.cpp1135 const UnicodeString& oldText, in findAndReplace() argument
1142 if(isBogus() || oldText.isBogus() || newText.isBogus()) { in findAndReplace()
1147 oldText.pinIndices(oldStart, oldLength); in findAndReplace()
1155 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length); in findAndReplace()