/cts/tests/tests/media/src/android/media/cts/ |
H A D | EnvReverbTest.java | 110 //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 D | AudioRecordTest.java | 1244 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 D | CubeRenderer.java | 97 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 D | GLRotationGuideRenderer.java | 81 float ratio = (float) width / height; 82 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 15);
|
H A D | GLArrowSensorTestRenderer.java | 107 float ratio = (float) w / h; 110 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
|
/cts/apps/CameraITS/tests/scene1/ |
H A D | test_post_raw_sensitivity_boost.py | 134 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 D | FullPipelineRenderer.cpp | 133 // 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 D | EventBasicVerification.java | 150 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 D | ArcMotionTest.java | 104 float ratio = (float) Math.tan(Math.PI/8); 105 float ex = 50 + (50 * ratio);
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
H A D | GlowingScene.cpp | 102 // 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 D | MatrixTest.cpp | 168 float ratio = (float) 800 / 600; local 169 float left = -ratio; 170 float right = ratio;
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
H A D | TextureTestRenderer.java | 137 // make adjustments for screen ratio 138 float ratio = (float) width / height; 141 gl.glFrustumf(-2 * ratio, 2 * ratio, -2, 2, 3, 7);
|
H A D | PlanetsRenderer.java | 259 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 D | CameraOrientationActivity.java | 375 // 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 D | CaptureRequestTest.java | 2242 // 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 D | opencv3-android.jar | META-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/opencv/BuildConfig.class BuildConfig. ... |