Home
last modified time | relevance | path

Searched refs:newStart (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DCharSequences.java73 public CharSequence subSequence(int newStart, int newEnd) {
74 newStart -= start;
76 validate(newStart, newEnd, length());
77 return forAsciiBytes(bytes, newStart, newEnd);
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java399 boolean newStart = false; in add()
411 newStart = true; in add()
421 return newStart; in add()
433 long newStart = 0; // recalculate endpoints as we go in remove() local
445 if (alarm.whenElapsed > newStart) { in remove()
446 newStart = alarm.whenElapsed; in remove()
457 start = newStart; in remove()
473 long newStart = 0; // recalculate endpoints as we go in remove() local
485 if (alarm.whenElapsed > newStart) { in remove()
486 newStart = alarm.whenElapsed; in remove()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DCursorAnchorInfo.java275 public Builder setSelectionRange(final int newStart, final int newEnd) { in setSelectionRange() argument
276 mSelectionStart = newStart; in setSelectionRange()
/frameworks/base/core/java/android/widget/
DTextView.java8867 int newStart = start; in moveCursorToVisibleOffset() local
8868 if (newStart < lowChar) { in moveCursorToVisibleOffset()
8869 newStart = lowChar; in moveCursorToVisibleOffset()
8870 } else if (newStart > highChar) { in moveCursorToVisibleOffset()
8871 newStart = highChar; in moveCursorToVisibleOffset()
8874 if (newStart != start) { in moveCursorToVisibleOffset()
8875 Selection.setSelection((Spannable) mText, newStart); in moveCursorToVisibleOffset() local
9454 void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd, int newEnd) { in spanChange() argument
9465 newSelEnd = newStart; in spanChange()
9467 if (oldStart >= 0 || newStart >= 0) { in spanChange()
[all …]
DEditor.java2864 int newStart, int newEnd) { in onSpanChanged() argument
/frameworks/support/core-ui/java/android/support/v4/widget/
DSlidingPaneLayout.java955 final int newStart = isLayoutRtl ? getWidth() - newLeft - childWidth : newLeft; in onPanelDragged() local
961 mSlideOffset = (float) (newStart - startBound) / mSlideRange; in onPanelDragged()