Searched refs:maxZoom (Results 1 – 6 of 6) sorted by relevance
1569 int maxZoom = parameters.getMaxZoom(); in testImmediateZoomByCamera() local1570 assertTrue(maxZoom >= 0); in testImmediateZoomByCamera()1574 assertEquals(maxZoom + 1, ratios.size()); in testImmediateZoomByCamera()1582 for (int i = 0; i <= maxZoom; i++) { in testImmediateZoomByCamera()1590 parameters.setZoom(maxZoom + 1); in testImmediateZoomByCamera()1596 assertEquals(maxZoom, mCamera.getParameters().getZoom()); in testImmediateZoomByCamera()1631 int maxZoom = parameters.getMaxZoom();1632 parameters.setZoom(maxZoom);1634 assertEquals(maxZoom, mCamera.getParameters().getZoom());1649 mCamera.startSmoothZoom(maxZoom);[all …]
2001 Float maxZoom = getValueFromKeyNonNull(key); in getAvailableMaxDigitalZoomChecked() local2002 if (maxZoom == null) { in getAvailableMaxDigitalZoomChecked()2007 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()2009 return maxZoom; in getAvailableMaxDigitalZoomChecked()
2763 final float maxZoom = mStaticInfo.getAvailableMaxDigitalZoomChecked();2765 if (Math.abs(maxZoom - 1.0f) < ZOOM_ERROR_MARGIN) {2780 if (maxZoom < 2.0f) {2781 normalizedLeft = 0.5f / maxZoom;2782 normalizedTop = 0.5f / maxZoom;2878 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);2880 maxZoom, defaultCropRegion);2970 if (maxZoom > 1.0f) {
652 final float maxZoom = staticInfo.getAvailableMaxDigitalZoomChecked(); in testLogicalCameraZoomSwitch() local677 zoomCenter, maxZoom, activeArraySize); in testLogicalCameraZoomSwitch()
2528 final float maxZoom; in testZoomRatio() local2536 maxZoom = zoomRatioRange.getUpper(); in testZoomRatio()2539 maxZoom = staticMeta.getAvailableMaxDigitalZoomChecked(); in testZoomRatio()2546 if (Math.abs(maxZoom - 1.0f) < ZOOM_ERROR_MARGIN) { in testZoomRatio()
2987 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument2999 if (maxZoom < 1.0) { in getCropRegionForZoom()3000 throw new IllegalArgumentException("max zoom factor " + maxZoom + " should be >= 1.0"); in getCropRegionForZoom()3009 if (minEffectiveZoom > maxZoom) { in getCropRegionForZoom()3012 + " zoom factor " + maxZoom); in getCropRegionForZoom()