Home
last modified time | relevance | path

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

/packages/apps/Gallery/src/com/android/camera/
DUtil.java107 int roundedSize; in computeSampleSize() local
109 roundedSize = 1; in computeSampleSize()
110 while (roundedSize < initialSize) { in computeSampleSize()
111 roundedSize <<= 1; in computeSampleSize()
114 roundedSize = (initialSize + 7) / 8 * 8; in computeSampleSize()
117 return roundedSize; in computeSampleSize()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java180 int roundedSize; in computeSampleSize() local
182 roundedSize = 1; in computeSampleSize()
183 while (roundedSize < initialSize) { in computeSampleSize()
184 roundedSize <<= 1; in computeSampleSize()
187 roundedSize = (initialSize + 7) / 8 * 8; in computeSampleSize()
190 return roundedSize; in computeSampleSize()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java206 int roundedSize; in computeSampleSize() local
208 roundedSize = 1; in computeSampleSize()
209 while (roundedSize < initialSize) { in computeSampleSize()
210 roundedSize <<= 1; in computeSampleSize()
213 roundedSize = (initialSize + 7) / 8 * 8; in computeSampleSize()
216 return roundedSize; in computeSampleSize()