Home
last modified time | relevance | path

Searched refs:maxY (Results 1 – 25 of 140) sorted by relevance

123456

/external/webkit/Source/WebCore/platform/graphics/
DIntRect.cpp48 && y() < other.maxY() && other.y() < maxY(); in intersects()
54 && y() <= other.y() && maxY() >= other.maxY(); in contains()
62 int b = min(maxY(), other.maxY()); in intersect()
91 int b = max(maxY(), other.maxY()); in unite()
112 int bottom = max(maxY(), other.maxY()); in uniteIfNonZero()
DFloatRect.cpp55 && y() < other.maxY() && other.y() < maxY(); in intersects()
61 && y() <= other.y() && maxY() >= other.maxY(); in contains()
69 float b = min(maxY(), other.maxY()); in intersect()
95 float b = max(maxY(), other.maxY()); in unite()
113 float bottom = max(maxY(), other.maxY()); in uniteIfNonZero()
190 float height = ceilf(rect.maxY()) - top; in enclosingIntRect()
DFloatQuad.h58 , m_p3(inRect.maxX(), inRect.maxY()) in FloatQuad()
59 , m_p4(inRect.x(), inRect.maxY()) in FloatQuad()
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_controller_private.mm192 CGFloat maxY = NSMaxY(contentBounds) + yOffset;
193 CGFloat startMaxY = maxY;
196 // If we need to lay out the top tab strip, replace |maxY| and |startMaxY|
199 startMaxY = maxY = NSHeight(windowFrame) + yOffset;
200 maxY = [self layoutTabStripAtMaxY:maxY width:width fullscreen:isFullscreen];
203 // Sanity-check |maxY|.
204 DCHECK_GE(maxY, minY);
205 DCHECK_LE(maxY, NSMaxY(contentBounds) + yOffset);
218 maxY = [self layoutToolbarAtMinX:minX maxY:maxY width:width];
224 maxY = [self layoutBookmarkBarAtMinX:minX maxY:maxY width:width];
[all …]
Dbrowser_window_controller_private.h48 - (CGFloat)layoutTabStripAtMaxY:(CGFloat)maxY
56 maxY:(CGFloat)maxY
69 maxY:(CGFloat)maxY
81 maxY:(CGFloat)maxY
/external/webkit/Source/WebCore/rendering/
DRenderOverflow.h45 , m_maxYLayoutOverflow(layoutRect.maxY()) in RenderOverflow()
49 , m_maxYVisualOverflow(visualRect.maxY()) in RenderOverflow()
125 m_maxYLayoutOverflow = std::max(rect.maxY(), m_maxYLayoutOverflow); in addLayoutOverflow()
133 m_maxYVisualOverflow = std::max(rect.maxY(), m_maxYVisualOverflow); in addVisualOverflow()
141 m_maxYLayoutOverflow = rect.maxY(); in setLayoutOverflow()
149 m_maxYVisualOverflow = rect.maxY(); in setVisualOverflow()
157 m_maxYLayoutOverflow = rect.maxY(); in resetLayoutOverflow()
DRenderThemeWinCE.cpp389 …o.context->drawLine(IntPoint(xBounds.maxX(), xBounds.y()), IntPoint(xBounds.x(), xBounds.maxY())); in paintSearchFieldCancelButton()
492 IntPoint left = IntPoint(r.x() + 2, (r.y() + r.maxY()) / 2); in paintSliderTrack()
501 …ntPoint(left.x() + mediaElement->percentLoaded() * (r.maxX() - r.x() - 4), (r.y() + r.maxY()) / 2); in paintSliderTrack()
570 FloatPoint(imRect.maxX() - 1, imRect.maxY()), in paintMediaMuteButton()
576 …ntInfo.context->drawLine(IntPoint(imRect.maxX(), imRect.y()), IntPoint(imRect.x(), imRect.maxY())); in paintMediaMuteButton()
598 …)), FloatPoint(imRect.maxX(), (imRect.y() + imRect.maxY()) / 2.0), FloatPoint(imRect.x(), imRect.m… in paintMediaPlayButton()
610 …Point(imRect.x(), (imRect.y() + imRect.maxY()) / 2.0), FloatPoint((imRect.x() + imRect.maxX()) / 2… in paintMediaSeekBackButton()
611 ….x() + imRect.maxX()) / 2.0, (imRect.y() + imRect.maxY()) / 2.0), FloatPoint(imRect.maxX(), imRect… in paintMediaSeekBackButton()
626 …t.x() + imRect.maxX()) / 2.0, (imRect.y() + imRect.maxY()) / 2.0), FloatPoint(imRect.x(), imRect.m… in paintMediaSeekForwardButton()
627 …nt(imRect.maxX(), (imRect.y() + imRect.maxY()) / 2.0), FloatPoint((imRect.x() + imRect.maxX()) / 2… in paintMediaSeekForwardButton()
/external/skia/src/core/
DSkBitmapProcState_matrix.h51 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_NOFILTER_NAME() local
52 *xy++ = TILEY_PROCF(fx, maxY); in SCALE_NOFILTER_NAME()
119 int maxY = s.fBitmap->height() - 1; in AFFINE_NOFILTER_NAME() local
122 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX); in AFFINE_NOFILTER_NAME()
134 int maxY = s.fBitmap->height() - 1; in PERSP_NOFILTER_NAME() local
143 *xy++ = (TILEY_PROCF(srcXY[1], maxY) << 16) | in PERSP_NOFILTER_NAME()
184 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_FILTER_NAME() local
186 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); in SCALE_FILTER_NAME()
227 unsigned maxY = s.fBitmap->height() - 1; in AFFINE_FILTER_NAME() local
230 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y); in AFFINE_FILTER_NAME()
[all …]
DSkBitmapProcState_matrix_repeat.h70 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_NOFILTER_NAME() local
71 *xy++ = TILEY_PROCF(fx, maxY); in SCALE_NOFILTER_NAME()
204 int maxY = s.fBitmap->height() - 1; in AFFINE_NOFILTER_NAME() local
254 yout = vmulq_s32(yout, vdupq_n_s32(maxY+1)); in AFFINE_NOFILTER_NAME()
281 uint32_t val = (TILEY_PROCF(ofy, maxY) << 16) | TILEX_PROCF(ofx, maxX); in AFFINE_NOFILTER_NAME()
293 SkDebugf("maxX %08x maxY %08x\n", maxX, maxY); in AFFINE_NOFILTER_NAME()
301 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX); in AFFINE_NOFILTER_NAME()
313 int maxY = s.fBitmap->height() - 1; in PERSP_NOFILTER_NAME() local
385 y = vmulq_s32(y, vdupq_n_s32(maxY+1)); in PERSP_NOFILTER_NAME()
390 y2 = vmulq_s32(y2, vdupq_n_s32(maxY+1)); in PERSP_NOFILTER_NAME()
[all …]
DSkBitmapProcState_matrix_clamp.h72 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_NOFILTER_NAME() local
73 *xy++ = TILEY_PROCF(fx, maxY); in SCALE_NOFILTER_NAME()
181 int maxY = s.fBitmap->height() - 1; in AFFINE_NOFILTER_NAME() local
196 int32_t maxpair = (maxX&0xffff) | ((maxY&0xffff)<<16); in AFFINE_NOFILTER_NAME()
268 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX); in AFFINE_NOFILTER_NAME()
283 int maxY = s.fBitmap->height() - 1; in PERSP_NOFILTER_NAME() local
315 int16x4_t maxY4 = vdup_n_s16((int16_t)maxY); in PERSP_NOFILTER_NAME()
419 *xy++ = (TILEY_PROCF(srcXY[1], maxY) << 16) | in PERSP_NOFILTER_NAME()
430 val = (TILEY_PROCF (base_srcXY[i * 2 + 1], maxY) << 16) | in PERSP_NOFILTER_NAME()
440 SkDebugf(" maxX %08x maxY %08x\n", maxX, maxY); in PERSP_NOFILTER_NAME()
[all …]
DSkBitmapSampler.cpp108 int maxY = fMaxY; in sample() local
112 int tmpy = procY(iy, maxY); in sample()
118 int tmpy1 = procY(iy + 1, maxY); in sample()
156 int maxY = fMaxY; in sample() local
160 int tmpy = procY(iy, maxY); in sample()
166 int tmpy1 = procY(iy + 1, maxY); in sample()
211 int maxY = fMaxY; in sample() local
215 int tmpy = procY(iy, maxY); in sample()
221 int tmpy1 = procY(iy + 1, maxY); in sample()
270 int maxY = fMaxY; in sample() local
[all …]
DSkBitmapProcState_shaderproc.h42 const unsigned maxY = s.fBitmap->height() - 1; in SCALE_FILTER_NAME() local
44 subY = TILEY_LOW_BITS(fy, maxY); in SCALE_FILTER_NAME()
45 int y0 = TILEY_PROCF(fy, maxY); in SCALE_FILTER_NAME()
46 int y1 = TILEY_PROCF((fy + s.fFilterOneY), maxY); in SCALE_FILTER_NAME()
/external/webkit/Source/WebKit2/UIProcess/qt/
DTiledDrawingAreaTileQt.cpp95 if (m_rect.maxY() > oldRect.maxY()) in resize()
96 … invalidate(IntRect(oldRect.x(), oldRect.maxY(), m_rect.width(), m_rect.maxY() - oldRect.maxY())); in resize()
/external/webkit/Source/WebCore/inspector/
DDOMNodeHighlighter.cpp173 IntPoint titleBasePoint = IntPoint(anchorBox.x(), anchorBox.maxY() - 1); in drawElementTitle()
191 if (titleRect.maxY() > overlayRect.maxY()) { in drawElementTitle()
192 dy = anchorBox.y() - titleRect.maxY() - borderWidthPx; in drawElementTitle()
194 if (titleRect.maxY() + dy > overlayRect.maxY()) in drawElementTitle()
195 dy = overlayRect.maxY() - titleRect.maxY(); in drawElementTitle()
/external/webkit/Source/WebCore/platform/graphics/skia/
DIntRectSkia.cpp40 SkIRect rect = { x(), y(), maxX(), maxY() }; in operator SkIRect()
47 rect.set(SkIntToScalar(x()), SkIntToScalar(y()), SkIntToScalar(maxX()), SkIntToScalar(maxY())); in operator SkRect()
/external/webkit/Source/WebKit/android/nav/
DCachedHistory.cpp67 if (mMinWorkingHorizontal < viewBounds.y() || mMinWorkingHorizontal >= viewBounds.maxY()) in pinMaxMin()
69 if (mMaxWorkingHorizontal > viewBounds.maxY() || mMaxWorkingHorizontal <= viewBounds.y()) in pinMaxMin()
70 mMaxWorkingHorizontal = viewBounds.maxY(); in pinMaxMin()
110 mMaxWorkingHorizontal = navBounds->maxY(); in setWorking()
DCachedFrame.cpp73 top = direction == UP ? bestRect.maxY() : prior.maxY(); in CheckBetween()
97 int bottom = prior.maxY(); in CheckBetween()
98 int testBottom = bestRect.maxY(); in CheckBetween()
525 test->index(), rect.x(), rect.y(), rect.maxX(), rect.maxY(), in findBestHitAt()
526 testRect.x(), testRect.y(), testRect.maxX(), testRect.maxY()); in findBestHitAt()
531 cursorRect.maxY()); in findBestHitAt()
613 distance = clip->maxY() - testBounds.y(); in findClosest()
616 distance = testBounds.maxY() - clip->y(); in findClosest()
1247 mMajorButt = mNodeBounds.y() - navBounds.maxY(); in setDownDirection()
1264 int inNavBottom = navBounds.maxY() - mNodeBounds.maxY(); in setDownDirection()
[all …]
DCachedRoot.cpp592 SkIRect fatter = {r->x(), r->y(), r->maxX(), r->maxY()}; in RingCheck()
1070 contentBounds.maxY(), in calcBitBounds()
1071 overBounds.x(), overBounds.y(), overBounds.maxX(), overBounds.maxY(), in calcBitBounds()
1073 mScrolledBounds.maxY(), in calcBitBounds()
1075 mViewBounds.maxY(), in calcBitBounds()
1077 bitBounds->maxY()); in calcBitBounds()
1137 bitBounds.x(), bitBounds.y(), bitBounds.maxX(), bitBounds.maxY(), in checkRings()
1138 nodeBounds.x(), nodeBounds.y(), nodeBounds.maxX(), nodeBounds.maxY(), in checkRings()
1139 testBounds.x(), testBounds.y(), testBounds.maxX(), testBounds.maxY(), in checkRings()
1290 int viewBottom = mViewBounds.maxY(); in innerDown()
[all …]
DCachedNode.cpp150 int unitBottom = unitBoundsPtr->maxY(); in fixUpCursorRects()
158 int testBottom = testBoundsPtr->maxY(); in fixUpCursorRects()
187 candidateBottom > checkBoundsPtr->maxY()) in fixUpCursorRects()
188 candidateTop = checkBoundsPtr->maxY(); in fixUpCursorRects()
190 candidateBottom <= checkBoundsPtr->maxY()) in fixUpCursorRects()
/external/webkit/Source/WebCore/page/
DSpatialNavigation.cpp131 return isHorizontalMove(direction) ? rect.maxY() : rect.maxX(); in end()
253 return curRect.y() - targetRect.maxY() > viewSize.height(); in areRectsMoreThanFullScreenApart()
255 return targetRect.y() - curRect.maxY() > viewSize.height(); in areRectsMoreThanFullScreenApart()
265 return a.y() > b.maxY(); in below()
282 return targetRect.maxY() <= curRect.y(); in isRectInDirection()
284 return targetRect.y() >= curRect.maxY(); in isRectInDirection()
554 entryPoint.setY(potentialRect.maxY()); in entryAndExitPointsForDirection()
561 exitPoint.setY(startingRect.maxY()); in entryAndExitPointsForDirection()
573 entryPoint.setY(potentialRect.maxY()); in entryAndExitPointsForDirection()
575 exitPoint.setY(startingRect.maxY()); in entryAndExitPointsForDirection()
[all …]
DPrintContext.cpp128 blockDirectionStart = docRect.maxY(); in computePageRectsWithPageSizeInternal()
132 blockDirectionEnd = docRect.maxY(); in computePageRectsWithPageSizeInternal()
144 … inlineDirectionStart = view->style()->isLeftToRightDirection() ? docRect.y() : docRect.maxY(); in computePageRectsWithPageSizeInternal()
145 inlineDirectionEnd = view->style()->isLeftToRightDirection() ? docRect.maxY() : docRect.y(); in computePageRectsWithPageSizeInternal()
267 if (page.x() <= left && left < page.maxX() && page.y() <= top && top < page.maxY()) in pageNumberForElement()
/external/webkit/Source/WebKit/chromium/src/
DDragScrollTimer.cpp50 else if (rect.maxY() < point.y()) in distanceToRect()
51 dy = point.y() - rect.maxY(); in distanceToRect()
/external/webkit/Source/WebCore/platform/graphics/android/
DTilesProfiler.cpp136 rect.maxX(), rect.maxY(), scale, false, INVAL_CODE)); in nextInval()
138 rect.maxX(), rect.maxY(), scale); in nextInval()
/external/webkit/Source/WebCore/page/chromium/
DFrameChromium.cpp88 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); in nodeImage()
111 buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); in dragImageForSelection()
/external/chromium/chrome/browser/resources/
Dkeyboard_overlay.js353 var maxY = 0;
390 maxY = Math.max(maxY, y + h);
394 var height = maxY - minY + 1;

123456