Home
last modified time | relevance | path

Searched refs:numSegments (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp127 int numSegments = ceil(fabs(sweep * 4 / M_PI)); in arcToBezier() local
137 double anglePerSegment = sweep / numSegments; in arcToBezier()
138 for (int i = 0; i < numSegments; i++) { in arcToBezier()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DPathParser.java697 int numSegments = (int) Math.ceil(Math.abs(sweep * 4 / Math.PI)); in arcToBezier() local
707 double anglePerSegment = sweep / numSegments; in arcToBezier()
708 for (int i = 0; i < numSegments; i++) { in arcToBezier()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h571 : numSegments(0), in BufferingStats()
577 size_t numSegments; member
DSurfaceFlinger.cpp2889 ++stats.numSegments; in recordBufferingStats()
2904 if (stats.numSegments == 0) { in dumpBufferingStats()
DSurfaceFlinger_hwc1.cpp2805 ++stats.numSegments; in recordBufferingStats()
2820 if (stats.numSegments == 0) { in dumpBufferingStats()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java799 int numSegments = (int) Math.ceil(Math.abs(sweep * 4 / Math.PI)); in arcToBezier() local
810 double anglePerSegment = sweep / numSegments; in arcToBezier()
811 for (int i = 0; i < numSegments; i++) { in arcToBezier()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in934 GLfloat API_ENTRY(glGetPathLengthNV)(GLuint path, GLsizei startSegment, GLsizei numSegments) {
935 CALL_GL_API_RETURN(glGetPathLengthNV, path, startSegment, numSegments);
937 GLboolean API_ENTRY(glPointAlongPathNV)(GLuint path, GLsizei startSegment, GLsizei numSegments, GLf…
938 …CALL_GL_API_RETURN(glPointAlongPathNV, path, startSegment, numSegments, distance, x, y, tangentX, …
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h2556 …t (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
2557 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
2614 …ALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
2615 …PIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
/frameworks/native/opengl/libs/
Dentries.in360 GL_ENTRY(GLfloat, glGetPathLengthNV, GLuint path, GLsizei startSegment, GLsizei numSegments)
590 GL_ENTRY(GLboolean, glPointAlongPathNV, GLuint path, GLsizei startSegment, GLsizei numSegments, GLf…