Home
last modified time | relevance | path

Searched refs:endIndex (Results 1 – 25 of 90) sorted by relevance

1234

/aosp12/frameworks/base/tools/split-select/
H A DSplitDescription.cpp91 endIndex++; in parseAbi()
92 if (endIndex < N) { in parseAbi()
94 endIndex++; in parseAbi()
99 endIndex++; in parseAbi()
101 if (endIndex < N) { in parseAbi()
103 endIndex++; in parseAbi()
108 endIndex++; in parseAbi()
111 endIndex++; in parseAbi()
114 endIndex++; in parseAbi()
117 endIndex++; in parseAbi()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java196 new TextCoordinates(endIndex), in longPressAndDragOnText()
215 int endIndex) { in longPressAndDragHandle() argument
255 int endIndex) { in doubleTapAndDragHandle() argument
298 new TextCoordinates(endIndex), in doubleTapAndDragOnText()
320 new TextCoordinates(endIndex), in mouseDragOnText()
342 new TextCoordinates(endIndex), in mouseDoubleClickAndDragOnText()
364 new TextCoordinates(endIndex), in mouseLongClickAndDragOnText()
386 new TextCoordinates(endIndex), in mouseTripleClickAndDragOnText()
411 return dragHandle(textView, handleType, endIndex, true); in dragHandle()
451 public static ViewAction dragOnText(int startIndex, int endIndex) { in dragOnText() argument
[all …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DComprehensionTlv.java97 int endIndex = data.length; in decodeMany() local
98 while (startIndex < endIndex) { in decodeMany()
123 int endIndex = data.length; in decode() local
136 " endIndex=" + endIndex); in decode()
168 " endIndex=" + endIndex); in decode()
179 " endIndex=" + endIndex); in decode()
191 " endIndex=" + endIndex); in decode()
197 " endIndex=" + endIndex); in decode()
206 " curIndex=" + curIndex + " endIndex=" + endIndex); in decode()
H A DBerTlv.java80 int endIndex = data.length; in decode() local
98 " curIndex=" + curIndex + " endIndex=" + endIndex); in decode()
107 " endIndex=" + endIndex); in decode()
118 " curIndex=" + curIndex + " endIndex=" + endIndex); in decode()
124 if (endIndex - curIndex < length) { in decode()
126 "Command had extra data endIndex=" + endIndex + " curIndex=" + curIndex + in decode()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockReader.java236 int endIndex; in parseProcWakelocks() local
241 startIndex = endIndex = i + 1; in parseProcWakelocks()
244 while (endIndex < len) { in parseProcWakelocks()
245 for (endIndex=startIndex; in parseProcWakelocks()
246 endIndex < len && wlBuffer[endIndex] != '\n' && wlBuffer[endIndex] != '\0'; in parseProcWakelocks()
247 endIndex++); in parseProcWakelocks()
250 if (endIndex > (len - 1) ) { in parseProcWakelocks()
259 for (int j = startIndex; j < endIndex; j++) { in parseProcWakelocks()
262 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex, in parseProcWakelocks()
296 new String(wlBuffer, startIndex, endIndex - startIndex)); in parseProcWakelocks()
[all …]
H A DProcStatsUtil.java66 final int endIndex = contents.indexOf("\0\0"); in readNullSeparatedFile() local
67 if (endIndex != -1) { in readNullSeparatedFile()
68 contents = contents.substring(0, endIndex); in readNullSeparatedFile()
/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DSparseLongArrayTest.java60 private void assertRemoved(int startIndex, int endIndex) { in assertRemoved() argument
62 if (i >= startIndex && i <= endIndex) { in assertRemoved()
148 final int endIndex = 200; in testRemoveAtRange_compareRemoveAt() local
149 mSparseLongArray.removeAtRange(startIndex, endIndex - startIndex + 1); in testRemoveAtRange_compareRemoveAt()
150 for (int i = endIndex; i >= startIndex; i--) { in testRemoveAtRange_compareRemoveAt()
153 assertEquals(TEST_SIZE - (endIndex - startIndex + 1), mSparseLongArray.size()); in testRemoveAtRange_compareRemoveAt()
154 assertRemoved(startIndex, endIndex); in testRemoveAtRange_compareRemoveAt()
/aosp12/frameworks/base/core/java/android/view/textclassifier/
H A DTextSelection.java53 int startIndex, int endIndex, Map<String, Float> entityConfidence, String id, in TextSelection() argument
57 mEndIndex = endIndex; in TextSelection()
179 Preconditions.checkArgument(endIndex > startIndex); in Builder()
181 mEndIndex = endIndex; in Builder()
269 int endIndex, in Request() argument
276 mEndIndex = endIndex; in Request()
397 @IntRange(from = 0) int endIndex) { in Builder()
398 Utils.checkArgument(text, startIndex, endIndex); in Builder()
401 mEndIndex = endIndex; in Builder()
491 final int endIndex = in.readInt(); in readFromParcel() local
[all …]
H A DTextClassification.java524 int endIndex,
530 mEndIndex = endIndex;
641 @IntRange(from = 0) int endIndex) {
642 Utils.checkArgument(text, startIndex, endIndex);
645 mEndIndex = endIndex;
715 final int endIndex = in.readInt();
723 final Request request = new Request(text, startIndex, endIndex,
/aosp12/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
H A DPathInterpolatorCompat.java81 int endIndex = mX.length - 1; in getInterpolation() local
82 while (endIndex - startIndex > 1) { in getInterpolation()
83 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
85 endIndex = midIndex; in getInterpolation()
91 final float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
100 final float endY = mY[endIndex]; in getInterpolation()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DLinkifyUtils.java58 final int endIndex = text.indexOf(PLACE_HOLDER_LINK_END); in linkify() local
59 if (endIndex == -1) { in linkify()
63 text.delete(endIndex, endIndex + PLACE_HOLDER_LINK_END.length()); in linkify()
80 spannableContent.setSpan(spannableLink, beginIndex, endIndex, in linkify()
/aosp12/frameworks/base/libs/hwui/
H A DInterpolator.cpp106 size_t endIndex = mX.size() - 1; in interpolate() local
108 while (endIndex > startIndex + 1) { in interpolate()
109 int midIndex = (startIndex + endIndex) / 2; in interpolate()
111 endIndex = midIndex; in interpolate()
117 float xRange = mX[endIndex] - mX[startIndex]; in interpolate()
126 float endY = mY[endIndex]; in interpolate()
/aosp12/hardware/libhardware/modules/input/evdev/
H A DBitUtils.cpp48 size_t endIndex = (end + 7) / 8; in testBitInRange() local
50 ALOGD("startIndex=%d, endIndex=%d", startIndex, endIndex); in testBitInRange()
52 for (size_t i = startIndex; i < endIndex; ++i) { in testBitInRange()
64 if (i == endIndex - 1 && (end % 8)) { in testBitInRange()
/aosp12/frameworks/base/services/core/java/com/android/server/integrity/parser/
H A DRuleIndexingController.java111 List<String> sortedKeyList, String key, int startIndex, int endIndex) { in searchKeysRangeContainingKey() argument
112 if (endIndex <= startIndex) { in searchKeysRangeContainingKey()
115 if (endIndex - startIndex == 1) { in searchKeysRangeContainingKey()
116 return Arrays.asList(sortedKeyList.get(startIndex), sortedKeyList.get(endIndex)); in searchKeysRangeContainingKey()
119 int midKeyIndex = startIndex + ((endIndex - startIndex) / 2); in searchKeysRangeContainingKey()
123 return searchKeysRangeContainingKey(sortedKeyList, key, midKeyIndex, endIndex); in searchKeysRangeContainingKey()
H A DRuleIndexRange.java30 public RuleIndexRange(int startIndex, int endIndex) { in RuleIndexRange() argument
32 this.mEndIndex = endIndex; in RuleIndexRange()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java128 int endIndex = mX.length - 1; in getInterpolation() local
130 while (endIndex - startIndex > 1) { in getInterpolation()
131 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
133 endIndex = midIndex; in getInterpolation()
139 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
148 float endY = mY[endIndex]; in getInterpolation()
/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DReorderBarrierDrawables.cpp50 const size_t endIndex = mChildren.size(); in onDraw() local
51 while (drawIndex < endIndex) { in onDraw()
87 const size_t endIndex = zChildren.size(); in onDraw() local
88 while (drawIndex < endIndex // draw only children with positive Z in onDraw()
94 while (shadowIndex < endIndex || drawIndex < endIndex) { in onDraw()
95 if (shadowIndex < endIndex) { in onDraw()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntRangeManager.java291 for (int endIndex = startIndex+1; endIndex < len; endIndex++) { in enableRange()
292 IntRange endRange = mRanges.get(endIndex); in enableRange()
307 for (int i = joinIndex; i < endIndex; i++) { in enableRange()
332 for (int i = joinIndex; i <= endIndex; i++) { in enableRange()
378 int endIndex = startIndex; in enableRange() local
384 endIndex = testIndex; in enableRange()
388 if (endIndex == startIndex) { in enableRange()
401 IntRange endRange = mRanges.get(endIndex); in enableRange()
420 for (int i = joinIndex; i <= endIndex; i++) { in enableRange()
/aosp12/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java213 int endIndex = mX.length - 1; in getInterpolation() local
215 while (endIndex - startIndex > 1) { in getInterpolation()
216 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
218 endIndex = midIndex; in getInterpolation()
224 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
233 float endY = mY[endIndex]; in getInterpolation()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DCallbackRegistry.java176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); in notifyRemainderLocked() local
178 notifyCallbacksLocked(sender, arg, arg2, startIndex, endIndex, bits); in notifyRemainderLocked()
200 final int endIndex, final long bits) { in notifyCallbacksLocked() argument
202 for (int i = startIndex; i < endIndex; i++) { in notifyCallbacksLocked()
259 final int endIndex = startIndex + Long.SIZE; in removeRemovedCallbacks() local
262 for (int i = endIndex - 1; i >= startIndex; i--) { in removeRemovedCallbacks()
/aosp12/frameworks/base/core/java/android/database/
H A DMatrixCursor.java93 final int endIndex = rowCount * columnCount; in newRow() local
94 ensureCapacity(endIndex); in newRow()
203 private final int endIndex; field in MatrixCursor.RowBuilder
210 this.endIndex = index + columnCount; in RowBuilder()
221 if (index == endIndex) { in add()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DTextSelectionTest.java60 final int endIndex = 37; in testParcel() local
62 final TextSelection reference = new TextSelection.Builder(startIndex, endIndex) in testParcel()
77 assertEquals(endIndex, result.getSelectionEndIndex()); in testParcel()
127 final int endIndex = 37; in testToBuilder() local
137 final TextSelection textSelection = new TextSelection.Builder(startIndex, endIndex) in testToBuilder()
/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A DRawBatteryStats.java538 int startIndex, int endIndex) throws ParseException; in setArray() argument
576 int startIndex, int endIndex) throws ParseException { in setArray() argument
578 final int[] array = new int[endIndex-startIndex]; in setArray()
579 for (int i=startIndex; i<endIndex; i++) { in setArray()
616 int startIndex, int endIndex) throws ParseException { in setArray() argument
618 final long[] array = new long[endIndex-startIndex]; in setArray()
619 for (int i=0; i<(endIndex-startIndex); i++) { in setArray()
654 int startIndex, int endIndex) throws ParseException { in setArray() argument
657 for (int i=0; i<(endIndex-startIndex); i++) { in setArray()
733 endIndex-startIndex); in setArray()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DRecentTasks.java1678 int endIndex = topIndex; in moveAffiliatedTasksToFront() local
1680 while (endIndex < recentsCount) { in moveAffiliatedTasksToFront()
1681 Task cur = mTasks.get(endIndex); in moveAffiliatedTasksToFront()
1684 + endIndex + " " + cur); in moveAffiliatedTasksToFront()
1729 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront()
1737 endIndex++; in moveAffiliatedTasksToFront()
1738 if (endIndex >= recentsCount) { in moveAffiliatedTasksToFront()
1746 if (endIndex < taskIndex) { in moveAffiliatedTasksToFront()
1747 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront()
1755 for (int i = topIndex; i <= endIndex; i++) { in moveAffiliatedTasksToFront()
[all …]
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DMoreSuggestions.java103 private boolean fitInWidth(final int startIndex, final int endIndex, final int width) { in fitInWidth() argument
104 for (int index = startIndex; index < endIndex; index++) { in fitInWidth()
111 private int calcurateMaxRowWidth(final int startIndex, final int endIndex) { in calcurateMaxRowWidth() argument
117 while (index < endIndex && mRowNumbers[index] == row) { in calcurateMaxRowWidth()

1234