OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:heightRatio
(Results
1 - 5
of
5
) sorted by null
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
ImageResizer.java
242
final int
heightRatio
= Math.round((float) height / (float) reqHeight);
247
inSampleSize =
heightRatio
< widthRatio ?
heightRatio
: widthRatio;
/frameworks/base/core/java/android/app/backup/
WallpaperBackupHelper.java
140
double
heightRatio
= mDesiredMinHeight / options.outHeight;
142
&&
heightRatio
> 0 &&
heightRatio
< 1.33) {
151
+ " hr=" +
heightRatio
);
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageLoader.java
398
final int
heightRatio
= Math.round((float) height / (float) reqHeight);
403
inSampleSize =
heightRatio
< widthRatio ?
heightRatio
: widthRatio;
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
CameraPreviewActivity.java
269
float
heightRatio
= mNextPreviewSize.height / (float)mPreviewTexHeight;
271
transform.setScale(1,
heightRatio
/widthRatio);
273
mPreviewTexHeight * (1 -
heightRatio
/widthRatio)/2);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java
402
float
heightRatio
= mNextPreviewSize.height / (float)mPreviewTexHeight;
404
transform.setScale(1,
heightRatio
/widthRatio);
406
mPreviewTexHeight * (1 -
heightRatio
/widthRatio)/2);
Completed in 113 milliseconds