Home
last modified time | relevance | path

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

12

/frameworks/base/tools/split-select/
DSplitDescription.cpp89 ssize_t endIndex = index; in parseAbi() local
90 if (parts[endIndex] == "arm64") { in parseAbi()
91 endIndex++; in parseAbi()
92 if (endIndex < N) { in parseAbi()
93 if (parts[endIndex] == "v8a") { in parseAbi()
94 endIndex++; in parseAbi()
98 } else if (parts[endIndex] == "armeabi") { in parseAbi()
99 endIndex++; in parseAbi()
101 if (endIndex < N) { in parseAbi()
102 if (parts[endIndex] == "v7a") { in parseAbi()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java100 int endIndex = mX.length - 1; in getInterpolation() local
106 return mY[endIndex]; in getInterpolation()
110 while (endIndex - startIndex > 1) { in getInterpolation()
111 int midIndex = (startIndex + endIndex) / 2; in getInterpolation()
113 endIndex = midIndex; in getInterpolation()
119 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
128 float endY = mY[endIndex]; in getInterpolation()
139 int endIndex = mY.length - 1; in getX() local
143 return mX[endIndex]; in getX()
149 while (endIndex - startIndex > 1) { in getX()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java96 int endIndex = data.length; in decodeMany() local
97 while (startIndex < endIndex) { in decodeMany()
122 int endIndex = data.length; in decode() local
135 " endIndex=" + endIndex); in decode()
167 " endIndex=" + endIndex); in decode()
178 " endIndex=" + endIndex); in decode()
190 " endIndex=" + endIndex); in decode()
196 " endIndex=" + endIndex); in decode()
205 " curIndex=" + curIndex + " endIndex=" + endIndex); in decode()
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()
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockReader.java229 int endIndex; in parseProcWakelocks() local
234 startIndex = endIndex = i + 1; in parseProcWakelocks()
237 while (endIndex < len) { in parseProcWakelocks()
238 for (endIndex=startIndex; in parseProcWakelocks()
239 endIndex < len && wlBuffer[endIndex] != '\n' && wlBuffer[endIndex] != '\0'; in parseProcWakelocks()
240 endIndex++); in parseProcWakelocks()
243 if (endIndex > (len - 1) ) { in parseProcWakelocks()
252 for (int j = startIndex; j < endIndex; j++) { in parseProcWakelocks()
255 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex, in parseProcWakelocks()
289 new String(wlBuffer, startIndex, endIndex - startIndex)); in parseProcWakelocks()
[all …]
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()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java191 public static ViewAction longPressAndDragOnText(int startIndex, int endIndex) { in longPressAndDragOnText() argument
196 new TextCoordinates(endIndex), in longPressAndDragOnText()
213 public static ViewAction doubleTapAndDragOnText(int startIndex, int endIndex) { in doubleTapAndDragOnText() argument
218 new TextCoordinates(endIndex), in doubleTapAndDragOnText()
235 public static ViewAction mouseDragOnText(int startIndex, int endIndex) { in mouseDragOnText() argument
240 new TextCoordinates(endIndex), in mouseDragOnText()
257 public static ViewAction mouseDoubleClickAndDragOnText(int startIndex, int endIndex) { in mouseDoubleClickAndDragOnText() argument
262 new TextCoordinates(endIndex), in mouseDoubleClickAndDragOnText()
279 public static ViewAction mouseLongClickAndDragOnText(int startIndex, int endIndex) { in mouseLongClickAndDragOnText() argument
284 new TextCoordinates(endIndex), in mouseLongClickAndDragOnText()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextSelection.java52 int startIndex, int endIndex, Map<String, Float> entityConfidence, String id, in TextSelection() argument
55 mEndIndex = endIndex; in TextSelection()
150 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { in Builder()
152 Preconditions.checkArgument(endIndex > startIndex); in Builder()
154 mEndIndex = endIndex; in Builder()
222 int endIndex, in Request() argument
228 mEndIndex = endIndex; in Request()
348 @IntRange(from = 0) int endIndex) { in Builder()
349 Utils.checkArgument(text, startIndex, endIndex); in Builder()
352 mEndIndex = endIndex; in Builder()
[all …]
DTextClassification.java562 int endIndex,
568 mEndIndex = endIndex;
687 @IntRange(from = 0) int endIndex) {
688 Utils.checkArgument(text, startIndex, endIndex);
691 mEndIndex = endIndex;
762 final int endIndex = in.readInt();
771 final Request request = new Request(text, startIndex, endIndex,
DTextClassifier.java291 @IntRange(from = 0) int endIndex, in classifyText()
294 text, startIndex, endIndex) in classifyText()
662 static void checkArgument(@NonNull CharSequence text, int startIndex, int endIndex) { in checkArgument() argument
665 Preconditions.checkArgument(endIndex <= text.length()); in checkArgument()
666 Preconditions.checkArgument(endIndex > startIndex); in checkArgument()
/frameworks/base/core/tests/coretests/src/android/util/
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()
/frameworks/base/libs/hwui/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
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()
/frameworks/base/libs/hwui/pipeline/skia/
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()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierTest.java86 int endIndex = startIndex + selected.length(); in testSuggestSelection() local
90 text, startIndex, endIndex) in testSuggestSelection()
107 int endIndex = startIndex + selected.length(); in testSuggestSelection_url() local
111 text, startIndex, endIndex) in testSuggestSelection_url()
127 int endIndex = startIndex + selected.length(); in testSmartSelection_withEmoji() local
129 text, startIndex, endIndex) in testSmartSelection_withEmoji()
135 isTextSelection(startIndex, endIndex, NO_TYPE)); in testSmartSelection_withEmoji()
145 int endIndex = startIndex + classifiedText.length(); in testClassifyText() local
147 text, startIndex, endIndex) in testClassifyText()
162 int endIndex = startIndex + classifiedText.length(); in testClassifyText_url() local
[all …]
DTextSelectionTest.java46 final int endIndex = 37; in testParcel() local
48 final TextSelection reference = new TextSelection.Builder(startIndex, endIndex) in testParcel()
63 assertEquals(endIndex, result.getSelectionEndIndex()); in testParcel()
DTextClassificationManagerTest.java85 int endIndex = startIndex + classifiedText.length(); in testCannotResolveIntent() local
87 text, startIndex, endIndex) in testCannotResolveIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java283 for (int endIndex = startIndex+1; endIndex < len; endIndex++) { in enableRange()
284 IntRange endRange = mRanges.get(endIndex); in enableRange()
299 for (int i = joinIndex; i < endIndex; i++) { in enableRange()
324 for (int i = joinIndex; i <= endIndex; i++) { in enableRange()
370 int endIndex = startIndex; in enableRange() local
376 endIndex = testIndex; in enableRange()
380 if (endIndex == startIndex) { in enableRange()
393 IntRange endRange = mRanges.get(endIndex); in enableRange()
412 for (int i = joinIndex; i <= endIndex; i++) { in enableRange()
/frameworks/base/core/java/android/view/animation/
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()
/frameworks/base/core/java/com/android/internal/util/
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()
/frameworks/base/core/java/android/database/
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()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
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
656 final String[] array = new String[endIndex-startIndex]; in setArray()
657 for (int i=0; i<(endIndex-startIndex); i++) { in setArray()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java1562 int endIndex = topIndex; in moveAffiliatedTasksToFront() local
1564 while (endIndex < recentsCount) { in moveAffiliatedTasksToFront()
1565 TaskRecord cur = mTasks.get(endIndex); in moveAffiliatedTasksToFront()
1567 + endIndex + " " + cur); in moveAffiliatedTasksToFront()
1571 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront()
1580 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront()
1581 + ": middle task " + cur + " @" + endIndex in moveAffiliatedTasksToFront()
1592 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront()
1597 if (DEBUG_RECENTS) Slog.d(TAG_RECENTS, "addRecent: end of chain @" + endIndex); in moveAffiliatedTasksToFront()
1602 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java2708 final int bottomI, int endIndex) { in updateClientActivitiesOrdering() argument
2719 for (int i = endIndex; i >= bottomI; i--) { in updateClientActivitiesOrdering()
2723 if (i == endIndex && subProc.connectionImportance >= endImportance) { in updateClientActivitiesOrdering()
2732 endIndex--; in updateClientActivitiesOrdering()
2742 for (int pos = topI; pos > endIndex; pos--) { in updateClientActivitiesOrdering()
2753 endIndex--; in updateClientActivitiesOrdering()
2760 mLruProcesses.add(endIndex, subProc); in updateClientActivitiesOrdering()
2764 + endIndex); in updateClientActivitiesOrdering()
2765 endIndex--; in updateClientActivitiesOrdering()
2775 int i = endIndex; in updateClientActivitiesOrdering()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java161 private void layoutChildrenOnRow(int startIndex, int endIndex, int fullRowWidth, int xPos, in layoutChildrenOnRow() argument
167 for (int j = startIndex; j < endIndex; ++j) { in layoutChildrenOnRow()
183 int nextChildWidth = j < endIndex - 1 in layoutChildrenOnRow()

12