Searched refs:ratio (Results 1 - 16 of 16) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
H A DEnvReverbTest.java110 //Test case 1.1: test decay time and ratio
124 short ratio = mReverb.getDecayHFRatio();
125 ratio = (short)((ratio == 500) ? 1000 : 500);
126 mReverb.setDecayHFRatio(ratio);
128 assertTrue("got incorrect decay HF ratio",
129 ((float)ratio2 > (float)(ratio / RATIO_TOLERANCE)) &&
130 ((float)ratio2 < (float)(ratio * RATIO_TOLERANCE)));
228 short ratio = mReverb.getDiffusion();
229 ratio
[all...]
H A DAudioRecordTest.java1244 final double ratio = (double)timeDiff / timeByFrames;
1246 // Usually the ratio is accurate to one part per thousand or better.
1247 // Log.d(TAG, "ratio=" + ratio + ", timeDiff=" + timeDiff + ", frameDiff=" + frameDiff +
1249 assertEquals(1.0 /* expected */, ratio, 0.01 /* delta */);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
H A DCubeRenderer.java97 float ratio = (float) width / height;
100 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
H A DGLRotationGuideRenderer.java81 float ratio = (float) width / height;
82 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 15);
H A DGLArrowSensorTestRenderer.java107 float ratio = (float) w / h;
110 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
/cts/apps/CameraITS/tests/scene1/
H A Dtest_post_raw_sensitivity_boost.py134 ratio = raw_rgb_means[step - 1][rgb] / raw_rgb_means[step][rgb]
135 print ("Step (%d,%d) %s channel: %f, %f, ratio %f," +
140 ratio, raw_thres_min, raw_thres_max)
143 assert(raw_thres_min < ratio < raw_thres_max)
156 ratio = vals[step] / mean
157 assert(yuv_thres_min < ratio < yuv_thres_max)
/cts/tests/openglperf2/jni/primitive/fullpipeline/
H A DFullPipelineRenderer.cpp133 // while the width will vary as per aspect ratio.
134 float ratio = (float) mWidth / mHeight; local
135 float left = -ratio;
136 float right = ratio;
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
H A DEventBasicVerification.java150 double ratio = Math.min(Math.abs(worstBatchUs - minBatchUs),
152 expectedMinUs = (long)((ratio + 1) / 2 * testDurationUs) * 4 / 5;
/cts/tests/tests/transition/src/android/transition/cts/
H A DArcMotionTest.java104 float ratio = (float) Math.tan(Math.PI/8);
105 float ex = 50 + (50 * ratio);
/cts/tests/openglperf2/jni/reference/scene/glowing/
H A DGlowingScene.cpp102 // while the width will vary as per aspect ratio.
103 float ratio = width / height; local
104 float left = -ratio;
105 float right = ratio;
/cts/tests/openglperf2/test/
H A DMatrixTest.cpp168 float ratio = (float) 800 / 600; local
169 float left = -ratio;
170 float right = ratio;
/cts/tests/tests/openglperf/src/android/openglperf/cts/
H A DTextureTestRenderer.java137 // make adjustments for screen ratio
138 float ratio = (float) width / height;
141 gl.glFrustumf(-2 * ratio, 2 * ratio, -2, 2, 3, 7);
H A DPlanetsRenderer.java259 float ratio = (float) width / height;
260 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
H A DCameraOrientationActivity.java375 // find a supported size with ratio less than tolerance threshold, and
396 double ratio = (double) size.width / size.height;
397 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) {
417 // ignore aspect ratio requirement
462 // adjust camera preview to match output image's aspect ratio
471 // then calculate height using output image's height/width ratio
/cts/tests/camera/src/android/hardware/camera2/cts/
H A DCaptureRequestTest.java2242 // Only test the largest size for each aspect ratio.
2259 for (Double ratio : aspectRatioList) {
2260 if (Math.abs(ratio - aspectRatio) < delta) {
/cts/apps/CtsVerifier/libs/
H A Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/opencv/BuildConfig.class BuildConfig. ...

Completed in 379 milliseconds