Searched defs:quad (Results 1 - 5 of 5) sorted by path
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClassic.java | 5249 private static Point calculateCaretTop(Point base, QuadF quad) { argument 5250 float scale = scaleAlongSegment(base.x, base.y, quad.p4, quad.p3); 5251 int x = Math.round(scaleCoordinate(scale, quad.p1.x, quad.p2.x)); 5252 int y = Math.round(scaleCoordinate(scale, quad.p1.y, quad.p2.y)); 5288 // "center" the cursor in the snapping quad
|
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 502 uint16_t quad = i * 4; local 504 regionIndices[index ] = quad; // top-left 505 regionIndices[index + 1] = quad + 1; // top-right 506 regionIndices[index + 2] = quad + 2; // bottom-left 507 regionIndices[index + 3] = quad + 2; // bottom-left 508 regionIndices[index + 4] = quad + 1; // top-right 509 regionIndices[index + 5] = quad + 3; // bottom-right
|
H A D | LayerRenderer.cpp | 181 uint16_t quad = i * 4; local 183 indices[index ] = quad; // top-left 184 indices[index + 1] = quad + 1; // top-right 185 indices[index + 2] = quad + 2; // bottom-left 186 indices[index + 3] = quad + 2; // bottom-left 187 indices[index + 4] = quad + 1; // top-right 188 indices[index + 5] = quad + 3; // bottom-right
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 231 Quad quad(Point(x, y), 235 SetSourceRegion(quad); 238 void ShaderProgram::SetSourceRegion(const Quad& quad) { argument 241 source_coords_[index] = quad.point(i).x(); 242 source_coords_[index+1] = quad.point(i).y(); 247 Quad quad(Point(x, y), 251 SetTargetRegion(quad); 254 void ShaderProgram::SetTargetRegion(const Quad& quad) { argument 257 target_coords_[index] = (quad.point(i).x() * 2.0) - 1.0; 258 target_coords_[index+1] = (quad [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FullscreenBlur.java | 76 static void addOffsets(Renderable quad, float advance) {
argument 77 quad.appendSourceParams(new Float4Param("blurOffset0", - advance * 2.5f));
78 quad.appendSourceParams(new Float4Param("blurOffset1", - advance * 0.5f));
79 quad.appendSourceParams(new Float4Param("blurOffset2", advance * 1.5f));
80 quad.appendSourceParams(new Float4Param("blurOffset3", advance * 3.5f));
124 Renderable quad = sceneManager.getRenderableQuad("ScreenAlignedQuadS", selectCol);
125 quad.appendSourceParams(new TextureParam("color", sRenderTargetBlur0Color));
126 selectColorPass.appendRenderable(quad);
132 quad = sceneManager.getRenderableQuad("ScreenAlignedQuadH", hBlur);
133 quad [all...] |
Completed in 177 milliseconds