Searched refs:startIdx (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/mime/java/android/content/type/ |
H A D | DefaultMimeMapFactory.java | 86 int startIdx = 0; in parseTypes() local 88 int endIdx = line.indexOf(' ', startIdx); in parseTypes() 92 String spec = line.substring(startIdx, endIdx); in parseTypes() 97 startIdx = endIdx + 1; // skip over the space in parseTypes() 98 } while (startIdx < line.length()); in parseTypes()
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A D | KernelSingleUidTimeReader.java | 239 final int startIdx = mLastUidCpuTimeMs.indexOfKey(startUid); in removeUidsInRange() local 241 mLastUidCpuTimeMs.removeAtRange(startIdx, endIdx - startIdx + 1); in removeUidsInRange()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | VibratorInfo.java | 588 int startIdx = MathUtils.constrain( in getMaxAmplitude() local 592 /* amount= */ startIdx + 1, in getMaxAmplitude() 597 mMaxAmplitudes[startIdx], mMaxAmplitudes[nextIdx], in getMaxAmplitude() 598 startIdx * mFrequencyResolutionHz, nextIdx * mFrequencyResolutionHz, in getMaxAmplitude()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/ |
H A D | CpuWakeupStats.java | 276 final int startIdx = mWakeupEvents.closestIndexOnOrAfter( in attemptAttributionWith() local 281 for (int wakeupIdx = startIdx; wakeupIdx <= endIdx; wakeupIdx++) { in attemptAttributionWith() 451 final int startIdx = activityForSubsystem.closestIndexOnOrAfter(startElapsed); in removeBetween() local 453 for (int i = endIdx; i >= startIdx; i--) { in removeBetween() 462 for (int i = endIdx; i >= startIdx; i--) { in removeBetween()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | EditorCursorDragTest.java | 223 int startIdx = text.indexOf("5"); in testCursorDrag_diagonal_thresholdConfig() local 225 onView(withId(R.id.textview)).perform(dragOnText(startIdx, endIdx)); in testCursorDrag_diagonal_thresholdConfig() 231 onView(withId(R.id.textview)).perform(dragOnText(startIdx, endIdx)); in testCursorDrag_diagonal_thresholdConfig()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 1034 ssize_t startIdx = block.indexOfAttribute(NULL, "start"); in compileResourceFile() local 1035 if (startIdx >= 0) { in compileResourceFile() 1036 const char16_t* startStr = block.getAttributeStringValue(startIdx, &len); in compileResourceFile() 1040 String8(block.getAttributeStringValue(startIdx, &len)).string()); in compileResourceFile()
|