/external/skia/gm/ |
bigtext.cpp | 43 canvas->drawText("/", 1, pos.fX, pos.fY, paint);
|
twopointradial.cpp | 36 SkScalarToFloat(c0.fX), SkScalarToFloat(c0.fY), SkScalarToFloat(r0), 37 SkScalarToFloat(c1.fX), SkScalarToFloat(c1.fY), SkScalarToFloat(r1)); 49 canvas->drawCircle(c0.fX, c0.fY, r0, paint); 50 canvas->drawCircle(c1.fX, c1.fY, r1, paint);
|
rrect.cpp | 30 radii[i].fY -= dy; 68 if (radii[i].fY) { 69 radii[i].fY -= dy; 94 radii[i].fY = prop(radii[i].fY, r.height(), src.rect().height());
|
/external/skia/src/core/ |
SkBitmapFilter.cpp | 37 srcPt.fY -= SK_ScalarHalf; 42 int y0 = SkClampMax(SkScalarCeilToInt(srcPt.fY-s.getBitmapFilter()->width()), maxY); 43 int y1 = SkClampMax(SkScalarFloorToInt(srcPt.fY+s.getBitmapFilter()->width()+1), maxY); 48 SkScalar yWeight = s.getBitmapFilter()->lookupScalar((srcPt.fY - srcY));
|
SkEdge.h | 95 y0 = int(p0.fY * scale); 97 y1 = int(p1.fY * scale); 101 y0 = p0.fY >> shift; 103 y1 = p1.fY >> shift;
|
SkPathMeasure.cpp | 64 SkScalar dy = SkScalarHalf(pts[1].fY) - 65 SkScalarHalf(SkScalarHalf(pts[0].fY + pts[2].fY)); 73 SkScalar dist = SkMaxScalar(SkScalarAbs(x - pt.fX), SkScalarAbs(y - pt.fY)); 81 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1/3)) 85 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1*2/3)); 252 SkScalarInterp(pts[0].fY, pts[1].fY, t)) [all...] |
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 212 SkScalar y0 = fPts[0].fY + SkScalarMul(fTangent.fY, d0); 213 SkScalar y1 = fPts[0].fY + SkScalarMul(fTangent.fY, d1); 216 pts[0].set(x0 + fNormal.fX, y0 + fNormal.fY); // moveTo 217 pts[1].set(x1 + fNormal.fX, y1 + fNormal.fY); // lineTo 218 pts[2].set(x1 - fNormal.fX, y1 - fNormal.fY); // lineTo 219 pts[3].set(x0 - fNormal.fX, y0 - fNormal.fY); // lineTo 400 } else if (SK_Scalar1 == tangent.fY || -SK_Scalar1 == tangent.fY) { [all...] |
Sk1DPathEffect.cpp | 87 SkScalar sy = src[i].fY; 97 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0); 99 matrix.postTranslate(pos.fX, pos.fY); 127 SkScalarAve(srcP[0].fY, srcP[2].fY)); 183 dst->addPath(fPath, pos.fX, pos.fY);
|
/external/skia/src/views/animated/ |
SkStaticTextView.cpp | 47 this->setHeight(lines * fPaint.getFontSpacing() + fMargin.fY * 2); 76 if (fMargin.fX != dx || fMargin.fY != dy) 147 box.setBox(fMargin.fX, fMargin.fY, this->width() - fMargin.fX, this->height() - fMargin.fY);
|
/external/icu4c/layout/ |
ValueRecords.cpp | 52 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 62 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 72 yAdvanceAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 82 yAdvanceAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 156 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 166 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 176 yAdvanceAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 186 yAdvanceAdjustment += fontInstance->yPixelsToUnits(pixels.fY);
|
GlyphPositionAdjustments.cpp | 98 exitAnchor.fX = exitAnchor.fY = 0; 112 float anchorDiffY = exitAnchor.fY - entryAnchor.fY;
|
/external/chromium_org/third_party/skia/src/effects/ |
Sk1DPathEffect.cpp | 87 SkScalar sy = src[i].fY; 97 matrix.setSinCos(tangent.fY, tangent.fX, 0, 0); 99 matrix.postTranslate(pos.fX, pos.fY); 127 SkScalarAve(srcP[0].fY, srcP[2].fY)); 183 dst->addPath(fPath, pos.fX, pos.fY);
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsSimplify.cpp | 25 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); 26 topLeft.fX = topLeft.fY = SK_ScalarMin; 60 current->debugID(), current->xyAtT(index).fX, current->xyAtT(index).fY, 61 current->xyAtT(endIndex).fX, current->xyAtT(endIndex).fY); 124 current->debugID(), current->xyAtT(start).fX, current->xyAtT(start).fY, 125 current->xyAtT(end).fX, current->xyAtT(end).fY);
|
SkDQuadIntersection.cpp | 29 SkDQuad::SetABC(&q[0].fY, &d, &e, &f); 97 double origY = endPt[0]->fY; 99 double opp = endPt[1]->fY - origY; 100 double sign = (q1[oddMan].fY - origY) * adj - (q1[oddMan].fX - origX) * opp; 105 double test = (q2[n].fY - origY) * adj - (q2[n].fX - origX) * opp; 304 t1Seed, t2Seed, t1[1].fX, t1[1].fY, t2[1].fX, t2[1].fY); 364 t1Seed, t2Seed, t1[1].fX, t1[1].fY, t1[2].fX, t1[2].fY); 380 tmpLine[1].fX += q2[1].fY - q2[testTIndex].fY [all...] |
SkDCubicIntersection.cpp | 36 " t=(%1.9g,%1.9g)\n", __FUNCTION__, cubic[0].fX, cubic[0].fY, 37 cubic[1].fX, cubic[1].fY, cubic[2].fX, cubic[2].fY, 38 cubic[3].fX, cubic[3].fY, tStart, tEnd); 41 part[0].fX, part[0].fY, part[1].fX, part[1].fY, part[2].fX, part[2].fY, 42 part[3].fX, part[3].fY, quad[0].fX, quad[0].fY, 43 quad[1].fX, quad[1].fY, quad[2].fX, quad[2].fY) [all...] |
/external/skia/src/pathops/ |
SkPathOpsSimplify.cpp | 25 SkASSERT(topLeft.fX != SK_ScalarMin && topLeft.fY != SK_ScalarMin); 26 topLeft.fX = topLeft.fY = SK_ScalarMin; 60 current->debugID(), current->xyAtT(index).fX, current->xyAtT(index).fY, 61 current->xyAtT(endIndex).fX, current->xyAtT(endIndex).fY); 124 current->debugID(), current->xyAtT(start).fX, current->xyAtT(start).fY, 125 current->xyAtT(end).fX, current->xyAtT(end).fY);
|
SkDQuadIntersection.cpp | 29 SkDQuad::SetABC(&q[0].fY, &d, &e, &f); 97 double origY = endPt[0]->fY; 99 double opp = endPt[1]->fY - origY; 100 double sign = (q1[oddMan].fY - origY) * adj - (q1[oddMan].fX - origX) * opp; 105 double test = (q2[n].fY - origY) * adj - (q2[n].fX - origX) * opp; 304 t1Seed, t2Seed, t1[1].fX, t1[1].fY, t2[1].fX, t2[1].fY); 364 t1Seed, t2Seed, t1[1].fX, t1[1].fY, t1[2].fX, t1[2].fY); 380 tmpLine[1].fX += q2[1].fY - q2[testTIndex].fY [all...] |
SkDCubicIntersection.cpp | 36 " t=(%1.9g,%1.9g)\n", __FUNCTION__, cubic[0].fX, cubic[0].fY, 37 cubic[1].fX, cubic[1].fY, cubic[2].fX, cubic[2].fY, 38 cubic[3].fX, cubic[3].fY, tStart, tEnd); 41 part[0].fX, part[0].fY, part[1].fX, part[1].fY, part[2].fX, part[2].fY, 42 part[3].fX, part[3].fY, quad[0].fX, quad[0].fY, 43 quad[1].fX, quad[1].fY, quad[2].fX, quad[2].fY) [all...] |
/external/skia/tests/ |
ClipperTest.cpp | 97 SkDebugf("----- [%d] %g %g -> %g %g\n", i/2, dst[0].fX, dst[0].fY, dst[1].fX, dst[1].fY); 121 SkDebugf("++++ [%d] %g %g -> %g %g\n", i/2, dst[0].fX, dst[0].fY, dst[1].fX, dst[1].fY); 140 SkDebugf("++++ [%d] %g %g -> %g %g\n", i/2, dst[0].fX, dst[0].fY, dst[1].fX, dst[1].fY);
|
PointTest.cpp | 95 SkDebugf("length(%g, %g) == %g\n", pt.fX, pt.fY, length); 126 SkScalar fY; 134 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fLength);
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkTwoPointRadialGradient.cpp | 85 inline SkFixed two_point_radial(SkScalar b, SkScalar fx, SkScalar fy, 88 SkScalar c = SkScalarSquare(fx) + SkScalarSquare(fy) - sr2d2; 108 SkScalar fy, SkScalar dy, 115 SkScalar fy, SkScalar dy, 121 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, 127 fy += dy; 132 SkScalar fy, SkScalar dy, 138 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, 144 fy += dy; 150 SkScalar fy, SkScalar dy 280 SkScalar fy = srcPt.fY; local [all...] |
/external/skia/src/effects/gradients/ |
SkTwoPointRadialGradient.cpp | 85 inline SkFixed two_point_radial(SkScalar b, SkScalar fx, SkScalar fy, 88 SkScalar c = SkScalarSquare(fx) + SkScalarSquare(fy) - sr2d2; 108 SkScalar fy, SkScalar dy, 115 SkScalar fy, SkScalar dy, 121 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, 127 fy += dy; 132 SkScalar fy, SkScalar dy, 138 SkFixed t = two_point_radial(b, fx, fy, fSr2D2, foura, 144 fy += dy; 150 SkScalar fy, SkScalar dy 280 SkScalar fy = srcPt.fY; local [all...] |
/external/chromium_org/third_party/skia/include/views/ |
SkView.h | 79 void setSize(const SkPoint& size) { this->setSize(size.fX, size.fY); } 88 canvas->translate(fLoc.fX, fLoc.fY); 94 SkScalar locY() const { return fLoc.fY; } 97 void setLoc(const SkPoint& loc) { this->setLoc(loc.fX, loc.fY); } 98 void setLocX(SkScalar x) { this->setLoc(x, fLoc.fY); } 106 canvas->translate(fLoc.fX, fLoc.fY); 214 return this->globalToLocal(pt->fX, pt->fY, pt);
|
/external/skia/include/views/ |
SkView.h | 79 void setSize(const SkPoint& size) { this->setSize(size.fX, size.fY); } 88 canvas->translate(fLoc.fX, fLoc.fY); 94 SkScalar locY() const { return fLoc.fY; } 97 void setLoc(const SkPoint& loc) { this->setLoc(loc.fX, loc.fY); } 98 void setLocX(SkScalar x) { this->setLoc(x, fLoc.fY); } 106 canvas->translate(fLoc.fX, fLoc.fY); 214 return this->globalToLocal(pt->fX, pt->fY, pt);
|
/external/chromium_org/third_party/skia/src/views/ |
SkTouchGesture.cpp | 44 unit->fY = SkScalarSignNonZero(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; 314 fLastUpP.fY - y) <= MAX_DBL_TAP_DISTANCE) {
|