Home
last modified time | relevance | path

Searched refs:vertices (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp194 float vertices[len * quadCoords]; in drawString() local
218 vertices[off + 0] = vertLeft; in drawString()
219 vertices[off + 1] = vertBottom; in drawString()
220 vertices[off + 2] = vertRight; in drawString()
221 vertices[off + 3] = vertBottom; in drawString()
222 vertices[off + 4] = vertLeft; in drawString()
223 vertices[off + 5] = vertTop; in drawString()
224 vertices[off + 6] = vertLeft; in drawString()
225 vertices[off + 7] = vertTop; in drawString()
226 vertices[off + 8] = vertRight; in drawString()
[all …]
DProgram.h62 const float* vertices, const float* texes, size_t count) const;
72 const float* vertices, const float* texes, bool invert) const;
DProgram.cpp230 const float* vertices, const float* texes, size_t count) const { in drawTriangles() argument
235 err = beforeDraw(texName, texMatrix, vertices, texes, false); in drawTriangles()
244 const float* vertices, const float* texes, bool invert) const { in beforeDraw() argument
261 glVertexAttribPointer(maPositionLoc, 2, GL_FLOAT, GL_FALSE, 0, vertices); in beforeDraw()
/frameworks/base/telephony/java/android/telephony/
DCbGeoUtils.java174 public Polygon(@NonNull List<LatLng> vertices) { in Polygon() argument
175 mVertices = vertices; in Polygon()
179 for (int i = 1; i < vertices.size(); i++) { in Polygon()
180 if (vertices.get(i).lng < vertices.get(idx).lng) { in Polygon()
184 mOrigin = vertices.get(idx); in Polygon()
186 mScaledVertices = vertices.stream() in Polygon()
417 List<LatLng> vertices = new ArrayList<>(geoParameters.length - 1); in parseGeometriesFromString() local
419 vertices.add(parseLatLngFromString(geoParameters[i])); in parseGeometriesFromString()
421 geometries.add(new Polygon(vertices)); in parseGeometriesFromString()
/frameworks/base/core/java/android/app/wallpapereffectsgeneration/
DTexturedMesh.java114 @NonNull float[] vertices, @IndicesLayoutType int indicesLayoutType, in TexturedMesh() argument
118 mVertices = vertices; in TexturedMesh()
243 public Builder setVertices(@NonNull float[] vertices) { in setVertices() argument
244 mVertices = vertices; in setVertices()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCube.java33 int vertices[] = { in Cube() local
72 ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); in Cube()
75 mVertexBuffer.put(vertices); in Cube()
/frameworks/base/libs/hwui/
DMatrix.cpp477 float vertices[] = {r.left, r.top, r.right, r.top, r.right, r.bottom, r.left, r.bottom}; in mapRect() local
482 float px = vertices[i]; in mapRect()
483 float py = vertices[i + 1]; in mapRect()
490 vertices[i] = x * z; in mapRect()
491 vertices[i + 1] = y * z; in mapRect()
494 r.left = r.right = vertices[0]; in mapRect()
495 r.top = r.bottom = vertices[1]; in mapRect()
498 x = vertices[i]; in mapRect()
499 y = vertices[i + 1]; in mapRect()
DSkiaCanvas.cpp561 void SkiaCanvas::drawVertices(const SkVertices* vertices, SkBlendMode mode, const Paint& paint) { in drawVertices() argument
562 applyLooper(&paint, [&](const SkPaint& p) { mCanvas->drawVertices(vertices, mode, p); }); in drawVertices()
599 const float* vertices, const int* colors, const Paint* paint) { in drawBitmapMesh() argument
607 memcpy(builder.positions(), vertices, ptCount * sizeof(SkPoint)); in drawBitmapMesh()
DRecordingCanvas.cpp458 : vertices(sk_ref_sp(const_cast<SkVertices*>(v))), mode(m), paint(p) {} in DrawVertices()
459 sk_sp<SkVertices> vertices; member
463 c->drawVertices(vertices, mode, paint); in draw()
1115 void RecordingCanvas::onDrawVerticesObject(const SkVertices* vertices, in onDrawVerticesObject() argument
1117 fDL->drawVertices(vertices, mode, paint); in onDrawVerticesObject()
DSkiaCanvas.h137 const float* vertices, const int* colors,
/frameworks/native/opengl/tests/angeles/
Ddemo.c116 static GLOBJECT * newGLObject(long vertices, int vertexComponents, in newGLObject() argument
123 result->count = vertices; in newGLObject()
125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * in newGLObject()
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); in newGLObject()
130 result->normalArray = (GLfixed *)malloc(vertices * 3 * in newGLObject()
207 const long vertices = triangleCount * 3; in createSuperShape() local
213 result = newGLObject(vertices, 3, 1); in createSuperShape()
351 const long vertices = triangleCount * 3; in createGroundPlane() local
356 result = newGLObject(vertices, 2, 0); in createGroundPlane()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCbGeoUtilsTest.java140 List<LatLng> vertices = Arrays.asList( in testPointInPolygon_crossing180thMeridian() local
149 Polygon polygon = new Polygon(vertices); in testPointInPolygon_crossing180thMeridian()
165 List<LatLng> vertices = Arrays.asList( in testPointInPolygon_crossing0thMeridian() local
171 Polygon polygon = new Polygon(vertices); in testPointInPolygon_crossing0thMeridian()
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp85 const GLfloat vertices[4][2] = { in main() local
104 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
/frameworks/native/libs/gui/tests/
DMultiTextureConsumer_test.cpp114 …GLfloat vertices[][2] = { {i*16.0f, 0}, {(i+1)*16.0f, 0}, {(i+1)*16.0f, 16.0f}, {i*16.0f, 16.0f} }; in TEST_F() local
115 glVertexPointer(2, GL_FLOAT, 0, vertices); in TEST_F()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp96 const GLfloat vertices[4][2] = { in main() local
119 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp145 const GLfloat vertices[4][2] = { in main() local
181 glVertexPointer(2, GL_FLOAT, 0, vertices); in main()
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp156 const GLfloat vertices[] = { in Java_com_android_gljni_GLJNILib_step() local
171 glVertexPointer(3, GL_FLOAT, 0, vertices); in Java_com_android_gljni_GLJNILib_step()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp229 const GLfloat vertices[] = { in render() local
250 glVertexPointer(3, GL_FLOAT, 0, vertices); in render()
/frameworks/base/libs/hwui/tests/common/
DCallCountingCanvas.h157 void onDrawVerticesObject (const SkVertices *vertices, SkBlendMode mode, in onDrawVerticesObject() argument
/frameworks/base/libs/hwui/canvas/
DCanvasOps.h314 sk_sp<SkVertices> vertices;
318 canvas->drawVertices(vertices, mode, paint);
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp370 const GLfloat vertices[] = { in render() local
386 glVertexPointer(3, GL_FLOAT, 0, vertices); in render()
/frameworks/base/libs/hwui/tests/unit/
DCanvasOpTests.cpp452 sk_sp<SkVertices> vertices = SkVertices::MakeCopy(SkVertices::kTriangles_VertexMode, 3, pts, in TEST() local
455 .vertices = vertices, in TEST()
/frameworks/base/libs/hwui/hwui/
DCanvas.h236 const float* vertices, const int* colors, const Paint* paint) = 0;
/frameworks/rs/script_api/include/
Drs_graphics.rsh155 …ll be rendered as a connected triangle strip defined by the first three vertices with each additio…