/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | ScrollAlignment.cpp | 59 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 …]
|
D | ScrollAlignment.h | 67 …static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const LayoutRect& exposeRect, con…
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | PinchViewportTest.cpp | 245 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 …]
|
D | TouchActionTest.cpp | 255 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/ |
D | PinchViewport.cpp | 114 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()
|
D | PinchViewport.h | 105 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()
|
D | FrameView.cpp | 1440 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/ |
D | APPRTCAppDelegate.m | 50 NSRect visibleRect = [screen visibleFrame]; 51 NSRect windowRect = NSMakeRect(NSMidX(visibleRect), 52 NSMidY(visibleRect),
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_bar_toolbar_view.mm | 35 [self addCursorRect:[self visibleRect] cursor:arrow];
|
/external/chromium_org/ui/app_list/cocoa/ |
D | apps_grid_view_item.mm | 347 [itemView bitmapImageRepForCachingDisplayInRect:[itemView visibleRect]]; 348 [itemView cacheDisplayInRect:[itemView visibleRect]
|
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
D | SDL_QuartzWindow.m | 226 [self addCursorRect: [self visibleRect] cursor: sdlc->wm_cursor->nscursor];
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | ContextMenuClientImpl.cpp | 203 mousePoint -= flooredIntSize(pinchViewport.visibleRect().location()); in showContextMenu()
|
D | WebInputEventConversion.cpp | 85 return flooredIntPoint(rootView->page()->frameHost().pinchViewport().visibleRect().location()); in pinchViewportOffset()
|
D | WebLocalFrameImpl.cpp | 1231 unscaledPoint.moveBy(pinchViewport.visibleRect().location()); in visiblePositionForWindowPoint()
|
D | WebViewImpl.cpp | 2469 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/ |
D | mosaic_mode.js | 556 var visibleRect = new Rect(0, 586 imageRect.intersects(visibleRect)) {
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | FrameLoader.cpp | 206 …m_currentItem->setPinchViewportScrollPoint(m_frame->host()->pinchViewport().visibleRect().location… in saveScrollState()
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
D | ThemeMac.mm | 63 return [self visibleRect];
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_view_mac.mm | 1726 [self addCursorRect:[self visibleRect] cursor:currentCursor_];
|