/cts/tests/tests/media/src/android/media/cts/ |
D | EnvReverbTest.java | 124 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/ |
D | CubeRenderer.java | 97 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/ |
D | GLRotationGuideRenderer.java | 81 float ratio = (float) width / height; in onSurfaceChanged() local 82 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 15); in onSurfaceChanged()
|
D | GLArrowSensorTestRenderer.java | 107 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/ |
D | FullPipelineRenderer.cpp | 134 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/ |
D | GlowingScene.cpp | 103 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/ |
D | TextureTestRenderer.java | 138 float ratio = (float) width / height; in onSurfaceChanged() local 141 gl.glFrustumf(-2 * ratio, 2 * ratio, -2, 2, 3, 7); in onSurfaceChanged()
|
D | PlanetsRenderer.java | 259 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/ |
D | MatrixTest.cpp | 168 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/ |
D | CameraOrientationActivity.java | 396 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/ |
D | CaptureRequestTest.java | 1932 for (Double ratio : aspectRatioList) { 1933 if (Math.abs(ratio - aspectRatio) < delta) {
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | box2d.js | 344 ….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…
|