/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 | 97 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()
|
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 | 236 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 …]
|
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/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/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/core/java/android/view/textclassifier/ |
D | TextSelection.java | 53 int startIndex, int endIndex, Map<String, Float> entityConfidence, String id, in TextSelection() argument 57 mEndIndex = endIndex; in TextSelection() 177 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { in Builder() 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() [all …]
|
D | TextClassification.java | 524 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,
|
D | TextClassifier.java | 309 @IntRange(from = 0) int endIndex, in classifyText() 312 text, startIndex, endIndex) in classifyText() 680 static void checkArgument(@NonNull CharSequence text, int startIndex, int endIndex) { in checkArgument() argument 683 Preconditions.checkArgument(endIndex <= text.length()); in checkArgument() 684 Preconditions.checkArgument(endIndex > startIndex); in checkArgument()
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RuleIndexingController.java | 111 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()
|
D | RuleIndexRange.java | 30 public RuleIndexRange(int startIndex, int endIndex) { in RuleIndexRange() argument 32 this.mEndIndex = endIndex; in RuleIndexRange()
|
/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/core/java/android/view/animation/ |
D | PathInterpolator.java | 215 int endIndex = mX.length - 1; in getInterpolation() local 217 while (endIndex - startIndex > 1) { in getInterpolation() 218 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() 220 endIndex = midIndex; in getInterpolation() 226 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() 235 float endY = mY[endIndex]; in getInterpolation()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 291 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()
|
/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 | 60 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()
|
/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 | 1691 int endIndex = topIndex; in moveAffiliatedTasksToFront() local 1693 while (endIndex < recentsCount) { in moveAffiliatedTasksToFront() 1694 Task cur = mTasks.get(endIndex); in moveAffiliatedTasksToFront() 1697 + endIndex + " " + cur); in moveAffiliatedTasksToFront() 1702 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront() 1711 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront() 1712 + ": middle task " + cur + " @" + endIndex in moveAffiliatedTasksToFront() 1723 Slog.wtf(TAG, "Bad chain @" + endIndex in moveAffiliatedTasksToFront() 1728 if (DEBUG_RECENTS) Slog.d(TAG_RECENTS, "addRecent: end of chain @" + endIndex); in moveAffiliatedTasksToFront() 1733 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 | 4419 int endIndex, fromIndex = 1; in splitRange() local 4422 endIndex = str.indexOf("),(", fromIndex); in splitRange() 4423 if (endIndex == -1) endIndex = str.length() - 1; in splitRange() 4424 splitInt(str.substring(fromIndex, endIndex), range); in splitRange() 4426 fromIndex = endIndex + 3; in splitRange() 4427 } while (endIndex != str.length() - 1); in splitRange() 4445 int endIndex, fromIndex = 1; in splitArea() local 4448 endIndex = str.indexOf("),(", fromIndex); in splitArea() 4449 if (endIndex == -1) endIndex = str.length() - 1; in splitArea() 4450 splitInt(str.substring(fromIndex, endIndex), array); in splitArea() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | PathKeyframes.java | 99 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { in interpolateInRange() argument 101 int endBase = (endIndex * NUM_COMPONENTS); in interpolateInRange()
|