Home
last modified time | relevance | path

Searched refs:oneThird (Results 1 – 8 of 8) sorted by relevance

/external/skqp/src/pathops/
DSkLineParameters.h139 double oneThird = 1 / 3.0; in cubicDistanceY() local
141 distance[index].fX = index * oneThird; in cubicDistanceY()
/external/skia/src/pathops/
DSkLineParameters.h139 double oneThird = 1 / 3.0; in cubicDistanceY() local
141 distance[index].fX = index * oneThird; in cubicDistanceY()
/external/skia/tests/
DDrawBitmapRectTest.cpp96 const SkScalar oneThird = SK_Scalar1 / 3; in test_treatAsSprite() local
97 const SkScalar smallScale = (size.width() + oneThird) / size.width(); in test_treatAsSprite()
/external/skqp/tests/
DDrawBitmapRectTest.cpp95 const SkScalar oneThird = SK_Scalar1 / 3; in test_treatAsSprite() local
96 const SkScalar smallScale = (size.width() + oneThird) / size.width(); in test_treatAsSprite()
/external/skqp/src/core/
DSkEdge.cpp345 SkFDot6 oneThird = (a*8 - b*15 + 6*c + d) * 19 >> 9; in cubic_delta_from_line() local
348 return SkMax32(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()
DSkScan_Hairline.cpp322 const Sk2s oneThird(1.0f / 3.0f); in compute_cubic_segs() local
325 Sk2s p13 = oneThird * p3 + twoThird * p0; in compute_cubic_segs()
326 Sk2s p23 = oneThird * p0 + twoThird * p3; in compute_cubic_segs()
/external/skia/src/core/
DSkEdge.cpp345 SkFDot6 oneThird = (a*8 - b*15 + 6*c + d) * 19 >> 9; in cubic_delta_from_line() local
348 return std::max(SkAbs32(oneThird), SkAbs32(twoThird)); in cubic_delta_from_line()
DSkScan_Hairline.cpp322 const Sk2s oneThird(1.0f / 3.0f); in compute_cubic_segs() local
325 Sk2s p13 = oneThird * p3 + twoThird * p0; in compute_cubic_segs()
326 Sk2s p23 = oneThird * p0 + twoThird * p3; in compute_cubic_segs()