Searched refs:insertionIndex (Results 1 – 4 of 4) sorted by relevance
164 int insertionIndex = Collections.binarySearch(mPreferenceList, preference); in addPreference() local165 if (insertionIndex < 0) { in addPreference()166 insertionIndex = insertionIndex * -1 - 1; in addPreference()168 mPreferenceList.add(insertionIndex, preference); in addPreference()
150 int insertionIndex = Arrays.binarySearch(mBucketBoundaries, value); in getBucketKey() local151 return Math.abs(insertionIndex + 1); in getBucketKey()
480 final int insertionIndex = mPrototype.mMediaSizes.size(); in addMediaSize() local484 mPrototype.mDefaults[PROPERTY_MEDIA_SIZE] = insertionIndex; in addMediaSize()508 final int insertionIndex = mPrototype.mResolutions.size(); in addResolution() local512 mPrototype.mDefaults[PROPERTY_RESOLUTION] = insertionIndex; in addResolution()
4780 int insertionIndex; in addTransientView() local4781 for (insertionIndex = 0; insertionIndex < oldSize; ++insertionIndex) { in addTransientView()4782 if (index < mTransientIndices.get(insertionIndex)) { in addTransientView()4786 mTransientIndices.add(insertionIndex, index); in addTransientView()4787 mTransientViews.add(insertionIndex, view); in addTransientView()