Home
last modified time | relevance | path

Searched refs:quad (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
DMeshState.cpp39 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/
DStatsFilter.java81 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()
DImageShader.java419 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/
Dshader_program.cpp224 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()
Dshader_program.h143 void SetSourceRegion(const Quad& quad);
157 void SetTargetRegion(const Quad& quad);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DRotateFilter.java148 Quad quad = new Quad(x0, x1, x2, x3); in updateParameters() local
149 ((ShaderProgram) mProgram).setTargetRegion(quad); in updateParameters()
DStraightenFilter.java146 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters() local
147 ((ShaderProgram) mProgram).setSourceRegion(quad); in updateParameters()
/frameworks/native/opengl/tests/testViewport/
DREADME7 The program clears the screen to blue, then draws a full screen white quad that
/frameworks/rs/script_api/
Drs_graphics.spec497 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/
DPath.cpp386 const SkPoint* quad = quads + i * 2; in createVerbSegments() local
387 addBezier(quad, quadraticBezierCalculation, segmentPoints, lengths, in createVerbSegments()
/frameworks/rs/script_api/include/
Drs_graphics.rsh802 * 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