Home
last modified time | relevance | path

Searched refs:frameRect (Results 1 – 25 of 113) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/platform/
DWidget.h56 int x() const { return frameRect().x(); } in x()
57 int y() const { return frameRect().y(); } in y()
58 int width() const { return frameRect().width(); } in width()
59 int height() const { return frameRect().height(); } in height()
60 IntSize size() const { return frameRect().size(); } in size()
61 IntPoint location() const { return frameRect().location(); } in location()
64 const IntRect& frameRect() const { return m_frame; } in frameRect() function
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusMetaFile.h108 IN const RectF & frameRect,
117 referenceHdc, type, &frameRect, frameUnit,
126 IN const Rect & frameRect,
135 referenceHdc, type, &frameRect, frameUnit,
162 IN const RectF & frameRect,
171 referenceHdc, type, &frameRect, frameUnit,
181 IN const Rect & frameRect,
190 referenceHdc, type, &frameRect, frameUnit,
217 IN const RectF & frameRect,
226 referenceHdc, type, &frameRect, frameUnit,
[all …]
/external/chromium_org/third_party/WebKit/Source/core/editing/
DFrameSelectionTest.cpp132 IntRect frameRect = frameView.frameRect(); in TEST_F() local
133 frameRect.setWidth(frameRect.width() + 1); in TEST_F()
134 frameRect.setHeight(frameRect.height() + 1); in TEST_F()
135 dummyPageHolder().frameView().setFrameRect(frameRect); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollView.cpp169 … scrollbarInclusion == ExcludeScrollbars ? excludeScrollbars(frameRect().size()) : frameRect().siz… in unscaledVisibleContentSize()
384 IntRect oldRect(m_horizontalScrollbar->frameRect()); in updateScrollbarGeometry()
390 if (!m_scrollbarsSuppressed && oldRect != m_horizontalScrollbar->frameRect()) in updateScrollbarGeometry()
404 IntRect oldRect(m_verticalScrollbar->frameRect()); in updateScrollbarGeometry()
410 if (!m_scrollbarsSuppressed && oldRect != m_verticalScrollbar->frameRect()) in updateScrollbarGeometry()
699 …talScrollbar->shouldParticipateInHitTesting() && m_horizontalScrollbar->frameRect().contains(viewP… in scrollbarAtViewPoint()
701 …ticalScrollbar->shouldParticipateInHitTesting() && m_verticalScrollbar->frameRect().contains(viewP… in scrollbarAtViewPoint()
708 IntRect oldRect = frameRect(); in setFrameRect()
732 IntRect scrollbarRect = scrollbar->frameRect(); in positionScrollbarLayer()
916 horizontalOverhangRect = frameRect(); in calculateOverhangAreasForPainting()
[all …]
DScrollbarThemeMacOverlayAPI.mm94 CGRect frameRect = scrollbar->frameRect();
97 [scrollbarPainter setBoundsSize: NSSizeFromCGSize(frameRect.size)];
99 NSRect trackRect = NSMakeRect(0, 0, frameRect.size.width, frameRect.size.height);
120 [scrollbarPainter setBoundsSize: NSSizeFromCGSize(scrollbar->frameRect().size())];
182 return scrollbar->frameRect();
DScrollbarThemeMacNonOverlayAPI.mm87 trackInfo.bounds = scrollbar->frameRect();
114 trackInfo.bounds = IntRect(IntPoint(), scrollbar->frameRect().size());
116 IntRect bufferRect(scrollbar->frameRect());
118 bufferRect.move(-scrollbar->frameRect().x(), -scrollbar->frameRect().y());
130 ThemeMac::inflateRectForAA(scrollbar->frameRect()),
150 FloatRect(scrollbar->frameRect().location(), imageBuffer->size()));
277 return scrollbar->frameRect();
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/
DWEBPImageDecoder.cpp335 …IntRect frameRect(animatedFrame.x_offset, animatedFrame.y_offset, animatedFrame.width, animatedFra… in updateDemuxer() local
337 if (frameRect.maxX() > size().width()) in updateDemuxer()
338 frameRect.setWidth(size().width() - animatedFrame.x_offset); in updateDemuxer()
339 if (frameRect.maxY() > size().height()) in updateDemuxer()
340 frameRect.setHeight(size().height() - animatedFrame.y_offset); in updateDemuxer()
341 m_frameBufferCache[i].setOriginalFrameRect(frameRect); in updateDemuxer()
478 const IntRect& frameRect = buffer.originalFrameRect(); in applyPostProcessing() local
479 ASSERT_WITH_SECURITY_IMPLICATION(width == frameRect.width()); in applyPostProcessing()
480 ASSERT_WITH_SECURITY_IMPLICATION(decodedHeight <= frameRect.height()); in applyPostProcessing()
481 const int left = frameRect.x(); in applyPostProcessing()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/plugins/
DPluginOcclusionSupport.cpp129 static void addTreeToOcclusions(const RenderObject* renderer, const IntRect& frameRect, Vector<IntR… in addTreeToOcclusions() argument
133 if (renderer->isBox() && intersectsRect(renderer, frameRect)) in addTreeToOcclusions()
136 addTreeToOcclusions(child, frameRect, occlusions); in addTreeToOcclusions()
151 void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect& frameRect, Vector<I… in getPluginOcclusions() argument
183 if (isHTMLIFrameElement(*element) && intersectsRect(iframeRenderer, frameRect)) { in getPluginOcclusions()
200 addTreeToOcclusions(elements[i]->renderer(), frameRect, occlusions); in getPluginOcclusions()
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
DGIFImageDecoder.cpp309 IntRect frameRect = frameContext->frameRect(); in parse() local
312 if (frameRect.maxX() > size().width()) in parse()
313 frameRect.setWidth(size().width() - frameRect.x()); in parse()
314 if (frameRect.maxY() > size().height()) in parse()
315 frameRect.setHeight(size().height() - frameRect.y()); in parse()
317 buffer.setOriginalFrameRect(frameRect); in parse()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElementTest.cpp91 IntRect frameRect = frameView.frameRect(); in forceLayoutFlag() local
92 frameRect.setWidth(frameRect.width() + 1); in forceLayoutFlag()
93 frameRect.setHeight(frameRect.height() + 1); in forceLayoutFlag()
94 page().frameView().setFrameRect(frameRect); in forceLayoutFlag()
/external/chromium_org/ui/message_center/cocoa/
Dopaque_views.mm30 - (id)initWithFrame:(NSRect)frameRect backgroundColor:(NSColor*)color {
31 self = [self initWithFrame:frameRect];
39 - (id)initWithFrame:(NSRect)frameRect {
40 self = [super initWithFrame:frameRect];
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DFloatingObjects.cpp63 FloatingObject::FloatingObject(RenderBox* renderer, Type type, const LayoutRect& frameRect, bool sh… in FloatingObject() argument
66 , m_frameRect(frameRect) in FloatingObject()
89 …tPtr(new FloatingObject(renderer(), type(), LayoutRect(frameRect().location() - offset, frameRect(… in copyToNewContainer()
301 …return FloatingObjectInterval(floatingObject->frameRect().pixelSnappedY(), floatingObject->frameRe… in intervalForFloatingObject()
302 …return FloatingObjectInterval(floatingObject->frameRect().pixelSnappedX(), floatingObject->frameRe… in intervalForFloatingObject()
530 …t->frameRect().pixelSnappedX(), floatingObject->frameRect().pixelSnappedY(), floatingObject->frame… in string()
DRenderMeter.cpp56 …IntSize frameSize = RenderTheme::theme().meterSizeForBounds(this, pixelSnappedIntRect(frameRect())… in updateLogicalWidth()
64 LayoutRect frame = frameRect(); in computeLogicalHeight()
DRenderFullScreen.cpp186 void RenderFullScreen::createPlaceholder(PassRefPtr<RenderStyle> style, const LayoutRect& frameRect) in createPlaceholder() argument
189 style->setWidth(Length(frameRect.width(), Fixed)); in createPlaceholder()
191 style->setHeight(Length(frameRect.height(), Fixed)); in createPlaceholder()
DRenderBlockFlow.h125 …turn isHorizontalWritingMode() ? floatingObject->frameRect().pixelSnappedY() : floatingObject->fra… in pixelSnappedLogicalTopForFloat()
126 …rn isHorizontalWritingMode() ? floatingObject->frameRect().pixelSnappedMaxY() : floatingObject->fr… in pixelSnappedLogicalBottomForFloat()
127 …turn isHorizontalWritingMode() ? floatingObject->frameRect().pixelSnappedX() : floatingObject->fra… in pixelSnappedLogicalLeftForFloat()
128 …rn isHorizontalWritingMode() ? floatingObject->frameRect().pixelSnappedMaxX() : floatingObject->fr… in pixelSnappedLogicalRightForFloat()
/external/chromium_org/chrome/browser/ui/cocoa/profiles/
Davatar_label_button.mm36 - (id)initWithFrame:(NSRect)frameRect {
37 if ((self = [super initWithFrame:frameRect])) {
43 frameRect.size = NSMakeSize(frameRect.size.width + textSize.width,
44 frameRect.size.height + textSize.height);
45 [self setFrame:frameRect];
/external/chromium_org/third_party/WebKit/Source/core/paint/
DInlineFlowBoxPainter.cpp196 LayoutRect frameRect = roundedFrameRectClampedToLineTopAndBottomIfNeeded(); in paintBoxDecorationBackground() local
199 LayoutRect localRect(frameRect); in paintBoxDecorationBackground()
203 LayoutRect paintRect = LayoutRect(adjustedPaintOffset, frameRect.size()); in paintBoxDecorationBackground()
243 … LayoutUnit stripWidth = m_inlineFlowBox.isHorizontal() ? totalLogicalWidth : frameRect.width(); in paintBoxDecorationBackground()
244 … LayoutUnit stripHeight = m_inlineFlowBox.isHorizontal() ? frameRect.height() : totalLogicalWidth; in paintBoxDecorationBackground()
259 LayoutRect frameRect = roundedFrameRectClampedToLineTopAndBottomIfNeeded(); in paintMask() local
262 LayoutRect localRect(frameRect); in paintMask()
286 LayoutRect paintRect = LayoutRect(adjustedPaintOffset, frameRect.size()); in paintMask()
299 …ox.boxModelObject(), paintInfo.context, LayoutRect(adjustedPaintOffset, frameRect.size()), m_inlin… in paintMask()
311 … LayoutUnit stripWidth = m_inlineFlowBox.isHorizontal() ? totalLogicalWidth : frameRect.width(); in paintMask()
[all …]
DViewPainter.cpp93 return rootBox->frameRect().contains(m_renderView.frameRect()); in rootFillsViewportBackground()
/external/chromium_org/chrome/browser/ui/cocoa/
Dconfirm_bubble_cocoa.mm164 NSRect frameRect = [self frame];
169 CGFloat right = NSWidth(frameRect) - kButtonHEdgeMargin;
205 right = NSWidth(frameRect);
239 right = NSWidth(frameRect);
265 frameRect.size.height = bottom + height + kButtonVEdgeMargin;
266 frameRect.origin.x = (NSWidth(parentRect) - NSWidth(frameRect)) / 2;
267 frameRect.origin.y = NSHeight(parentRect) - NSHeight(frameRect);
268 [self setFrame:frameRect];
Dfast_resize_view.mm15 - (id)initWithFrame:(NSRect)frameRect {
16 if ((self = [super initWithFrame:frameRect])) {
/external/chromium_org/third_party/WebKit/Source/web/
DScrollbarGroup.cpp37 ScrollbarGroup::ScrollbarGroup(FrameView* frameView, const IntRect& frameRect) in ScrollbarGroup() argument
39 , m_frameRect(frameRect) in ScrollbarGroup()
126 void ScrollbarGroup::setFrameRect(const IntRect& frameRect) in setFrameRect() argument
128 m_frameRect = frameRect; in setFrameRect()
DWebPluginScrollbarImpl.cpp124 return m_scrollbar->frameRect().location(); in location()
129 return m_scrollbar->frameRect().size(); in size()
201 IntRect oldRect = m_scrollbar->frameRect(); in setLocation()
284 if (!m_scrollbar->frameRect().contains(mousedown.x, mousedown.y)) in onMouseDown()
306 if (m_scrollbar->frameRect().contains(mousemove.x, mousemove.y) in onMouseMove()
DWebPluginContainerImpl.cpp101 void WebPluginContainerImpl::setFrameRect(const IntRect& frameRect) in setFrameRect() argument
103 Widget::setFrameRect(frameRect); in setFrameRect()
113 if (!frameRect().intersects(damageRect)) in paint()
402 calculateGeometry(frameRect(), windowRect, clipRect, cutOutRects); in reportGeometry()
408 m_scrollbarGroup->setFrameRect(frameRect()); in reportGeometry()
648 …_scrollbarGroup = adoptPtr(new ScrollbarGroup(m_element->document().frame()->view(), frameRect())); in scrollbarGroup()
930 void WebPluginContainerImpl::calculateGeometry(const IntRect& frameRect, in calculateGeometry() argument
935 windowRect = toScrollView(parent())->contentsToWindow(frameRect); in calculateGeometry()
941 getPluginOcclusions(m_element, this->parent(), frameRect, cutOutRects); in calculateGeometry()
944 cutOutRects[i].move(-frameRect.x(), -frameRect.y()); in calculateGeometry()
/external/chromium_org/ui/base/cocoa/controls/
Dhover_image_menu_button.mm16 - (id)initWithFrame:(NSRect)frameRect
18 if ((self = [super initWithFrame:frameRect
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dmedia_gallery_list_entry_view.mm35 - (id)initWithFrame:(NSRect)frameRect
43 - (id)initWithFrame:(NSRect)frameRect
45 if ((self = [super initWithFrame:frameRect])) {
63 - (id)initWithFrame:(NSRect)frameRect
67 if ((self = [super initWithFrame:frameRect])) {

12345