OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:targetRatio
(Results
1 - 3
of
3
) sorted by null
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java
269
double
targetRatio
= (double) w / h;
280
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE) continue;
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java
288
double
targetRatio
= (double) w / h;
300
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE)
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
CropView.java
430
float
targetRatio
= mAspectRatio == UNSPECIFIED
435
if (
targetRatio
> 1) {
436
h = w /
targetRatio
;
438
w = h *
targetRatio
;
485
float
targetRatio
= mAspectRatio * mImageHeight / mImageWidth;
486
if (r.width() / r.height() >
targetRatio
) {
487
float height = r.width() /
targetRatio
;
494
float width = r.height() *
targetRatio
;
501
if (r.width() / r.height() >
targetRatio
) {
502
float width = r.height() *
targetRatio
;
[
all
...]
Completed in 1428 milliseconds