/external/chromium_org/third_party/skia/include/utils/ |
SkCamera.h | 35 SkUnitScalar fX, fY, fZ; 39 fX = x; fY = y; fZ = z; 46 SkScalar fX, fY, fZ; 50 fX = x; fY = y; fZ = z; 105 return this->dotWith(v.fX, v.fY, v.fZ);
|
/external/icu4c/layout/ |
LEFontInstance.cpp | 118 points.fY = yUnitsToPoints(units.fY); 134 units.fY = yPixelsToUnits(pixels.fY); 140 pixels.fY = yUnitsToPoints(yFunits) * getScaleFactorY();
|
/external/skia/gm/ |
gradientDirtyLaundry.cpp | 48 SkScalarAve(pts[0].fY, pts[1].fY)); 57 SkScalarAve(pts[0].fY, pts[1].fY)); 58 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors,
|
beziereffects.cpp | 32 return sign * (lineEq[0] * p.fX + lineEq[1] * p.fY + lineEq[2]); 98 {x + baseControlPts[0].fX, y + baseControlPts[0].fY}, 99 {x + baseControlPts[1].fX, y + baseControlPts[1].fY}, 100 {x + baseControlPts[2].fX, y + baseControlPts[2].fY}, 101 {x + baseControlPts[3].fX, y + baseControlPts[3].fY} 114 canvas->drawCircle(controlPts[i].fX, controlPts[i].fY, 6.f, ctrlPtPaint); 130 canvas->drawCircle(pts[i].fX, pts[i].fY, 3.f, choppedPtPaint); 250 {x + baseControlPts[0].fX, y + baseControlPts[0].fY}, 251 {x + baseControlPts[1].fX, y + baseControlPts[1].fY}, 252 {x + baseControlPts[2].fX, y + baseControlPts[2].fY} [all...] |
/external/skia/include/utils/ |
SkCamera.h | 35 SkUnitScalar fX, fY, fZ; 39 fX = x; fY = y; fZ = z; 46 SkScalar fX, fY, fZ; 50 fX = x; fY = y; fZ = z; 105 return this->dotWith(v.fX, v.fY, v.fZ);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkXfermodeImageFilter.cpp | 83 SkIntToScalar(backgroundOffset.fY), &paint); 86 SkIntToScalar(foregroundOffset.fY), &paint); 92 offset->fY += bounds.top(); 139 SkIntToScalar(backgroundOffset.fY-foregroundOffset.fY)); 161 offset->fY += backgroundOffset.fY;
|
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...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkCullPoints.cpp | 15 return v.fX * dy - v.fY * dx < 0; 20 tmp1.setMul(dx, v.fY); 46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); 48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { 91 int y0 = fPrevPt.fY; 139 fPath->moveTo(SkIntToScalar(pts[0].fX), SkIntToScalar(pts[0].fY)); 142 fPath->lineTo(SkIntToScalar(pts[1].fX), SkIntToScalar(pts[1].fY));
|
/external/skia/bench/ |
AAClipBench.cpp | 110 fSizes[i].set(fSizes[i-1].fX/2, fSizes[i-1].fY/2); 125 fSizes[depth].fX, fSizes[depth].fY); 150 childOffset.fY = offset.fY; 154 childOffset.fY = offset.fY + fSizes[depth+1].fY;
|
/external/skia/src/effects/ |
SkXfermodeImageFilter.cpp | 83 SkIntToScalar(backgroundOffset.fY), &paint); 86 SkIntToScalar(foregroundOffset.fY), &paint); 92 offset->fY += bounds.top(); 139 SkIntToScalar(backgroundOffset.fY-foregroundOffset.fY)); 161 offset->fY += backgroundOffset.fY;
|
/external/skia/src/utils/ |
SkCullPoints.cpp | 15 return v.fX * dy - v.fY * dx < 0; 20 tmp1.setMul(dx, v.fY); 46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); 48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { 91 int y0 = fPrevPt.fY; 139 fPath->moveTo(SkIntToScalar(pts[0].fX), SkIntToScalar(pts[0].fY)); 142 fPath->lineTo(SkIntToScalar(pts[1].fX), SkIntToScalar(pts[1].fY));
|
/external/chromium_org/third_party/skia/include/core/ |
SkPath.h | 317 this->moveTo(p.fX, p.fY); 347 this->lineTo(p.fX, p.fY); 380 this->quadTo(p1.fX, p1.fY, p2.fX, p2.fY); 401 this->conicTo(p1.fX, p1.fY, p2.fX, p2.fY, w); 429 this->cubicTo(p1.fX, p1.fY, p2.fX, p2.fY, p3.fX, p3.fY); 477 this->arcTo(p1.fX, p1.fY, p2.fX, p2.fY, radius) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkDeviceLooper.cpp | 50 SkIntToScalar(-fCurrOffset.fY)); 60 SkIntToScalar(-fCurrOffset.fY)); 92 offset->fY += delta;
|
SkScan_Hairline.cpp | 16 static void horiline(int x, int stopx, SkFixed fy, SkFixed dy, 21 blitter->blitH(x, fy >> 16, 1); 22 fy += dy; 73 SkFDot6 y0 = SkScalarToFDot6(pts[0].fY); 75 SkFDot6 y1 = SkScalarToFDot6(pts[1].fY); 200 SkScalar dy = SkScalarHalf(pts[0].fY + pts[2].fY) - pts[1].fY; 342 SkASSERT(strokeSize.fX >= 0 && strokeSize.fY >= 0); 344 if (strokeSize.fX < 0 || strokeSize.fY < 0) [all...] |
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/chromium_org/third_party/skia/src/gpu/ |
GrPathUtils.h | 90 uv->fX = sx * xy->fX + kx * xy->fY + tx; 91 uv->fY = ky * xy->fX + sy * xy->fY + ty;
|
/external/skia/include/core/ |
SkPath.h | 317 this->moveTo(p.fX, p.fY); 347 this->lineTo(p.fX, p.fY); 380 this->quadTo(p1.fX, p1.fY, p2.fX, p2.fY); 401 this->conicTo(p1.fX, p1.fY, p2.fX, p2.fY, w); 429 this->cubicTo(p1.fX, p1.fY, p2.fX, p2.fY, p3.fX, p3.fY); 477 this->arcTo(p1.fX, p1.fY, p2.fX, p2.fY, radius) [all...] |
/external/skia/src/core/ |
SkDeviceLooper.cpp | 50 SkIntToScalar(-fCurrOffset.fY)); 60 SkIntToScalar(-fCurrOffset.fY)); 92 offset->fY += delta;
|
SkScan_Hairline.cpp | 16 static void horiline(int x, int stopx, SkFixed fy, SkFixed dy, 21 blitter->blitH(x, fy >> 16, 1); 22 fy += dy; 73 SkFDot6 y0 = SkScalarToFDot6(pts[0].fY); 75 SkFDot6 y1 = SkScalarToFDot6(pts[1].fY); 200 SkScalar dy = SkScalarHalf(pts[0].fY + pts[2].fY) - pts[1].fY; 342 SkASSERT(strokeSize.fX >= 0 && strokeSize.fY >= 0); 344 if (strokeSize.fX < 0 || strokeSize.fY < 0) [all...] |
/external/skia/src/gpu/ |
GrPathUtils.h | 90 uv->fX = sx * xy->fX + kx * xy->fY + tx; 91 uv->fY = ky * xy->fX + sy * xy->fY + ty;
|
/external/skia/tests/ |
PathOpsCubicQuadIntersectionTest.cpp | 82 __FUNCTION__, iIndex, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); 91 __FUNCTION__, iIndex, pt, xy1.fX, xy1.fY);
|
PathOpsQuadIntersectionTest.cpp | 45 __FUNCTION__, static_cast<int>(index), pt, tt1, xy1.fX, xy1.fY, 46 tt2, xy2.fX, xy2.fY); 276 tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); 281 outer, inner, tt1, xy1.fX, xy1.fY, tt2); 366 SkDebugf("%s t=%1.9g (%1.9g,%1.9g) dist=%1.9g\n", __FUNCTION__, t, onQuad.fX, onQuad.fY, 489 p10.fX, p10.fY, p1Seed.fX, p1Seed.fY, p12.fX, p12.fY); 494 p20.fX, p20.fY, p2Seed.fX, p2Seed.fY, p22.fX, p22.fY) [all...] |
/external/chromium_org/third_party/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);
|