Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DBitmapUtil.java58 public static int findOptimalSampleSize(int originalSmallerExtent, int targetExtent) { in findOptimalSampleSize() argument
60 if (targetExtent < 1) return 1; in findOptimalSampleSize()
70 while ((extent >> 1) >= targetExtent * 0.8f) { in findOptimalSampleSize()