Lines Matching refs:initialSize
60 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 = (int) Math.floor(1d / scale);
99 if (initialSize <= 1) return 1;
101 return initialSize <= 8
102 ? Utils.prevPowerOf2(initialSize)
103 : initialSize / 8 * 8;
109 int initialSize = Math.max(1, (int) Math.ceil(1 / scale));
110 return initialSize <= 8
111 ? Utils.nextPowerOf2(initialSize)
112 : (initialSize + 7) / 8 * 8;