Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DLocaleList.java352 int bestIndex = Integer.MAX_VALUE; in computeFirstMatchIndex() local
358 } else if (idx < bestIndex) { in computeFirstMatchIndex()
359 bestIndex = idx; in computeFirstMatchIndex()
369 } else if (idx < bestIndex) { in computeFirstMatchIndex()
370 bestIndex = idx; in computeFirstMatchIndex()
373 if (bestIndex == Integer.MAX_VALUE) { in computeFirstMatchIndex()
377 return bestIndex; in computeFirstMatchIndex()
383 int bestIndex = computeFirstMatchIndex(supportedLocales, assumeEnglishIsSupported); in computeFirstMatch() local
384 return bestIndex == -1 ? null : mList[bestIndex]; in computeFirstMatch()
/frameworks/av/media/libstagefright/wifi-display/
DVideoFormats.cpp491 size_t bestIndex = 0; in PickBestFormat() local
520 bestIndex = j; in PickBestFormat()
532 *chosenIndex = bestIndex; in PickBestFormat()
538 (ResolutionType)bestType, bestIndex, in PickBestFormat()
541 (ResolutionType)bestType, bestIndex, in PickBestFormat()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp302 int bestIndex = 0; in chooseModifier() local
325 bestIndex = i; in chooseModifier()
328 etc1_uint32 lowMask = (((bestIndex >> 1) << 16) | (bestIndex & 1)) in chooseModifier()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java651 int bestIndex = 0; in getPhotoPreviewFpsRange() local
659 bestIndex = index; in getPhotoPreviewFpsRange()
664 return frameRates.get(bestIndex); in getPhotoPreviewFpsRange()