Home
last modified time | relevance | path

Searched refs:oldStart (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java230 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 …]
DMultiTapKeyListener.java198 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/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackTransportRowPresenter.java188 final int oldStart = Math.max(mThumbHeroIndex - (totalNum / 2), 0); in updateThumbsInSeek() local
200 newRequestEnd = Math.min(oldStart - 1, end); in updateThumbsInSeek()
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java1285 private void sendSpanChanged(Object what, int oldStart, int oldEnd, int start, int end) { in sendSpanChanged() argument
1288 SpanWatcher[] spanWatchers = getSpans(Math.min(oldStart, start), in sendSpanChanged()
1292 spanWatchers[i].onSpanChanged(this, what, oldStart, oldEnd, start, end); in sendSpanChanged()
/frameworks/base/core/java/android/widget/
DTextView.java9476 void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd, int newEnd) { in spanChange() argument
9489 if (oldStart >= 0 || newStart >= 0) { in spanChange()
9490 invalidateCursor(Selection.getSelectionStart(buf), oldStart, newStart); in spanChange() local
9501 if (oldStart >= 0 || newStart >= 0) { in spanChange()
9503 invalidateCursor(end, oldStart, newStart); in spanChange()
9541 if (oldStart >= 0) mEditor.invalidateTextDisplayList(mLayout, oldStart, oldEnd); in spanChange()
9567 if (oldStart >= 0) { in spanChange()
9568 if (ims.mChangedStart > oldStart) { in spanChange()
9569 ims.mChangedStart = oldStart; in spanChange()
9586 + oldStart + "-" + oldEnd + "," in spanChange()