Home
last modified time | relevance | path

Searched refs:insertionIndex (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/preference/
DPreferenceGroup.java164 int insertionIndex = Collections.binarySearch(mPreferenceList, preference); in addPreference() local
165 if (insertionIndex < 0) { in addPreference()
166 insertionIndex = insertionIndex * -1 - 1; in addPreference()
168 mPreferenceList.add(insertionIndex, preference); in addPreference()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DIntHistogram.java150 int insertionIndex = Arrays.binarySearch(mBucketBoundaries, value); in getBucketKey() local
151 return Math.abs(insertionIndex + 1); in getBucketKey()
/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java480 final int insertionIndex = mPrototype.mMediaSizes.size(); in addMediaSize() local
484 mPrototype.mDefaults[PROPERTY_MEDIA_SIZE] = insertionIndex; in addMediaSize()
508 final int insertionIndex = mPrototype.mResolutions.size(); in addResolution() local
512 mPrototype.mDefaults[PROPERTY_RESOLUTION] = insertionIndex; in addResolution()
/frameworks/base/core/java/android/view/
DViewGroup.java4780 int insertionIndex; in addTransientView() local
4781 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()