Searched defs:rect (Results 251 - 275 of 1054) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/ui/views/
H A Ddetachable_toolbar_view.cc56 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 Dtext_input_controller.cc233 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 Dfake_video_capture_device.cc118 SkRect rect = local
135 canvas.drawArc(rect, 0, end_angle, true, paint);
/external/chromium_org/mojo/examples/html_viewer/
H A Dhtml_document_view.cc96 void HTMLDocumentView::didInvalidateRect(const blink::WebRect& rect) { argument
/external/chromium_org/mojo/public/cpp/bindings/tests/
H A Dtype_conversion_unittest.cc47 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 Dpaint_manager.cc107 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 Dpaint_manager.h35 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 Dpdfium_page.h12 #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 Dcompositor_layer.cc86 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 Dscroll.cc13 #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 Dppb_compositor_layer_thunk.cc67 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 Dpaint_aggregator.cc14 // 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 Dprint_settings_conversion.cc61 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 Dutil_unittest.cc48 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 Dpepper_view.cc16 #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 Dverify_config_window_win.cc60 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 DBasicShapeFunctions.cpp248 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 DCSSCrossfadeValue.cpp199 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 DImageBitmap.cpp19 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 DSmartClip.cpp46 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 DPluginOcclusionSupport.cpp116 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 DPaintInfo.h56 , 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 DRenderOverflow.h57 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 DRenderScrollbarPart.cpp158 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 DRenderScrollbarTheme.cpp96 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...]

Completed in 881 milliseconds

<<11121314151617181920>>