Searched refs:maxZoom (Results 1 – 5 of 5) sorted by relevance
1559 int maxZoom = parameters.getMaxZoom(); in testImmediateZoomByCamera() local1560 assertTrue(maxZoom >= 0); in testImmediateZoomByCamera()1564 assertEquals(maxZoom + 1, ratios.size()); in testImmediateZoomByCamera()1572 for (int i = 0; i <= maxZoom; i++) { in testImmediateZoomByCamera()1580 parameters.setZoom(maxZoom + 1); in testImmediateZoomByCamera()1586 assertEquals(maxZoom, mCamera.getParameters().getZoom()); in testImmediateZoomByCamera()1622 int maxZoom = parameters.getMaxZoom();1623 parameters.setZoom(maxZoom);1625 assertEquals(maxZoom, mCamera.getParameters().getZoom());1640 mCamera.startSmoothZoom(maxZoom);[all …]
1807 Float maxZoom = getValueFromKeyNonNull(key); in getAvailableMaxDigitalZoomChecked() local1808 if (maxZoom == null) { in getAvailableMaxDigitalZoomChecked()1813 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()1815 return maxZoom; in getAvailableMaxDigitalZoomChecked()
2522 final float maxZoom = mStaticInfo.getAvailableMaxDigitalZoomChecked();2524 if (Math.abs(maxZoom - 1.0f) < ZOOM_ERROR_MARGIN) {2539 if (maxZoom < 2.0f) {2540 normalizedLeft = 0.5f / maxZoom;2541 normalizedTop = 0.5f / maxZoom;2612 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);2613 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);2680 if (maxZoom > 1.0f) {
605 final float maxZoom = staticInfo.getAvailableMaxDigitalZoomChecked(); in testLogicalCameraZoomSwitch() local630 zoomCenter, maxZoom, activeArraySize); in testLogicalCameraZoomSwitch()
1842 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument1854 if (maxZoom < 1.0) { in getCropRegionForZoom()1855 throw new IllegalArgumentException("max zoom factor " + maxZoom + " should be >= 1.0"); in getCropRegionForZoom()1864 if (minEffectiveZoom > maxZoom) { in getCropRegionForZoom()1867 + " zoom factor " + maxZoom); in getCropRegionForZoom()