Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DEnvReverbTest.java126 short ratio = mReverb.getDecayHFRatio(); in test1_1Decay() local
127 ratio = (short)((ratio == 500) ? 1000 : 500); in test1_1Decay()
128 mReverb.setDecayHFRatio(ratio); in test1_1Decay()
131 ((float)ratio2 > (float)(ratio / RATIO_TOLERANCE)) && in test1_1Decay()
132 ((float)ratio2 < (float)(ratio * RATIO_TOLERANCE))); in test1_1Decay()
230 short ratio = mReverb.getDiffusion(); in test1_4DiffusionAndDensity() local
231 ratio = (short)((ratio == 500) ? 1000 : 500); in test1_4DiffusionAndDensity()
232 mReverb.setDiffusion(ratio); in test1_4DiffusionAndDensity()
235 ((float)ratio2 > (float)(ratio / RATIO_TOLERANCE)) && in test1_4DiffusionAndDensity()
236 ((float)ratio2 < (float)(ratio * RATIO_TOLERANCE))); in test1_4DiffusionAndDensity()
[all …]
DDynamicsProcessingTest.java962 final float ratio = index * 1.2f; in test2_7Mbc() local
975 mbcBand.setRatio(ratio); in test2_7Mbc()
994 ratio, mbc.getBand(i).getRatio(), EPSILON); in test2_7Mbc()
1009 MbcBand mbcBand2 = new MbcBand(enabled, frequency, attackTime, releaseTime, ratio, in test2_7Mbc()
1020 ratio, mbcBand2.getRatio(), EPSILON); in test2_7Mbc()
1046 final float ratio = 1.2f; in test2_8Limiter() local
1050 Limiter limiter = new Limiter(inUse, enabled, linkGroup, attackTime, releaseTime, ratio, in test2_8Limiter()
1062 ratio, limiter.getRatio(), EPSILON); in test2_8Limiter()
1073 final float newRatio = ratio + 2f; in test2_8Limiter()
DAudioRecordTest.java1446 final double ratio = (double)timeDiff / timeByFrames; in verifyContinuousTimestamps() local
1451 assertEquals(1.0 /* expected */, ratio, isLowLatencyDevice() ? 0.01 : 0.5 /* delta */); in verifyContinuousTimestamps()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DCubeRenderer.java97 float ratio = (float) width / height; in onSurfaceChanged() local
100 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10); in onSurfaceChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
DGLRotationGuideRenderer.java81 float ratio = (float) width / height; in onSurfaceChanged() local
82 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 15); in onSurfaceChanged()
DGLArrowSensorTestRenderer.java107 float ratio = (float) w / h; in onSurfaceChanged() local
110 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7); in onSurfaceChanged()
/cts/apps/CameraITS/tests/scene1/
Dtest_post_raw_sensitivity_boost.py135 ratio = raw_rgb_means[step - 1][rgb] / raw_rgb_means[step][rgb]
141 ratio, raw_thres_min, raw_thres_max)
144 assert(raw_thres_min < ratio < raw_thres_max)
157 ratio = vals[step] / mean
158 assert(yuv_thres_min < ratio < yuv_thres_max)
/cts/tests/openglperf2/jni/primitive/fullpipeline/
DFullPipelineRenderer.cpp134 float ratio = (float) mWidth / mHeight; in setUp() local
135 float left = -ratio; in setUp()
136 float right = ratio; in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java129 final float ratio = (float) width / height; in onSurfaceChanged() local
130 float left = -ratio; in onSurfaceChanged()
131 float right = ratio; in onSurfaceChanged()
148 bottom = -ratio; in onSurfaceChanged()
149 top = ratio; in onSurfaceChanged()
/cts/tests/openglperf2/jni/reference/scene/glowing/
DGlowingScene.cpp103 float ratio = width / height; in setUpProjectionMatrix() local
104 float left = -ratio; in setUpProjectionMatrix()
105 float right = ratio; in setUpProjectionMatrix()
/cts/tests/openglperf2/test/
DMatrixTest.cpp168 float ratio = (float) 800 / 600; in TEST() local
169 float left = -ratio; in TEST()
170 float right = ratio; in TEST()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DTextureTestRenderer.java138 float ratio = (float) width / height; in onSurfaceChanged() local
141 gl.glFrustumf(-2 * ratio, 2 * ratio, -2, 2, 3, 7); in onSurfaceChanged()
DPlanetsRenderer.java262 float ratio = (float) width / height; in onSurfaceChanged() local
263 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); in onSurfaceChanged()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DEventBasicVerification.java152 double ratio = Math.min(Math.abs(worstBatchUs - minBatchUs), in getDefault() local
154 expectedMinUs = (long)((ratio + 1) / 2 * testDurationUs) * 4 / 5; in getDefault()
/cts/tests/tests/transition/src/android/transition/cts/
DArcMotionTest.java112 float ratio = (float) Math.tan(Math.PI / 8); in testMaximumAngle() local
113 float ex = 50 + (50 * ratio); in testMaximumAngle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java396 double ratio = (double) size.width / size.height; in getOptimalPreviewSize() local
397 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) { in getOptimalPreviewSize()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java2427 for (Double ratio : aspectRatioList) {
2428 if (Math.abs(ratio - aspectRatio) < delta) {
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...