Home
last modified time | relevance | path

Searched refs:chopped (Results 1 – 25 of 31) sorted by relevance

12

/external/skqp/tests/
DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
75 SkConic conic, chopped[2]; in writePng() local
80 chopped[chIndex].fPts[index].fX = ch[chIndex].fPts[index].fX * scale; in writePng()
81 chopped[chIndex].fPts[index].fY = ch[chIndex].fPts[index].fY * scale; in writePng()
85 chopped[0].fW = ch[0].fW; in writePng()
86 chopped[1].fW = ch[1].fW; in writePng()
105 path.moveTo(chopped[0].fPts[0]); in writePng()
[all …]
DPathOpsCubicIntersectionTest.cpp657 SkDCubic chopped[2]; in selfOneOff() local
658 chopped[0].set(&twoCubics[0]); in selfOneOff()
659 chopped[1].set(&twoCubics[3]); in selfOneOff()
660 int result = i.intersect(chopped[0], chopped[1]); in selfOneOff()
664 SkDPoint pt1 = chopped[0].ptAtT(i[0][index]); in selfOneOff()
665 SkDPoint pt2 = chopped[1].ptAtT(i[1][index]); in selfOneOff()
/external/skia/tests/
DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
75 SkConic conic, chopped[2]; in writePng() local
80 chopped[chIndex].fPts[index].fX = ch[chIndex].fPts[index].fX * scale; in writePng()
81 chopped[chIndex].fPts[index].fY = ch[chIndex].fPts[index].fY * scale; in writePng()
85 chopped[0].fW = ch[0].fW; in writePng()
86 chopped[1].fW = ch[1].fW; in writePng()
105 path.moveTo(chopped[0].fPts[0]); in writePng()
[all …]
DPathOpsCubicIntersectionTest.cpp657 SkDCubic chopped[2]; in selfOneOff() local
658 chopped[0].set(&twoCubics[0]); in selfOneOff()
659 chopped[1].set(&twoCubics[3]); in selfOneOff()
660 int result = i.intersect(chopped[0], chopped[1]); in selfOneOff()
664 SkDPoint pt1 = chopped[0].ptAtT(i[0][index]); in selfOneOff()
665 SkDPoint pt2 = chopped[1].ptAtT(i[1][index]); in selfOneOff()
DGeometryTest.cpp461 SkPoint chopped[5]; in test_chop_quad_at_midtangent() local
462 SkChopQuadAtMidTangent(pts, chopped); in test_chop_quad_at_midtangent()
463 float leftRotation = SkMeasureQuadRotation(chopped); in test_chop_quad_at_midtangent()
464 float rightRotation = SkMeasureQuadRotation(chopped+2); in test_chop_quad_at_midtangent()
483 SkPoint chopped[7]; in test_chop_cubic_at_midtangent() local
484 SkChopCubicAtMidTangent(mapped, chopped); in test_chop_cubic_at_midtangent()
485 float leftRotation = SkMeasureNonInflectCubicRotation(chopped); in test_chop_cubic_at_midtangent()
486 float rightRotation = SkMeasureNonInflectCubicRotation(chopped+3); in test_chop_cubic_at_midtangent()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DBoundedByteStringTest.java65 ByteString chopped = unicode.substring(2, unicode.size() - 6); in testToString() local
69 getActualClassName(chopped)); in testToString()
71 String roundTripString = chopped.toString(UTF_8); in testToString()
82 ByteString chopped = unicode.substring(2, unicode.size() - 6); in testCharsetToString() local
86 getActualClassName(chopped)); in testCharsetToString()
88 String roundTripString = chopped.toString(Internal.UTF_8); in testCharsetToString()
/external/skqp/gm/
Dtrickycubicstrokes.cpp39 SkPoint chopped[7]; in calc_tight_cubic_bounds() local
40 SkChopCubicAt(P, chopped, .5f); in calc_tight_cubic_bounds()
41 SkRect bounds = calc_tight_cubic_bounds(chopped, depth - 1); in calc_tight_cubic_bounds()
42 bounds.join(calc_tight_cubic_bounds(chopped+3, depth - 1)); in calc_tight_cubic_bounds()
Dbeziereffects.cpp415 SkPoint chopped[5]; in onDraw() local
416 int cnt = SkChopQuadAtMaxCurvature(controlPts, chopped); in onDraw()
434 SkPoint* pts = chopped + 2 * c; in onDraw()
/external/skia/gm/
Dtrickycubicstrokes.cpp85 SkPoint chopped[7]; in calc_tight_cubic_bounds() local
86 SkChopCubicAt(P, chopped, .5f); in calc_tight_cubic_bounds()
87 SkRect bounds = calc_tight_cubic_bounds(chopped, depth - 1); in calc_tight_cubic_bounds()
88 bounds.join(calc_tight_cubic_bounds(chopped+3, depth - 1)); in calc_tight_cubic_bounds()
Dbeziereffects.cpp473 SkPoint chopped[5]; in onDraw() local
474 int cnt = SkChopQuadAtMaxCurvature(controlPts, chopped); in onDraw()
477 SkPoint* pts = chopped + 2 * c; in onDraw()
/external/skia/src/pathops/
DSkPathOpsConic.cpp171 SkDConic chopped = this->subDivide(t1, t2); in subDivide() local
172 *weight = chopped.fWeight; in subDivide()
173 return chopped[1]; in subDivide()
/external/skqp/src/pathops/
DSkPathOpsConic.cpp171 SkDConic chopped = this->subDivide(t1, t2); in subDivide() local
172 *weight = chopped.fWeight; in subDivide()
173 return chopped[1]; in subDivide()
/external/skia/src/gpu/geometry/
DGrPathUtils.cpp521 SkPoint chopped[10]; in convertCubicToQuads() local
522 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
527 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
542 SkPoint chopped[10]; in convertCubicToQuadsConstrainToTangents() local
543 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuadsConstrainToTangents()
548 SkPoint* cubic = chopped + 3*i; in convertCubicToQuadsConstrainToTangents()
/external/autotest/test_suites/
Dcontrol.link_perf13 Interim chopped down perf suite for link.
/external/skqp/src/gpu/
DGrPathUtils.cpp602 SkPoint chopped[10]; in convertCubicToQuads() local
603 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
608 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
623 SkPoint chopped[10]; in convertCubicToQuadsConstrainToTangents() local
624 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuadsConstrainToTangents()
629 SkPoint* cubic = chopped + 3*i; in convertCubicToQuadsConstrainToTangents()
/external/skqp/src/core/
DSkStroke.cpp817 SkPoint chopped[7]; in cubicPerpRay() local
828 SkChopCubicAt(cubic, chopped, t); in cubicPerpRay()
829 dxy = chopped[3] - chopped[2]; in cubicPerpRay()
831 dxy = chopped[3] - chopped[1]; in cubicPerpRay()
832 cPts = chopped; in cubicPerpRay()
DSkPath.cpp3347 SkConic chopped[2]; in winding_conic() local
3350 bool isMono = is_mono_quad(pts[0].fY, pts[1].fY, pts[2].fY) || !conic.chopAtYExtrema(chopped); in winding_conic()
3351 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
3353 w += winding_mono_conic(chopped[1], x, y, onCurveCount); in winding_conic()
/external/skia/src/core/
DSkStroke.cpp846 SkPoint chopped[7]; in cubicPerpRay() local
857 SkChopCubicAt(cubic, chopped, t); in cubicPerpRay()
858 dxy = chopped[3] - chopped[2]; in cubicPerpRay()
860 dxy = chopped[3] - chopped[1]; in cubicPerpRay()
861 cPts = chopped; in cubicPerpRay()
DSkPath.cpp2728 SkConic chopped[2]; in winding_conic() local
2731 bool isMono = is_mono_quad(pts[0].fY, pts[1].fY, pts[2].fY) || !conic.chopAtYExtrema(chopped); in winding_conic()
2732 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount); in winding_conic()
2734 w += winding_mono_conic(chopped[1], x, y, onCurveCount); in winding_conic()
/external/skqp/tools/fonts/
DSkTestSVGTypeface.cpp969 SkPoint chopped[10]; in convertCubicToQuads() local
970 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
975 SkPoint* cubic = chopped + 3*i; in convertCubicToQuads()
/external/e2fsprogs/doc/RelNotes/
Dv1.34.txt26 be chopped off will be lost.)
/external/skia/tools/fonts/
DTestSVGTypeface.cpp1110 SkPoint chopped[10]; in convertCubicToQuads() local
1111 int count = SkChopCubicAtInflections(p, chopped); in convertCubicToQuads()
1116 SkPoint* cubic = chopped + 3 * i; in convertCubicToQuads()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfoV5.td649 // Convert Floating Point to Integer: non-chopped.
/external/blktrace/doc/
Dblktrace.tex574 straddle a device or internal zone and needs to be chopped up into
/external/libpng/scripts/
Dpnglibconf.dfa446 # forces them to be chopped down to 8-bit, and disables any 16-bit

12