Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DEnvReverbTest.java124 short ratio = mReverb.getDecayHFRatio(); in test1_1Decay() local
125 ratio = (short)((ratio == 500) ? 1000 : 500); in test1_1Decay()
126 mReverb.setDecayHFRatio(ratio); in test1_1Decay()
129 ((float)ratio2 > (float)(ratio / RATIO_TOLERANCE)) && in test1_1Decay()
130 ((float)ratio2 < (float)(ratio * RATIO_TOLERANCE))); in test1_1Decay()
228 short ratio = mReverb.getDiffusion(); in test1_4DiffusionAndDensity() local
229 ratio = (short)((ratio == 500) ? 1000 : 500); in test1_4DiffusionAndDensity()
230 mReverb.setDiffusion(ratio); in test1_4DiffusionAndDensity()
233 ((float)ratio2 > (float)(ratio / RATIO_TOLERANCE)) && in test1_4DiffusionAndDensity()
234 ((float)ratio2 < (float)(ratio * RATIO_TOLERANCE))); in test1_4DiffusionAndDensity()
[all …]
/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/suite/cts/deviceTests/opengl/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/suite/cts/deviceTests/opengl/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/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.java259 float ratio = (float) width / height; in onSurfaceChanged() local
260 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7); in onSurfaceChanged()
/cts/suite/cts/deviceTests/opengl/test/
DMatrixTest.cpp168 float ratio = (float) 800 / 600; in TEST() local
169 float left = -ratio; in TEST()
170 float right = ratio; in TEST()
/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/tests/hardware/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1932 for (Double ratio : aspectRatioList) {
1933 if (Math.abs(ratio - aspectRatio) < delta) {
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbox2d.js344 ….m_localAnchor2);o=this.m_prismatic2.GetJointTranslation()}this.m_ratio=d.ratio;this.m_constant=j+…
350 …tDef.call(this);this.type=I.e_gearJoint;this.joint2=this.joint1=null;this.ratio=1};L.b2Jacobian=fu…
413 …V(d.localAnchorA);this.m_localAnchor2.SetV(d.localAnchorB);this.m_ratio=d.ratio;this.m_constant=d.…
428 …Set(1,0);this.maxLengthB=this.lengthB=this.maxLengthA=this.lengthA=0;this.ratio=1;this.collideConn…
429 …s.ratio=n;n=this.lengthA+this.ratio*this.lengthB;this.maxLengthA=n-this.ratio*E.b2_minPulleyLength…