/frameworks/base/libs/hwui/renderstate/ |
D | MeshState.cpp | 39 uint16_t quad = i * 4; in MeshState() local 41 regionIndices[index ] = quad; // top-left in MeshState() 42 regionIndices[index + 1] = quad + 1; // top-right in MeshState() 43 regionIndices[index + 2] = quad + 2; // bottom-left in MeshState() 44 regionIndices[index + 3] = quad + 2; // bottom-left in MeshState() 45 regionIndices[index + 4] = quad + 1; // top-right in MeshState() 46 regionIndices[index + 5] = quad + 3; // bottom-right in MeshState()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | StatsFilter.java | 81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) { in calcMeanAndStd() argument 84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y, in calcMeanAndStd() 85 quad.bottomRight().x, quad.bottomRight().y, mStats); in calcMeanAndStd()
|
D | ImageShader.java | 419 public void setSourceQuad(Quad quad) { in setSourceQuad() argument 420 setSourceCoords(new float[] { quad.topLeft().x, quad.topLeft().y, in setSourceQuad() 421 quad.topRight().x, quad.topRight().y, in setSourceQuad() 422 quad.bottomLeft().x, quad.bottomLeft().y, in setSourceQuad() 423 quad.bottomRight().x, quad.bottomRight().y }); in setSourceQuad() 467 public void setTargetQuad(Quad quad) { in setTargetQuad() argument 468 setTargetCoords(new float[] { quad.topLeft().x, quad.topLeft().y, in setTargetQuad() 469 quad.topRight().x, quad.topRight().y, in setTargetQuad() 470 quad.bottomLeft().x, quad.bottomLeft().y, in setTargetQuad() 471 quad.bottomRight().x, quad.bottomRight().y }); in setTargetQuad()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | shader_program.cpp | 224 Quad quad(Point(x, y), in SetSourceRect() local 228 SetSourceRegion(quad); in SetSourceRect() 231 void ShaderProgram::SetSourceRegion(const Quad& quad) { in SetSourceRegion() argument 234 source_coords_[index] = quad.point(i).x(); in SetSourceRegion() 235 source_coords_[index+1] = quad.point(i).y(); in SetSourceRegion() 240 Quad quad(Point(x, y), in SetTargetRect() local 244 SetTargetRegion(quad); in SetTargetRect() 247 void ShaderProgram::SetTargetRegion(const Quad& quad) { in SetTargetRegion() argument 250 target_coords_[index] = (quad.point(i).x() * 2.0) - 1.0; in SetTargetRegion() 251 target_coords_[index+1] = (quad.point(i).y() * 2.0) - 1.0; in SetTargetRegion()
|
D | shader_program.h | 143 void SetSourceRegion(const Quad& quad); 157 void SetTargetRegion(const Quad& quad);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | RotateFilter.java | 148 Quad quad = new Quad(x0, x1, x2, x3); in updateParameters() local 149 ((ShaderProgram) mProgram).setTargetRegion(quad); in updateParameters()
|
D | StraightenFilter.java | 146 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters() local 147 ((ShaderProgram) mProgram).setSourceRegion(quad); in updateParameters()
|
/frameworks/native/opengl/tests/testViewport/ |
D | README | 7 The program clears the screen to blue, then draws a full screen white quad that
|
/frameworks/rs/script_api/ |
D | rs_graphics.spec | 497 summary: Draw a quad 499 Low performance utility function for drawing a simple quad. Not intended for 529 summary: Draw a textured quad 531 Low performance utility function for drawing a textured quad. Not intended
|
/frameworks/base/core/jni/android/graphics/ |
D | Path.cpp | 386 const SkPoint* quad = quads + i * 2; in createVerbSegments() local 387 addBezier(quad, quadraticBezierCalculation, segmentPoints, lengths, in createVerbSegments()
|
/frameworks/rs/script_api/include/ |
D | rs_graphics.rsh | 802 * rsgDrawQuad: Draw a quad 806 * Low performance utility function for drawing a simple quad. Not intended for 822 * rsgDrawQuadTexCoords: Draw a textured quad 826 * Low performance utility function for drawing a textured quad. Not intended
|