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));
1525 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument1527 if (zoomFactor < 1.0) { in getCropRegionForZoom()1528 throw new IllegalArgumentException("zoom factor " + zoomFactor + " should be >= 1.0"); in getCropRegionForZoom()1554 if (zoomFactor < minEffectiveZoom) { in getCropRegionForZoom()1555 Log.w(TAG, "Requested zoomFactor " + zoomFactor + " > minimal zoomable factor " in getCropRegionForZoom()1557 zoomFactor = minEffectiveZoom; in getCropRegionForZoom()1562 int cropWidth = (int) (activeArray.width() / zoomFactor); in getCropRegionForZoom()1563 int cropHeight = (int) (activeArray.height() / zoomFactor); in getCropRegionForZoom()
2309 public void zoomBy(float zoomFactor) { in zoomBy() argument2311 if (zoomFactor < 0.01) in zoomBy()2313 if (zoomFactor > 100.0) in zoomBy()2315 mProvider.zoomBy(zoomFactor); in zoomBy()
268 public boolean zoomBy(float zoomFactor); in zoomBy() argument