Home
last modified time | relevance | path

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

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java60 int initialSize = computeInitialSampleSize( in computeSampleSize() local
63 return initialSize <= 8 in computeSampleSize()
64 ? Utils.nextPowerOf2(initialSize) in computeSampleSize()
65 : (initialSize + 7) / 8 * 8; in computeSampleSize()
88 int initialSize = Math.max(w / minSideLength, h / minSideLength); in computeSampleSizeLarger() local
89 if (initialSize <= 1) return 1; in computeSampleSizeLarger()
91 return initialSize <= 8 in computeSampleSizeLarger()
92 ? Utils.prevPowerOf2(initialSize) in computeSampleSizeLarger()
93 : initialSize / 8 * 8; in computeSampleSizeLarger()
98 int initialSize = (int) Math.floor(1d / scale); in computeSampleSizeLarger() local
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
DBitmapUtils.java36 int initialSize = (int) Math.floor(1f / scale); in computeSampleSizeLarger() local
37 if (initialSize <= 1) return 1; in computeSampleSizeLarger()
39 return initialSize <= 8 in computeSampleSizeLarger()
40 ? Utils.prevPowerOf2(initialSize) in computeSampleSizeLarger()
41 : initialSize / 8 * 8; in computeSampleSizeLarger()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
DUnboundedFifoByteBuffer.java80 public UnboundedFifoByteBuffer(int initialSize) { in UnboundedFifoByteBuffer() argument
81 if (initialSize <= 0) { in UnboundedFifoByteBuffer()
84 buffer = new byte[initialSize + 1]; in UnboundedFifoByteBuffer()
/packages/services/Telephony/src/org/apache/james/mime4j/decoder/
DUnboundedFifoByteBuffer.java80 public UnboundedFifoByteBuffer(int initialSize) { in UnboundedFifoByteBuffer() argument
81 if (initialSize <= 0) { in UnboundedFifoByteBuffer()
84 buffer = new byte[initialSize + 1]; in UnboundedFifoByteBuffer()
/packages/apps/Gallery/src/com/android/camera/
DUtil.java104 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() local
108 if (initialSize <= 8) { in computeSampleSize()
110 while (roundedSize < initialSize) { in computeSampleSize()
114 roundedSize = (initialSize + 7) / 8 * 8; in computeSampleSize()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java177 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() local
181 if (initialSize <= 8) { in computeSampleSize()
183 while (roundedSize < initialSize) { in computeSampleSize()
187 roundedSize = (initialSize + 7) / 8 * 8; in computeSampleSize()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java203 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() local
207 if (initialSize <= 8) { in computeSampleSize()
209 while (roundedSize < initialSize) { in computeSampleSize()
213 roundedSize = (initialSize + 7) / 8 * 8; in computeSampleSize()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...