/external/skqp/tests/ |
PathMeasureTest.cpp | 24 SkPathMeasure meas(path, false); 25 meas.getLength(); 40 SkPathMeasure meas(path, false); 41 meas.getLength(); 58 SkPathMeasure meas(path, false); 73 meas.getLength(); 84 SkPathMeasure meas(path, true); 85 SkScalar length = meas.getLength(); 91 meas.setPath(&path, false); 92 length = meas.getLength() [all...] |
/external/skia/src/effects/ |
SkDiscretePathEffect.cpp | 88 SkPathMeasure meas(src, doFill); 91 uint32_t seed = fSeedAssist ^ SkScalarRoundToInt(meas.getLength()); 99 SkScalar length = meas.getLength(); 102 meas.getSegment(0, length, dst, true); // to short for us to mangle 110 if (meas.isClosed()) { 115 if (meas.getPosTan(distance, &p, &v)) { 121 if (meas.getPosTan(distance, &p, &v)) { 126 if (meas.isClosed()) { 130 } while (meas.nextContour());
|
Sk1DPathEffect.cpp | 21 SkPathMeasure meas(src, false); 24 SkScalar length = meas.getLength(); 27 SkScalar delta = this->next(dst, distance, meas); 33 } while (meas.nextContour()); 79 SkPathMeasure& meas, SkScalar dist) { 87 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { 109 static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, 118 if (morphpoints(dstP, srcP, 1, meas, dist)) { 128 if (morphpoints(dstP, &srcP[1], 2, meas, dist)) { 133 if (morphpoints(dstP, &srcP[1], 2, meas, dist)) [all...] |
SkTrimPathEffect.cpp | 65 SkPathMeasure meas(src, false); 67 len += meas.getLength(); 68 } while (meas.nextContour());
|
/external/skqp/src/effects/ |
SkDiscretePathEffect.cpp | 88 SkPathMeasure meas(src, doFill); 91 uint32_t seed = fSeedAssist ^ SkScalarRoundToInt(meas.getLength()); 99 SkScalar length = meas.getLength(); 102 meas.getSegment(0, length, dst, true); // to short for us to mangle 110 if (meas.isClosed()) { 115 if (meas.getPosTan(distance, &p, &v)) { 121 if (meas.getPosTan(distance, &p, &v)) { 126 if (meas.isClosed()) { 130 } while (meas.nextContour());
|
Sk1DPathEffect.cpp | 21 SkPathMeasure meas(src, false); 24 SkScalar length = meas.getLength(); 27 SkScalar delta = this->next(dst, distance, meas); 33 } while (meas.nextContour()); 79 SkPathMeasure& meas, SkScalar dist) { 87 if (!meas.getPosTan(dist + sx, &pos, &tangent)) { 109 static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, 118 if (morphpoints(dstP, srcP, 1, meas, dist)) { 128 if (morphpoints(dstP, &srcP[1], 2, meas, dist)) { 133 if (morphpoints(dstP, &srcP[1], 2, meas, dist)) [all...] |
SkTrimPathEffect.cpp | 65 SkPathMeasure meas(src, false); 67 len += meas.getLength(); 68 } while (meas.nextContour());
|
/external/skia/tests/ |
PathMeasureTest.cpp | 24 SkPathMeasure meas(path, false); 25 meas.getLength(); 40 SkPathMeasure meas(path, false); 41 meas.getLength(); 58 SkPathMeasure meas(path, false); 73 meas.getLength(); 84 SkPathMeasure meas(path, true); 85 SkScalar length = meas.getLength(); 91 meas.setPath(&path, false); 92 length = meas.getLength() [all...] |
/external/autotest/client/site_tests/power_Status/ |
power_Status.py | 18 meas = [power_status.SystemPower(status.battery_path)] 19 plog = power_status.PowerLogger(meas, seconds_period=1)
|
/external/skia/src/utils/ |
SkDashPath.cpp | 367 SkPathMeasure meas(*srcPtr, false, rec->getResScale()); 370 bool skipFirstSegment = meas.isClosed(); 372 SkScalar length = meas.getLength(); 406 meas.getSegment(SkDoubleToScalar(distance), 428 if (meas.isClosed() && is_even(initialDashIndex) && 430 meas.getSegment(0, initialDashLength, dst, !addedSegment); 433 } while (meas.nextContour());
|
/external/skqp/src/utils/ |
SkDashPath.cpp | 367 SkPathMeasure meas(*srcPtr, false, rec->getResScale()); 370 bool skipFirstSegment = meas.isClosed(); 372 SkScalar length = meas.getLength(); 406 meas.getSegment(SkDoubleToScalar(distance), 428 if (meas.isClosed() && is_even(initialDashIndex) && 430 meas.getSegment(0, initialDashLength, dst, !addedSegment); 433 } while (meas.nextContour());
|
/external/skia/gm/ |
OverStroke.cpp | 93 SkPathMeasure meas(path, false); 94 SkScalar length = meas.getLength(); 98 if (meas.getPosTan(accum, &pos, &tan)) {
|
arcto.cpp | 222 SkPathMeasure meas(path, false); 223 SkScalar length = meas.getLength();
|
addarc.cpp | 93 SkPathMeasure meas(path, false); 96 if (meas.getPosTan(arcLen, &pos, nullptr)) {
|
drawatlas.cpp | 110 SkPathMeasure meas(path, false); 133 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) {
|
/external/skqp/gm/ |
OverStroke.cpp | 93 SkPathMeasure meas(path, false); 94 SkScalar length = meas.getLength(); 98 if (meas.getPosTan(accum, &pos, &tan)) {
|
arcto.cpp | 222 SkPathMeasure meas(path, false); 223 SkScalar length = meas.getLength();
|
addarc.cpp | 93 SkPathMeasure meas(path, false); 96 if (meas.getPosTan(arcLen, &pos, nullptr)) {
|
drawatlas.cpp | 110 SkPathMeasure meas(path, false); 133 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) {
|
/external/skia/samplecode/ |
SamplePatch.cpp | 337 auto meas = SkContourMeasureIter(path, false).next(); local 338 if (!meas) { 348 for (SkScalar distance = 0; distance < meas->length(); distance += step) { 350 if (!meas->getMatrix(distance, &mx)) {
|
SampleQuadStroker.cpp | 322 SkPathMeasure meas(path, false); 323 SkScalar total = meas.getLength(); 333 if (meas.getPosTan(dist, &pos, &tan)) { 355 SkPathMeasure meas(path, false); 356 SkScalar total = meas.getLength();
|
/external/skqp/samplecode/ |
SampleQuadStroker.cpp | 322 SkPathMeasure meas(path, false); 323 SkScalar total = meas.getLength(); 333 if (meas.getPosTan(dist, &pos, &tan)) { 355 SkPathMeasure meas(path, false); 356 SkScalar total = meas.getLength();
|
/external/autotest/client/cros/power/ |
power_status.py | [all...] |