/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
RoundedRect.h | 31 #include "platform/geometry/IntRect.h" 78 explicit RoundedRect(const IntRect&, const Radii& = Radii()); 80 RoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight); 82 const IntRect& rect() const { return m_rect; } 88 IntRect radiusCenterRect() const; 90 void setRect(const IntRect& rect) { m_rect = rect; } 110 IntRect m_rect;
|
LayoutRect.h | 34 #include "platform/geometry/IntRect.h" 52 LayoutRect(const IntRect& rect) : m_location(rect.location()), m_size(rect.size()) { } 168 // Return a rect that is slightly smaller than the true max rect to allow pixelSnapping to round up to the nearest IntRect without overflowing. 208 inline IntRect pixelSnappedIntRect(const LayoutRect& rect) 210 return IntRect(roundedIntPoint(rect.location()), IntSize( 215 PLATFORM_EXPORT IntRect enclosingIntRect(const LayoutRect&); 218 inline IntRect pixelSnappedIntRect(LayoutUnit left, LayoutUnit top, LayoutUnit width, LayoutUnit height) 220 return IntRect(left.round(), top.round(), snapSizeToPixel(width, left), snapSizeToPixel(height, top)); 223 inline IntRect pixelSnappedIntRectFromEdges(LayoutUnit left, LayoutUnit top, LayoutUnit right, LayoutUnit bottom) 225 return IntRect(left.round(), top.round(), snapSizeToPixel(right - left, left), snapSizeToPixel(bottom - top, top) (…) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
ImageBitmapTest.cpp | 87 RefPtrWillBeRawPtr<ImageBitmap> imageBitmapNoCrop = ImageBitmap::create(imageElement.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height())); 88 RefPtrWillBeRawPtr<ImageBitmap> imageBitmapInteriorCrop = ImageBitmap::create(imageElement.get(), IntRect(m_bitmap.width() / 2, m_bitmap.height() / 2, m_bitmap.width() / 2, m_bitmap.height() / 2)); 89 RefPtrWillBeRawPtr<ImageBitmap> imageBitmapExteriorCrop = ImageBitmap::create(imageElement.get(), IntRect(-m_bitmap.width() / 2, -m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height())); 90 RefPtrWillBeRawPtr<ImageBitmap> imageBitmapOutsideCrop = ImageBitmap::create(imageElement.get(), IntRect(-m_bitmap.width(), -m_bitmap.height(), m_bitmap.width(), m_bitmap.height())); 141 RefPtrWillBePersistent<ImageBitmap> imageBitmapInteriorCrop = ImageBitmap::create(imageInteriorCrop.get(), IntRect(m_bitmap.width() / 2, m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height())); 143 RefPtrWillBePersistent<ImageBitmap> imageBitmapNoCrop = ImageBitmap::create(imageNoCrop.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height())); 144 RefPtrWillBePersistent<ImageBitmap> imageBitmapInteriorCrop2 = ImageBitmap::create(imageInteriorCrop.get(), IntRect(m_bitmap.width() / 2, m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height())); 145 RefPtrWillBePersistent<ImageBitmap> imageBitmapExteriorCrop = ImageBitmap::create(imageExteriorCrop.get(), IntRect(-m_bitmap.width() / 2, -m_bitmap.height() / 2, m_bitmap.width(), m_bitmap.height())); 146 RefPtrWillBePersistent<ImageBitmap> imageBitmapOutsideCrop = ImageBitmap::create(imageOutsideCrop.get(), IntRect(-m_bitmap.width(), -m_bitmap.height(), m_bitmap.width(), m_bitmap.height())); 181 RefPtrWillBeRawPtr<ImageBitmap> imageBitmap = ImageBitmap::create(image.get(), IntRect(0, 0, m_bitmap.width(), m_bitmap.height())) [all...] |
/external/chromium_org/cc/blink/ |
web_content_layer_impl.h | 15 class IntRect;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ChromeClientImpl.h | 114 virtual IntRect windowResizerRect() const OVERRIDE; 115 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; 116 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE; 118 virtual IntRect rootViewToScreen(const IntRect&) const OVERRIDE; 129 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE; 160 PagePopup* openPagePopup(PagePopupClient*, const IntRect&);
|
WebPopupMenuImpl.h | 115 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE FINAL; 116 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE FINAL; 118 virtual IntRect rootViewToScreen(const IntRect&) const OVERRIDE FINAL;
|
PopupListBox.cpp | 48 #include "platform/geometry/IntRect.h" 360 void PopupListBox::paint(GraphicsContext* gc, const IntRect& rect) 363 IntRect r = intersection(rect, frameRect()); 387 IntRect scrollbarDirtyRect = rect; 388 IntRect visibleAreaWithScrollbars(location(), visibleContentRect(IncludeScrollbars).size()); 392 gc->clip(IntRect(IntPoint(), visibleAreaWithScrollbars.size())); 403 void PopupListBox::paintRow(GraphicsContext* gc, const IntRect& rect, int rowIndex) 407 IntRect rowRect = getRowBounds(rowIndex); 444 IntRect separatorRect( 604 IntRect PopupListBox::getRowBounds(int index [all...] |
PopupContainer.cpp | 48 #include "platform/geometry/IntRect.h" 105 IntRect PopupContainer::layoutAndCalculateWidgetRectInternal(IntRect widgetRectInScreen, int targetControlHeight, const FloatRect& windowRect, const FloatRect& screen, bool isRTL, const int rtlOffset, const int verticalOffset, const IntSize& transformOffset, PopupContent* listBox, bool& needToResizeView) 111 IntRect inverseWidgetRectInScreen = widgetRectInScreen; 114 IntRect enclosingScreen = enclosingIntRect(screen); 158 IntRect PopupContainer::layoutAndCalculateWidgetRect(int targetControlHeight, const IntSize& transformOffset, const IntPoint& popupInitialCoordinate) 188 IntRect widgetRectInScreen; 197 widgetRectInScreen = chromeClient().rootViewToScreen(IntRect(popupX, popupY, targetSize.width(), targetSize.height())); 348 void PopupContainer::paint(GraphicsContext* gc, const IntRect& rect) 351 IntRect r = intersection(rect, frameRect()) [all...] |
ViewportAnchor.cpp | 52 Node* findNonEmptyAnchorNode(const IntPoint& point, const IntRect& viewRect, EventHandler* eventHandler) 72 void moveToEncloseRect(IntRect& outer, const FloatRect& inner) 84 void moveIntoRect(FloatRect& inner, const IntRect& outer) 107 void ViewportAnchor::setAnchor(const IntRect& outerViewRect, const IntRect& innerViewRect, 163 IntRect outerRect = IntRect(flooredIntPoint(outerOrigin), outerSize);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMediaControls.cpp | 63 static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image) 69 static bool paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 96 static bool paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 112 static bool paintMediaOverlayPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 131 static void paintRoundedSliderBackground(const IntRect& rect, const RenderStyle* style, GraphicsContext* context) 139 static void paintSliderRangeHighlight(const IntRect& rect, const RenderStyle* style, GraphicsContext* context, int startPosition, int endPosition, Color startColor, Color endColor) 161 IntRect highlightRect = rect; 195 static bool paintMediaSlider(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 247 static bool paintMediaSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 265 static bool paintMediaVolumeSlider(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect [all...] |
RenderListMarker.h | 50 IntRect getRelativeMarkerRect(); 70 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
CompositingRequirementsUpdater.cpp | 40 void add(const IntRect& bounds) 46 bool overlapsLayers(const IntRect& bounds) const 66 Vector<IntRect, 64> m_layerRects; 67 IntRect m_boundingBox; 81 void add(RenderLayer* layer, const IntRect& bounds) 94 bool overlapsLayers(const IntRect& bounds) const 203 IntRect absoluteDecendantBoundingBox; 207 void CompositingRequirementsUpdater::updateRecursive(RenderLayer* ancestorLayer, RenderLayer* layer, OverlapMap& overlapMap, RecursionData& currentRecursionData, bool& descendantHas3DTransform, Vector<RenderLayer*>& unclippedDescendants, IntRect& absoluteDecendantBoundingBox) 256 const IntRect& absBounds = layer->clippedAbsoluteBoundingBox(); 296 IntRect absoluteChildDecendantBoundingBox [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSCrossfadeValue.h | 87 virtual void imageChanged(ImageResource*, const IntRect* = 0) OVERRIDE; 94 void crossfadeChanged(const IntRect&);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGModelObject.h | 57 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE FINAL; 80 virtual IntRect absoluteFocusRingBoundingBoxRect() const OVERRIDE FINAL;
|
SVGRenderingContext.h | 83 static IntRect calculateImageBufferRect(const FloatRect& targetRect, const AffineTransform& absoluteTransform) 108 IntRect m_savedPaintRect;
|
RenderSVGModelObject.cpp | 74 void RenderSVGModelObject::absoluteRects(Vector<IntRect>& rects, const LayoutPoint& accumulatedOffset) const 76 IntRect rect = enclosingIntRect(strokeBoundingBox()); 123 IntRect RenderSVGModelObject::absoluteFocusRingBoundingBoxRect() const
|
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/ |
SVGFilter.cpp | 28 SVGFilter::SVGFilter(const IntRect& absoluteSourceDrawingRegion, const FloatRect& targetBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode) 60 PassRefPtr<SVGFilter> SVGFilter::create(const IntRect& absoluteSourceDrawingRegion, const FloatRect& targetBoundingBox, const FloatRect& filterRegion, bool effectBBoxMode)
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
PlatformScreen.cpp | 80 return IntRect(hostWindow->screenInfo().rect); 88 return IntRect(hostWindow->screenInfo().availableRect);
|
Theme.h | 34 #include "platform/geometry/IntRect.h" 97 virtual void paint(ControlPart, ControlStates, GraphicsContext*, const IntRect& /*zoomedRect*/, float /*zoomFactor*/, ScrollView*) const { } 103 virtual void inflateControlPaintRect(ControlPart, ControlStates, IntRect& /*zoomedRect*/, float /*zoomFactor*/) const { }
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
TextStream.h | 38 class IntRect; 71 PLATFORM_EXPORT TextStream& operator<<(TextStream&, const IntRect&);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
TouchAdjustment.cpp | 59 IntRect boundingBox() const { return m_quad.enclosingBoundingBox(); } 79 typedef float (*DistanceFunction)(const IntPoint&, const IntRect&, const SubtargetGeometry&); 333 float zoomableIntersectionQuotient(const IntPoint& touchHotspot, const IntRect& touchArea, const SubtargetGeometry& subtarget) 335 IntRect rect = subtarget.boundingBox(); 343 IntRect intersection = rect; 356 float hybridDistanceFunction(const IntPoint& touchHotspot, const IntRect& touchRect, const SubtargetGeometry& subtarget) 358 IntRect rect = subtarget.boundingBox(); 400 bool snapTo(const SubtargetGeometry& geom, const IntPoint& touchPoint, const IntRect& touchArea, IntPoint& adjustedPoint) 406 IntRect contentBounds = geom.boundingBox(); 408 IntRect bounds = view->contentsToWindow(contentBounds) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
ImageDecoderTest.cpp | 69 m_frameBufferCache[i].setOriginalFrameRect(IntRect(0, 0, width, height)); 121 frameBuffers[1].setOriginalFrameRect(IntRect(50, 50, 50, 50)); 145 frameBuffers[0].setOriginalFrameRect(IntRect(50, 50, 50, 50)); 161 frameBuffers[1].setOriginalFrameRect(IntRect(25, 25, 50, 50)); 172 frameBuffers[2].setOriginalFrameRect(IntRect(50, 50, 50, 50)); 186 frameBuffers[1].setOriginalFrameRect(IntRect(25, 25, 50, 50)); 196 frameBuffers[2].setOriginalFrameRect(IntRect(50, 50, 50, 50));
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollbarThemeMacCommon.mm | 100 void ScrollbarThemeMacCommon::paintGivenTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, const Vector<IntRect>& tickmarks) 116 for (Vector<IntRect>::const_iterator i = tickmarks.begin(); i != tickmarks.end(); ++i) { 132 void ScrollbarThemeMacCommon::paintOverhangBackground(GraphicsContext* context, const IntRect& horizontalOverhangRect, const IntRect& verticalOverhangRect, const IntRect& dirtyRect) 151 void ScrollbarThemeMacCommon::paintOverhangShadows(GraphicsContext* context, const IntSize& scrollOffset, const IntRect& horizontalOverhangRect, const IntRect& verticalOverhangRect, const IntRect& dirtyRect) 184 IntRect shadowRect = horizontalOverhangRect [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
EmptyClients.h | 128 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); } 130 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { } 131 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { } 134 virtual IntRect rootViewToScreen(const IntRect& r) const OVERRIDE { return r; } 162 virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&) OVERRIDE { return false; }
|
/external/chromium_org/third_party/WebKit/Source/core/imagebitmap/ |
ImageBitmapFactories.h | 40 #include "platform/geometry/IntRect.h" 86 static ImageBitmapLoader* create(ImageBitmapFactories& factory, const IntRect& cropRect, ScriptState* scriptState) 99 ImageBitmapLoader(ImageBitmapFactories&, const IntRect&, ScriptState*); 112 IntRect m_cropRect;
|