OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:targetRatio
(Results
1 - 16
of
16
) sorted by null
/packages/apps/Camera2/src/com/android/camera/
CaptureModuleUtil.java
55
public static Size getOptimalPreviewSize(Size[] sizes,double
targetRatio
) {
56
return getOptimalPreviewSize(sizes,
targetRatio
, null);
66
double
targetRatio
, Double aspectRatioTolerance) {
87
.getOptimalPreviewSizeIndex(camera1Sizes,
targetRatio
,
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java
53
double
targetRatio
= (double) w / h;
77
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE)
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java
53
double
targetRatio
= (double) w / h;
77
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE)
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java
53
double
targetRatio
= (double) w / h;
77
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE)
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java
54
double
targetRatio
= (double) w / h;
78
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE)
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java
54
double
targetRatio
= (double) w / h;
78
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE)
/developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java
54
double
targetRatio
= (double) w / h;
78
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE)
/packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java
477
public static Size getOptimalPreviewSize(List<Size> sizes, double
targetRatio
) {
478
int optimalPickIndex = getOptimalPreviewSizeIndex(sizes,
targetRatio
);
495
* @param
targetRatio
the target aspect ratio, typically the aspect ratio of
500
public static int getOptimalPreviewSizeIndex(List<Size> sizes, double
targetRatio
) {
506
return getOptimalPreviewSizeIndex(sizes,
targetRatio
, aspectRatioTolerance);
514
* @param
targetRatio
the target aspect ratio, typically the aspect ratio of
523
List<Size> previewSizes, double
targetRatio
, Double aspectRatioTolerance) {
531
return getOptimalPreviewSizeIndex(previewSizes,
targetRatio
);
548
if (Math.abs(ratio -
targetRatio
) > aspectRatioTolerance) {
614
final double
targetRatio
= (double) targetWidth / targetHeight
[
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/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;
/packages/apps/Camera2/src/com/android/camera/settings/
ResolutionUtil.java
149
for (Float
targetRatio
: sortedDesiredAspectRatios) {
152
if (Math.abs(aspectRatio.floatValue() -
targetRatio
) <= ASPECT_RATIO_TOLERANCE) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java
381
double
targetRatio
= (double) 640 / (double) 480;
397
if (Math.abs(ratio -
targetRatio
) > ASPECT_TOLERANCE) {
/external/deqp/modules/gles2/performance/
es2pShaderOperatorTests.cpp
871
const float
targetRatio
= targetDrawCallTime / drawCallTime;
873
if (
targetRatio
< 0.95f)
878
const float targetRatioSqrt = deFloatSqrt(
targetRatio
);
886
const float targetRatioSqrt = deFloatSqrt(
targetRatio
);
[
all
...]
/external/deqp/modules/gles3/performance/
es3pShaderOperatorTests.cpp
871
const float
targetRatio
= targetDrawCallTime / drawCallTime;
873
if (
targetRatio
< 0.95f)
878
const float targetRatioSqrt = deFloatSqrt(
targetRatio
);
886
const float targetRatioSqrt = deFloatSqrt(
targetRatio
);
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
PositionController.java
[
all
...]
Completed in 682 milliseconds