/external/skia/gm/ |
stringart.cpp | 47 length*SkScalarSin(step) + center.fY);
|
/external/skia/src/core/ |
SkRasterizer.cpp | 31 storage.inset(-margin.fX, -margin.fY);
|
SkRect.cpp | 85 t = b = SkScalarAs2sCompliment(pts[0].fY); 89 int32_t y = SkScalarAs2sCompliment(pts[i].fY); 102 t = b = pts[0].fY; 111 SkScalar y = pts[i].fY;
|
SkAAClip.cpp | 54 int32_t fY; 102 yoff->fY = bounds.height() - 1; 152 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1; 168 fBottom += curr->fY - prev->fY; 208 SkASSERT(prevY < yoff->fY); 209 SkASSERT(yoff->fY <= lastY); 210 prevY = yoff->fY; 220 SkASSERT(yoff->fY == lastY); 506 int dy = yoff[skip - 1].fY + 1 [all...] |
SkDraw.cpp | 350 int y = SkScalarFloorToInt(devPts[i].fY); 371 int y = SkScalarFloorToInt(devPts[i].fY); 392 int y = SkScalarFloorToInt(devPts[i].fY); 403 int y = SkScalarFloor(devPts[i].fY); 447 SkFixed y = SkScalarToFixed(devPts[i].fY); 464 SkFixed y = SkScalarToFixed(devPts[i].fY); 658 preMatrix.setTranslate(pts[i].fX, pts[i].fY); 674 r.fTop = pts[i].fY - radius; 724 if (pointData.fSize.fX == pointData.fSize.fY) { 757 pointData.fPoints[i].fY - pointData.fSize.fY 1799 SkFixed fy = SkScalarToFixed(y) + d1g.fHalfSampleY; local 2089 SkFixed fy = SkScalarToFixed(tms.fLoc.fY) + d1g.fHalfSampleY; local 2113 SkFixed fy = fixedLoc.fY + d1g.fHalfSampleY; local [all...] |
/external/skia/src/effects/ |
SkPictureImageFilter.cpp | 75 offset->fY += bounds.fTop;
|
/external/skia/src/gpu/ |
GrAAConvexPathRenderer.cpp | 81 SkScalar t = SkScalarMul(pi.fX, pj.fY) - SkScalarMul(pj.fX, pi.fY); 84 center.fY += (pi.fY + pj.fY) * t; 96 avg.fY += pt.fY; 105 center.fY = SkScalarMul(center.fY, area); 109 SkASSERT(!SkScalarIsNaN(c->fX) && !SkScalarIsNaN(c->fY)); [all...] |
GrAtlas.cpp | 67 loc->fY += offset.fY * GR_ATLAS_HEIGHT; 105 loc->fX, loc->fY, dstW, dstH, 111 loc->fY += BORDER; 242 // GrPrintf(" GrPlot %p [%d %d] %d\n", this, alloc->fOffset.fX, alloc->fOffset.fY, gCounter); 259 // GrPrintf("~GrPlot %p [%d %d] %d\n", this, plot->fOffset.fX, plot->fOffset.fY, gCounter);
|
GrAtlas.h | 35 int getOffsetY() const { return fOffset.fY; }
|
GrAAHairLinePathRenderer.cpp | 526 SkScalar wInv = SkScalarMul(normA.fX, normB.fY) - 527 SkScalarMul(normA.fY, normB.fX); 530 result->fX = SkScalarMul(normA.fY, lineBW) - SkScalarMul(lineAW, normB.fY); 533 result->fY = SkScalarMul(lineAW, normB.fX) - SkScalarMul(normA.fX, lineBW); 534 result->fY = SkScalarMul(result->fY, wInv); 632 verts[i].fConic.fK = pnt.fX * klm[0] + pnt.fY * klm[1] + klm[2]; 633 verts[i].fConic.fL = pnt.fX * klm[3] + pnt.fY * klm[4] + klm[5]; 634 verts[i].fConic.fM = pnt.fX * klm[6] + pnt.fY * klm[7] + klm[8] [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkOpAngle.cpp | 220 fSegment->debugID(), rh.fSegment->debugID(), useThis, ray[0].fX, ray[0].fY, 221 ray[1].fX, ray[1].fY, "-+"[fSide > 0]); 229 best, dist, loc.fX, loc.fY, dxy.fX, dxy.fY); 244 best, dist, "><"[fSide < 0], rLoc.fX, rLoc.fY, dxy.fX, dxy.fY); 404 fStart, iPt.fX, iPt.fY, fEnd, ePt.fX, ePt.fY); 416 smaller, iPt.fX, iPt.fY, fEnd, ePt.fX, ePt.fY); [all...] |
SkOpSegment.cpp | 131 if (topPt.fY > xy.fY || (topPt.fY == xy.fY && topPt.fX > xy.fX)) { 139 if (topPt.fY > curveTop.fY || (topPt.fY == curveTop.fY 255 xyAtT(tIndexStart).fY); 265 xyAtT(tIndex).fY); [all...] |
/external/skia/bench/ |
benchmain.cpp | 165 bitmap.setConfig(config, size.fX, size.fY); 179 desc.fHeight = size.fY; 520 canvas.reset(SkRef(recordTo.beginRecording(dim.fX, dim.fY, kRecordFlags))); 523 bench->draw(1, recordFrom.beginRecording(dim.fX, dim.fY, kRecordFlags)); 525 canvas.reset(SkRef(recordTo.beginRecording(dim.fX, dim.fY, kRecordFlags))); 537 if (FLAGS_clip) { performClip(canvas, dim.fX, dim.fY); } 538 if (FLAGS_scale) { performScale(canvas, dim.fX, dim.fY); } 539 if (FLAGS_rotate) { performRotate(canvas, dim.fX, dim.fY); } 544 writer.bench(bench->getName(), dim.fX, dim.fY); 583 canvas.reset(recordTo.beginRecording(dim.fX, dim.fY, kRecordFlags)) [all...] |
/external/skia/src/pathops/ |
SkOpAngle.cpp | 220 fSegment->debugID(), rh.fSegment->debugID(), useThis, ray[0].fX, ray[0].fY, 221 ray[1].fX, ray[1].fY, "-+"[fSide > 0]); 229 best, dist, loc.fX, loc.fY, dxy.fX, dxy.fY); 244 best, dist, "><"[fSide < 0], rLoc.fX, rLoc.fY, dxy.fX, dxy.fY); 404 fStart, iPt.fX, iPt.fY, fEnd, ePt.fX, ePt.fY); 416 smaller, iPt.fX, iPt.fY, fEnd, ePt.fX, ePt.fY); [all...] |
SkOpSegment.cpp | 131 if (topPt.fY > xy.fY || (topPt.fY == xy.fY && topPt.fX > xy.fX)) { 139 if (topPt.fY > curveTop.fY || (topPt.fY == curveTop.fY 255 xyAtT(tIndexStart).fY); 265 xyAtT(tIndex).fY); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrAAHairLinePathRenderer.cpp | 526 SkScalar wInv = SkScalarMul(normA.fX, normB.fY) - 527 SkScalarMul(normA.fY, normB.fX); 530 result->fX = SkScalarMul(normA.fY, lineBW) - SkScalarMul(lineAW, normB.fY); 533 result->fY = SkScalarMul(lineAW, normB.fX) - SkScalarMul(normA.fX, lineBW); 534 result->fY = SkScalarMul(result->fY, wInv); 632 verts[i].fConic.fK = pnt.fX * klm[0] + pnt.fY * klm[1] + klm[2]; 633 verts[i].fConic.fL = pnt.fX * klm[3] + pnt.fY * klm[4] + klm[5]; 634 verts[i].fConic.fM = pnt.fX * klm[6] + pnt.fY * klm[7] + klm[8] [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkAAClip.cpp | 54 int32_t fY; 102 yoff->fY = bounds.height() - 1; 152 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1; 168 fBottom += curr->fY - prev->fY; 208 SkASSERT(prevY < yoff->fY); 209 SkASSERT(yoff->fY <= lastY); 210 prevY = yoff->fY; 220 SkASSERT(yoff->fY == lastY); 506 int dy = yoff[skip - 1].fY + 1 [all...] |
SkDraw.cpp | 350 int y = SkScalarFloorToInt(devPts[i].fY); 371 int y = SkScalarFloorToInt(devPts[i].fY); 392 int y = SkScalarFloorToInt(devPts[i].fY); 403 int y = SkScalarFloor(devPts[i].fY); 447 SkFixed y = SkScalarToFixed(devPts[i].fY); 464 SkFixed y = SkScalarToFixed(devPts[i].fY); 658 preMatrix.setTranslate(pts[i].fX, pts[i].fY); 674 r.fTop = pts[i].fY - radius; 724 if (pointData.fSize.fX == pointData.fSize.fY) { 757 pointData.fPoints[i].fY - pointData.fSize.fY 1799 SkFixed fy = SkScalarToFixed(y) + d1g.fHalfSampleY; local 2089 SkFixed fy = SkScalarToFixed(tms.fLoc.fY) + d1g.fHalfSampleY; local 2113 SkFixed fy = fixedLoc.fY + d1g.fHalfSampleY; local [all...] |
/external/chromium_org/skia/ext/ |
analysis_canvas_unittest.cc | 313 canvas.drawText(text, byteLength, point.fX, point.fY, paint); 327 canvas.drawPosTextH(text, byteLength, &point.fX, point.fY, paint); 334 canvas.drawTextOnPathHV(text, byteLength, path, point.fX, point.fY, paint); 348 canvas.drawText(text, byteLength, point.fX, point.fY, paint); 357 canvas.drawText(text, byteLength, point.fX, point.fY, paint); 368 canvas.drawText(text, byteLength, point.fX, point.fY, paint); 379 canvas.drawText(text, byteLength, point.fX, point.fY, paint); 389 canvas.drawText(text, byteLength, point.fX, point.fY, paint); 397 canvas.drawText(text, byteLength, point.fX, point.fY, paint);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkDumpCanvas.cpp | 68 str->appendf(" M%g,%g", pts[0].fX, pts[0].fY); 71 str->appendf(" L%g,%g", pts[0].fX, pts[0].fY); 74 str->appendf(" Q%g,%g,%g,%g", pts[1].fX, pts[1].fY, 75 pts[2].fX, pts[2].fY); 78 str->appendf(" C%g,%g,%g,%g,%g,%g", pts[1].fX, pts[1].fY, 79 pts[2].fX, pts[2].fY, pts[3].fX, pts[3].fY); 400 SkScalarToFloat(pos[0].fY)); 439 SkScalarToFloat(vertices[0].fY));
|
/external/chromium_org/third_party/skia/src/views/ |
SkView.cpp | 81 if (fLoc.fX != x || fLoc.fY != y) 92 this->setLoc(fLoc.fX + dx, fLoc.fY + dy); 107 r.set(fLoc.fX, fLoc.fY, fLoc.fX + fWidth, fLoc.fY + fHeight); 119 canvas->translate(fLoc.fX, fLoc.fY); 173 rect->offset(view->fLoc.fX, view->fLoc.fY); 388 Click* click = child->findClickHandler(p.fX, p.fY, modi); 631 matrix->preTranslate(-view->fLoc.fX, -view->fLoc.fY); 648 local->set(p.fX, p.fY);
|
/external/skia/src/utils/ |
SkDumpCanvas.cpp | 68 str->appendf(" M%g,%g", pts[0].fX, pts[0].fY); 71 str->appendf(" L%g,%g", pts[0].fX, pts[0].fY); 74 str->appendf(" Q%g,%g,%g,%g", pts[1].fX, pts[1].fY, 75 pts[2].fX, pts[2].fY); 78 str->appendf(" C%g,%g,%g,%g,%g,%g", pts[1].fX, pts[1].fY, 79 pts[2].fX, pts[2].fY, pts[3].fX, pts[3].fY); 400 SkScalarToFloat(pos[0].fY)); 439 SkScalarToFloat(vertices[0].fY));
|
/external/skia/src/views/ |
SkView.cpp | 81 if (fLoc.fX != x || fLoc.fY != y) 92 this->setLoc(fLoc.fX + dx, fLoc.fY + dy); 107 r.set(fLoc.fX, fLoc.fY, fLoc.fX + fWidth, fLoc.fY + fHeight); 119 canvas->translate(fLoc.fX, fLoc.fY); 173 rect->offset(view->fLoc.fX, view->fLoc.fY); 388 Click* click = child->findClickHandler(p.fX, p.fY, modi); 631 matrix->preTranslate(-view->fLoc.fX, -view->fLoc.fY); 648 local->set(p.fX, p.fY);
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 311 SkScalar dy, fy = srcPt.fY; 326 *dstC++ = cache[toggle + SkATan2_255(fy, fx)]; 328 fy += dy; 335 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)]; 353 SkScalar dy, fy = srcPt.fY; 368 int index = SkATan2_255(fy, fx) >> (8 - kCache16Bits); 372 fy += dy; 379 int index = SkATan2_255(srcPt.fY, srcPt.fX) [all...] |
/external/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 311 SkScalar dy, fy = srcPt.fY; 326 *dstC++ = cache[toggle + SkATan2_255(fy, fx)]; 328 fy += dy; 335 *dstC++ = cache[toggle + SkATan2_255(srcPt.fY, srcPt.fX)]; 353 SkScalar dy, fy = srcPt.fY; 368 int index = SkATan2_255(fy, fx) >> (8 - kCache16Bits); 372 fy += dy; 379 int index = SkATan2_255(srcPt.fY, srcPt.fX) [all...] |