Home
last modified time | relevance | path

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

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DXYStepCalculatorTest.java43 int numSegments = 10; in testSubdivide() local
47 …XYStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal… in testSubdivide()
49 assertEquals(plotSize/(numSegments-1), step.getStepPix()); in testSubdivide()
55 … step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal); in testSubdivide()
56 assertEquals(plotSize/(numSegments-1), step.getStepPix()); in testSubdivide()
/external/skia/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp158 int numSegments = wangs_formula_quadratic(p0, p1, p2); in quadraticTo() local
159 numSegments = SkTMin(numSegments, 1 << kMaxNumLinearSegmentsLog2); in quadraticTo()
160 if (numSegments <= 1) { in quadraticTo()
172 float segmentLength = SkScalarInvert(numSegments); in quadraticTo()
227 this->recordStroke(Verb::kQuadraticStroke, SkNextLog2(numSegments)); in quadraticTo()
286 int numSegments = wangs_formula_cubic(p0, p1, p2, p3); in cubicTo() local
287 numSegments = SkTMin(numSegments, 1 << kMaxNumLinearSegmentsLog2); in cubicTo()
288 if (numSegments <= 1) { in cubicTo()
302 float segmentLength = SkScalarInvert(numSegments); in cubicTo()
382 this->recordStroke(Verb::kCubicStroke, SkNextLog2(numSegments)); in cubicTo()
DGrCCStroker.cpp44 inline void set(const SkPoint[4], float dx, float dy, float strokeRadius, int numSegments);
46 int numSegments);
50 int numSegments) { in set() argument
53 this->set(X, Y, dx, dy, strokeRadius, numSegments); in set()
57 float strokeRadius, int numSegments) { in set() argument
61 fNumSegments = static_cast<float>(numSegments); in set()
/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp158 int numSegments = wangs_formula_quadratic(p0, p1, p2); in quadraticTo() local
159 numSegments = SkTMin(numSegments, 1 << kMaxNumLinearSegmentsLog2); in quadraticTo()
160 if (numSegments <= 1) { in quadraticTo()
172 float segmentLength = SkScalarInvert(numSegments); in quadraticTo()
227 this->recordStroke(Verb::kQuadraticStroke, SkNextLog2(numSegments)); in quadraticTo()
286 int numSegments = wangs_formula_cubic(p0, p1, p2, p3); in cubicTo() local
287 numSegments = SkTMin(numSegments, 1 << kMaxNumLinearSegmentsLog2); in cubicTo()
288 if (numSegments <= 1) { in cubicTo()
302 float segmentLength = SkScalarInvert(numSegments); in cubicTo()
382 this->recordStroke(Verb::kCubicStroke, SkNextLog2(numSegments)); in cubicTo()
DGrCCStroker.cpp44 inline void set(const SkPoint[4], float dx, float dy, float strokeRadius, int numSegments);
46 int numSegments);
50 int numSegments) { in set() argument
53 this->set(X, Y, dx, dy, strokeRadius, numSegments); in set()
57 float strokeRadius, int numSegments) { in set() argument
61 fNumSegments = static_cast<float>(numSegments); in set()
/external/skqp/gm/
Ddegeneratesegments.cpp303 unsigned numSegments = SK_ARRAY_COUNT(gSegmentFunctions); in onDraw() local
322 unsigned s1 = (rand.nextU() >> 16) % numSegments; in onDraw()
323 unsigned s2 = (rand.nextU() >> 16) % numSegments; in onDraw()
324 unsigned s3 = (rand.nextU() >> 16) % numSegments; in onDraw()
325 unsigned s4 = (rand.nextU() >> 16) % numSegments; in onDraw()
326 unsigned s5 = (rand.nextU() >> 16) % numSegments; in onDraw()
/external/skia/gm/
Ddegeneratesegments.cpp303 unsigned numSegments = SK_ARRAY_COUNT(gSegmentFunctions); in onDraw() local
322 unsigned s1 = (rand.nextU() >> 16) % numSegments; in onDraw()
323 unsigned s2 = (rand.nextU() >> 16) % numSegments; in onDraw()
324 unsigned s3 = (rand.nextU() >> 16) % numSegments; in onDraw()
325 unsigned s4 = (rand.nextU() >> 16) % numSegments; in onDraw()
326 unsigned s5 = (rand.nextU() >> 16) % numSegments; in onDraw()
/external/sonivox/arm-wt-22k/lib_src/
Djet_data.h151 EAS_U8 numSegments; member
Djet.c288 easHandle->jetHandle->numSegments = (EAS_U8) temp; in JetParseInfoChunk()
384 if (smfChunkNum < easHandle->jetHandle->numSegments) in JET_OpenFile()
622 if (segmentNum >= easHandle->jetHandle->numSegments) in JET_QueueSegment()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPathParser.java544 int numSegments = Math.abs((int) Math.ceil(sweep * 4 / Math.PI)); in arcToBezier() local
554 double anglePerSegment = sweep / numSegments; in arcToBezier()
555 for (int i = 0; i < numSegments; i++) { in arcToBezier()
/external/gptfdisk/
Dgpt.cc174 uint32_t i, numSegments; in Verify() local
339 totalFree = FindFreeBlocks(&numSegments, &largestSegment); in Verify()
342 << numSegments << "\nsegments, the largest of which is " in Verify()
2196 uint64_t GPTData::FindFreeBlocks(uint32_t *numSegments, uint64_t *largestSegment) { in FindFreeBlocks() argument
2220 *numSegments = num; in FindFreeBlocks()
Dgpt.h183 uint64_t FindFreeBlocks(uint32_t *numSegments, uint64_t *largestSegment);
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c796 int16_t numSegments; in WebRtcIsac_DecodeInterpolLpcUb() local
812 numSegments = UB_LPC_VEC_PER_FRAME - 1; in WebRtcIsac_DecodeInterpolLpcUb()
818 numSegments = UB16_LPC_VEC_PER_FRAME - 1; in WebRtcIsac_DecodeInterpolLpcUb()
826 for (interpolCntr = 0; interpolCntr < numSegments; interpolCntr++) { in WebRtcIsac_DecodeInterpolLpcUb()
/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.h463 …void makeSwitch(Id condition, unsigned int control, int numSegments, const std::vector<int>& caseV…
DSpvBuilder.cpp2402 void Builder::makeSwitch(Id selector, unsigned int control, int numSegments, const std::vector<int>… in makeSwitch() argument
2409 for (int s = 0; s < numSegments; ++s) in makeSwitch()
/external/mesa3d/include/GLES2/
Dgl2ext.h3042 …t (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
3043 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
3100 …ALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
3101 …PIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
/external/swiftshader/include/GLES2/
Dgl2ext.h3120 …t (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
3121 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
3197 …ALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
3198 …PIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
/external/swiftshader/include/GL/
Dglcorearb.h5357 …loat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
5358 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
5415 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
5416 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments
Dglext.h10429 …loat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
10430 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
10494 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
10495 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments
/external/mesa3d/include/GL/
Dglcorearb.h5317 …loat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
5318 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
5375 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
5376 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments
Dglext.h10387 …loat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
10388 …PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distan…
10452 GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
10453 GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments