Home
last modified time | relevance | path

Searched refs:visibleRect (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DScrollAlignment.cpp59 LayoutRect ScrollAlignment::getRectToExpose(const LayoutRect& visibleRect, const LayoutRect& expose… in getRectToExpose() argument
63 … LayoutRect exposeRectX(exposeRect.x(), visibleRect.y(), exposeRect.width(), visibleRect.height()); in getRectToExpose()
64 LayoutUnit intersectWidth = intersection(visibleRect, exposeRectX).width(); in getRectToExpose()
70 } else if (intersectWidth == visibleRect.width()) { in getRectToExpose()
86 if ((exposeRect.maxX() > visibleRect.maxX() && exposeRect.width() < visibleRect.width()) in getRectToExpose()
87 … || (exposeRect.maxX() < visibleRect.maxX() && exposeRect.width() > visibleRect.width())) { in getRectToExpose()
95 x = visibleRect.x(); in getRectToExpose()
97 x = exposeRect.maxX() - visibleRect.width(); in getRectToExpose()
99 x = exposeRect.x() + (exposeRect.width() - visibleRect.width()) / 2; in getRectToExpose()
105 … LayoutRect exposeRectY(visibleRect.x(), exposeRect.y(), visibleRect.width(), exposeRect.height()); in getRectToExpose()
[all …]
DScrollAlignment.h67 …static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const LayoutRect& exposeRect, con…
/external/chromium_org/third_party/WebKit/Source/web/tests/
DPinchViewportTest.cpp245 EXPECT_FLOAT_SIZE_EQ(FloatSize(50, 100), pinchViewport.visibleRect().size()); in TEST_F()
251 EXPECT_FLOAT_SIZE_EQ(FloatSize(50, 25), pinchViewport.visibleRect().size()); in TEST_F()
305 EXPECT_FLOAT_SIZE_EQ(FloatSize(50, 100), pinchViewport.visibleRect().size()); in TEST_F()
310 EXPECT_FLOAT_SIZE_EQ(FloatSize(50, 25), pinchViewport.visibleRect().size()); in TEST_F()
366 EXPECT_FLOAT_RECT_EQ(expectedRect, pinchViewport.visibleRect()); in TEST_F()
371 EXPECT_FLOAT_RECT_EQ(expectedRect, pinchViewport.visibleRect()); in TEST_F()
375 EXPECT_FLOAT_RECT_EQ(expectedRect, pinchViewport.visibleRect()); in TEST_F()
383 EXPECT_FLOAT_RECT_EQ(expectedRect, pinchViewport.visibleRect()); in TEST_F()
387 EXPECT_FLOAT_RECT_EQ(expectedRect, pinchViewport.visibleRect()); in TEST_F()
402 EXPECT_FLOAT_POINT_EQ(FloatPoint(0, 0), pinchViewport.visibleRect().location()); in TEST_F()
[all …]
DTouchActionTest.cpp255 IntRect visibleRect = frameView->windowClipRect(); in runTestOnTree() local
256 ASSERT_TRUE(visibleRect.contains(clientPoint)) << failureContextPos in runTestOnTree()
257 … << " Test point not contained in visible area: " << visibleRect.x() << "," << visibleRect.y() in runTestOnTree()
258 << "-" << visibleRect.maxX() << "," << visibleRect.maxY(); in runTestOnTree()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DPinchViewport.cpp114 FloatRect PinchViewport::visibleRect() const in visibleRect() function in blink::PinchViewport
127 FloatRect pinchRect = visibleRect(); in visibleRectInDocument()
139 float centeringOffsetX = (visibleRect().width() - rect.width()) / 2; in scrollIntoView()
140 float centeringOffsetY = (visibleRect().height() - rect.height()) / 2; in scrollIntoView()
143 rect.x() - centeringOffsetX - visibleRect().x(), in scrollIntoView()
144 rect.y() - centeringOffsetY - visibleRect().y()); in scrollIntoView()
189 setLocation(visibleRect().location()); in setScale()
351 return flooredIntPoint(FloatSize(contentsSize()) - visibleRect().size()); in maximumScrollPosition()
DPinchViewport.h105 FloatRect visibleRect() const;
123 virtual int visibleHeight() const OVERRIDE { return visibleRect().height(); }; in visibleHeight()
124 virtual int visibleWidth() const OVERRIDE { return visibleRect().width(); }; in visibleWidth()
DFrameView.cpp1440 IntSize pinchViewportSize = expandedIntSize(pinchViewport.visibleRect().size()); in scrollElementToRect()
1441 targetRect.moveBy(ceiledIntPoint(pinchViewport.visibleRect().location())); in scrollElementToRect()
/external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/mac/
DAPPRTCAppDelegate.m50 NSRect visibleRect = [screen visibleFrame];
51 NSRect windowRect = NSMakeRect(NSMidX(visibleRect),
52 NSMidY(visibleRect),
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_toolbar_view.mm35 [self addCursorRect:[self visibleRect] cursor:arrow];
/external/chromium_org/ui/app_list/cocoa/
Dapps_grid_view_item.mm347 [itemView bitmapImageRepForCachingDisplayInRect:[itemView visibleRect]];
348 [itemView cacheDisplayInRect:[itemView visibleRect]
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzWindow.m226 [self addCursorRect: [self visibleRect] cursor: sdlc->wm_cursor->nscursor];
/external/chromium_org/third_party/WebKit/Source/web/
DContextMenuClientImpl.cpp203 mousePoint -= flooredIntSize(pinchViewport.visibleRect().location()); in showContextMenu()
DWebInputEventConversion.cpp85 return flooredIntPoint(rootView->page()->frameHost().pinchViewport().visibleRect().location()); in pinchViewportOffset()
DWebLocalFrameImpl.cpp1231 unscaledPoint.moveBy(pinchViewport.visibleRect().location()); in visiblePositionForWindowPoint()
DWebViewImpl.cpp2469 roundedIntPoint(page()->frameHost().pinchViewport().visibleRect().location()); in selectionBounds()
2994 return page()->frameHost().pinchViewport().visibleRect().location(); in pinchViewportOffset()
/external/chromium_org/ui/file_manager/gallery/js/
Dmosaic_mode.js556 var visibleRect = new Rect(0,
586 imageRect.intersects(visibleRect)) {
/external/chromium_org/third_party/WebKit/Source/core/loader/
DFrameLoader.cpp206 …m_currentItem->setPinchViewportScrollPoint(m_frame->host()->pinchViewport().visibleRect().location… in saveScrollState()
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DThemeMac.mm63 return [self visibleRect];
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_mac.mm1726 [self addCursorRect:[self visibleRect] cursor:currentCursor_];