OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:heightRatio
(Results
1 - 11
of
11
) sorted by null
/frameworks/base/core/java/android/app/backup/
WallpaperBackupHelper.java
159
final double
heightRatio
= mDesiredMinHeight / options.outHeight;
162
||
heightRatio
>= MAX_HEIGHT_RATIO
163
||
heightRatio
<= MIN_HEIGHT_RATIO) {
/packages/apps/Camera2/src/com/android/camera/data/
GlideFilmstripManager.java
217
double
heightRatio
= (double) maxSize.height() / original.height();
219
double ratio = widthRatio >
heightRatio
?
heightRatio
: widthRatio;
/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
272
float
heightRatio
= mNextPreviewSize.height / (float)mPreviewTexHeight;
274
transform.setScale(1,
heightRatio
/widthRatio);
276
mPreviewTexHeight * (1 -
heightRatio
/widthRatio)/2);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
CameraVideoActivity.java
700
float
heightRatio
= mNextPreviewSize.height / (float)mPreviewTexHeight;
702
Log.v(TAG, "startPreview: widthRatio=" + widthRatio + " " + "
heightRatio
=" +
703
heightRatio
);
706
if (
heightRatio
< widthRatio) {
707
transform.setScale(1,
heightRatio
/ widthRatio);
709
mPreviewTexHeight * (1 -
heightRatio
/ widthRatio) / 2);
711
Log.v(TAG, "startPreview: shrink vertical by " +
heightRatio
/ widthRatio);
714
transform.setScale(widthRatio /
heightRatio
, 1);
715
transform.postTranslate(mPreviewTexWidth * (1 - widthRatio /
heightRatio
) / 2, 0);
717
Log.v(TAG, "startPreview: shrink horizontal by " + widthRatio /
heightRatio
);
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java
454
float
heightRatio
= mNextPreviewSize.height / (float)mPreviewTexHeight;
456
if (
heightRatio
< widthRatio) {
457
transform.setScale(1,
heightRatio
/widthRatio);
459
mPreviewTexHeight * (1 -
heightRatio
/widthRatio)/2);
461
transform.setScale(widthRatio/
heightRatio
, 1);
462
transform.postTranslate(mPreviewTexWidth * (1 - widthRatio/
heightRatio
)/2,
/packages/apps/Contacts/src/com/android/contacts/widget/
MultiShrinkScroller.java
669
final float
heightRatio
= (float) transparentHeight / getHeight();
671
return 1.0f - Math.max(Math.min(1.0f,
heightRatio
), 0f);
[
all
...]
/development/samples/SupportLeanbackShowcase/libs/
picasso-2.5.2.jar
/external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar
android-all-4.2.2_r1.2-robolectric-0.jar
android-all-4.3_r2-robolectric-0.jar
Completed in 410 milliseconds