Searched refs:oldStart (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
D | QwertyKeyListener.java | 225 int oldStart = content.getSpanStart(OLD_SEL_START); in onKeyDown() local 228 if (oldStart < selEnd) { in onKeyDown() 230 oldStart, selEnd, in onKeyDown() 234 Selection.setSelection(content, oldStart, selEnd); in onKeyDown() 235 content.setSpan(TextKeyListener.ACTIVE, oldStart, selEnd, in onKeyDown() 250 != oldStart) { in onKeyDown() 253 for (x = oldStart; x > 0; x--) { in onKeyDown() 260 String rep = getReplacement(content, x, oldStart, view); in onKeyDown() 268 char[] orig = new char[oldStart - x]; in onKeyDown() 269 TextUtils.getChars(content, x, oldStart, orig, 0); in onKeyDown() [all …]
|
D | MultiTapKeyListener.java | 195 int oldStart = content.getSpanStart(OLD_SEL_START); in onKeyDown() local 198 if (selEnd != oldStart) { in onKeyDown() 199 Selection.setSelection(content, oldStart, selEnd); in onKeyDown() 202 oldStart, selEnd, in onKeyDown() 206 oldStart, selEnd, in onKeyDown()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 1066 private void sendSpanChanged(Object what, int oldStart, int oldEnd, int start, int end) { in sendSpanChanged() argument 1069 SpanWatcher[] spanWatchers = getSpans(Math.min(oldStart, start), in sendSpanChanged() 1073 spanWatchers[i].onSpanChanged(this, what, oldStart, oldEnd, start, end); in sendSpanChanged()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 8061 void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd, int newEnd) { in spanChange() argument 8074 if (oldStart >= 0 || newStart >= 0) { in spanChange() 8075 invalidateCursor(Selection.getSelectionStart(buf), oldStart, newStart); in spanChange() local 8086 if (oldStart >= 0 || newStart >= 0) { in spanChange() 8088 invalidateCursor(end, oldStart, newStart); in spanChange() 8117 if (oldStart >= 0) mEditor.invalidateTextDisplayList(mLayout, oldStart, oldEnd); in spanChange() 8142 if (oldStart >= 0) { in spanChange() 8143 if (ims.mChangedStart > oldStart) { in spanChange() 8144 ims.mChangedStart = oldStart; in spanChange() 8160 + oldStart + "-" + oldEnd + "," in spanChange()
|