/frameworks/base/tools/split-select/ |
D | SplitDescription.cpp | 89 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/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewActions.java | 191 public static ViewAction longPressAndDragOnText(int startIndex, int endIndex) { in longPressAndDragOnText() argument 196 new TextCoordinates(endIndex), in longPressAndDragOnText() 215 int endIndex) { in longPressAndDragHandle() argument 220 new HandleCoordinates(textView, handleType, endIndex, true), in longPressAndDragHandle() 255 int endIndex) { in doubleTapAndDragHandle() argument 260 new HandleCoordinates(textView, handleType, endIndex, true), in doubleTapAndDragHandle() 293 public static ViewAction doubleTapAndDragOnText(int startIndex, int endIndex) { in doubleTapAndDragOnText() argument 298 new TextCoordinates(endIndex), in doubleTapAndDragOnText() 315 public static ViewAction mouseDragOnText(int startIndex, int endIndex) { in mouseDragOnText() argument 320 new TextCoordinates(endIndex), in mouseDragOnText() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ComprehensionTlv.java | 96 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()
|
D | BerTlv.java | 80 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/ |
D | KernelWakelockReader.java | 216 int endIndex; in parseProcWakelocks() local 221 startIndex = endIndex = i + 1; in parseProcWakelocks() 224 while (endIndex < len) { in parseProcWakelocks() 225 for (endIndex=startIndex; in parseProcWakelocks() 226 endIndex < len && wlBuffer[endIndex] != '\n' && wlBuffer[endIndex] != '\0'; in parseProcWakelocks() 227 endIndex++); in parseProcWakelocks() 230 if (endIndex > (len - 1) ) { in parseProcWakelocks() 239 for (int j = startIndex; j < endIndex; j++) { in parseProcWakelocks() 242 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex, in parseProcWakelocks() 276 new String(wlBuffer, startIndex, endIndex - startIndex)); in parseProcWakelocks() [all …]
|
D | ProcStatsUtil.java | 66 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/java/android/view/textclassifier/ |
D | TextSelection.java | 51 int startIndex, int endIndex, Map<String, Float> entityConfidence, String id, in TextSelection() argument 54 mEndIndex = endIndex; in TextSelection() 149 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { in Builder() 151 Preconditions.checkArgument(endIndex > startIndex); in Builder() 153 mEndIndex = endIndex; in Builder() 219 int endIndex, in Request() argument 225 mEndIndex = endIndex; in Request() 337 @IntRange(from = 0) int endIndex) { in Builder() 338 Utils.checkArgument(text, startIndex, endIndex); in Builder() 341 mEndIndex = endIndex; in Builder() [all …]
|
D | TextClassification.java | 523 int endIndex, 529 mEndIndex = endIndex; 640 @IntRange(from = 0) int endIndex) { 641 Utils.checkArgument(text, startIndex, endIndex); 644 mEndIndex = endIndex; 714 final int endIndex = in.readInt(); 722 final Request request = new Request(text, startIndex, endIndex,
|
D | TextClassifier.java | 307 @IntRange(from = 0) int endIndex, in classifyText() 310 text, startIndex, endIndex) in classifyText() 678 static void checkArgument(@NonNull CharSequence text, int startIndex, int endIndex) { in checkArgument() argument 681 Preconditions.checkArgument(endIndex <= text.length()); in checkArgument() 682 Preconditions.checkArgument(endIndex > startIndex); in checkArgument()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | SparseLongArrayTest.java | 60 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/ |
D | Interpolator.cpp | 106 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/ |
D | PathInterpolatorBuilder.java | 128 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/ |
D | ReorderBarrierDrawables.cpp | 50 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/services/core/java/com/android/server/integrity/parser/ |
D | RuleIndexingController.java | 108 List<String> sortedKeyList, String key, int startIndex, int endIndex) { in searchKeysRangeContainingKey() argument 109 if (endIndex - startIndex == 1) { in searchKeysRangeContainingKey() 110 return Arrays.asList(sortedKeyList.get(startIndex), sortedKeyList.get(endIndex)); in searchKeysRangeContainingKey() 113 int midKeyIndex = startIndex + ((endIndex - startIndex) / 2); in searchKeysRangeContainingKey() 117 return searchKeysRangeContainingKey(sortedKeyList, key, midKeyIndex, endIndex); in searchKeysRangeContainingKey()
|
D | RuleIndexRange.java | 30 public RuleIndexRange(int startIndex, int endIndex) { in RuleIndexRange() argument 32 this.mEndIndex = endIndex; in RuleIndexRange()
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 213 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 290 for (int endIndex = startIndex+1; endIndex < len; endIndex++) { in enableRange() 291 IntRange endRange = mRanges.get(endIndex); in enableRange() 306 for (int i = joinIndex; i < endIndex; i++) { in enableRange() 331 for (int i = joinIndex; i <= endIndex; i++) { in enableRange() 377 int endIndex = startIndex; in enableRange() local 383 endIndex = testIndex; in enableRange() 387 if (endIndex == startIndex) { in enableRange() 400 IntRange endRange = mRanges.get(endIndex); in enableRange() 419 for (int i = joinIndex; i <= endIndex; i++) { in enableRange()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CallbackRegistry.java | 176 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/ |
D | MatrixCursor.java | 93 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/core/tests/coretests/src/android/view/textclassifier/ |
D | TextSelectionTest.java | 48 final int endIndex = 37; in testParcel() local 50 final TextSelection reference = new TextSelection.Builder(startIndex, endIndex) in testParcel() 65 assertEquals(endIndex, result.getSelectionEndIndex()); in testParcel()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | RawBatteryStats.java | 538 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/ |
D | RecentTasks.java | 1631 int endIndex = topIndex; in moveAffiliatedTasksToFront() local 1633 while (endIndex < recentsCount) { in moveAffiliatedTasksToFront() 1634 Task cur = mTasks.get(endIndex); in moveAffiliatedTasksToFront() 1636 + endIndex + " " + cur); in moveAffiliatedTasksToFront() 1640 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront() 1649 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront() 1650 + ": middle task " + cur + " @" + endIndex in moveAffiliatedTasksToFront() 1661 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront() 1666 if (DEBUG_RECENTS) Slog.d(TAG_RECENTS, "addRecent: end of chain @" + endIndex); in moveAffiliatedTasksToFront() 1671 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 161 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()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 4463 int endIndex, fromIndex = 1; in splitRange() local 4466 endIndex = str.indexOf("),(", fromIndex); in splitRange() 4467 if (endIndex == -1) endIndex = str.length() - 1; in splitRange() 4468 splitInt(str.substring(fromIndex, endIndex), range); in splitRange() 4470 fromIndex = endIndex + 3; in splitRange() 4471 } while (endIndex != str.length() - 1); in splitRange() 4489 int endIndex, fromIndex = 1; in splitArea() local 4492 endIndex = str.indexOf("),(", fromIndex); in splitArea() 4493 if (endIndex == -1) endIndex = str.length() - 1; in splitArea() 4494 splitInt(str.substring(fromIndex, endIndex), array); in splitArea() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessList.java | 3106 final int bottomI, int endIndex) { in updateClientActivitiesOrdering() argument 3117 for (int i = endIndex; i >= bottomI; i--) { in updateClientActivitiesOrdering() 3121 if (i == endIndex && subProc.connectionImportance >= endImportance) { in updateClientActivitiesOrdering() 3130 endIndex--; in updateClientActivitiesOrdering() 3140 for (int pos = topI; pos > endIndex; pos--) { in updateClientActivitiesOrdering() 3151 endIndex--; in updateClientActivitiesOrdering() 3158 mLruProcesses.add(endIndex, subProc); in updateClientActivitiesOrdering() 3162 + endIndex); in updateClientActivitiesOrdering() 3163 endIndex--; in updateClientActivitiesOrdering() 3173 int i = endIndex; in updateClientActivitiesOrdering() [all …]
|