HomeSort by relevance Sort by last modified time
    Searched defs:maxX (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/chromium_org/third_party/skia/experimental/Intersection/
CubicLineSegments.cpp 33 double maxX = SkTMax(hodo2[1].x, hodo2[1].x);
35 double dist = sqrt(maxX * maxX + maxY * maxY);
TestUtilities.cpp 22 int index, minX, maxX, minY, maxY;
23 minX = maxX = minY = maxY = 0;
31 if (cubic[maxX].x < cubic[index].x) {
32 maxX = index;
38 return approximately_equal(cubic[maxX].x, cubic[minX].x)
QuadraticReduceOrder.cpp 67 int minX, int maxX, int minY, int maxY, Quadratic& reduction) {
87 bool useX = quad[maxX].x - quad[minX].x >= quad[maxY].y - quad[minY].y;
143 int index, minX, maxX, minY, maxY;
145 minX = maxX = minY = maxY = 0;
154 if (quad[maxX].x < quad[index].x) {
155 maxX = index;
178 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, reduction);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderRegion.cpp 81 LayoutUnit maxX = std::max(flowThreadPortionRect.maxX(), flowThreadOverflow.maxX());
82 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
85 LayoutUnit maxX = isLastPortion ? std::max(flowThreadPortionRect.maxX(), flowThreadOverflow.maxX()) : flowThreadPortionRect.maxX();
88 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
RenderOverflow.h 82 LayoutUnit maxX = std::max(rect.maxX(), m_layoutOverflow.maxX());
87 m_layoutOverflow.setWidth(maxX - minX);
89 m_layoutOverflow.setX(maxX - m_layoutOverflow.width());
95 LayoutUnit maxX = std::max(rect.maxX(), m_visualOverflow.maxX());
99 m_visualOverflow.setWidth(maxX - m_visualOverflow.x());
  /external/chromium_org/third_party/skia/src/core/
SkBitmapProcState_matrix_template.h 22 const unsigned maxX = s.fBitmap->width() - 1;
34 if (0 == maxX) {
42 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
49 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
50 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
56 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
57 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
66 *xx++ = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
92 int maxX = s.fBitmap->width() - 1;
97 TileProc::X(s, SkFractionalIntToFixed(fx), maxX);
    [all...]
SkBitmapFilter.cpp 29 const int maxX = s.fBitmap->width();
31 SkAutoTMalloc<SkScalar> xWeights(maxX);
45 int x0 = SkClampMax(SkScalarCeilToInt(srcPt.fX-s.getBitmapFilter()->width()), maxX);
46 int x1 = SkClampMax(SkScalarFloorToInt(srcPt.fX+s.getBitmapFilter()->width())+1, maxX);
SkTileGrid.cpp 46 // hence the "-1"s in the computations of maxX and maxY.
49 int maxX = SkMax32(0, SkMin32((dilatedBounds.right() - 1) / fInfo.fTileInterval.width(),
56 for (int x = minX; x <= maxX; x++) {
SkBitmapProcState_matrix.h 58 const unsigned maxX = s.fBitmap->width() - 1;
76 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
84 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X);
109 unsigned maxX = s.fBitmap->width() - 1;
115 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
126 unsigned maxX = s.fBitmap->width() - 1;
140 *xy++ = PACK_FILTER_X_NAME(srcXY[0] - (oneX >> 1), maxX,
SkBitmapProcState_shaderproc.h 27 const unsigned maxX = s.fBitmap->width() - 1;
59 unsigned subX = TILEX_LOW_BITS(fx, maxX);
60 unsigned x0 = TILEX_PROCF(fx, maxX);
61 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
RoundedRect.cpp 157 int maxX = m_rect.maxX() - std::max(m_radii.topRight().width(), m_radii.bottomRight().width());
159 return IntRect(minX, minY, maxX - minX, maxY - minY);
213 FloatRect rect(m_rect.maxX() - topRight.width(), m_rect.y(), topRight.width(), topRight.height());
215 FloatPoint center(m_rect.maxX() - topRight.width(), m_rect.y() + topRight.height());
235 FloatRect rect(m_rect.maxX() - bottomRight.width(), m_rect.maxY() - bottomRight.height(), bottomRight.width(), bottomRight.height());
237 FloatPoint center(m_rect.maxX() - bottomRight.width(), m_rect.maxY() - bottomRight.height());
FloatBox.h 111 float maxX = std::max(right(), high.x());
119 m_width = maxX - minX;
FloatPolygon.h 92 float maxX() const { return std::max(vertex1().x(), vertex2().x()); }
FloatRect.cpp 62 && isWithinIntRange(maxX()) && isWithinIntRange(maxY());
69 && x() < other.maxX() && other.x() < maxX()
75 return x() <= other.x() && maxX() >= other.maxX()
83 return x() < point.x() && maxX() > point.x() && y() < point.y() && maxY() > point.y();
90 float right = std::min(maxX(), other.maxX());
121 float maxX = std::max(this->maxX(), other.maxX())
    [all...]
Region.cpp 92 int maxX = *(segment + 1);
96 if (maxX > point.x())
238 appendSegment(rect.maxX());
358 int maxX = std::numeric_limits<int>::min();
370 if (*lastSegment > maxX)
371 maxX = *lastSegment;
377 ASSERT(minX <= maxX);
380 return IntRect(minX, minY, maxX - minX, maxY - minY);
FloatRect.h 73 float maxX() const { return x() + width(); }
106 float delta = edge - maxX();
140 return px >= x() && px <= maxX() && py >= y() && py <= maxY();
  /external/chromium_org/third_party/skia/gm/
ovals.cpp 150 int maxX = fMatrices.count();
164 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
166 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
roundrects.cpp 153 int maxX = fMatrices.count();
167 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
169 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
  /development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
Bouncer.java 93 int maxX = mShapeX + mShapeW;
96 maxX = Math.max(mShapeX + mShapeW, maxX);
97 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH);
Bouncer1.java 67 int maxX = mShapeX + mShapeW;
70 maxX = Math.max(mShapeX + mShapeW, maxX);
71 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH);
Bouncer2.java 68 int maxX = mShapeX + mShapeW;
71 maxX = Math.max(mShapeX + mShapeW, maxX);
72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH);
Bouncer3.java 68 int maxX = mShapeX + mShapeW;
71 maxX = Math.max(mShapeX + mShapeW, maxX);
72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH);
  /external/chromium_org/third_party/skia/samplecode/
SampleEncode.cpp 173 SkScalar x = 0, y = 0, maxX = 0;
208 if (x > maxX) {
209 maxX = x;
214 x = maxX + SkIntToScalar(10);
  /external/chromium_org/third_party/skia/src/effects/
SkDashPathEffect.cpp 90 SkScalar maxX = pts[1].fX;
93 SkTSwap(minX, maxX);
96 SkASSERT(minX < maxX);
97 if (maxX < bounds.fLeft || minX > bounds.fRight) {
108 if (maxX > bounds.fRight) {
109 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength);
112 SkASSERT(maxX > minX);
114 SkTSwap(minX, maxX);
117 pts[1].fX = maxX;
    [all...]
  /external/chromium_org/third_party/skia/src/pathops/
SkReduceOrder.cpp 38 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) {
64 int index, minX, maxX, minY, maxY;
66 minX = maxX = minY = maxY = 0;
75 if (quad[maxX].fX < quad[index].fX) {
76 maxX = index;
99 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad);
158 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) {
204 int index, minX, maxX, minY, maxY;
206 minX = maxX = minY = maxY = 0;
215 if (cubic[maxX].fX < cubic[index].fX)
    [all...]

Completed in 348 milliseconds

1 2 3