Searched refs:initialSize (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 60 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/src/com/android/launcher3/util/ |
D | ViewPool.java | 45 int layoutId, int maxSize, int initialSize) { in ViewPool() argument 51 if (initialSize > 0) { in ViewPool() 52 initPool(initialSize); in ViewPool() 57 private void initPool(int initialSize) { in initPool() argument 68 for (int i = 0; i < initialSize; i++) { in initPool()
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/common/ |
D | Utils.java | 134 int initialSize = (int) Math.floor(1f / scale); in computeSampleSizeLarger() local 135 if (initialSize <= 1) return 1; in computeSampleSizeLarger() 136 return initialSize <= 8 ? prevPowerOf2(initialSize) : (initialSize / 8 * 8); in computeSampleSizeLarger()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 104 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/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 126 float initialSize = (scaledRadius * 2) * scaleRelativeToDragLayer; in getAnimator() local 153 previewItemOffsetX = (int) (lp.width * initialScale - initialSize - previewItemOffsetX); in getAnimator() 178 Math.round((totalOffsetX + initialSize)), in getAnimator() 179 Math.round((paddingOffsetY + initialSize))); in getAnimator()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 177 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/ |
D | CameraUtil.java | 203 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()
|