/external/webkit/WebCore/platform/graphics/cairo/ |
GradientCairo.cpp | 79 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) 85 cairo_rectangle(cr, rect.x(), rect.y(), rect.width(), rect.height());
|
/external/webkit/WebCore/platform/graphics/openvg/ |
VGUtils.cpp | 82 VGRect::VGRect(const FloatRect& rect) 84 m_data[0] = rect.x(); 85 m_data[1] = rect.y(); 86 m_data[2] = rect.width(); 87 m_data[3] = rect.height();
|
/external/webkit/WebCore/platform/graphics/skia/ |
ImageBufferSkia.cpp | 126 PassRefPtr<ImageData> getImageData(const IntRect& rect, const SkBitmap& bitmap, 129 RefPtr<ImageData> result = ImageData::create(rect.width(), rect.height()); 132 if (rect.x() < 0 || rect.y() < 0 || 133 (rect.x() + rect.width()) > size.width() || 134 (rect.y() + rect.height()) > size.height()) 137 int originX = rect.x() [all...] |
/external/skia/src/core/ |
SkPath.cpp | 347 void SkPath::addRect(const SkRect& rect, Direction dir) { 348 this->addRect(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, dir); 372 void SkPath::addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry, 374 SkAutoPathBoundsUpdate apbu(this, rect); 376 SkScalar w = rect.width(); 378 SkScalar h = rect.height(); 389 this->addOval(rect, dir) 574 SkRect rect; local [all...] |
/external/webkit/WebCore/platform/android/ |
RenderThemeAndroid.cpp | 212 bool RenderThemeAndroid::paintCheckbox(RenderObject* obj, const RenderObject::PaintInfo& info, const IntRect& rect) 214 RenderSkinRadio::Draw(getCanvasFromInfo(info), obj->node(), rect, true); local 218 bool RenderThemeAndroid::paintButton(RenderObject* obj, const RenderObject::PaintInfo& info, const IntRect& rect) 224 RenderSkinButton::Draw(getCanvasFromInfo(info), rect, RenderSkinAndroid::kDisabled); local 227 info.context->platformContext()->storeButtonInfo(node, rect); 262 bool RenderThemeAndroid::paintMediaMuteButton(RenderObject* o, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) 264 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::MUTE); local 268 bool RenderThemeAndroid::paintMediaPlayButton(RenderObject* o, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) 272 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::PLAY); local 274 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::PAUSE) local 282 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::REWIND); local 288 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::FORWARD); local 294 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::BACKGROUND_SLIDER); local 300 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::SLIDER_TRACK); local 306 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::SLIDER_THUMB); local 324 RenderSkinRadio::Draw(getCanvasFromInfo(info), obj->node(), rect, false); local [all...] |
/external/webkit/WebCore/platform/graphics/cg/ |
PatternCG.cpp | 43 CGRect rect = GraphicsContext(context).roundToDevicePixels( 45 CGContextDrawImage(context, rect, platformImage); 55 IntRect tileRect = tileImage()->rect();
|
GraphicsContextCG.cpp | 188 void GraphicsContext::drawRect(const IntRect& rect) 197 CGContextFillRect(context, rect); 205 FloatRect(rect.x(), rect.y(), rect.width(), 1), 206 FloatRect(rect.x(), rect.bottom() - 1, rect.width(), 1), 207 FloatRect(rect.x(), rect.y() + 1, 1, rect.height() - 2) 696 CGContextAddEllipseInRect(platformContext(), rect); local 1096 IntRect rect = destRect; local [all...] |
/external/webkit/WebCore/platform/qt/ |
PopupMenuQt.cpp | 49 void PopupMenu::show(const IntRect& rect, FrameView* view, int index) 62 QRect geometry(rect); 63 geometry.moveTopLeft(view->contentsToWindow(rect.topLeft()));
|
/external/webkit/WebCore/platform/win/ |
DragImageCGWin.cpp | 107 CGRect rect; local 108 rect.origin.x = 0; 109 rect.origin.y = 0; 110 rect.size = dstSize; 111 CGContextDrawImage(targetContext, rect, srcImage); 147 CGRect rect; local 148 rect.size = img->size(); 149 rect.origin.x = 0; 150 rect.origin.y = -rect.size.height [all...] |
/external/webkit/WebCore/platform/wx/wxcode/gtk/ |
scrollbar_render.cpp | 110 void wxRenderer_DrawScrollbar(wxWindow* window, wxDC& dc, const wxRect& rect, wxOrientation orient, 117 dc.DrawRectangle(rect.x, rect.y, rect.width, rect.height); 129 int x = rect.x + (int)xtrans; 130 int y = rect.y + (int)ytrans; 145 wxRect buttonRect = rect; 146 int physicalLength = horiz ? rect.width : rect.height [all...] |
/external/webkit/WebCore/plugins/symbian/ |
PluginContainerSymbian.cpp | 47 void PluginContainerSymbian::requestGeometry(const QRect& rect, const QRegion& clip) 49 if (m_windowRect != rect || m_clipRegion != clip) { 50 m_windowRect = rect;
|
/external/webkit/WebCore/rendering/ |
RenderHTMLCanvas.cpp | 61 IntRect rect = contentBoxRect(); local 62 rect.move(tx, ty); 63 static_cast<HTMLCanvasElement*>(node())->paint(paintInfo.context, rect);
|
RenderScrollbarTheme.cpp | 94 IntRect RenderScrollbarTheme::constrainTrackRectToTrackPieces(Scrollbar* scrollbar, const IntRect& rect) 96 IntRect backRect = toRenderScrollbar(scrollbar)->trackPieceRectWithMargins(BackTrackPart, rect); 97 IntRect forwardRect = toRenderScrollbar(scrollbar)->trackPieceRectWithMargins(ForwardTrackPart, rect); 98 IntRect result = rect; 120 void RenderScrollbarTheme::paintTrackBackground(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect) 122 toRenderScrollbar(scrollbar)->paintPart(context, TrackBGPart, rect); 125 void RenderScrollbarTheme::paintTrackPiece(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) 127 toRenderScrollbar(scrollbar)->paintPart(context, part, rect); 130 void RenderScrollbarTheme::paintButton(GraphicsContext* context, Scrollbar* scrollbar, const IntRect& rect, ScrollbarPart part) 132 toRenderScrollbar(scrollbar)->paintPart(context, part, rect); [all...] |
RenderSVGImage.cpp | 142 // If we already have a cached repaint rect, return that 150 FloatRect rect = filterBoundingBoxForRenderer(this); local 151 if (!rect.isEmpty()) 152 m_cachedLocalRepaintRect = rect; 154 rect = clipperBoundingBoxForRenderer(this); 155 if (!rect.isEmpty()) 156 m_cachedLocalRepaintRect.intersect(rect); 158 rect = maskerBoundingBoxForRenderer(this); 159 if (!rect.isEmpty()) 160 m_cachedLocalRepaintRect.intersect(rect); [all...] |
/frameworks/base/core/jni/ |
com_android_internal_graphics_NativeUtils.cpp | 37 static jboolean scrollRect(JNIEnv* env, jobject graphics2D, jobject canvas, jobject rect, int dx, int dy) { 44 if (NULL != rect) { 45 GraphicsJNI::jrect_to_irect(env, rect, &src); 55 "(Landroid/graphics/Canvas;Landroid/graphics/Rect;II)Z",
|
/external/qemu/android/skin/ |
region.h | 15 #include "android/skin/rect.h" 21 extern void skin_region_init_rect( SkinRegion* r, SkinRect* rect ); 45 SkinRect* rect ); 56 extern int skin_region_intersect_rect( SkinRegion* r, SkinRect* rect ); 58 /* performs r = (intersect r (region+_from_rect rect)), returns true iff 63 extern void skin_region_union_rect( SkinRegion* r, SkinRect* rect ); 67 extern void skin_region_substract_rect( SkinRegion* r, SkinRect* rect ); 79 SkinRect *rect );
|
window.c | 35 SkinRect rect; member in struct:Background 51 skin_rect_rotate( &r, &sback->rect, loc->rotation ); 56 skin_rect_intersect( &back->rect, &r, frame ); 60 background_redraw( Background* back, SkinRect* rect, SDL_Surface* surface ) 64 if (skin_rect_intersect( &r, rect, &back->rect ) ) 85 SkinRect rect; member in struct:ADisplay 92 SkinRect onion_rect; /* onion rect, if any */ 107 skin_rect_rotate( &disp->rect, &sdisp->rect, loc->rotation ) 163 SkinRect* rect = &disp->rect; local 512 SkinRect rect; member in struct:Button 611 SkinRect rect; member in struct:__anon5900 684 SkinRect rect; member in struct:Layout [all...] |
rect.h | 66 extern void skin_box_minmax_update( SkinBox* box, SkinRect* rect ); 67 extern int skin_box_minmax_to_rect( SkinBox* box, SkinRect* rect ); 68 extern void skin_box_from_rect( SkinBox* box, SkinRect* rect ); 69 extern void skin_box_to_rect( SkinBox* box, SkinRect* rect );
|
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/ |
scrollbar_render.cpp | 57 const wxRect& rect, wxOrientation orient, int current, variable 60 const wxCoord x = rect.x; 61 const wxCoord y = rect.y; 62 const wxCoord w = rect.width; 63 const wxCoord h = rect.height; 67 dc.DrawRectangle(rect);
|
/external/webkit/WebCore/dom/ |
ClientRect.h | 41 static PassRefPtr<ClientRect> create(const IntRect& rect) { return adoptRef(new ClientRect(rect)); }
|
/external/webkit/WebCore/platform/chromium/ |
WidgetChromium.cpp | 80 void Widget::setFrameRect(const IntRect& rect) 82 m_frame = rect;
|
/external/webkit/WebKit/mac/WebView/ |
WebClipView.m | 96 NSRect rect = [self visibleRect]; 98 rect = NSIntersectionRect(rect, _additionalClip); 100 return rect;
|
/development/samples/BrowserPlugin/jni/form/ |
FormPlugin.cpp | 144 m_usernameInput.rect.left = 5; 145 m_usernameInput.rect.top = 5; 146 m_usernameInput.rect.right = W - 5; 147 m_usernameInput.rect.bottom = m_usernameInput.rect.top + inputHeight; 148 gCanvasI.drawRect(canvas, &m_usernameInput.rect, getPaint(&m_usernameInput)); 152 m_passwordInput.rect.left = 5; 153 m_passwordInput.rect.top = H - (inputHeight + 5); 154 m_passwordInput.rect.right = W - 5; 155 m_passwordInput.rect.bottom = m_passwordInput.rect.top + inputHeight [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RectShapeTest.java | 101 method = "rect", 112 RectF rect = rectShape.myRect(); local 113 assertEquals(0.0f, rect.left); 114 assertEquals(0.0f, rect.top); 115 assertEquals(0.0f, rect.right); 116 assertEquals(0.0f, rect.bottom); 119 rect = rectShape.myRect(); 120 assertEquals(0.0f, rect.left); 121 assertEquals(0.0f, rect.top); 122 assertEquals((float) TEST_WIDTH, rect.right) [all...] |
/external/webkit/WebCore/platform/graphics/haiku/ |
GraphicsContextHaiku.cpp | 94 void GraphicsContext::drawRect(const IntRect& rect) 99 m_data->m_view->FillRect(rect); 101 m_data->m_view->StrokeRect(rect, getHaikuStrokeStyle()); 117 void GraphicsContext::drawEllipse(const IntRect& rect) 122 m_data->m_view->FillEllipse(rect); 124 m_data->m_view->StrokeEllipse(rect, getHaikuStrokeStyle()); 127 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan) 132 m_data->m_view->StrokeArc(rect, startAngle, angleSpan, getHaikuStrokeStyle()); 155 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace) 162 m_data->m_view->FillRect(rect); [all...] |