OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:heightRatio
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/core/java/android/app/backup/
WallpaperBackupHelper.java
162
final double
heightRatio
= mDesiredMinHeight / options.outHeight;
165
||
heightRatio
>= MAX_HEIGHT_RATIO
166
||
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
...]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
TextureAtlas.java
590
float
heightRatio
= height / region.originalHeight;
592
region.offsetY = originalOffsetY *
heightRatio
;
595
super.setBounds(x + region.offsetX, y + region.offsetY, packedWidth * widthRatio, packedHeight *
heightRatio
);
627
float
heightRatio
= getHeightRatio();
635
region.offsetY *=
heightRatio
;
653
float
heightRatio
= getHeightRatio();
657
region.offsetY = region.originalHeight *
heightRatio
- oldOffsetX - region.packedWidth * widthRatio;
659
region.offsetX = region.originalWidth * widthRatio - oldOffsetY - region.packedHeight *
heightRatio
;
/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
689
final float
heightRatio
= (float) transparentHeight / getHeight();
691
return 1.0f - Math.max(Math.min(1.0f,
heightRatio
), 0f);
[
all
...]
/frameworks/support/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 1546 milliseconds