Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DLocaleList.java386 int bestIndex = Integer.MAX_VALUE; in computeFirstMatchIndex() local
392 } else if (idx < bestIndex) { in computeFirstMatchIndex()
393 bestIndex = idx; in computeFirstMatchIndex()
403 } else if (idx < bestIndex) { in computeFirstMatchIndex()
404 bestIndex = idx; in computeFirstMatchIndex()
407 if (bestIndex == Integer.MAX_VALUE) { in computeFirstMatchIndex()
411 return bestIndex; in computeFirstMatchIndex()
417 int bestIndex = computeFirstMatchIndex(supportedLocales, assumeEnglishIsSupported); in computeFirstMatch() local
418 return bestIndex == -1 ? null : mList[bestIndex]; in computeFirstMatch()
/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.java669 int bestIndex = 0; in getPhotoPreviewFpsRange() local
677 bestIndex = index; in getPhotoPreviewFpsRange()
682 return frameRates.get(bestIndex); in getPhotoPreviewFpsRange()