Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DCorrectionInfo.java30 private final CharSequence mNewText; field in CorrectionInfo
40 mNewText = newText; in CorrectionInfo()
46 mNewText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); in CorrectionInfo()
68 return mNewText; in getNewText()
73 return "CorrectionInfo{#" + mOffset + " \"" + mOldText + "\" -> \"" + mNewText + "\"}"; in toString()
85 TextUtils.writeToParcel(mNewText, dest, flags); in writeToParcel()
/frameworks/base/core/java/android/widget/
DEditor.java7093 if (mHasComposition && TextUtils.equals(edit.mNewText, edit.mOldText)) { in handleEdit()
7199 private String mNewText; field in Editor.SelectionHandleView.EditOperation
7215 mNewText = newText; in EditOperation()
7218 if (mNewText.length() > 0 && mOldText.length() == 0) { in EditOperation()
7220 } else if (mNewText.length() == 0 && mOldText.length() > 0) { in EditOperation()
7229 mNewCursorPos = dstart + mNewText.length(); in EditOperation()
7237 mNewText = src.readString(); in EditOperation()
7249 dest.writeString(mNewText); in writeToParcel()
7258 return mStart + mNewText.length(); in getNewTextEnd()
7284 modifyText(text, mStart, getOldTextEnd(), mNewText, mStart, mNewCursorPos); in redo()
[all …]