/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
H A D | ImageFrame.cpp | 153 void ImageFrame::zeroFillFrameRect(const IntRect& rect) argument 155 if (rect.isEmpty()) 158 m_bitmap->bitmap().eraseArea(rect, SkColorSetARGB(0, 0, 0, 0));
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
H A D | FramelessScrollView.cpp | 45 void FramelessScrollView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) argument 48 IntRect dirtyRect = rect; 75 void FramelessScrollView::invalidateRect(const IntRect& rect) argument 78 h->invalidateContentsAndRootView(rect);
|
H A D | ScrollbarThemeNonMacCommon.cpp | 88 void ScrollbarThemeNonMacCommon::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument 92 paintTrackPiece(context, scrollbar, rect, ForwardTrackPart); 95 void ScrollbarThemeNonMacCommon::paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument 100 if (rect.height() <= 0 || rect.width() <= 0) 117 const int yPos = rect.y() + (rect.height() * percent); 120 FloatRect tickRect(rect.x(), yPos, rect.width(), 3); 124 FloatRect tickStroke(rect [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | ViewportAnchor.cpp | 49 int area(const RectType& rect) { argument 50 return rect.width() * rect.height();
|
H A D | WebScrollbarThemePainter.cpp | 46 void WebScrollbarThemePainter::paintScrollbarBackground(WebCanvas* canvas, const WebRect& rect) argument 48 SkRect clip = SkRect::MakeXYWH(rect.x, rect.y, rect.width, rect.height); 56 void WebScrollbarThemePainter::paintTrackBackground(WebCanvas* canvas, const WebRect& rect) argument 60 m_theme->paintTrackBackground(&context, m_scrollbar, IntRect(rect)); 63 void WebScrollbarThemePainter::paintBackTrackPart(WebCanvas* canvas, const WebRect& rect) argument 67 m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::BackTrackPart); 70 void WebScrollbarThemePainter::paintForwardTrackPart(WebCanvas* canvas, const WebRect& rect) argument 77 paintBackButtonStart(WebCanvas* canvas, const WebRect& rect) argument 84 paintBackButtonEnd(WebCanvas* canvas, const WebRect& rect) argument 91 paintForwardButtonStart(WebCanvas* canvas, const WebRect& rect) argument 98 paintForwardButtonEnd(WebCanvas* canvas, const WebRect& rect) argument 105 paintTickmarks(WebCanvas* canvas, const WebRect& rect) argument 112 paintThumb(WebCanvas* canvas, const WebRect& rect) argument [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
H A D | winrand.c | 120 RECT rect; local 127 GetClientRect(hwnd, &rect); 129 &rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER);
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkImageFilter.h | 44 explicit CropRect(const SkRect& rect, uint32_t flags = kHasAll_CropEdge) : fRect(rect), fFlags(flags) {} argument 46 const SkRect& rect() const { return fRect; } function in class:SkImageFilter::CropRect 135 * Returns whether any edges of the crop rect have been set. The crop 136 * rect is set at construction time, and determines which pixels from the 137 * input image will be processed. The size of the crop rect should be 138 * used as the size of the destination image. The origin of this rect 176 // Applies "matrix" to the crop rect, and sets "rect" to the intersection of 177 // "rect" an [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
H A D | SkPictureImageFilter.cpp | 22 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture, const SkRect& rect) argument 25 fRect(rect) {
|
H A D | SkRectShaderImageFilter.cpp | 15 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const SkRect& rect) { argument 18 if (rect.width() == 0 || rect.height() == 0) { 21 CropRect cropRect(rect, flags); 74 SkRect rect = SkRect::MakeWH(SkIntToScalar(bounds.width()), SkIntToScalar(bounds.height())); local 75 canvas.drawRect(rect, paint);
|
/external/chromium_org/ui/message_center/views/ |
H A D | proportional_image_view.cc | 21 gfx::Rect rect = gfx::Rect(GetImageSizeForWidth(image_.width())); local 22 rect.Inset(-insets); 23 return rect.size();
|
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | x11_desktop_window_move_client.cc | 95 void X11DesktopWindowMoveClient::SetHostBounds(const gfx::Rect& rect) { argument 96 root_window_->SetHostBounds(rect);
|
/external/openssl/apps/ |
H A D | winrand.c | 120 RECT rect; local 127 GetClientRect(hwnd, &rect); 129 &rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER);
|
/external/skia/bench/ |
H A D | DeferredCanvasBench.cpp | 80 SkRect rect; variable 81 rect.setXYWH(0, 0, 10, 10); 86 canvas->drawRect(rect, paint);
|
H A D | XfermodeBench.cpp | 43 SkRect rect = SkRect::MakeXYWH( variable 49 canvas->drawRect(rect, paint);
|
/external/skia/gm/ |
H A D | bigmatrix.cpp | 57 SkRect rect = {pt.fX - small, pt.fY - small, local 59 canvas->drawRect(rect, paint); 84 rect.setLTRB(pt.fX - small, pt.fY - small, 86 canvas->drawRect(rect, paint);
|
H A D | bitmapalphathreshold.cpp | 106 SkRect rect; variable 107 rect.fLeft = 0; 108 rect.fTop = 0; 109 rect.fRight = SkIntToScalar(fBM.width()); 110 rect.fBottom = SkIntToScalar(fBM.height()); 126 canvas->drawRect(rect, paint);
|
H A D | pathinterior.cpp | 16 SkRect rect = r; local 17 rect.inset(r.width() / 8, r.height() / 8); 18 return rect; 40 SkRect rect; local 42 bool hasInterior = path.hasRectangularInterior(&rect); 56 canvas->drawRect(rect, paint); 63 const SkRect rect = { 0, 0, 80, 80 }; variable 64 const SkScalar RAD = rect.width()/8; 78 SkRect r = insetFirst ? inset(rect) : rect; [all...] |
H A D | strokerect.cpp | 14 static void draw_path(SkCanvas* canvas, const SkPath& path, const SkRect& rect, argument 23 canvas->drawRect(rect, paint);
|
/external/skia/include/core/ |
H A D | SkImageFilter.h | 44 explicit CropRect(const SkRect& rect, uint32_t flags = kHasAll_CropEdge) : fRect(rect), fFlags(flags) {} argument 46 const SkRect& rect() const { return fRect; } function in class:SkImageFilter::CropRect 135 * Returns whether any edges of the crop rect have been set. The crop 136 * rect is set at construction time, and determines which pixels from the 137 * input image will be processed. The size of the crop rect should be 138 * used as the size of the destination image. The origin of this rect 176 // Applies "matrix" to the crop rect, and sets "rect" to the intersection of 177 // "rect" an [all...] |
/external/skia/src/effects/ |
H A D | SkPictureImageFilter.cpp | 22 SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture, const SkRect& rect) argument 25 fRect(rect) {
|
H A D | SkRectShaderImageFilter.cpp | 15 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const SkRect& rect) { argument 18 if (rect.width() == 0 || rect.height() == 0) { 21 CropRect cropRect(rect, flags); 74 SkRect rect = SkRect::MakeWH(SkIntToScalar(bounds.width()), SkIntToScalar(bounds.height())); local 75 canvas.drawRect(rect, paint);
|
/external/chromium/chrome/browser/ui/views/bubble/ |
H A D | border_contents.cc | 75 gfx::Rect BorderContents::GetMonitorBounds(const gfx::Rect& rect) { argument 78 return monitor_provider->GetMonitorWorkAreaMatching(rect);
|
/external/chromium/chrome/browser/ui/views/ |
H A D | keyboard_overlay_delegate.cc | 53 gfx::Rect rect = views::Screen::GetMonitorAreaNearestWindow( local 55 const int width = min(kBaseWidth, rect.width() - kHorizontalMargin);
|
/external/chromium/chrome/browser/ui/ |
H A D | window_sizer_linux.cc | 27 gfx::Rect rect; local 28 if (GetScreenWorkArea(&rect)) 29 return rect.Intersect(GetPrimaryMonitorBounds()); 37 GdkRectangle rect; local 38 gdk_screen_get_monitor_geometry(screen, 0, &rect); 39 return gfx::Rect(rect);
|
/external/chromium_org/ash/shell/ |
H A D | panel_window.cc | 26 views::Widget* PanelWindow::CreatePanelWindow(const gfx::Rect& rect) { argument 28 panel_window->params().bounds = rect;
|