Home
last modified time | relevance | path

Searched refs:paintRect (Results 1 – 25 of 35) sorted by relevance

12

/external/webkit/Source/WebCore/platform/gtk/
DWidgetRenderingContext.cpp149 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintBox() local
159 gtk_paint_box(gtk_widget_get_style(widget), m_target, stateType, shadowType, &paintRect, in gtkPaintBox()
160 widget, detail, paintRect.x, paintRect.y, paintRect.width, paintRect.height); in gtkPaintBox()
165 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintFlatBox() local
166 gtk_paint_flat_box(gtk_widget_get_style(widget), m_target, stateType, shadowType, &paintRect, in gtkPaintFlatBox()
167 widget, detail, paintRect.x, paintRect.y, paintRect.width, paintRect.height); in gtkPaintFlatBox()
172 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintFocus() local
173 gtk_paint_focus(gtk_widget_get_style(widget), m_target, stateType, &paintRect, widget, in gtkPaintFocus()
174 detail, paintRect.x, paintRect.y, paintRect.width, paintRect.height); in gtkPaintFocus()
179 …GdkRectangle paintRect = { m_paintRect.x + rect.x(), m_paintRect.y + rect.y(), rect.width(), rect.… in gtkPaintSlider() local
[all …]
DScrollbarThemeGtk2.cpp83 IntRect paintRect(IntPoint(), fullScrollbarRect.size()); in paintTrackBackground() local
84 widgetContext.gtkPaintBox(paintRect, getWidgetForScrollbar(scrollbar), in paintTrackBackground()
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/
DWindowlessPaintRectCoordinates.cpp68 RECT* paintRect = reinterpret_cast<RECT*>(event->lParam); in NPP_HandleEvent() local
69 if (!paintRect) { in NPP_HandleEvent()
77 if (::EqualRect(paintRect, &expectedRect)) in NPP_HandleEvent()
80 …top, expectedRect.right, expectedRect.bottom, paintRect->left, paintRect->top, paintRect->right, p… in NPP_HandleEvent()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DImageLayerChromium.cpp78 IntRect paintRect(IntPoint(0, 0), m_decodedImage.size()); in paintContentsIfDirty() local
80 m_tiler->invalidateRect(paintRect); in paintContentsIfDirty()
88 IntRect paintRect(IntPoint(0, 0), m_decodedImage.size()); in updateCompositorResources() local
89 m_tiler->updateFromPixels(paintRect, paintRect, m_decodedImage.pixels()); in updateCompositorResources()
DLayerTilerChromium.cpp294 void LayerTilerChromium::updateFromPixels(const IntRect& contentRect, const IntRect& paintRect, con… in updateFromPixels() argument
318 sourceRect.intersect(paintRect); in updateFromPixels()
338 IntPoint paintOffset(sourceRect.x() - paintRect.x(), sourceRect.y() - paintRect.y()); in updateFromPixels()
343 if (paintOffset.x() + destRect.width() > paintRect.width()) in updateFromPixels()
345 if (paintOffset.y() + destRect.height() > paintRect.height()) in updateFromPixels()
349 if (paintRect.width() == sourceRect.width() && !paintOffset.x()) in updateFromPixels()
350 pixelSource = &paintPixels[4 * paintOffset.y() * paintRect.width()]; in updateFromPixels()
356 … &paintPixels[4 * (paintOffset.x() + (paintOffset.y() + row) * paintRect.width())], in updateFromPixels()
DLayerTilerChromium.h71 …void updateFromPixels(const IntRect& contentRect, const IntRect& paintRect, const uint8_t* pixels);
/external/webkit/Source/WebCore/platform/win/
DScrollbarThemeSafari.cpp123 IntRect paintRect(buttonRect); in buttonRepaintRect() local
125 paintRect.setWidth(cRealButtonLength[controlSize]); in buttonRepaintRect()
127 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width())); in buttonRepaintRect()
129 paintRect.setHeight(cRealButtonLength[controlSize]); in buttonRepaintRect()
131 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height())); in buttonRepaintRect()
134 return paintRect; in buttonRepaintRect()
175 IntRect paintRect(trackRect); in trackRepaintRect() local
177 paintRect.inflateX(cButtonLength[controlSize]); in trackRepaintRect()
179 paintRect.inflateY(cButtonLength[controlSize]); in trackRepaintRect()
181 return paintRect; in trackRepaintRect()
/external/webkit/Source/WebCore/svg/graphics/filters/
DSVGFEImage.cpp53 FloatRect paintRect(m_absoluteSubregion); in determineAbsolutePaintRect() local
54 m_preserveAspectRatio.transformRect(paintRect, srcRect); in determineAbsolutePaintRect()
55 paintRect.intersect(maxEffectRect()); in determineAbsolutePaintRect()
56 setAbsolutePaintRect(enclosingIntRect(paintRect)); in determineAbsolutePaintRect()
/external/webkit/Source/WebCore/platform/graphics/filters/
DFEOffset.cpp70 FloatRect paintRect = inputEffect(0)->absolutePaintRect(); in determineAbsolutePaintRect() local
72 paintRect.move(filter->applyHorizontalScale(m_dx), filter->applyVerticalScale(m_dy)); in determineAbsolutePaintRect()
73 paintRect.intersect(maxEffectRect()); in determineAbsolutePaintRect()
74 setAbsolutePaintRect(enclosingIntRect(paintRect)); in determineAbsolutePaintRect()
DSourceGraphic.cpp49 FloatRect paintRect = filter->sourceImageRect(); in determineAbsolutePaintRect() local
50 paintRect.scale(filter->filterResolution().width(), filter->filterResolution().height()); in determineAbsolutePaintRect()
51 setAbsolutePaintRect(enclosingIntRect(paintRect)); in determineAbsolutePaintRect()
DSourceAlpha.cpp50 FloatRect paintRect = filter->sourceImageRect(); in determineAbsolutePaintRect() local
51 paintRect.scale(filter->filterResolution().width(), filter->filterResolution().height()); in determineAbsolutePaintRect()
52 setAbsolutePaintRect(enclosingIntRect(paintRect)); in determineAbsolutePaintRect()
DFEMorphology.cpp87 FloatRect paintRect = inputEffect(0)->absolutePaintRect(); in determineAbsolutePaintRect() local
89 paintRect.inflateX(filter->applyHorizontalScale(m_radiusX)); in determineAbsolutePaintRect()
90 paintRect.inflateY(filter->applyVerticalScale(m_radiusY)); in determineAbsolutePaintRect()
91 paintRect.intersect(maxEffectRect()); in determineAbsolutePaintRect()
92 setAbsolutePaintRect(enclosingIntRect(paintRect)); in determineAbsolutePaintRect()
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DFindController.cpp185 IntRect paintRect = selectionRect; in updateFindIndicator() local
186 paintRect.move(selectedFrame->view()->frameRect().x(), selectedFrame->view()->frameRect().y()); in updateFindIndicator()
187 paintRect.move(-selectedFrame->view()->scrollOffset()); in updateFindIndicator()
189 graphicsContext->translate(-paintRect.x(), -paintRect.y()); in updateFindIndicator()
193 selectedFrame->view()->paint(graphicsContext.get(), paintRect); in updateFindIndicator()
DPageOverlay.cpp103 IntRect paintRect = intersection(dirtyRect, bounds()); in drawRect() local
104 if (paintRect.isEmpty()) in drawRect()
111 m_client->drawRect(this, graphicsContext, paintRect); in drawRect()
/external/webkit/Source/WebKit/chromium/src/
DWebPopupMenuImpl.cpp283 void WebPopupMenuImpl::invalidateContentsAndWindow(const IntRect& paintRect, bool /*immediate*/) in invalidateContentsAndWindow() argument
285 if (paintRect.isEmpty()) in invalidateContentsAndWindow()
288 m_client->didInvalidateRect(paintRect); in invalidateContentsAndWindow()
/external/webkit/Source/WebCore/rendering/
DRenderWidget.cpp296 IntRect paintRect = paintInfo.rect; in paint() local
303 paintRect.move(-paintOffset); in paint()
305 m_widget->paint(paintInfo.context, paintRect); in paint()
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_frame_view.mm140 NSRect paintRect = windowRect;
141 paintRect.origin.y = NSMaxY(paintRect) - kBrowserFrameViewPaintHeight;
142 paintRect.size.height = kBrowserFrameViewPaintHeight;
143 rect = NSIntersectionRect(paintRect, rect);
/external/webkit/Source/WebCore/platform/chromium/
DScrollbarThemeChromiumMac.mm216 IntRect paintRect(buttonRect);
218 paintRect.setWidth(cRealButtonLength[controlSize]);
220 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width()));
222 paintRect.setHeight(cRealButtonLength[controlSize]);
224 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height()));
227 return paintRect;
/external/webkit/Source/WebCore/platform/mac/
DScrollbarThemeMac.mm266 IntRect paintRect(buttonRect);
268 paintRect.setWidth(cRealButtonLength[controlSize]);
270 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width()));
272 paintRect.setHeight(cRealButtonLength[controlSize]);
274 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height()));
277 return paintRect;
/external/skia/src/gpu/
DSkGpuDevice.cpp1319 GrRect paintRect; in internalDrawBitmap() local
1322 paintRect.setLTRB(SkScalarMul(srcRect.fLeft, wInv), in internalDrawBitmap()
1357 left = paintRect.left() + border; in internalDrawBitmap()
1358 right = paintRect.right() - border; in internalDrawBitmap()
1360 left = right = SkScalarHalf(paintRect.left() + paintRect.right()); in internalDrawBitmap()
1364 top = paintRect.top() + border; in internalDrawBitmap()
1365 bottom = paintRect.bottom() - border; in internalDrawBitmap()
1367 top = bottom = SkScalarHalf(paintRect.top() + paintRect.bottom()); in internalDrawBitmap()
1379 fContext->drawRectToRect(*grPaint, dstRect, paintRect, &m); in internalDrawBitmap()
/external/webkit/Source/WebCore/platform/
DScrollView.cpp950 IntRect paintRect = rect; in wheelEvent() local
952 paintRect.intersect(visibleContentRect()); in wheelEvent()
954 if (rect != paintRect) in wheelEvent()
957 if (paintRect.isEmpty()) in wheelEvent()
960 platformRepaintContentRectangle(paintRect, now); in wheelEvent()
965 hostWindow()->invalidateContentsAndWindow(contentsToWindow(paintRect), now /*immediate*/); in wheelEvent()
/external/webkit/Tools/DumpRenderTree/chromium/
DTestShell.cpp498 m_webViewHost->paintRect(column); in dump()
501 m_webViewHost->paintRect(line); in dump()
/external/webkit/Source/WebCore/page/
DFrameView.cpp1542 IntRect paintRect = r; in repaintContentRectangle() local
1544 paintRect.intersect(visibleContentRect()); in repaintContentRectangle()
1546 if (r != paintRect) in repaintContentRectangle()
1549 if (paintRect.isEmpty()) in repaintContentRectangle()
1559 m_repaintRects.append(paintRect); in repaintContentRectangle()
1561 m_repaintRects[0].unite(paintRect); in repaintContentRectangle()
/external/webkit/Source/WebCore/platform/graphics/avfoundation/
DMediaPlayerPrivateAVFoundationObjC.mm572 IntRect paintRect(IntPoint(0, 0), IntSize(rect.width(), rect.height()));
573 …ContextDrawImage(context->platformContext(), CGRectMake(0, 0, paintRect.width(), paintRect.height(…
/external/webkit/Source/WebKit/wx/
DWebView.cpp679 wxRect paintRect = GetUpdateRegion().GetBox(); in OnPaint() local
688 frame->view()->paint(&gc, paintRect); in OnPaint()

12