OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:widthRatio
(Results
1 - 14
of
14
) sorted by null
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
CameraVideoActivity.java
699
float
widthRatio
= mNextPreviewSize.width / (float)mPreviewTexWidth;
702
Log.v(TAG, "startPreview:
widthRatio
=" +
widthRatio
+ " " + "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
...]
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageLoader.java
399
final int
widthRatio
= Math.round((float) width / (float) reqWidth);
403
inSampleSize = heightRatio <
widthRatio
? heightRatio :
widthRatio
;
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
CameraPreviewActivity.java
271
float
widthRatio
= mNextPreviewSize.width / (float)mPreviewTexWidth;
274
transform.setScale(1, heightRatio/
widthRatio
);
276
mPreviewTexHeight * (1 - heightRatio/
widthRatio
)/2);
/packages/apps/Camera2/src/com/android/camera/data/
GlideFilmstripManager.java
216
double
widthRatio
= (double) maxSize.width() / original.width();
219
double ratio =
widthRatio
> heightRatio ? heightRatio :
widthRatio
;
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
TextureAtlas.java
589
float
widthRatio
= width / region.originalWidth;
591
region.offsetX = originalOffsetX *
widthRatio
;
595
super.setBounds(x + region.offsetX, y + region.offsetY, packedWidth *
widthRatio
, packedHeight * heightRatio);
626
float
widthRatio
= getWidthRatio();
634
region.offsetX *=
widthRatio
;
652
float
widthRatio
= getWidthRatio();
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
453
float
widthRatio
= mNextPreviewSize.width / (float)mPreviewTexWidth;
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/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java
[
all
...]
/frameworks/support/samples/SupportLeanbackShowcase/libs/
picasso-2.5.2.jar
/prebuilts/devtools/tools/lib/
jfreechart-1.0.9.jar
/prebuilts/tools/common/jfreechart/
jfreechart-1.0.9.jar
/prebuilts/tools/common/m2/repository/jfree/jfreechart/1.0.9/
jfreechart-1.0.9.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 246 milliseconds