Searched refs:zoomFactor (Results 1 – 4 of 4) sorted by relevance
29 float zoomFactor;51 zoomFactor = dz.x * dz.x + dz.y * dz.y + dz.z * dz.z;52 zoomFactor /= dx.x * dx.x + dx.y * dx.y + dx.z * dx.z;162 float dot_prod = sqrt(1 / (1 + (sdy * sdy + sdx * sdx) * zoomFactor));
1597 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument1599 if (zoomFactor < 1.0) { in getCropRegionForZoom()1600 throw new IllegalArgumentException("zoom factor " + zoomFactor + " should be >= 1.0"); in getCropRegionForZoom()1626 if (zoomFactor < minEffectiveZoom) { in getCropRegionForZoom()1627 Log.w(TAG, "Requested zoomFactor " + zoomFactor + " > minimal zoomable factor " in getCropRegionForZoom()1629 zoomFactor = minEffectiveZoom; in getCropRegionForZoom()1634 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()1635 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
2177 public void zoomBy(float zoomFactor) { in zoomBy() argument2179 if (zoomFactor < 0.01) in zoomBy()2181 if (zoomFactor > 100.0) in zoomBy()2183 mProvider.zoomBy(zoomFactor); in zoomBy()
279 public boolean zoomBy(float zoomFactor); in zoomBy() argument