Searched refs:oldStart (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/text/method/ |
D | QwertyKeyListener.java | 230 int oldStart = content.getSpanStart(OLD_SEL_START); in onKeyDown() local 233 if (oldStart < selEnd) { in onKeyDown() 235 oldStart, selEnd, in onKeyDown() 239 Selection.setSelection(content, oldStart, selEnd); in onKeyDown() 240 content.setSpan(TextKeyListener.ACTIVE, oldStart, selEnd, in onKeyDown() 255 != oldStart) { in onKeyDown() 258 for (x = oldStart; x > 0; x--) { in onKeyDown() 265 String rep = getReplacement(content, x, oldStart, view); in onKeyDown() 273 char[] orig = new char[oldStart - x]; in onKeyDown() 274 TextUtils.getChars(content, x, oldStart, orig, 0); in onKeyDown() [all …]
|
D | MultiTapKeyListener.java | 198 int oldStart = content.getSpanStart(OLD_SEL_START); in onKeyDown() local 201 if (selEnd != oldStart) { in onKeyDown() 202 Selection.setSelection(content, oldStart, selEnd); in onKeyDown() 205 oldStart, selEnd, in onKeyDown() 209 oldStart, selEnd, in onKeyDown()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringBuilder.java | 1300 private void sendSpanChanged(Object what, int oldStart, int oldEnd, int start, int end) { in sendSpanChanged() argument 1303 SpanWatcher[] spanWatchers = getSpans(Math.min(oldStart, start), in sendSpanChanged() 1307 spanWatchers[i].onSpanChanged(this, what, oldStart, oldEnd, start, end); in sendSpanChanged()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 10643 void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd, int newEnd) { in spanChange() argument 10656 if (oldStart >= 0 || newStart >= 0) { in spanChange() 10657 invalidateCursor(Selection.getSelectionStart(buf), oldStart, newStart); in spanChange() local 10668 if (oldStart >= 0 || newStart >= 0) { in spanChange() 10670 invalidateCursor(end, oldStart, newStart); in spanChange() 10708 if (oldStart >= 0) mEditor.invalidateTextDisplayList(mLayout, oldStart, oldEnd); in spanChange() 10734 if (oldStart >= 0) { in spanChange() 10735 if (ims.mChangedStart > oldStart) { in spanChange() 10736 ims.mChangedStart = oldStart; in spanChange() 10753 + oldStart + "-" + oldEnd + "," in spanChange()
|