/external/chromium_org/third_party/skia/experimental/Intersection/ |
CubicLineSegments.cpp | 34 double maxY = SkTMax(hodo2[1].y, hodo2[1].y); 35 double dist = sqrt(maxX * maxX + maxY * maxY);
|
TestUtilities.cpp | 22 int index, minX, maxX, minY, maxY; 23 minX = maxX = minY = maxY = 0; 34 if (cubic[maxY].y < cubic[index].y) { 35 maxY = index; 39 && approximately_equal(cubic[maxY].y, cubic[minY].y);
|
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; 157 if (quad[maxY].y < quad[index].y) { 158 maxY = index; 178 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, reduction);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderRegion.cpp | 79 LayoutUnit maxY = isLastPortion ? std::max(flowThreadPortionRect.maxY(), flowThreadOverflow.maxY()) : flowThreadPortionRect.maxY(); 82 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY); 87 LayoutUnit maxY = std::max(flowThreadPortionRect.y(), (flowThreadOverflow.maxY())); 88 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY);
|
RenderOverflow.h | 83 LayoutUnit maxY = std::max(rect.maxY(), m_layoutOverflow.maxY()); 88 m_layoutOverflow.setHeight(maxY - minY); 90 m_layoutOverflow.setY(maxY - m_layoutOverflow.height()); 96 LayoutUnit maxY = std::max(rect.maxY(), m_visualOverflow.maxY()); 100 m_visualOverflow.setHeight(maxY - m_visualOverflow.y());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
RasterShape.h | 73 int maxY() const { return -m_offset + m_intervals.size(); }
|
RasterShape.cpp | 82 for (int y = bounds().y(); y < bounds().maxY(); ++y) { 89 int marginY1 = std::min(maxY(), y + shapeMargin + 1); 100 if (marginY < bounds().maxY() && intervalAt(marginY).contains(intervalAtY)) 113 for (int y = minY(); y < maxY(); ++y) { 123 int maxY = bounds().maxY(); 124 for (int y = bounds().y(); y < maxY; y++) { 130 for (; endY < maxY; endY++) { 162 if (y2 < intervals.bounds().y() || y1 >= intervals.bounds().maxY()) 166 y2 = std::min(y2, intervals.bounds().maxY()); [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapProcState_matrix_template.h | 29 const unsigned maxY = s.fBitmap->height() - 1; 30 *xy++ = TileProc::Y(s, SkFractionalIntToFixed(fx), maxY); 93 int maxY = s.fBitmap->height() - 1; 96 *xy++ = (TileProc::Y(s, SkFractionalIntToFixed(fy), maxY) << 16) | 108 int maxY = s.fBitmap->height() - 1; 117 *xy++ = (TileProc::Y(s, srcXY[1], maxY) << 16) |
|
SkBitmapFilter.cpp | 30 const int maxY = s.fBitmap->height(); 43 int y0 = SkClampMax(SkScalarCeilToInt(srcPt.fY-s.getBitmapFilter()->width()), maxY); 44 int y1 = SkClampMax(SkScalarFloorToInt(srcPt.fY+s.getBitmapFilter()->width()+1), maxY);
|
SkTileGrid.cpp | 46 // hence the "-1"s in the computations of maxX and maxY. 51 int maxY = SkMax32(0, SkMin32((dilatedBounds.bottom() - 1) / fInfo.fTileInterval.height(), 55 for (int y = minY; y <= maxY; y++) {
|
SkBitmapProcState_matrix.h | 68 const unsigned maxY = s.fBitmap->height() - 1; 70 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); 110 unsigned maxY = s.fBitmap->height() - 1; 113 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y); 127 unsigned maxY = s.fBitmap->height() - 1; 138 *xy++ = PACK_FILTER_Y_NAME(srcXY[1] - (oneY >> 1), maxY,
|
SkBitmapProcState_shaderproc.h | 40 const unsigned maxY = s.fBitmap->height() - 1; 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/WebKit/Source/platform/geometry/ |
RoundedRect.cpp | 158 int maxY = m_rect.maxY() - std::max(m_radii.bottomLeft().height(), m_radii.bottomRight().height()); 159 return IntRect(minX, minY, maxX - minX, maxY - minY); 224 FloatRect rect(m_rect.x(), m_rect.maxY() - bottomLeft.height(), bottomLeft.width(), bottomLeft.height()); 226 FloatPoint center(m_rect.x() + bottomLeft.width(), m_rect.maxY() - bottomLeft.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 | 112 float maxY = std::max(bottom(), high.y()); 120 m_height = maxY - minY;
|
FloatPolygon.h | 63 bool overlappingEdges(float minY, float maxY, Vector<const FloatPolygonEdge*>& result) const; 79 EdgeIntervalTree m_edgeTree; // Each EdgeIntervalTree node stores minY, maxY, and a ("UserData") pointer to a FloatPolygonEdge. 93 float maxY() const { return std::max(vertex1().y(), vertex2().y()); }
|
FloatRect.cpp | 62 && isWithinIntRange(maxX()) && isWithinIntRange(maxY()); 70 && y() < other.maxY() && other.y() < maxY(); 76 && y() <= other.y() && maxY() >= other.maxY(); 83 return x() < point.x() && maxX() > point.x() && y() < point.y() && maxY() > point.y(); 91 float bottom = std::min(maxY(), other.maxY()); 122 float maxY = std::max(this->maxY(), other.maxY()) [all...] |
Region.cpp | 83 int maxY = (span + 1)->y; 87 if (maxY <= point.y()) 239 appendSpan(rect.maxY()); 355 int maxY = lastSpan->y; 378 ASSERT(minY <= maxY); 380 return IntRect(minX, minY, maxX - minX, maxY - minY);
|
FloatRect.h | 74 float maxY() const { return y() + height(); } 117 float delta = edge - maxY(); 140 return px >= x() && px <= maxX() && py >= y() && py <= maxY();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
DiscretePathEffectTest.java | 77 int maxY = 0; 84 maxY = Math.max(maxY, y); 96 assertTrue(maxY - minY > 0); 98 assertTrue(maxY - minY <= 1 + 2 * DEVIATION);
|
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/ |
Bouncer.java | 106 int maxY = mShapeY + mShapeH; 109 maxY = Math.max(mShapeY + mShapeH, maxY); 110 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY);
|
Bouncer1.java | 76 int maxY = mShapeY + mShapeH; 79 maxY = Math.max(mShapeY + mShapeH, maxY); 80 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY);
|
Bouncer2.java | 77 int maxY = mShapeY + mShapeH; 80 maxY = Math.max(mShapeY + mShapeH, maxY); 81 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY);
|
Bouncer3.java | 77 int maxY = mShapeY + mShapeH; 80 maxY = Math.max(mShapeY + mShapeH, maxY); 81 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkDashPathEffect.cpp | 121 SkScalar maxY = pts[1].fY; 124 SkTSwap(minY, maxY); 127 SkASSERT(minY < maxY); 128 if (maxY < bounds.fTop || minY > bounds.fBottom) { 139 if (maxY > bounds.fBottom) { 140 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); 143 SkASSERT(maxY > minY); 145 SkTSwap(minY, maxY); 148 pts[1].fY = maxY; [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; 78 if (quad[maxY].fY < quad[index].fY) { 79 maxY = 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; 218 if (cubic[maxY].fY < cubic[index].fY) [all...] |