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.rs29 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.java1525 public static Rect getCropRegionForZoom(float zoomFactor, final PointF center, in getCropRegionForZoom() argument
1527 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()
/frameworks/base/core/java/android/webkit/
DWebView.java2309 public void zoomBy(float zoomFactor) { in zoomBy() argument
2311 if (zoomFactor < 0.01) in zoomBy()
2313 if (zoomFactor > 100.0) in zoomBy()
2315 mProvider.zoomBy(zoomFactor); in zoomBy()
DWebViewProvider.java268 public boolean zoomBy(float zoomFactor); in zoomBy() argument