Home
last modified time | relevance | path

Searched refs:mOldText (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/inputmethod/
DCorrectionInfo.java29 private final CharSequence mOldText; field in CorrectionInfo
39 mOldText = oldText; in CorrectionInfo()
45 mOldText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); in CorrectionInfo()
61 return mOldText; in getOldText()
73 return "CorrectionInfo{#" + mOffset + " \"" + mOldText + "\" -> \"" + mNewText + "\"}"; in toString()
84 TextUtils.writeToParcel(mOldText, dest, flags); in writeToParcel()
/frameworks/base/core/java/android/widget/
DEditor.java5931 if (mHasComposition && TextUtils.equals(edit.mNewText, edit.mOldText)) {
6036 private String mOldText;
6052 mOldText = oldText;
6056 if (mNewText.length() > 0 && mOldText.length() == 0) {
6058 } else if (mNewText.length() == 0 && mOldText.length() > 0) {
6074 mOldText = src.readString();
6086 dest.writeString(mOldText);
6100 return mStart + mOldText.length();
6113 modifyText(text, mStart, getNewTextEnd(), mOldText, mStart, mOldCursorPos);
6188 mOldText = edit.mOldText + mOldText;
[all …]