/external/icu4c/layout/ |
MarkToMarkPosnSubtables.cpp | 79 float anchorDiffY = mark2Anchor.fY - markAnchor.fY; 84 glyphIterator->setCurrGlyphPositionAdjustment(anchorDiffX, anchorDiffY, -markAdvance.fX, -markAdvance.fY); 91 glyphIterator->setCurrGlyphPositionAdjustment(anchorDiffX - mark2Advance.fX, anchorDiffY - mark2Advance.fY, -markAdvance.fX, -markAdvance.fY);
|
/external/skia/src/gpu/ |
FlingState.cpp | 44 unit->fY = SkScalarSign(unit->fY); 45 } else if (SkScalarAbs(unit->fY) < TOLERANCE) { 47 unit->fY = 0; 59 // printf("---- speed %g dir %g %g\n", fSpeed0, fDirection.fX, fDirection.fY); 80 float ty = fDirection.fY * dist;
|
GrPathUtils.cpp | 80 { SkScalarAve(p0.fX, p1.fX), SkScalarAve(p0.fY, p1.fY) }, 81 { SkScalarAve(p1.fX, p2.fX), SkScalarAve(p1.fY, p2.fY) }, 83 GrPoint r = { SkScalarAve(q[0].fX, q[1].fX), SkScalarAve(q[0].fY, q[1].fY) }; 132 { SkScalarAve(p0.fX, p1.fX), SkScalarAve(p0.fY, p1.fY) }, 133 { SkScalarAve(p1.fX, p2.fX), SkScalarAve(p1.fY, p2.fY) }, [all...] |
GrTextContext.cpp | 19 -clipData->fOrigin.fY,
|
/external/skia/src/pathops/ |
SkReduceOrder.cpp | 72 if (quad[minY].fY > quad[index].fY) { 78 if (quad[maxY].fY < quad[index].fY) { 86 if (AlmostEqualUlps(quad[index].fY, quad[minY].fY)) { 141 double dy10 = cubic[1].fY - cubic[0].fY; 142 double dy23 = cubic[2].fY - cubic[3].fY; [all...] |
/external/skia/tests/ |
PathOpsCubicIntersectionTest.cpp | 58 __FUNCTION__, (int)index, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); 314 cubic1[0].fX, cubic1[0].fY, cubic1[1].fX, cubic1[1].fY, 315 cubic1[2].fX, cubic1[2].fY, cubic1[3].fX, cubic1[3].fY); 317 cubic2[0].fX, cubic2[0].fY, cubic2[1].fX, cubic2[1].fY, 318 cubic2[2].fX, cubic2[2].fY, cubic2[3].fX, cubic2[3].fY); [all...] |
PathOpsQuadLineIntersectionTest.cpp | 36 double top = line[0].fY; 37 double bottom = line[1].fY; 43 } else if (line[0].fY == line[1].fY) { 50 result = intersections.horizontal(quad, left, right, line[0].fY, flipped); 138 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); 144 SkDebugf("%s t1=(%1.9g,%1.9g)\n", __FUNCTION__, t1.fX, t1.fY);
|
PathMeasureTest.cpp | 128 REPORTER_ASSERT(reporter, position.fY == 0); 130 REPORTER_ASSERT(reporter, tangent.fY == 0); 153 REPORTER_ASSERT(reporter, position.fY == 0); 155 REPORTER_ASSERT(reporter, tangent.fY == 0); 160 SkScalarNearlyEqual(position.fY, 1.5f)); 162 REPORTER_ASSERT(reporter, tangent.fY == SK_Scalar1); 169 SkScalarNearlyEqual(position.fY, 173 REPORTER_ASSERT(reporter, tangent.fY == 0); 189 REPORTER_ASSERT(reporter, position.fY == 0); 191 REPORTER_ASSERT(reporter, tangent.fY == 0) [all...] |
PathOpsCubicToQuadsTest.cpp | 59 || !AlmostEqualUlps(cubic[0].fY, quads[0][0].fY)) { 65 || !AlmostEqualUlps(cubic[3].fY, quads[last][2].fY)) { 82 || !AlmostEqualUlps(cubic[0].fY, quads[0][0].fY)) { 88 || !AlmostEqualUlps(cubic[3].fY, quads[last][2].fY)) { 177 {static_cast<float>(cubic[0].fX), static_cast<float>(cubic[0].fY)}, 178 {static_cast<float>(cubic[1].fX), static_cast<float>(cubic[1].fY)}, [all...] |
PathOpsDLineTest.cpp | 52 REPORTER_ASSERT(reporter, approximately_equal((line[0].fY + line[1].fY) / 2, mid.fY));
|
/external/chromium_org/third_party/skia/src/core/ |
SkPoint.cpp | 17 dst->fX = -fY; 18 dst->fY = tmp; 26 dst->fX = fY; 27 dst->fY = -tmp; 60 dst->fX = -fY; 61 dst->fY = tmp; 69 dst->fX = fY; 70 dst->fY = -tmp; 75 dst->set(SkScalarMul(fX, scale), SkScalarMul(fY, scale)); 79 return this->setLength(fX, fY, SK_Scalar1) [all...] |
SkStroke.cpp | 16 return !SkPoint::CanNormalize(v.fX, v.fY); 50 if (!unitNormal->setNormalize(after.fX - before.fX, after.fY - before.fY)) { 61 if (!unitNormal->setNormalize(vec.fX, vec.fY)) { 129 SkScalar prevY = fPrevPt.fY; 137 fFirstOuterPt.set(prevX + normal->fX, prevY + normal->fY); 139 fOuter.moveTo(fFirstOuterPt.fX, fFirstOuterPt.fY); 140 fInner.moveTo(prevX - normal->fX, prevY - normal->fY); 167 fOuter.moveTo(pt.fX, pt.fY); 231 fOuter.lineTo(currPt.fX + normal.fX, currPt.fY + normal.fY) [all...] |
SkMatrix.cpp | [all...] |
/external/skia/src/core/ |
SkPoint.cpp | 17 dst->fX = -fY; 18 dst->fY = tmp; 26 dst->fX = fY; 27 dst->fY = -tmp; 60 dst->fX = -fY; 61 dst->fY = tmp; 69 dst->fX = fY; 70 dst->fY = -tmp; 75 dst->set(SkScalarMul(fX, scale), SkScalarMul(fY, scale)); 79 return this->setLength(fX, fY, SK_Scalar1) [all...] |
SkStroke.cpp | 16 return !SkPoint::CanNormalize(v.fX, v.fY); 50 if (!unitNormal->setNormalize(after.fX - before.fX, after.fY - before.fY)) { 61 if (!unitNormal->setNormalize(vec.fX, vec.fY)) { 129 SkScalar prevY = fPrevPt.fY; 137 fFirstOuterPt.set(prevX + normal->fX, prevY + normal->fY); 139 fOuter.moveTo(fFirstOuterPt.fX, fFirstOuterPt.fY); 140 fInner.moveTo(prevX - normal->fX, prevY - normal->fY); 167 fOuter.moveTo(pt.fX, pt.fY); 231 fOuter.lineTo(currPt.fX + normal.fX, currPt.fY + normal.fY) [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkParsePath.cpp | 55 value[index].fY += relative->fY; 114 path.lineTo(x, c.fY); 119 data = find_scalar(data, &y, relative, c.fY); 121 c.fY = y; 131 points[0].fY -= lastc.fY - c.fY; 146 points[0].fY = c.fY * 2 - lastc.fY [all...] |
SkCamera.cpp | 66 float mag = sk_float_sqrt(fX*fX + fY*fY + fZ*fZ); 70 unit->fY = fY * scale; 73 unit->fX = unit->fY = unit->fZ = 0; 79 tmp2.setMul(fY, fY); 89 unit->fY = SkFixedMul(fY, scale); 92 unit->fX = unit->fY = unit->fZ = 0 [all...] |
/external/skia/src/utils/ |
SkParsePath.cpp | 55 value[index].fY += relative->fY; 114 path.lineTo(x, c.fY); 119 data = find_scalar(data, &y, relative, c.fY); 121 c.fY = y; 131 points[0].fY -= lastc.fY - c.fY; 146 points[0].fY = c.fY * 2 - lastc.fY [all...] |
SkCamera.cpp | 66 float mag = sk_float_sqrt(fX*fX + fY*fY + fZ*fZ); 70 unit->fY = fY * scale; 73 unit->fX = unit->fY = unit->fZ = 0; 79 tmp2.setMul(fY, fY); 89 unit->fY = SkFixedMul(fY, scale); 92 unit->fX = unit->fY = unit->fZ = 0 [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkOffsetImageFilter.cpp | 35 loc->fY += SkScalarRoundToInt(vec.fY); 57 canvas.drawBitmap(src, fOffset.fX - bounds.left(), fOffset.fY - bounds.top(), &paint); 60 loc->fY += bounds.top(); 71 dst->offset(SkScalarRoundToInt(vec.fX), SkScalarRoundToInt(vec.fY)); 89 SkScalarIsFinite(fOffset.fY));
|
/external/skia/src/effects/ |
SkOffsetImageFilter.cpp | 35 loc->fY += SkScalarRoundToInt(vec.fY); 57 canvas.drawBitmap(src, fOffset.fX - bounds.left(), fOffset.fY - bounds.top(), &paint); 60 loc->fY += bounds.top(); 71 dst->offset(SkScalarRoundToInt(vec.fX), SkScalarRoundToInt(vec.fY)); 89 SkScalarIsFinite(fOffset.fY));
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrPathUtils.cpp | 80 { SkScalarAve(p0.fX, p1.fX), SkScalarAve(p0.fY, p1.fY) }, 81 { SkScalarAve(p1.fX, p2.fX), SkScalarAve(p1.fY, p2.fY) }, 83 GrPoint r = { SkScalarAve(q[0].fX, q[1].fX), SkScalarAve(q[0].fY, q[1].fY) }; 132 { SkScalarAve(p0.fX, p1.fX), SkScalarAve(p0.fY, p1.fY) }, 133 { SkScalarAve(p1.fX, p2.fX), SkScalarAve(p1.fY, p2.fY) }, [all...] |
GrTextContext.cpp | 19 -clipData->fOrigin.fY,
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawMatrix.h | 46 fMatrix.preRotate(degrees, center.fX, center.fY); 54 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY); 58 fMatrix.preSkew(skewX, skewY, center.fX, center.fY);
|
/external/skia/src/animator/ |
SkDrawMatrix.h | 46 fMatrix.preRotate(degrees, center.fX, center.fY); 54 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY); 58 fMatrix.preSkew(skewX, skewY, center.fX, center.fY);
|