Searched refs:initialSize (Results 1 – 7 of 7) sorted by relevance
60 int initialSize = computeInitialSampleSize( in computeSampleSize() local63 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() local89 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(1 / scale); in computeSampleSizeLarger() local[all …]
92 int initialSize = toPreload.size(); in main() local93 System.out.println(initialSize in main()109 System.out.println("Added " + (toPreload.size() - initialSize) in main()
377 @VisibleForTesting val initialSize = SizeAtProgress(0f, 0f, 0f) constant in com.android.systemui.surfaceeffects.ripple.RippleSize390 setSizeAtProgresses(initialSize, SizeAtProgress(1f, width, height)) in setMaxSize()436 setSizeAtProgresses(initialSize) in updateTargetIndex()
45 assertThat(rippleShader.rippleSize.sizes[0]).isEqualTo(rippleShader.rippleSize.initialSize) in setMaxSize_hasCorrectSizes()119 assertThat(rippleShader.rippleSize.sizes[0]).isEqualTo(rippleShader.rippleSize.initialSize) in update_sizeListIsEmpty_setsInitialSize()
59 int initialSize = buckets.size(); in reportChargeCycles() local60 for (int i = 0; i < 10 - initialSize; i++) { in reportChargeCycles()
233 int initialSize = mPreviewSizes.size() - 1; in setUpCamera() local235 mNextPreviewSize = mPreviewSizes.get(initialSize); in setUpCamera()236 mResolutionSpinner.setSelection(initialSize); in setUpCamera()
168 final Point initialSize = new Point(); in printInitialDisplaySize() local172 mInterface.getInitialDisplaySize(displayId, initialSize); in printInitialDisplaySize()174 pw.println("Physical size: " + initialSize.x + "x" + initialSize.y); in printInitialDisplaySize()175 if (!initialSize.equals(baseSize)) { in printInitialDisplaySize()