/cts/tests/openglperf2/jni/graphics/ |
D | Matrix.cpp | 76 void Matrix::translate(float x, float y, float z) { in translate() 77 Matrix* m = newTranslate(x, y, z); in translate() local 86 void Matrix::scale(float x, float y, float z) { in scale() 87 Matrix* m = newScale(x, y, z); in scale() local 96 void Matrix::rotate(float radians, float x, float y, float z) { in rotate() 97 Matrix* m = newRotate(radians, x, y, z); in rotate() local 111 float x = 0; in multiply() local 134 Matrix* m = new Matrix(); in newLookAt() local 196 const float x = 2.0f * (near * r_width); in newFrustum() local 202 Matrix* m = new Matrix(); in newFrustum() local [all …]
|
D | Vector2D.cpp | 22 Vector2D::Vector2D(float x, float y) : in Vector2D() 53 float m = magnitude(); in normalize() local
|
D | GLUtils.cpp | 199 int GLUtils::roundUpToSmallestPowerOf2(int x) { in roundUpToSmallestPowerOf2() 216 uint32_t* m = new uint32_t[w * h]; in genTexture() local 220 for (int x = 0; x < w; x++) { in genTexture() local
|
/cts/apps/CtsVerifier/jni/verifier/ |
D | com_android_cts_verifier_camera_StatsImage.cpp | 62 for (int x = aax+gx*gw; x < aax+(gx+1)*gw; x++) { in com_android_cts_verifier_camera_its_computeStatsImage() local 74 float m = (float)sum[ch] / count[ch]; in com_android_cts_verifier_camera_its_computeStatsImage() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 244 MaskFilter m = new MaskFilter(); in testSet() local 248 Xfermode x = new Xfermode(); in testSet() local 319 Xfermode x = new Xfermode(); in testAccessXfermode() local 348 Matrix m = new Matrix(); in testShaderLocalMatrix() local 509 MaskFilter m = new MaskFilter(); in testAccessMaskFilter() local 1130 MaskFilter m = new MaskFilter(); in testReset() local 1134 Xfermode x = new Xfermode(); in testReset() local
|
D | RadialGradientTest.java | 51 Matrix m = new Matrix(); in testZeroScaleMatrix() local 112 int x = 50 + (int) (nx * dx); in testColorLong() local
|
D | SweepGradientTest.java | 105 int x = CENTER + (int)(Math.cos(rad) * RADIUS); in verifyColors() local 158 Matrix m = new Matrix(); in testZeroScaleMatrix() local 284 int x = 50 + (int) (dx); in testColorLong() local
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ImageProcessingTest.java | 252 int x = i % width; in buildSrc() local 268 int x = i % width; in buildDst() local 672 Matrix4f m = new Matrix4f(); in testColorMatrix() local 815 Matrix4f m = new Matrix4f(); in testScriptGroup() local
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 61 #define FORMAT_CASE(x) case AHARDWAREBUFFER_FORMAT_##x: return #x; break argument 62 #define GL_FORMAT_CASE(x) case x: return #x; break; argument 119 uint32_t m = bits & 0x3FF; in FloatFromHalf() local 151 int32_t m = bits & 0x7FFFFF; in HalfFromFloat() local 320 int x; member 328 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& golden, in CheckGoldenPixel() 337 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& minimum, in CheckGoldenPixel() 834 for (uint32_t x = 0; x < w2; ++x) { in WriteCheckerBoard() local 842 for (uint32_t x = w2; x < desc.width; ++x) { in WriteCheckerBoard() local 850 for (uint32_t x = 0; x < w2; ++x) { in WriteCheckerBoard() local [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | RawConverter.java | 506 private static double calculateColorTemperature(double x, double y) { in calculateColorTemperature() 779 private static boolean invert(float[] m, /*out*/float[] output) { in invert() 885 float[] m = new float[] {1.0f / xyz[0], 0, 0, 0, 1.0f / xyz[1], 0, 0, 0, 1.0f / xyz[2]}; in normalizeFM() local
|