/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutRect.cpp | 52 && y() < other.maxY() && other.y() < maxY(); in intersects() 58 && y() <= other.y() && maxY() >= other.maxY(); in contains() 64 LayoutPoint newMaxPoint(std::min(maxX(), other.maxX()), std::min(maxY(), other.maxY())); in intersect() 87 LayoutPoint newMaxPoint(std::max(maxX(), other.maxX()), std::max(maxY(), other.maxY())); in unite() 104 LayoutPoint newMaxPoint(std::max(maxX(), other.maxX()), std::max(maxY(), other.maxY())); in uniteIfNonZero() 126 …%d y=%d maxX=%d maxY=%d]\n", x().rawValue(), y().rawValue(), maxX().rawValue(), maxY().rawValue()); in show() 128 …y=%lf maxX=%lf maxY=%lf]\n", x().toDouble(), y().toDouble(), maxX().toDouble(), maxY().toDouble()); in show()
|
D | IntRect.cpp | 54 && y() < other.maxY() && other.y() < maxY(); in intersects() 60 && y() <= other.y() && maxY() >= other.maxY(); in contains() 68 int bottom = std::min(maxY(), other.maxY()); in intersect() 97 int bottom = std::max(maxY(), other.maxY()); in unite() 118 int bottom = std::max(maxY(), other.maxY()); in uniteIfNonZero() 146 int ydistance = distanceToInterval(point.y(), y(), maxY()); in differenceToPoint() 152 SkIRect rect = { x(), y(), maxX(), maxY() }; in operator SkIRect() 159 rect.set(SkIntToScalar(x()), SkIntToScalar(y()), SkIntToScalar(maxX()), SkIntToScalar(maxY())); in operator SkRect()
|
D | FloatRect.cpp | 62 && isWithinIntRange(maxX()) && isWithinIntRange(maxY()); in isExpressibleAsIntRect() 70 && y() < other.maxY() && other.y() < maxY(); in intersects() 76 && y() <= other.y() && maxY() >= other.maxY(); in contains() 83 return x() < point.x() && maxX() > point.x() && y() < point.y() && maxY() > point.y(); in contains() 91 float bottom = std::min(maxY(), other.maxY()); in intersect() 122 float maxY = std::max(this->maxY(), other.maxY()); in uniteEvenIfEmpty() local 124 setLocationAndSizeFromEdges(minX, minY, maxX, maxY); in uniteEvenIfEmpty() 145 float maxY = std::max(this->maxY(), p.y()); in extend() local 147 setLocationAndSizeFromEdges(minX, minY, maxX, maxY); in extend()
|
D | FloatRoundedRect.cpp | 108 if (y < rect().y() || y > rect().maxY()) in xInterceptsAtY() 120 if (!topLeftRect.isEmpty() && y >= topLeftRect.y() && y < topLeftRect.maxY()) in xInterceptsAtY() 121 … minXIntercept = topLeftRect.maxX() - cornerRectIntercept(topLeftRect.maxY() - y, topLeftRect); in xInterceptsAtY() 122 else if (!bottomLeftRect.isEmpty() && y >= bottomLeftRect.y() && y <= bottomLeftRect.maxY()) in xInterceptsAtY() 130 if (!topRightRect.isEmpty() && y >= topRightRect.y() && y <= topRightRect.maxY()) in xInterceptsAtY() 131 … maxXIntercept = topRightRect.x() + cornerRectIntercept(topRightRect.maxY() - y, topRightRect); in xInterceptsAtY() 132 else if (!bottomRightRect.isEmpty() && y >= bottomRightRect.y() && y <= bottomRightRect.maxY()) in xInterceptsAtY()
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | browser_window_layout.mm | 156 CGFloat maxY = maxY_; 158 // Sanity-check |maxY|. 159 DCHECK_GE(maxY, 0); 160 DCHECK_LE(maxY, parameters_.contentViewSize.height + fullscreenYOffset_); 167 0, maxY - parameters_.toolbarHeight, width, parameters_.toolbarHeight); 168 maxY = NSMinY(output_.toolbarFrame); 171 CGFloat toolbarY = maxY - parameters_.toolbarHeight - kLocBarTopInset; 175 maxY = NSMinY(output_.toolbarFrame) - kLocBarBottomInset; 182 maxY - parameters.bookmarkBarHeight, 185 maxY = NSMinY(output_.bookmarkFrame); [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderOverflow.h | 83 LayoutUnit maxY = std::max(rect.maxY(), m_layoutOverflow.maxY()); in addLayoutOverflow() local 88 m_layoutOverflow.setHeight(maxY - minY); in addLayoutOverflow() 90 m_layoutOverflow.setY(maxY - m_layoutOverflow.height()); in addLayoutOverflow() 96 LayoutUnit maxY = std::max(rect.maxY(), m_visualOverflow.maxY()); in addVisualOverflow() local 100 m_visualOverflow.setHeight(maxY - m_visualOverflow.y()); in addVisualOverflow()
|
D | RenderRegion.cpp | 79 …LayoutUnit maxY = isLastPortion ? std::max(flowThreadPortionRect.maxY(), flowThreadOverflow.maxY()… in overflowRectForFlowThreadPortion() local 82 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY); in overflowRectForFlowThreadPortion() 87 LayoutUnit maxY = std::max(flowThreadPortionRect.y(), (flowThreadOverflow.maxY())); in overflowRectForFlowThreadPortion() local 88 clipRect = LayoutRect(minX, minY, maxX - minX, maxY - minY); in overflowRectForFlowThreadPortion()
|
D | ScrollAlignment.cpp | 126 if ((exposeRect.maxY() > visibleRect.maxY() && exposeRect.height() < visibleRect.height()) in getRectToExpose() 127 … || (exposeRect.maxY() < visibleRect.maxY() && exposeRect.height() > visibleRect.height())) { in getRectToExpose() 137 y = exposeRect.maxY() - visibleRect.height(); in getRectToExpose()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | RasterShape.cpp | 82 for (int y = bounds().y(); y < bounds().maxY(); ++y) { in computeShapeMarginIntervals() 89 int marginY1 = std::min(maxY(), y + shapeMargin + 1); in computeShapeMarginIntervals() 100 if (marginY < bounds().maxY() && intervalAt(marginY).contains(intervalAtY)) in computeShapeMarginIntervals() 113 for (int y = minY(); y < maxY(); ++y) { in initializeBounds() 123 int maxY = bounds().maxY(); in buildBoundsPath() local 124 for (int y = bounds().y(); y < maxY; y++) { in buildBoundsPath() 130 for (; endY < maxY; endY++) { in buildBoundsPath() 162 if (y2 < intervals.bounds().y() || y1 >= intervals.bounds().maxY()) in getExcludedInterval() 166 y2 = std::min(y2, intervals.bounds().maxY()); in getExcludedInterval()
|
D | PolygonShape.cpp | 54 … float y1, float y2) { return !rect.isEmpty() && y2 >= y1 && y2 >= rect.y() && y1 <= rect.maxY(); } in overlapsYRange() 58 ASSERT(y >= minY() && y <= maxY()); in xIntercept() 64 if (y == maxY()) in xIntercept() 72 if (!overlapsYRange(y1, y2) || (y1 == maxY() && minY() <= y1) || (y2 == minY() && maxY() >= y2)) in clippedEdgeXRange() 138 if (edge.maxY() == edge.minY()) in getExcludedInterval()
|
/external/skia/src/pathops/ |
D | SkReduceOrder.cpp | 38 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() argument 64 int index, minX, maxX, minY, maxY; in reduce() local 66 minX = maxX = minY = maxY = 0; in reduce() 78 if (quad[maxY].fY < quad[index].fY) { in reduce() 79 maxY = index; in reduce() 99 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce() 158 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) { in check_linear() argument 204 int index, minX, maxX, minY, maxY; in reduce() local 206 minX = maxX = minY = maxY = 0; in reduce() 218 if (cubic[maxY].fY < cubic[index].fY) { in reduce() [all …]
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkReduceOrder.cpp | 38 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) { in check_linear() argument 64 int index, minX, maxX, minY, maxY; in reduce() local 66 minX = maxX = minY = maxY = 0; in reduce() 78 if (quad[maxY].fY < quad[index].fY) { in reduce() 79 maxY = index; in reduce() 99 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); in reduce() 158 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) { in check_linear() argument 204 int index, minX, maxX, minY, maxY; in reduce() local 206 minX = maxX = minY = maxY = 0; in reduce() 218 if (cubic[maxY].fY < cubic[index].fY) { in reduce() [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
D | pickerCommon.js | 70 get maxY() { return this.y + this.height; }, getter in Rectangle 83 var maxY = Math.min(rect1.maxY, rect2.maxY); 85 var height = maxY - y; 130 var availableSpaceBelow = availRect.maxY - anchorRect.maxY; 140 windowRect.y = anchorRect.maxY; 142 windowRect.y = Math.min(windowRect.y, availRect.maxY - windowRect.height);
|
/external/chromium_org/third_party/skia/src/opts/ |
D | SkBitmapProcState_matrix_neon.h | 40 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_NOFILTER_NAME() local 41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY); in SCALE_NOFILTER_NAME() 126 int maxY = s.fBitmap->height() - 1; in AFFINE_NOFILTER_NAME() local 158 hi16.val[1] = TILEY_PROCF_NEON8(ybase, y2base, maxY); in AFFINE_NOFILTER_NAME() 177 *xy++ = (TILEY_PROCF(SkFractionalIntToFixed(fy), maxY) << 16) | in AFFINE_NOFILTER_NAME() 191 int maxY = s.fBitmap->height() - 1; in PERSP_NOFILTER_NAME() local 211 hi16.val[1] = TILEY_PROCF_NEON8(xy1.val[1], xy2.val[1], maxY); in PERSP_NOFILTER_NAME() 225 *xy++ = (TILEY_PROCF(srcXY[1], maxY) << 16) | in PERSP_NOFILTER_NAME() 306 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_FILTER_NAME() local 308 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME() [all …]
|
/external/skia/src/opts/ |
D | SkBitmapProcState_matrix_neon.h | 40 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_NOFILTER_NAME() local 41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY); in SCALE_NOFILTER_NAME() 126 int maxY = s.fBitmap->height() - 1; in AFFINE_NOFILTER_NAME() local 158 hi16.val[1] = TILEY_PROCF_NEON8(ybase, y2base, maxY); in AFFINE_NOFILTER_NAME() 177 *xy++ = (TILEY_PROCF(SkFractionalIntToFixed(fy), maxY) << 16) | in AFFINE_NOFILTER_NAME() 191 int maxY = s.fBitmap->height() - 1; in PERSP_NOFILTER_NAME() local 211 hi16.val[1] = TILEY_PROCF_NEON8(xy1.val[1], xy2.val[1], maxY); in PERSP_NOFILTER_NAME() 225 *xy++ = (TILEY_PROCF(srcXY[1], maxY) << 16) | in PERSP_NOFILTER_NAME() 306 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_FILTER_NAME() local 308 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME() [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBitmapProcState_matrix_template.h | 29 const unsigned maxY = s.fBitmap->height() - 1; in NoFilterProc_Scale() local 30 *xy++ = TileProc::Y(s, SkFractionalIntToFixed(fx), maxY); in NoFilterProc_Scale() 93 int maxY = s.fBitmap->height() - 1; in NoFilterProc_Affine() local 96 *xy++ = (TileProc::Y(s, SkFractionalIntToFixed(fy), maxY) << 16) | in NoFilterProc_Affine() 108 int maxY = s.fBitmap->height() - 1; in NoFilterProc_Persp() local 117 *xy++ = (TileProc::Y(s, srcXY[1], maxY) << 16) | in NoFilterProc_Persp()
|
D | SkBitmapProcState_matrix.h | 68 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_FILTER_NAME() local 70 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME() 110 unsigned maxY = s.fBitmap->height() - 1; in AFFINE_FILTER_NAME() local 113 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y); in AFFINE_FILTER_NAME() 127 unsigned maxY = s.fBitmap->height() - 1; in PERSP_FILTER_NAME() local 138 *xy++ = PACK_FILTER_Y_NAME(srcXY[1] - (oneY >> 1), maxY, in PERSP_FILTER_NAME()
|
/external/skia/src/core/ |
D | SkBitmapProcState_matrix_template.h | 29 const unsigned maxY = s.fBitmap->height() - 1; in NoFilterProc_Scale() local 30 *xy++ = TileProc::Y(s, SkFractionalIntToFixed(fx), maxY); in NoFilterProc_Scale() 93 int maxY = s.fBitmap->height() - 1; in NoFilterProc_Affine() local 96 *xy++ = (TileProc::Y(s, SkFractionalIntToFixed(fy), maxY) << 16) | in NoFilterProc_Affine() 108 int maxY = s.fBitmap->height() - 1; in NoFilterProc_Persp() local 117 *xy++ = (TileProc::Y(s, srcXY[1], maxY) << 16) | in NoFilterProc_Persp()
|
D | SkBitmapProcState_matrix.h | 68 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_FILTER_NAME() local 70 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME() 110 unsigned maxY = s.fBitmap->height() - 1; in AFFINE_FILTER_NAME() local 113 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y); in AFFINE_FILTER_NAME() 127 unsigned maxY = s.fBitmap->height() - 1; in PERSP_FILTER_NAME() local 138 *xy++ = PACK_FILTER_Y_NAME(srcXY[1] - (oneY >> 1), maxY, in PERSP_FILTER_NAME()
|
/external/skia/experimental/Intersection/ |
D | TestUtilities.cpp | 22 int index, minX, maxX, minY, maxY; in tiny() local 23 minX = maxX = minY = maxY = 0; in tiny() 34 if (cubic[maxY].y < cubic[index].y) { in tiny() 35 maxY = index; in tiny() 39 && approximately_equal(cubic[maxY].y, cubic[minY].y); in tiny()
|
D | QuadraticReduceOrder.cpp | 67 int minX, int maxX, int minY, int maxY, Quadratic& reduction) { in check_linear() argument 87 bool useX = quad[maxX].x - quad[minX].x >= quad[maxY].y - quad[minY].y; in check_linear() 143 int index, minX, maxX, minY, maxY; in reduceOrder() local 145 minX = maxX = minY = maxY = 0; in reduceOrder() 157 if (quad[maxY].y < quad[index].y) { in reduceOrder() 158 maxY = index; in reduceOrder() 178 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, reduction); in reduceOrder()
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | TestUtilities.cpp | 22 int index, minX, maxX, minY, maxY; in tiny() local 23 minX = maxX = minY = maxY = 0; in tiny() 34 if (cubic[maxY].y < cubic[index].y) { in tiny() 35 maxY = index; in tiny() 39 && approximately_equal(cubic[maxY].y, cubic[minY].y); in tiny()
|
D | QuadraticReduceOrder.cpp | 67 int minX, int maxX, int minY, int maxY, Quadratic& reduction) { in check_linear() argument 87 bool useX = quad[maxX].x - quad[minX].x >= quad[maxY].y - quad[minY].y; in check_linear() 143 int index, minX, maxX, minY, maxY; in reduceOrder() local 145 minX = maxX = minY = maxY = 0; in reduceOrder() 157 if (quad[maxY].y < quad[index].y) { in reduceOrder() 158 maxY = index; in reduceOrder() 178 int result = check_linear(quad, reduceStyle, minX, maxX, minY, maxY, reduction); in reduceOrder()
|
/external/chromium_org/chrome/test/chromedriver/js/ |
D | get_element_region.js | 53 var maxY = minY; 60 maxY = Math.max(maxY, y); 66 'height': maxY - minY
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | SpatialNavigation.cpp | 128 return isHorizontalMove(type) ? rect.maxY() : rect.maxX(); in end() 236 return curRect.y() - targetRect.maxY() > viewSize.height(); in areRectsMoreThanFullScreenApart() 238 return targetRect.y() - curRect.maxY() > viewSize.height(); in areRectsMoreThanFullScreenApart() 250 return a.y() >= b.maxY() in below() 251 || (a.y() >= b.y() && a.maxY() > b.maxY()); in below() 552 if (potentialRect.maxY() < startingRect.y()) in entryAndExitPointsForDirection() 553 entryPoint.setY(potentialRect.maxY()); in entryAndExitPointsForDirection() 565 exitPoint.setY(startingRect.maxY()); in entryAndExitPointsForDirection() 566 if (potentialRect.y() > startingRect.maxY()) in entryAndExitPointsForDirection() 569 entryPoint.setY(startingRect.maxY()); in entryAndExitPointsForDirection() [all …]
|