/external/chromium_org/third_party/skia/src/animator/ |
SkMatrixParts.cpp | 48 center.fX = center.fY = 0; 70 center.fX = center.fY = 0; 92 center.fX = center.fY = 0;
|
SkDraw3D.cpp | 19 SK_MEMBER_ALIAS(y, fPoint.fY, Float),
|
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapProcState.cpp | 101 v1.fY = mat.getSkewY(); 104 v2.fY = mat.getScaleY(); 644 int iy2 = SkClampMax(SkScalarFloorToInt(pt.fY), maxY); 718 int iy2 = sk_int_mod(SkScalarFloorToInt(pt.fY), stopY); 777 yTemp = SkScalarFloorToInt(pt.fY * s.fBitmap->height()); 779 yTemp = SkScalarFloorToInt(pt.fY); 809 pt.fY *= s.fBitmap->height(); 815 iY2 = SkClampMax(SkScalarFloorToInt(pt.fY), stopY-1); 818 iY2 = sk_int_mod(SkScalarFloorToInt(pt.fY), stopY); 822 iY2 = sk_int_mirror(SkScalarFloorToInt(pt.fY), stopY) [all...] |
SkBitmapProcState_matrix.h | 60 fx = SkScalarToFractionalInt(pt.fY); 124 SkFractionalInt fy = SkScalarToFractionalInt(srcPt.fY); local 131 *xy++ = (TILEY_PROCF(SkFractionalIntToFixed(fy), maxY) << 16) | 133 fx += dx; fy += dy; 193 const SkFixed fy = SkScalarToFixed(pt.fY) - (s.fFilterOneY >> 1); local 196 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); 232 SkFixed fy = SkScalarToFixed(srcPt.fY) - (oneY >> 1) local [all...] |
SkBitmapProcState_shaderproc.h | 39 SkFixed fy = SkScalarToFixed(pt.fY) - (s.fFilterOneY >> 1); local 42 subY = TILEY_LOW_BITS(fy, maxY); 43 int y0 = TILEY_PROCF(fy, maxY); 44 int y1 = TILEY_PROCF((fy + s.fFilterOneY), maxY);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkLayer.cpp | 142 matrix->setTranslate(m_position.fX, m_position.fY); 145 SkScalar ty = SkScalarMul(m_anchorPoint.fY, m_size.height()); 185 m_position.fX, m_position.fY, str1.c_str(), str2.c_str());
|
/external/skia/src/animator/ |
SkMatrixParts.cpp | 48 center.fX = center.fY = 0; 70 center.fX = center.fY = 0; 92 center.fX = center.fY = 0;
|
/external/skia/src/core/ |
SkBitmapProcState.cpp | 101 v1.fY = mat.getSkewY(); 104 v2.fY = mat.getScaleY(); 644 int iy2 = SkClampMax(SkScalarFloorToInt(pt.fY), maxY); 718 int iy2 = sk_int_mod(SkScalarFloorToInt(pt.fY), stopY); 777 yTemp = SkScalarFloorToInt(pt.fY * s.fBitmap->height()); 779 yTemp = SkScalarFloorToInt(pt.fY); 809 pt.fY *= s.fBitmap->height(); 815 iY2 = SkClampMax(SkScalarFloorToInt(pt.fY), stopY-1); 818 iY2 = sk_int_mod(SkScalarFloorToInt(pt.fY), stopY); 822 iY2 = sk_int_mirror(SkScalarFloorToInt(pt.fY), stopY) [all...] |
/external/skia/src/utils/ |
SkLayer.cpp | 142 matrix->setTranslate(m_position.fX, m_position.fY); 145 SkScalar ty = SkScalarMul(m_anchorPoint.fY, m_size.height()); 185 m_position.fX, m_position.fY, str1.c_str(), str2.c_str());
|
/external/skia/tests/ |
PathOpsExtendedTest.cpp | 78 output_scalar(pts[index].fY); 162 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", pts[0].fX, pts[0].fY, 163 pts[1].fX, pts[1].fY); 169 pts[0].fX, pts[0].fY, pts[1].fX, pts[1].fY, pts[2].fX, pts[2].fY); 175 pts[0].fX, pts[0].fY, pts[1].fX, pts[1].fY, pts[2].fX, pts[2].fY, 176 pts[3].fX, pts[3].fY); [all...] |
SkpSkGrTest.cpp | 427 dim.fY = (pHeight + scale - 1) / scale; 428 bitmap.setConfig(SkBitmap::kARGB_8888_Config, dim.fX, dim.fY); 437 fFilename, pWidth, pHeight, dim.fX, dim.fY); 446 desc.fHeight = dim.fY; 451 dim.fX, dim.fY);
|
PathTest.cpp | 88 REPORTER_ASSERT(reporter, 50 == last.fY); 99 REPORTER_ASSERT(reporter, 75 == last.fY); 110 REPORTER_ASSERT(reporter, 85 == last.fY); 121 REPORTER_ASSERT(reporter, 95 == last.fY); 715 pts[i].fY = rand.nextSScalar1(); [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkPerlinNoiseShader.cpp | 188 fGradient[channel][i].fY + SK_Scalar1, gHalfMax16bits)); 218 if (fBaseFrequency.fY) { 220 SkScalarMulFloor(tileHeight, fBaseFrequency.fY), tileHeight); 222 SkScalarMulCeil(tileHeight, fBaseFrequency.fY), tileHeight); 223 if (SkScalarDiv(fBaseFrequency.fY, lowFrequency) < 224 SkScalarDiv(highFrequency, fBaseFrequency.fY)) { 225 fBaseFrequency.fY = lowFrequency; 227 fBaseFrequency.fY = highFrequency; 235 SkScalarMulRound(tileHeight, fBaseFrequency.fY); 400 fractionValue.fY -= SK_Scalar1; // Offset (-1,-1 [all...] |
SkBlurMaskFilter.cpp | 313 const SkScalar topUnstretched = SkTMax(UL.fY, UR.fY) + SkIntToScalar(2 * margin.fY); 314 const SkScalar bottomUnstretched = SkTMax(LL.fY, LR.fY) + SkIntToScalar(2 * margin.fY); 345 patch->fCenter.fY = SkScalarCeilToInt(topUnstretched) + 1;
|
SkDropShadowImageFilter.cpp | 89 loc->fY += bounds.fTop;
|
/external/skia/src/effects/ |
SkPerlinNoiseShader.cpp | 188 fGradient[channel][i].fY + SK_Scalar1, gHalfMax16bits)); 218 if (fBaseFrequency.fY) { 220 SkScalarMulFloor(tileHeight, fBaseFrequency.fY), tileHeight); 222 SkScalarMulCeil(tileHeight, fBaseFrequency.fY), tileHeight); 223 if (SkScalarDiv(fBaseFrequency.fY, lowFrequency) < 224 SkScalarDiv(highFrequency, fBaseFrequency.fY)) { 225 fBaseFrequency.fY = lowFrequency; 227 fBaseFrequency.fY = highFrequency; 235 SkScalarMulRound(tileHeight, fBaseFrequency.fY); 400 fractionValue.fY -= SK_Scalar1; // Offset (-1,-1 [all...] |
SkBlurMaskFilter.cpp | 313 const SkScalar topUnstretched = SkTMax(UL.fY, UR.fY) + SkIntToScalar(2 * margin.fY); 314 const SkScalar bottomUnstretched = SkTMax(LL.fY, LR.fY) + SkIntToScalar(2 * margin.fY); 345 patch->fCenter.fY = SkScalarCeilToInt(topUnstretched) + 1;
|
/external/chromium_org/third_party/skia/src/device/xps/ |
SkXPSDevice.cpp | 278 / SkScalarToFLOAT(this->fCurrentUnitsPerMeter.fY); 459 SkScalarToFLOAT(point.fY), 466 matrix.mapXY(point.fX, point.fY, &skTransformedPoint); 488 transform.mapXY(start.fX, start.fY, &startTransformed); 490 transform.mapXY(end.fX, end.fY, &endTransformed); 494 + (endTransformed.fY - startTransformed.fY); 505 stop.fY = SkScalarMul(end.fY - start.fY, stopOffsets[i]) [all...] |
/external/skia/src/device/xps/ |
SkXPSDevice.cpp | 278 / SkScalarToFLOAT(this->fCurrentUnitsPerMeter.fY); 459 SkScalarToFLOAT(point.fY), 466 matrix.mapXY(point.fX, point.fY, &skTransformedPoint); 488 transform.mapXY(start.fX, start.fY, &startTransformed); 490 transform.mapXY(end.fX, end.fY, &endTransformed); 494 + (endTransformed.fY - startTransformed.fY); 505 stop.fY = SkScalarMul(end.fY - start.fY, stopOffsets[i]) [all...] |
/external/skia/bench/ |
DashBench.cpp | 111 if (!path.isLine(pts) || pts[0].fY != pts[1].fY) { 116 rect.fTop = pts[0].fY - paint.getStrokeWidth() / 2; 289 pts[0].fY = pts[1].fY = SkIntToScalar(i % 480);
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkTwoPointConicalGradient.cpp | 67 fCenterY = SkScalarToFloat(center0.fY); 69 fDCenterY = SkScalarToFloat(center1.fY) - fCenterY; 78 void TwoPtRadial::setup(SkScalar fx, SkScalar fy, SkScalar dfx, SkScalar dfy) { 80 fRelY = SkScalarToFloat(fy) - fCenterY; 223 SkScalar dy, fy = srcPt.fY; local 236 fRec.setup(fx, fy, dx, dy); 244 fRec.setup(srcPt.fX, srcPt.fY, 0, 0); 286 matrix->setSinCos(-SkScalarMul(invDiffLen, diff.fY), 291 matrix->preTranslate(-fCenter1.fX, -fCenter1.fY); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrDrawTarget.cpp | 838 clippedDstPoint->fY -= clippedSrcRect->fTop; 841 if (clippedDstPoint->fY < 0) { 842 clippedSrcRect->fTop -= clippedDstPoint->fY; 843 clippedDstPoint->fY = 0; 858 if (clippedDstPoint->fY + clippedSrcRect->height() > dst->height()) { 859 clippedSrcRect->fBottom = clippedSrcRect->fTop + dst->height() - clippedDstPoint->fY; 921 SkASSERT(dstPoint.fX >= 0 && dstPoint.fY >= 0); 923 dstPoint.fY + srcRect.height() <= dst->height()); 943 SkIntToScalar(srcRect.fTop - dstPoint.fY)); 947 dstPoint.fY, [all...] |
/external/skia/src/effects/gradients/ |
SkTwoPointConicalGradient.cpp | 67 fCenterY = SkScalarToFloat(center0.fY); 69 fDCenterY = SkScalarToFloat(center1.fY) - fCenterY; 78 void TwoPtRadial::setup(SkScalar fx, SkScalar fy, SkScalar dfx, SkScalar dfy) { 80 fRelY = SkScalarToFloat(fy) - fCenterY; 223 SkScalar dy, fy = srcPt.fY; local 236 fRec.setup(fx, fy, dx, dy); 244 fRec.setup(srcPt.fX, srcPt.fY, 0, 0); 286 matrix->setSinCos(-SkScalarMul(invDiffLen, diff.fY), 291 matrix->preTranslate(-fCenter1.fX, -fCenter1.fY); [all...] |
/external/skia/src/gpu/ |
GrDrawTarget.cpp | 838 clippedDstPoint->fY -= clippedSrcRect->fTop; 841 if (clippedDstPoint->fY < 0) { 842 clippedSrcRect->fTop -= clippedDstPoint->fY; 843 clippedDstPoint->fY = 0; 858 if (clippedDstPoint->fY + clippedSrcRect->height() > dst->height()) { 859 clippedSrcRect->fBottom = clippedSrcRect->fTop + dst->height() - clippedDstPoint->fY; 921 SkASSERT(dstPoint.fX >= 0 && dstPoint.fY >= 0); 923 dstPoint.fY + srcRect.height() <= dst->height()); 943 SkIntToScalar(srcRect.fTop - dstPoint.fY)); 947 dstPoint.fY, [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
OpaqueRegionSkia.cpp | 241 rect.fTop = points[0].fY; 242 rect.fBottom = points[0].fY + 1; 247 rect.fTop = std::min(rect.fTop, points[i].fY); 248 rect.fBottom = std::max(rect.fBottom, points[i].fY + 1);
|