Home
last modified time | relevance | path

Searched refs:zoomFactor (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rscript29 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));
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1597 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument
1599 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()
/frameworks/base/core/java/android/webkit/
DWebView.java2177 public void zoomBy(float zoomFactor) { in zoomBy() argument
2179 if (zoomFactor < 0.01) in zoomBy()
2181 if (zoomFactor > 100.0) in zoomBy()
2183 mProvider.zoomBy(zoomFactor); in zoomBy()
DWebViewProvider.java279 public boolean zoomBy(float zoomFactor); in zoomBy() argument