/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | Boid.cpp | 40 tmp.scale(1.0f / dist); in flock() 57 separation.scale(1.0f / separationCount); in flock() 58 separation.scale(SEPARATION_WEIGHT); in flock() 62 alignment.scale(1.0f / alignmentCount); in flock() 64 alignment.scale(ALIGNMENT_WEIGHT); in flock() 68 cohesion.scale(1.0f / cohesionCount); in flock() 69 cohesion.scale(COHESION_WEIGHT); in flock() 75 desired.scale(MAX_SPEED * ((d < 100.0f) ? d / 100.0f : 1)); in flock()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | FaceView.java | 78 float scale = Math.min((float) getWidth() / mPicWidth, (float) getHeight() / mPicHeight); in onDraw() local 80 scaledRect.scale(scale); in onDraw() 85 float centerX = eyesMP.x * scale; in onDraw() 86 float centerY = eyesMP.y * scale; in onDraw() 87 float eyesDistance = face.eyesDistance() * scale; in onDraw()
|
D | IvfWriter.java | 53 int scale, int rate) throws IOException { in IvfWriter() argument 57 mScale = scale; in IvfWriter() 110 private static byte[] makeIvfHeader(int frameCount, int width, int height, int scale, int rate){ in makeIvfHeader() argument 125 lay32Bits(ivfHeader, 20, scale); in makeIvfHeader()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityMagnificationTest.java | 66 final float scale = 2.0f; in testSetScale() local 69 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false))); in testSetScale() 72 assertEquals("Failed to apply scale", scale, controller.getScale()); in testSetScale() 84 final float scale = 2.0f; in testSetScaleAndCenter() local 92 setScale.set(controller.setScale(scale, false)); in testSetScaleAndCenter() 97 assertEquals("Failed to apply scale", scale, controller.getScale()); in testSetScaleAndCenter() 115 final float scale = 2.0f; in testListener() local 118 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false))); in testListener() 122 eq(controller), any(Region.class), eq(scale), anyFloat(), anyFloat()); in testListener()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Vector2D.cpp | 41 void Vector2D::scale(float s) { in scale() function in Vector2D 55 scale(1 / m); in normalize() 62 scale(max); in limit()
|
D | Vector2D.h | 25 void scale(float s);
|
D | Matrix.h | 32 void scale(float x, float y, float z);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ImageProcessingTest.java | 323 float scale = 1 / 255f; in unpackSrc() local 325 srcR = (0xFF & (src >> 16)) * scale; in unpackSrc() 326 srcG = (0xFF & (src >> 8)) * scale; in unpackSrc() 327 srcB = (0xFF & (src >> 0)) * scale; in unpackSrc() 328 srcA = (0xFF & (src >> 24)) * scale; in unpackSrc() 332 float scale = 1 / 255f; in unpackDst() local 339 dstR = (0xFF & (dst >> 16)) * scale; in unpackDst() 340 dstG = (0xFF & (dst >> 8)) * scale; in unpackDst() 341 dstB = (0xFF & (dst >> 0)) * scale; in unpackDst() 342 dstA = (0xFF & (dst >> 24)) * scale; in unpackDst() [all …]
|
D | Matrix3fTest.java | 161 m.scale(scaleX, scaleY, scaleZ); in testScale() 173 m.scale(scaleX, scaleY); in testScale()
|
D | Matrix4fTest.java | 159 m.scale(scaleX, scaleY, scaleZ); in testScale() 225 m.scale(2.0f, 2.0f, 2.0f); in testInverse()
|
D | Matrix2fTest.java | 164 m.scale(scaleX, scaleY); in testScale()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | NinePatchDrawableTest.java | 427 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in testSetTargetDensityInner() local 434 assertEquals(Math.round(origWidth * scale), scaledDrawable.getIntrinsicWidth()); in testSetTargetDensityInner() 435 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); in testSetTargetDensityInner() 439 assertEquals((int) (origPadding.left * scale), tempPadding.left); in testSetTargetDensityInner() 440 assertEquals((int) (origPadding.top * scale), tempPadding.top); in testSetTargetDensityInner() 441 assertEquals((int) (origPadding.right * scale), tempPadding.right); in testSetTargetDensityInner() 442 assertEquals((int) (origPadding.bottom * scale), tempPadding.bottom); in testSetTargetDensityInner() 521 final float scale = scaledDensityDpi / (float) preloadDensityDpi; in testPreloadDensityInner() local 527 assertEquals(Math.round(origWidth * scale), scaledDrawable.getIntrinsicWidth()); in testPreloadDensityInner() 528 assertEquals(Math.round(origHeight * scale), scaledDrawable.getIntrinsicHeight()); in testPreloadDensityInner() [all …]
|
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 152 float scale = 2.0f / count; in setUp() local 159 Matrix* transformMatrix = Matrix::newScale(scale, scale, scale); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | DspWindow.java | 58 public void scale(double scale) { in scale() argument 59 DspBufferMath.mult(mBuffer, mBuffer, scale); in scale()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 196 float scale = (float) canvasWidth / photoWidth; in drawContents() local 197 int scaledHeight = (int) (scale * photoHeight); in drawContents() 205 scale = (float) canvasHeight / photoHeight; in drawContents() 206 float scaledWidth = scale * photoWidth; in drawContents()
|
/cts/tests/tests/rsblas/assets/ |
D | blas_gen.py | 58 def sMatGen(m, n, scale): argument 59 a = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale) 63 def dMatGen(m, n, scale): argument 64 a = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale) 68 def cMatGen(m, n, scale): argument 69 a_real = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale) 70 a_img = mat(random.randint(1, 10, size=(m, n)).astype('f4')/scale) 75 def zMatGen(m, n, scale): argument 76 a_real = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale) 77 a_img = mat(random.randint(1, 10, size=(m, n)).astype('f8')/scale) [all …]
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 190 scale = 360/(2*math.pi) 192 cam_rots = cam_rots * scale 193 gyro_rots = gyro_rots * scale
|
/cts/suite/audio_quality/test_description/processing/ |
D | gen_random.py | 33 randomSignal = np.random.normal(scale = peakAmpl * 2 / 3, size=samples)
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layer_info.rsh | 18 // A scale factor =1.0f/(1+dilation_radius), which is used to normalize a
|
D | layer_info_fast.rsh | 18 // A scale factor =1.0f/(1+dilation_radius), which is used to normalize a
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 200 float scale = in updatePreviewDisplayRotation() local 202 transformMatrix.postScale(scale, scale, centerX, centerY); in updatePreviewDisplayRotation()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapFilterTests.java | 115 canvas.scale(1.0f * width / gridWidth, 1.0f * height / gridWidth); in runScaleTest()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationSetTest.java | 366 final Animation scale = new ScaleAnimation(1.0f, 2.0f, 1.0f, 3.0f); in testClone() local 367 scale.initialize(INITIAL_SIZE, INITIAL_SIZE, INITIAL_SIZE, INITIAL_SIZE); in testClone() 369 animationSet.addAnimation(scale); in testClone()
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |
/cts/tests/openglperf2/test/ |
D | MatrixTest.cpp | 93 m1.scale(10, 5, 6); in TEST()
|