Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DCharSequences.java75 public CharSequence subSequence(int newStart, int newEnd) {
76 newStart -= start;
78 validate(newStart, newEnd, length());
79 return forAsciiBytes(bytes, newStart, newEnd);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DBatchingAlarmStore.java303 boolean newStart = false; in add()
315 newStart = true; in add()
325 return newStart; in add()
330 long newStart = 0; // recalculate endpoints as we go in remove() local
346 if (alarm.getWhenElapsed() > newStart) { in remove()
347 newStart = alarm.getWhenElapsed(); in remove()
358 mStart = newStart; in remove()
/frameworks/base/core/java/android/view/inputmethod/
DCursorAnchorInfo.java276 public Builder setSelectionRange(final int newStart, final int newEnd) { in setSelectionRange() argument
277 mSelectionStart = newStart; in setSelectionRange()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceConfig.java579 int newStart = 0; in constrainNitsAndBacklightArrays() local
582 newStart = i; in constrainNitsAndBacklightArrays()
589 for (int i = newStart; i < mRawBacklight.length && !isLastValue; i++) { in constrainNitsAndBacklightArrays()
590 newIndex = i - newStart; in constrainNitsAndBacklightArrays()
/frameworks/base/core/java/android/widget/
DTextView.java10163 int newStart = start; in moveCursorToVisibleOffset() local
10164 if (newStart < lowChar) { in moveCursorToVisibleOffset()
10165 newStart = lowChar; in moveCursorToVisibleOffset()
10166 } else if (newStart > highChar) { in moveCursorToVisibleOffset()
10167 newStart = highChar; in moveCursorToVisibleOffset()
10170 if (newStart != start) { in moveCursorToVisibleOffset()
10171 Selection.setSelection(mSpannable, newStart); in moveCursorToVisibleOffset()
10912 void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd, int newEnd) { in spanChange() argument
10923 newSelEnd = newStart; in spanChange()
10925 if (oldStart >= 0 || newStart >= 0) { in spanChange()
[all …]
DEditor.java3266 int newStart, int newEnd) { in onSpanChanged() argument
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java1735 final long newStart = MathUtils.constrain(start, 0, now); in setPropertyStart() local
1736 SystemProperties.set(property, Long.toString(newStart)); in setPropertyStart()