/external/chromium_org/chrome/browser/ui/views/ |
H A D | detachable_toolbar_view.cc | 56 double vertical_padding, SkRect* rect, 59 rect->set(SkDoubleToScalar(horizontal_padding - 0.5), 82 const SkRect& rect, 89 rect, SkDoubleToScalar(roundness), SkDoubleToScalar(roundness), paint); 95 const SkRect& rect, double roundness) { 104 rect, SkDoubleToScalar(roundness), SkDoubleToScalar(roundness), 54 CalculateContentArea( double animation_state, double horizontal_padding, double vertical_padding, SkRect* rect, double* roundness, views::View* view) argument 79 PaintContentAreaBackground( gfx::Canvas* canvas, ui::ThemeProvider* theme_provider, const SkRect& rect, double roundness) argument 93 PaintContentAreaBorder( gfx::Canvas* canvas, ui::ThemeProvider* theme_provider, const SkRect& rect, double roundness) argument
|
/external/chromium_org/content/shell/renderer/test_runner/ |
H A D | text_input_controller.cc | 233 blink::WebRect rect; local 236 location, length, rect)) { 241 int_array[0] = rect.x; 242 int_array[1] = rect.y; 243 int_array[2] = rect.width; 244 int_array[3] = rect.height;
|
/external/chromium_org/media/video/capture/ |
H A D | fake_video_capture_device.cc | 118 SkRect rect = local 135 canvas.drawArc(rect, 0, end_angle, true, paint);
|
/external/chromium_org/mojo/examples/html_viewer/ |
H A D | html_document_view.cc | 96 void HTMLDocumentView::didInvalidateRect(const blink::WebRect& rect) { argument
|
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
H A D | type_conversion_unittest.cc | 47 test::RectPtr rect(test::Rect::New()); 48 rect->x = input.left; 49 rect->y = input.top; 50 rect->width = input.right - input.left; 51 rect->height = input.bottom - input.top; 52 return rect.Pass(); 55 RedmondRect rect; local 56 rect.left = input->x; 57 rect.top = input->y; 58 rect 179 RedmondRect rect = kBase; local [all...] |
/external/chromium_org/pdf/ |
H A D | paint_manager.cc | 107 void PaintManager::InvalidateRect(const pp::Rect& rect) { argument 113 // Clip the rect to the device area. 114 pp::Rect clipped_rect = rect.Intersect(pp::Rect(GetEffectiveSize())); 250 ready_now[i].image_data, ready_now[i].offset, ready_now[i].rect);
|
H A D | paint_manager.h | 35 pp::Rect rect; member in struct:PaintManager::ReadyRect 40 : rect(r), image_data(i), flush_now(f) {} 45 rv.rect = rect; 57 // rect is painted, information about that paint should be inserted into 58 // |ready|. Otherwise if a paint needs more work, add the rect to 132 // Invalidate the given rect. 133 void InvalidateRect(const pp::Rect& rect); 135 // The given rect should be scrolled by the given amounts.
|
/external/chromium_org/pdf/pdfium/ |
H A D | pdfium_page.h | 12 #include "ppapi/cpp/rect.h" 85 pp::Rect rect() const { return rect_; } function in class:chrome_pdf::PDFiumPage 97 // Returns the link indices if the given rect intersects a link rect, or an
|
/external/chromium_org/ppapi/cpp/ |
H A D | compositor_layer.cc | 86 int32_t CompositorLayer::SetClipRect(const Rect& rect) { argument 89 pp_resource(), &rect.pp_rect()); 118 int32_t CompositorLayer::SetSourceRect(const FloatRect& rect) { argument 121 pp_resource(), &rect.pp_float_rect());
|
/external/chromium_org/ppapi/examples/2d/ |
H A D | scroll.cc | 13 #include "ppapi/cpp/rect.h" 24 void FillRect(pp::ImageData* image, const pp::Rect& rect, uint32_t color) { argument 25 for (int y = std::max(0, rect.y()); 26 y < std::min(image->size().height(), rect.bottom()); 28 for (int x = std::max(0, rect.x()); 29 x < std::min(image->size().width(), rect.right());
|
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_compositor_layer_thunk.cc | 67 int32_t SetClipRect(PP_Resource layer, const struct PP_Rect* rect) { argument 72 return enter.object()->SetClipRect(rect); 99 int32_t SetSourceRect(PP_Resource layer, const struct PP_FloatRect* rect) { argument 104 return enter.object()->SetSourceRect(rect);
|
/external/chromium_org/ppapi/utility/graphics/ |
H A D | paint_aggregator.cc | 14 // We attempt to maintain a scroll rect in the presence of invalidations that 15 // are contained within the scroll rect. If an invalidation crosses a scroll 16 // rect, then we just treat the scroll rect as an invalidation rect. 19 // scroll rect, we offset the invalidation rects to account for the fact that 68 // In case the scroll offset exceeds the width/height of the scroll rect 116 void PaintAggregator::InvalidateRect(const Rect& rect) { argument 120 if (existing_rect.Contains(rect)) // Optimize out redundancy. 122 if (rect [all...] |
/external/chromium_org/printing/ |
H A D | print_settings_conversion.cc | 61 const gfx::Rect& rect, 65 dict->SetInteger("x", rect.x()); 66 dict->SetInteger("y", rect.y()); 67 dict->SetInteger("width", rect.width()); 68 dict->SetInteger("height", rect.height()); 60 SetRectToJobSettings(const std::string& json_path, const gfx::Rect& rect, base::DictionaryValue* job_settings) argument
|
/external/chromium_org/remoting/base/ |
H A D | util_unittest.cc | 48 void FillRgbBuffer(const webrtc::DesktopRect& rect) { argument 50 rgb_buffer_.get() + (rect.top() * kRgbStride) + 51 (rect.left() * kBytesPerPixel)); 52 int width = rect.width(); 53 for (int height = rect.height(); height > 0; --height) { 60 void CheckRgbBuffer(const webrtc::DesktopRect& rect) { argument 63 if (y < rect.top() || rect.bottom() <= y) { 69 EXPECT_EQ((ptrdiff_t)rect.left(), 70 std::count(ptr, ptr + rect 84 RunTest(const webrtc::DesktopSize dest_size, const webrtc::DesktopRect& rect) argument 153 webrtc::DesktopRect rect = local 172 webrtc::DesktopRect rect = local [all...] |
/external/chromium_org/remoting/client/plugin/ |
H A D | pepper_view.cc | 16 #include "ppapi/cpp/rect.h" 276 webrtc::DesktopRect rect = i.rect(); local 280 rect.IntersectWith(clip_area_); 281 if (rect.is_empty()) 285 rect.Translate(-clip_area.left(), -clip_area.top()); 288 // point here is the offset from the source rect. Why? 292 pp::Rect(rect.left(), rect.top(), rect [all...] |
/external/chromium_org/remoting/host/ |
H A D | verify_config_window_win.cc | 60 RECT rect; local 61 if (!GetWindowRect(&rect)) { 93 LONG width = rect.right - rect.left; 94 LONG height = rect.bottom - rect.top;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | BasicShapeFunctions.cpp | 248 RefPtr<BasicShapeInset> rect = BasicShapeInset::create(); local 250 rect->setTop(convertToLength(state, rectValue->top())); 251 rect->setRight(convertToLength(state, rectValue->right())); 252 rect->setBottom(convertToLength(state, rectValue->bottom())); 253 rect->setLeft(convertToLength(state, rectValue->left())); 255 rect->setTopLeftRadius(convertToLengthSize(state, rectValue->topLeftRadius())); 256 rect->setTopRightRadius(convertToLengthSize(state, rectValue->topRightRadius())); 257 rect->setBottomRightRadius(convertToLengthSize(state, rectValue->bottomRightRadius())); 258 rect->setBottomLeftRadius(convertToLengthSize(state, rectValue->bottomLeftRadius())); 260 basicShape = rect [all...] |
H A D | CSSCrossfadeValue.cpp | 199 void CSSCrossfadeValue::CrossfadeSubimageObserverProxy::imageChanged(ImageResource*, const IntRect* rect) argument 202 m_ownerValue->crossfadeChanged(*rect);
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | ImageBitmap.cpp | 19 static inline IntRect normalizeRect(const IntRect& rect) argument 21 return IntRect(std::min(rect.x(), rect.maxX()), 22 std::min(rect.y(), rect.maxY()), 23 std::max(rect.width(), -rect.width()), 24 std::max(rect.height(), -rect.height()));
|
H A D | SmartClip.cpp | 46 static IntRect applyScaleWithoutCollapsingToZero(const IntRect& rect, float scale) argument 48 IntRect result = rect; 50 if (rect.width() > 0 && !result.width()) 52 if (rect.height() > 0 && !result.height()) 64 IntRect SmartClipData::rect() const function in class:WebCore::SmartClipData 101 // Unite won't work with the empty rect, so we initialize to the first rect.
|
/external/chromium_org/third_party/WebKit/Source/core/plugins/ |
H A D | PluginOcclusionSupport.cpp | 116 static bool intersectsRect(const RenderObject* renderer, const IntRect& rect) argument 118 return renderer->absoluteBoundingBoxRectIgnoringTransforms().intersects(rect)
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | PaintInfo.h | 56 , rect(newRect) 95 if (rect == infiniteRect()) 99 rect = localToAncestorTransform.inverse().mapRect(rect); 101 rect.setSize(IntSize(0, 0)); 112 IntRect rect; member in struct:WebCore::PaintInfo
|
H A D | RenderOverflow.h | 57 void addContentsVisualOverflow(const LayoutRect& rect) { m_contentsVisualOverflow.unite(rect); } argument 80 inline void RenderOverflow::addLayoutOverflow(const LayoutRect& rect) argument 82 LayoutUnit maxX = std::max(rect.maxX(), m_layoutOverflow.maxX()); 83 LayoutUnit maxY = std::max(rect.maxY(), m_layoutOverflow.maxY()); 84 LayoutUnit minX = std::min(rect.x(), m_layoutOverflow.x()); 85 LayoutUnit minY = std::min(rect.y(), m_layoutOverflow.y()); 93 inline void RenderOverflow::addVisualOverflow(const LayoutRect& rect) argument 95 LayoutUnit maxX = std::max(rect.maxX(), m_visualOverflow.maxX()); 96 LayoutUnit maxY = std::max(rect 103 setLayoutOverflow(const LayoutRect& rect) argument 108 setVisualOverflow(const LayoutRect& rect) argument [all...] |
H A D | RenderScrollbarPart.cpp | 158 void RenderScrollbarPart::imageChanged(WrappedImagePtr image, const IntRect* rect) argument 170 RenderBlock::imageChanged(image, rect); 174 void RenderScrollbarPart::paintIntoRect(GraphicsContext* graphicsContext, const LayoutPoint& paintOffset, const LayoutRect& rect) argument 176 // Make sure our dimensions match the rect. 177 setLocation(rect.location() - toSize(paintOffset)); 178 setWidth(rect.width()); 179 setHeight(rect.height()); 185 PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBehaviorNormal);
|
H A D | RenderScrollbarTheme.cpp | 96 IntRect RenderScrollbarTheme::constrainTrackRectToTrackPieces(ScrollbarThemeClient* scrollbar, const IntRect& rect) argument 98 IntRect backRect = toRenderScrollbar(scrollbar)->trackPieceRectWithMargins(BackTrackPart, rect); 99 IntRect forwardRect = toRenderScrollbar(scrollbar)->trackPieceRectWithMargins(ForwardTrackPart, rect); 100 IntRect result = rect; 122 void RenderScrollbarTheme::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument 124 toRenderScrollbar(scrollbar)->paintPart(context, TrackBGPart, rect); 127 void RenderScrollbarTheme::paintTrackPiece(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) argument 129 toRenderScrollbar(scrollbar)->paintPart(context, part, rect); 132 void RenderScrollbarTheme::paintButton(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) argument 134 toRenderScrollbar(scrollbar)->paintPart(context, part, rect); 137 paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument 142 paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) argument [all...] |