/external/skia/gm/ |
pathreverse.cpp | 26 path.cubicTo(101.7f, 24.7f, 103.6f, 22.8f, 103.6f, 19.2f); 27 path.cubicTo(103.6f, 18.9f, 103.6f, 18.7f, 103.6f, 18.4f); 28 path.cubicTo(102.6f, 5.3f, 94.4f, -6.1f, 79.8f, -6.1f); 29 path.cubicTo(63.5f, -6.1f, 54.5f, 6, 54.5f, 23.3f); 30 path.cubicTo(54.5f, 40.6f, 64, 52.2f, 80.4f, 52.2f); 31 path.cubicTo(93.4f, 52.2f, 99.2f, 45.6f, 102.4f, 39); 32 path.cubicTo(102.8f, 38.4f, 102.9f, 37.8f, 102.9f, 37.2f); 33 path.cubicTo(102.9f, 35.4f, 101.5f, 34.2f, 99.8f, 33.7f); 34 path.cubicTo(99.1f, 33.5f, 98.4f, 33.3f, 97.7f, 33.3f); 35 path.cubicTo(96.3f, 33.3f, 95, 34, 94.1f, 35.8f) [all...] |
skbug1719.cpp | 31 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); 33 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f); 35 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f); 37 clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f); 50 drawPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); 52 drawPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f); 54 drawPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f); 56 drawPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f);
|
scaledstrokes.cpp | 31 path.cubicTo(c, size, size, c, size, 0.0f); 32 path.cubicTo(size, -c, c, -size, 0.0f, -size); 33 path.cubicTo(-c, -size, -size, -c, -size, 0.0f); 34 path.cubicTo(-size, c, -c, size, 0.0f, size);
|
convexpaths.cpp | 128 fPaths.push_back().cubicTo( 1 * SK_Scalar1, 1 * SK_Scalar1, 131 fPaths.push_back().cubicTo(100 * SK_Scalar1, 50 * SK_Scalar1, 138 fPaths.back().cubicTo(10 * SK_Scalar1, 10 * SK_Scalar1, 142 fPaths.back().cubicTo(40 * SK_Scalar1, 0, 148 fPaths.back().cubicTo(10 * SK_Scalar1, 0, 152 fPaths.back().cubicTo(50 * SK_Scalar1, 0, 158 fPaths.back().cubicTo(628 * SK_Scalar1 / 8, 82 * SK_Scalar1 / 8, 164 fPaths.back().cubicTo(0, SK_Scalar1, 170 fPaths.back().cubicTo(10 * SK_Scalar1, SK_Scalar1, 176 fPaths.back().cubicTo(0, SK_Scalar1 [all...] |
smallarc.cpp | 23 path.cubicTo(33.5, 0, 0, 33.5, 0, 75);
|
stlouisarch.cpp | 42 bigCubic->cubicTo(0, kHeight, 51 degenBigCubic->cubicTo(0, yPos,
|
degeneratesegments.cpp | 91 path.cubicTo(startPt, startPt, startPt); 98 path.cubicTo(moveToPt, moveToPt, moveToPt); 105 path.cubicTo(moveToPt, moveToPt, moveToPt); 168 path.cubicTo(t1Pt, t2Pt, endPt); 178 path.cubicTo(t1Pt, t2Pt, endPt); 188 path.cubicTo(t1Pt, t2Pt, endPt);
|
/external/skia/tests/ |
PathOpsSkpTest.cpp | 23 pathB.cubicTo(855.523071f, 399.691284f, 853.721191f, 402.40863f, 853.721191f, 405.552216f); 24 pathB.cubicTo(853.721191f, 407.911163f, 854.727478f, 410.115387f, 857.043518f, 412.252716f); 25 pathB.cubicTo(859.920532f, 414.916138f, 862.704773f, 417.086426f, 864.679382f, 418.852386f); 26 pathB.cubicTo(866.382446f, 420.371765f, 867.19104f, 422.108795f, 867.19104f, 423.506378f); 27 pathB.cubicTo(867.19104f, 424.551605f, 866.741821f, 425.539886f, 865.935242f, 426.281616f); 28 pathB.cubicTo(865.250366f, 426.910553f, 864.662415f, 427.339813f, 864.139282f, 427.4646f); 29 pathB.cubicTo(863.536377f, 427.605347f, 862.259521f, 426.491272f, 860.366821f, 424.208191f); 30 pathB.cubicTo(858.345276f, 421.770355f, 857.317017f, 419.733856f, 857.317017f, 417.98587f); 31 pathB.cubicTo(857.317017f, 417.198212f, 857.942993f, 415.930389f, 857.942993f, 415.930389f); 32 pathB.cubicTo(857.942993f, 415.930389f, 852.106018f, 421.296173f, 852.279663f, 422.549042f) [all...] |
PathOpsBattles.cpp | 18 path1.cubicTo(32.8673f, -83, 62.6386f, -63.6055f, 75.9208f, -33.5416f); 19 path1.cubicTo(89.2029f, -3.47759f, 83.4937f, 31.5921f, 61.3615f, 55.8907f); 22 path1.cubicTo(37.7451f, 46.8689f, 41.2438f, 43.8216f, 44.3577f, 40.4029f); 24 path1.cubicTo(60.3569f, 22.8376f, 64.4841f, -2.51392f, 54.8825f, -24.2469f); 25 path1.cubicTo(45.2809f, -45.9799f, 23.7595f, -60, 9.53595e-07f, -60); 30 path2.cubicTo(17.5117f, 88.6307f, -21.518f, 87.7442f, -49.9981f, 66.251f); 31 path2.cubicTo(-78.4781f, 44.7578f, -90.035f, 7.46781f, -78.7014f, -26.3644f); 32 path2.cubicTo(-67.3679f, -60.1967f, -35.6801f, -83, -1.48383e-06f, -83); 34 path2.cubicTo(-25.7929f, -60, -48.6997f, -43.5157f, -56.8926f, -19.0586f); 35 path2.cubicTo(-65.0855f, 5.39842f, -56.7312f, 32.355f, -36.1432f, 47.8923f) [all...] |
PathOpsSimplifyFailTest.cpp | 50 case 4: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[f]); break; 51 case 5: path.cubicTo(finitePts[f], nonFinitePts[i], finitePts[f]); break; 52 case 6: path.cubicTo(finitePts[f], finitePts[f], nonFinitePts[i]); break; 53 case 7: path.cubicTo(nonFinitePts[i], nonFinitePts[i], finitePts[f]); break; 54 case 8: path.cubicTo(nonFinitePts[i], finitePts[f], nonFinitePts[i]); break; 55 case 9: path.cubicTo(finitePts[f], nonFinitePts[i], nonFinitePts[i]); break; 56 case 10: path.cubicTo(nonFinitePts[i], nonFinitePts[i], nonFinitePts[i]); break; 57 case 11: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[g]); break; 78 case 4: path.cubicTo(finitePts[f], finitePts[f], finitePts[f]); break; 79 case 5: path.cubicTo(finitePts[f], finitePts[f], finitePts[g]); break [all...] |
PathOpsIssue3651.cpp | 16 path.cubicTo(SkBits2Float(0x431e3333), SkBits2Float(0x42823333), SkBits2Float(0x431ee666), SkBits2Float(0x4282368d), SkBits2Float(0x431f999a), SkBits2Float(0x42823333)); // 158.2f, 65.1f, 158.9f, 65.1065f, 159.6f, 65.1f 17 path.cubicTo(SkBits2Float(0x43204ccd), SkBits2Float(0x42822fd9), SkBits2Float(0x43210000), SkBits2Float(0x42822861), SkBits2Float(0x4321b333), SkBits2Float(0x42821f17)); // 160.3f, 65.0935f, 161, 65.0789f, 161.7f, 65.0607f 18 path.cubicTo(SkBits2Float(0x43226666), SkBits2Float(0x428215ce), SkBits2Float(0x4323199a), SkBits2Float(0x4282071d), SkBits2Float(0x4323cccd), SkBits2Float(0x4281fb7b)); // 162.4f, 65.0426f, 163.1f, 65.0139f, 163.8f, 64.9912f 19 path.cubicTo(SkBits2Float(0x43248000), SkBits2Float(0x4281efd8), SkBits2Float(0x43253333), SkBits2Float(0x4281e467), SkBits2Float(0x4325e666), SkBits2Float(0x4281d94a)); // 164.5f, 64.9684f, 165.2f, 64.9461f, 165.9f, 64.9244f 20 path.cubicTo(SkBits2Float(0x4326999a), SkBits2Float(0x4281ce2c), SkBits2Float(0x43274ccd), SkBits2Float(0x4281c15d), SkBits2Float(0x43280000), SkBits2Float(0x4281b8cb)); // 166.6f, 64.9027f, 167.3f, 64.8777f, 168, 64.8609f 21 path.cubicTo(SkBits2Float(0x4328b333), SkBits2Float(0x4281b039), SkBits2Float(0x43296666), SkBits2Float(0x4281a66d), SkBits2Float(0x432a199a), SkBits2Float(0x4281a5dd)); // 168.7f, 64.8442f, 169.4f, 64.8251f, 170.1f, 64.824f 22 path.cubicTo(SkBits2Float(0x432acccd), SkBits2Float(0x4281a54c), SkBits2Float(0x432b8000), SkBits2Float(0x4281aecf), SkBits2Float(0x432c3333), SkBits2Float(0x4281b566)); // 170.8f, 64.8228f, 171.5f, 64.8414f, 172.2f, 64.8543f 23 path.cubicTo(SkBits2Float(0x432ce666), SkBits2Float(0x4281bbfe), SkBits2Float(0x432d999a), SkBits2Float(0x4281c612), SkBits2Float(0x432e4ccd), SkBits2Float(0x4281cd6b)); // 172.9f, 64.8672f, 173.6f, 64.8869f, 174.3f, 64.9012f 24 path.cubicTo(SkBits2Float(0x432f0000), SkBits2Float(0x4281d4c4), SkBits2Float(0x432fb333), SkBits2Float(0x4281dc73), SkBits2Float(0x43306666), SkBits2Float(0x4281e17e)); // 175, 64.9156f, 175.7f, 64.9306f, 176.4f, 64.9404f 25 path.cubicTo(SkBits2Float(0x4331199a), SkBits2Float(0x4281e688), SkBits2Float(0x4331cccd), SkBits2Float(0x4281e (…) [all...] |
PathOpsOpTest.cpp | 36 path.cubicTo(0,2, 1,0, 1,0); 40 pathB.cubicTo(0,1, 1,0, 2,0); 49 path.cubicTo(0,1, 1,0, 1,0); 53 pathB.cubicTo(0,1, 2,0, 1,0); 62 path.cubicTo(2,3, 1,0, 1,0); 66 pathB.cubicTo(0,1, 1,0, 3,2); 75 path.cubicTo(0,2, 1,0, 2,0); 79 pathB.cubicTo(0,2, 1,0, 2,0); 88 path.cubicTo(0,6, 1,0, 3,0); 92 pathB.cubicTo(0,3, 1,0, 6,0) [all...] |
PathOpsOpCubicThreadedTest.cpp | 32 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), 37 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), 53 str += sprintf(str, " path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD, 60 str += sprintf(str, " pathB.cubicTo(%d,%d, %d,%d, %d,%d);\n", c, d,
|
IsClosedSingleContourTest.cpp | 33 p.cubicTo(50, 50, 60, 60, 70, 70);
|
PathOpsOpLoopThreadedTest.cpp | 61 str += sprintf(str, " path.cubicTo(%d,%d, ", c, d); 68 str += sprintf(str, " pathB.cubicTo("); 79 pathA.cubicTo(SkIntToScalar(c), SkIntToScalar(d), endC.fX, endC.fY, endD.fX, endD.fY); 82 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathsCacheActivity.java | 57 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 58 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 59 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); 70 path.cubicTo(0.0f, 0.0f, 10000.0f, 15000.0f, 10000.0f, 20000.0f); 71 path.cubicTo(10000.0f, 20000.0f, 5000.0f, 30000.0f, -8000.0f, 20000.0f); 72 path.cubicTo(-8000.0f, 20000.0f, 10000.0f, 20000.0f, 20000.0f, 0.0f);
|
ClearActivity.java | 60 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 61 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 62 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
|
ScaledPathsActivity.java | 53 mPath.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 54 mPath.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 55 mPath.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
|
ScaledTextActivity.java | 88 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 89 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 90 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
HeadsUpAppearInterpolator.java | 40 path.cubicTo(x1 * 0.9f / xTot, 0f, 43 path.cubicTo((x1 + x2 * 0.4f) / xTot, y1 / y3, 46 path.cubicTo((x1 + x2 + x3 * 0.4f) / xTot, y2 / y3,
|
/external/skia/src/pathops/ |
SkPathWriter.h | 17 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
|
/frameworks/base/libs/hwui/tests/unit/ |
VectorDrawableTests.cpp | 82 outPath->cubicTo(8.0, 8.0, 8.0, 8.0, 8.0, 8.0); 84 outPath->cubicTo(16.0, 16.0, 9.0, 9.0, 9.0, 9.0); 86 outPath->cubicTo(18.447775037328352, 20.404243860300607, 17.998389141249767, 22.8911717921705, 16.737515350332117, 24.986664170401575); 87 outPath->cubicTo(15.476641559414468, 27.08215654863265, 13.489843598291483, 28.644011882390082, 11.155893964798905, 29.37447073281729); 88 outPath->cubicTo(8.821944331306327, 30.1049295832445, 6.299226382436471, 29.954422532383525, 4.0686829203897235, 28.951642951534332); 89 outPath->cubicTo(1.838139458342976, 27.94886337068514, 0.05113662931485696, 26.161860541657013, -0.9516429515343354, 23.931317079610267); 90 outPath->cubicTo(-1.9544225323835278, 21.70077361756352, -2.1049295832444987, 19.178055668693663, -1.37447073281729, 16.844106035201087); 91 outPath->cubicTo(-0.6440118823900814, 14.51015640170851, 0.9178434513673546, 12.523358440585524, 3.0133358295984305, 11.262484649667876); 92 outPath->cubicTo(5.108828207829506, 10.001610858750228, 7.5957561396993984, 9.552224962671648, 10.000000000000005, 10.0); 93 outPath->cubicTo(10.0, 7.348852265086975, 11.054287646850167, 4.803576729418881, 12.928932188134523, 2.928932188134 (…) [all...] |
/external/skia/samplecode/ |
SampleStrokePath.cpp | 192 p.cubicTo(x-75*r, y+75*r, x-40*r, y+125*r, x, y+85*r); 193 p.cubicTo(x+40*r, y+125*r, x+75*r, y+75*r, x, y); 195 p.cubicTo(x+75*r, y+75*r, x+40*r, y+125*r, x, y+85*r); 196 p.cubicTo(x-40*r, y+125*r, x-75*r, y+75*r, x, y);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
LinearColorBar.java | 215 mColorPath.cubicTo(indicatorLeft, midBottomY, 219 mColorPath.cubicTo(width+xoff-1, midTopY, 225 mEdgePath.cubicTo(-xoff+lineOffset, midTopY, 229 mEdgePath.cubicTo(width+xoff-1-lineOffset, midTopY,
|
/external/skia/bench/ |
BezierBench.cpp | 73 fRec.fCubic.cubicTo(40, 20, 60, 40, 60, 60); 74 fRec.fCubic.cubicTo(40, 60, 20, 80, 20, 100);
|