Searched refs:initialSize (Results 1 - 10 of 10) sorted by relevance

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

Completed in 345 milliseconds