Searched refs:numSegments (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DVectorDrawableUtils.cpp127 int numSegments = ceil(fabs(sweep * 4 / M_PI)); local
137 double anglePerSegment = sweep / numSegments;
138 for (int i = 0; i < numSegments; i++) {
/frameworks/support/compat/java/android/support/v4/graphics/
H A DPathParser.java716 int numSegments = (int) Math.ceil(Math.abs(sweep * 4 / Math.PI));
726 double anglePerSegment = sweep / numSegments;
727 for (int i = 0; i < numSegments; i++) {
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h723 : numSegments(0),
729 size_t numSegments; member in struct:android::SurfaceFlinger::BufferingStats
H A DSurfaceFlinger.cpp3473 ++stats.numSegments;
3498 if (stats.numSegments == 0) {
H A DSurfaceFlinger_hwc1.cpp3138 ++stats.numSegments;
3153 if (stats.numSegments == 0) {
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java800 int numSegments = (int) Math.ceil(Math.abs(sweep * 4 / Math.PI));
811 double anglePerSegment = sweep / numSegments;
812 for (int i = 0; i < numSegments; i++) {
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h2556 typedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
2557 typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
2614 GL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
2615 GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);

Completed in 4667 milliseconds