Searched refs:newStart (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | CharSequences.java | 75 public CharSequence subSequence(int newStart, int newEnd) { 76 newStart -= start; 78 validate(newStart, newEnd, length()); 79 return forAsciiBytes(bytes, newStart, newEnd);
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 112 int newStart = -1; in matchesSimple() local 119 if (newStart == -1) { in matchesSimple() 120 newStart = i; in matchesSimple() 129 start = newStart; in matchesSimple() 171 newStart = start; in matchesSimple() 179 ranges.push_back(std::make_pair(newStart, i)); in matchesSimple() 180 newStart = i; in matchesSimple() 184 ranges.push_back(std::make_pair(newStart, end)); in matchesSimple()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CursorAnchorInfo.java | 276 public Builder setSelectionRange(final int newStart, final int newEnd) { in setSelectionRange() argument 277 mSelectionStart = newStart; in setSelectionRange()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 10038 int newStart = start; in moveCursorToVisibleOffset() local 10039 if (newStart < lowChar) { in moveCursorToVisibleOffset() 10040 newStart = lowChar; in moveCursorToVisibleOffset() 10041 } else if (newStart > highChar) { in moveCursorToVisibleOffset() 10042 newStart = highChar; in moveCursorToVisibleOffset() 10045 if (newStart != start) { in moveCursorToVisibleOffset() 10046 Selection.setSelection(mSpannable, newStart); in moveCursorToVisibleOffset() 10665 void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd, int newEnd) { in spanChange() argument 10676 newSelEnd = newStart; in spanChange() 10678 if (oldStart >= 0 || newStart >= 0) { in spanChange() [all …]
|
D | Editor.java | 3034 int newStart, int newEnd) { in onSpanChanged() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 717 boolean newStart = false; in add() 732 newStart = true; in add() 742 return newStart; in add() 756 long newStart = 0; // recalculate endpoints as we go in remove() local 774 if (alarm.whenElapsed > newStart) { in remove() 775 newStart = alarm.whenElapsed; in remove() 786 start = newStart; in remove()
|