Searched refs:endIndex (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/tools/split-select/
H A DSplitDescription.cpp89 ssize_t endIndex = index; local
90 if (parts[endIndex] == "arm64") {
91 endIndex++;
92 if (endIndex < N) {
93 if (parts[endIndex] == "v8a") {
94 endIndex++;
98 } else if (parts[endIndex] == "armeabi") {
99 endIndex++;
101 if (endIndex < N) {
102 if (parts[endIndex]
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DComprehensionTlv.java91 int endIndex = data.length;
92 while (startIndex < endIndex) {
117 int endIndex = data.length;
130 " endIndex=" + endIndex);
162 " endIndex=" + endIndex);
173 " endIndex=" + endIndex);
185 " endIndex
[all...]
H A DBerTlv.java80 int endIndex = data.length;
98 " curIndex=" + curIndex + " endIndex=" + endIndex);
107 " endIndex=" + endIndex);
118 " curIndex=" + curIndex + " endIndex=" + endIndex);
124 if (endIndex - curIndex < length) {
126 "Command had extra data endIndex=" + endIndex
[all...]
/frameworks/base/core/java/android/net/http/
H A DCharArrayBuffers.java67 int endIndex = buffer.length();
70 for (int i = beginIndex; i < endIndex; i++) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGridDefault.java152 int endIndex = itemIndex;
154 while (endRow < mNumRows - 1 && endIndex < lastIndex) {
155 endIndex++;
156 endRow = getLocation(endIndex).row;
169 for (int i = endIndex; i < lastIndex; i++) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntRangeManager.java275 for (int endIndex = startIndex+1; endIndex < len; endIndex++) {
276 IntRange endRange = mRanges.get(endIndex);
285 // coalesce range with following ranges up to endIndex-1
291 for (int i = joinIndex; i < endIndex; i++) {
310 // coalesce range with following ranges up to endIndex
316 for (int i = joinIndex; i <= endIndex; i++) {
362 int endIndex = startIndex;
368 endIndex
[all...]
H A DWspTypeDecoder.java607 * @param endIndex Valid seek area end point
612 public boolean seekXWapApplicationId(int startIndex, int endIndex) { argument
616 for (index = startIndex; index <= endIndex; ) {
632 if (index > endIndex) return false;
649 if (index + 1 >= endIndex) return false;
H A DIccUtils.java516 int endIndex = offset + (number * 3); // 1 color use 3 bytes
525 } while (valueIndex < endIndex);
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java209 int endIndex = mX.length - 1;
211 while (endIndex - startIndex > 1) {
212 int midIndex = (startIndex + endIndex) / 2;
214 endIndex = midIndex;
220 float xRange = mX[endIndex] - mX[startIndex];
229 float endY = mY[endIndex];
/frameworks/base/core/java/android/database/
H A DMatrixCursor.java87 final int endIndex = rowCount * columnCount;
88 ensureCapacity(endIndex);
197 private final int endIndex; field in class:MatrixCursor.RowBuilder
204 this.endIndex = index + columnCount;
215 if (index == endIndex) {
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsDatabase.java360 int endIndex = intervalStats.closestIndexOnOrBefore(endTime);
361 if (endIndex < 0) {
369 if (intervalStats.keyAt(endIndex) == endTime) {
371 endIndex--;
372 if (endIndex < 0) {
384 for (int i = startIndex; i <= endIndex; i++) {
/frameworks/base/core/java/android/animation/
H A DPathKeyframes.java98 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { argument
100 int endBase = (endIndex * NUM_COMPONENTS);
/frameworks/base/core/java/android/hardware/
H A DCamera.java4166 int endIndex, fromIndex = 1;
4169 endIndex = str.indexOf("),(", fromIndex);
4170 if (endIndex == -1) endIndex = str.length() - 1;
4171 splitInt(str.substring(fromIndex, endIndex), range);
4173 fromIndex = endIndex + 3;
4174 } while (endIndex != str.length() - 1);
4191 int endIndex, fromIndex = 1;
4194 endIndex = str.indexOf("),(", fromIndex);
4195 if (endIndex
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp683 char* buffer, jint startIndex, jint endIndex, jintArray format,
730 if (i >= endIndex) {
738 while (i < endIndex && buffer[i] != ')') {
744 while (buffer[i] != '"' && i < endIndex) {
750 while (i < endIndex && buffer[i] != term) {
757 if (i < endIndex) {
760 while (i < endIndex && buffer[i] == term) {
800 jbyteArray buffer, jint startIndex, jint endIndex, jintArray format,
806 (char*) bufferArray, startIndex, endIndex, format, outStrings,
682 android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz, char* buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
799 android_os_Process_parseProcLine(JNIEnv* env, jobject clazz, jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
/frameworks/base/libs/hwui/
H A DRenderNode.cpp744 size_t drawIndex, shadowIndex, endIndex; local
747 endIndex = nonNegativeIndex;
748 shadowIndex = endIndex; // draw no shadows
751 endIndex = size;
756 endIndex - drawIndex, mode == kNegativeZChildren ? "negative" : "positive");
759 while (shadowIndex < endIndex || drawIndex < endIndex) {
760 if (shadowIndex < endIndex) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccUtils.java516 int endIndex = offset + (number * 3); // 1 color use 3 bytes
525 } while (valueIndex < endIndex);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduParser.java463 int endIndex = str.indexOf("/");
464 if (endIndex > 0) {
465 str = str.substring(0, endIndex);
545 int endIndex = str.indexOf("/");
546 if (endIndex > 0) {
547 str = str.substring(0, endIndex);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java1128 * @param endIndex exclusive
1130 private void recycleChildren(RecyclerView.Recycler recycler, int startIndex, int endIndex) { argument
1131 if (startIndex == endIndex) {
1135 Log.d(TAG, "Recycling " + Math.abs(startIndex - endIndex) + " items");
1137 if (endIndex > startIndex) {
1138 for (int i = endIndex - 1; i >= startIndex; i--) {
1142 for (int i = startIndex; i > endIndex; i--) {
H A DStaggeredGridLayoutManager.java1706 final int startIndex, endIndex, diff;
1709 endIndex = -1;
1713 endIndex = mSpanCount;
1720 for (int i = startIndex; i != endIndex; i += diff) {
1733 for (int i = startIndex; i != endIndex; i += diff) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DAdapterHelperTest.java849 final int endIndex = mTestAdapter.mItems.indexOf(item);
853 + endIndex, endIndex, mAdapterHelper.findPositionOffset(preLayoutIndex));
/frameworks/base/core/java/android/os/
H A DProcess.java1099 int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats);
1098 parseProcLine(byte[] buffer, int startIndex, int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats) argument
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1758 int endIndex;
1764 startIndex = endIndex = i + 1;
1770 while (endIndex < len) {
1771 for (endIndex=startIndex;
1772 endIndex < len && wlBuffer[endIndex] != '\n' && wlBuffer[endIndex] != '\0';
1773 endIndex++);
1774 endIndex++; // endIndex i
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.cpp1031 static bool containsNonZeroByte(const uint8_t* array, uint32_t startIndex, uint32_t endIndex) { argument
1032 const uint8_t* end = array + endIndex;
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java3936 int endIndex = topIndex;
3938 while (endIndex < N) {
3939 TaskRecord cur = mRecentTasks.get(endIndex);
3941 + endIndex + " " + cur);
3945 Slog.wtf(TAG, "Bad chain @" + endIndex
3954 Slog.wtf(TAG, "Bad chain @" + endIndex
3955 + ": middle task " + cur + " @" + endIndex
3966 Slog.wtf(TAG, "Bad chain @" + endIndex
3971 if (DEBUG_RECENTS) Slog.d(TAG, "addRecent: end of chain @" + endIndex);
3976 Slog.wtf(TAG, "Bad chain @" + endIndex
[all...]

Completed in 489 milliseconds