Searched refs:maxZoom (Results 1 – 4 of 4) sorted by relevance
1360 int maxZoom = parameters.getMaxZoom(); in testImmediateZoomByCamera() local1361 assertTrue(maxZoom >= 0); in testImmediateZoomByCamera()1365 assertEquals(maxZoom + 1, ratios.size()); in testImmediateZoomByCamera()1373 for (int i = 0; i <= maxZoom; i++) { in testImmediateZoomByCamera()1381 parameters.setZoom(maxZoom + 1); in testImmediateZoomByCamera()1387 assertEquals(maxZoom, mCamera.getParameters().getZoom()); in testImmediateZoomByCamera()1422 int maxZoom = parameters.getMaxZoom();1423 parameters.setZoom(maxZoom);1425 assertEquals(maxZoom, mCamera.getParameters().getZoom());1440 mCamera.startSmoothZoom(maxZoom);[all …]
1670 Float maxZoom = getValueFromKeyNonNull(key); in getAvailableMaxDigitalZoomChecked() local1671 if (maxZoom == null) { in getAvailableMaxDigitalZoomChecked()1676 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()1678 return maxZoom; in getAvailableMaxDigitalZoomChecked()
1498 final float maxZoom, final Rect activeArray) { in getCropRegionForZoom() argument1510 if (maxZoom < 1.0) { in getCropRegionForZoom()1511 throw new IllegalArgumentException("max zoom factor " + maxZoom + " should be >= 1.0"); in getCropRegionForZoom()1520 if (minEffectiveZoom > maxZoom) { in getCropRegionForZoom()1523 + " zoom factor " + maxZoom); in getCropRegionForZoom()
1780 final float maxZoom = mStaticInfo.getAvailableMaxDigitalZoomChecked();1826 float zoomFactor = (float) (1.0f + (maxZoom - 1.0) * i / ZOOM_STEPS);1827 cropRegions[i] = getCropRegionForZoom(zoomFactor, center, maxZoom, activeArraySize);1894 if (maxZoom > 1.0f) {