/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);
|
/external/skia/tests/ |
PathMeasureTest.cpp | 125 SkScalarNearlyEqual(position.fX, 129 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1); 150 SkScalarNearlyEqual(position.fX, 154 REPORTER_ASSERT(reporter, tangent.fX == SK_Scalar1); 158 SkScalarNearlyEqual(position.fX, SK_Scalar1, 0.0001f)); 161 REPORTER_ASSERT(reporter, tangent.fX == 0); 165 SkScalarNearlyEqual(position.fX, 172 REPORTER_ASSERT(reporter, tangent.fX == SK_Scalar1); 186 SkScalarNearlyEqual(position.fX, 190 REPORTER_ASSERT(reporter, tangent.fX == SK_Scalar1) [all...] |
PathOpsCubicToQuadsTest.cpp | 58 if (!AlmostEqualUlps(cubic[0].fX, quads[0][0].fX) 64 if (!AlmostEqualUlps(cubic[3].fX, quads[last][2].fX) 81 if (!AlmostEqualUlps(cubic[0].fX, quads[0][0].fX) 87 if (!AlmostEqualUlps(cubic[3].fX, quads[last][2].fX) 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 | 51 REPORTER_ASSERT(reporter, approximately_equal((line[0].fX + line[1].fX) / 2, mid.fX));
|
PathCoverageTest.cpp | 41 return cheap_distance(points[1].fX * 2 - points[2].fX - points[0].fX, 144 path[0].fX, path[0].fY, path[1].fX, path[1].fY, 145 path[2].fX, path[2].fY, computedCount, estimatedCount);
|
/external/chromium_org/third_party/skia/src/core/ |
SkEdge.cpp | 41 x0 = int(p0.fX * scale); 43 x1 = int(p1.fX * scale); 47 x0 = p0.fX >> shift; 49 x1 = p1.fX >> shift; 77 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 118 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 136 fX += fDX * (clip.fTop - top); 184 x0 = int(pts[0].fX * scale); 186 x1 = int(pts[1].fX * scale); 188 x2 = int(pts[2].fX * scale) [all...] |
SkMatrix.cpp | [all...] |
SkEdge.h | 30 SkFixed fX; 53 SkDebugf("edge: firstY:%d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixedToFloat(fDX), fWinding); 94 x0 = int(p0.fX * scale); 96 x1 = int(p1.fX * scale); 100 x0 = p0.fX >> shift; 102 x1 = p1.fX >> shift; 126 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2
|
SkRegion_rects.cpp | 19 SkRegion::RunType fX; 30 while (fPrev->fX > fX) { 47 edges[0].fX = r.fLeft; 52 edges[1].fX = r.fRight; 108 *row++ = edge->fX; 109 TRACE_ROW(SkDebugf("Y %d [%d", currY, edge->fX);) 120 currR = edge->fX; 121 } else if (0 == prevWinding && edge->fX > currR) { 123 *row++ = edge->fX; [all...] |
SkScan_Path.cpp | 63 SkFixed x = edge->fX; 72 if (prev->fX <= x) { 97 SkASSERT(edge->fPrev->fX <= edge->fX); 128 SkFixed prevX = prevHead->fX; 139 int x = SkFixedRoundToInt(currE->fX); 161 newX = currE->fX; 166 newX = currE->fX; 173 newX = currE->fX + currE->fDX; 174 currE->fX = newX [all...] |
/external/skia/src/core/ |
SkEdge.cpp | 41 x0 = int(p0.fX * scale); 43 x1 = int(p1.fX * scale); 47 x0 = p0.fX >> shift; 49 x1 = p1.fX >> shift; 77 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 118 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 136 fX += fDX * (clip.fTop - top); 184 x0 = int(pts[0].fX * scale); 186 x1 = int(pts[1].fX * scale); 188 x2 = int(pts[2].fX * scale) [all...] |
SkMatrix.cpp | [all...] |
SkEdge.h | 30 SkFixed fX; 53 SkDebugf("edge: firstY:%d lastY:%d x:%g dx:%g w:%d\n", fFirstY, fLastY, SkFixedToFloat(fX), SkFixedToFloat(fDX), fWinding); 94 x0 = int(p0.fX * scale); 96 x1 = int(p1.fX * scale); 100 x0 = p0.fX >> shift; 102 x1 = p1.fX >> shift; 126 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2
|
SkRegion_rects.cpp | 19 SkRegion::RunType fX; 30 while (fPrev->fX > fX) { 47 edges[0].fX = r.fLeft; 52 edges[1].fX = r.fRight; 108 *row++ = edge->fX; 109 TRACE_ROW(SkDebugf("Y %d [%d", currY, edge->fX);) 120 currR = edge->fX; 121 } else if (0 == prevWinding && edge->fX > currR) { 123 *row++ = edge->fX; [all...] |
SkScan_Path.cpp | 63 SkFixed x = edge->fX; 72 if (prev->fX <= x) { 97 SkASSERT(edge->fPrev->fX <= edge->fX); 128 SkFixed prevX = prevHead->fX; 139 int x = SkFixedRoundToInt(currE->fX); 161 newX = currE->fX; 166 newX = currE->fX; 173 newX = currE->fX + currE->fDX; 174 currE->fX = newX [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
JoystickView.java | 18 private int fX; 35 fX = x; 37 mLabelText = String.format("%d,%d", fX, fY); 47 fX = fY = 0; 72 int x = w / 2 - 4 + fX;
|
/external/icu4c/layout/ |
MarkToLigaturePosnSubtables.cpp | 84 float anchorDiffX = ligatureAnchor.fX - markAnchor.fX; 90 glyphIterator->setCurrGlyphPositionAdjustment(anchorDiffX, anchorDiffY, -markAdvance.fX, -markAdvance.fY); 97 glyphIterator->setCurrGlyphPositionAdjustment(anchorDiffX - ligatureAdvance.fX, anchorDiffY - ligatureAdvance.fY, -markAdvance.fX, -markAdvance.fY);
|
/external/skia/gm/ |
bigmatrix.cpp | 52 path.addCircle(pt.fX, pt.fY, small); 57 SkRect rect = {pt.fX - small, pt.fY - small, 58 pt.fX + small, pt.fY + small}; 84 rect.setLTRB(pt.fX - small, pt.fY - small, 85 pt.fX + small, pt.fY + small);
|
gradientDirtyLaundry.cpp | 47 center.set(SkScalarAve(pts[0].fX, pts[1].fX), 49 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, 56 center.set(SkScalarAve(pts[0].fX, pts[1].fX), 58 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors,
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkDCubicLineIntersection.cpp | 98 double adj = fLine[1].fX - fLine[0].fX; 102 r[n].fX = (fCubic[n].fY - fLine[0].fY) * adj - (fCubic[n].fX - fLine[0].fX) * opp; 105 SkDCubic::Coefficients(&r[0].fX, &A, &B, &C, &D); 123 SkDebugf("%s pt=(%1.9g,%1.9g) cPt=(%1.9g,%1.9g)\n", __FUNCTION__, pt.fX, pt.fY, 124 cPt.fX, cPt.fY); 166 double lineT = (pt.fX - left) / (right - left); 179 SkDCubic::Coefficients(&fCubic[0].fX, &A, &B, &C, &D) [all...] |
/external/skia/src/pathops/ |
SkDCubicLineIntersection.cpp | 98 double adj = fLine[1].fX - fLine[0].fX; 102 r[n].fX = (fCubic[n].fY - fLine[0].fY) * adj - (fCubic[n].fX - fLine[0].fX) * opp; 105 SkDCubic::Coefficients(&r[0].fX, &A, &B, &C, &D); 123 SkDebugf("%s pt=(%1.9g,%1.9g) cPt=(%1.9g,%1.9g)\n", __FUNCTION__, pt.fX, pt.fY, 124 cPt.fX, cPt.fY); 166 double lineT = (pt.fX - left) / (right - left); 179 SkDCubic::Coefficients(&fCubic[0].fX, &A, &B, &C, &D) [all...] |
/external/skia/bench/ |
Matrix44Bench.cpp | 97 fX = fY = fZ = SkDoubleToMScalar(1.5); 103 fM0.preScale(fX, fY, fZ); 108 SkMScalar fX, fY, fZ; 234 fX = fY = fZ = SkDoubleToMScalar(1.5); 240 fM0.postScale(fX, fY, fZ); 245 SkMScalar fX, fY, fZ; 257 fX = fY = fZ = SkDoubleToMScalar(1.5); 258 fM1.setScale(fX, fY, fZ); 259 fM2.setTranslate(fX, fY, fZ); 270 SkMScalar fX, fY, fZ [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrRectanizer.cpp | 49 return fLoc.fX + width <= containerWidth; 114 row->fLoc.fX += width; 116 SkASSERT(row->fLoc.fX <= this->width());
|
GrRectanizer_fifo.cpp | 43 return fLoc.fX + width <= containerWidth; 108 row->fLoc.fX += width; 110 SkASSERT(row->fLoc.fX <= this->width());
|
/external/skia/src/gpu/ |
GrRectanizer.cpp | 49 return fLoc.fX + width <= containerWidth; 114 row->fLoc.fX += width; 116 SkASSERT(row->fLoc.fX <= this->width());
|