OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:targetRatio
(Results
1 - 6
of
6
) sorted by null
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
CropView.java
432
float
targetRatio
= mAspectRatio == UNSPECIFIED
437
if (
targetRatio
> 1) {
438
h = w /
targetRatio
;
440
w = h *
targetRatio
;
487
float
targetRatio
= mAspectRatio * mImageHeight / mImageWidth;
488
if (r.width() / r.height() >
targetRatio
) {
489
float height = r.width() /
targetRatio
;
496
float width = r.height() *
targetRatio
;
503
if (r.width() / r.height() >
targetRatio
) {
504
float width = r.height() *
targetRatio
;
[
all
...]
PositionController.java
[
all
...]
/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/Camera/src/com/android/camera/
Util.java
361
List<Size> sizes, double
targetRatio
) {
382
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE) continue;
406
List<Size> sizes, double
targetRatio
) {
416
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE) continue;
/packages/apps/LegacyCamera/src/com/android/camera/
Util.java
375
List<Size> sizes, double
targetRatio
) {
400
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE) continue;
424
List<Size> sizes, double
targetRatio
) {
434
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE) continue;
Completed in 434 milliseconds