Searched defs:rect (Results 1 - 25 of 1094) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DClientRect.cpp36 ClientRect::ClientRect(const IntRect& rect) argument
37 : m_rect(rect)
41 ClientRect::ClientRect(const FloatRect& rect) argument
42 : m_rect(rect)
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawClip.h25 SkDrawRect* rect; member in class:SkDrawClip
H A DSkDisplayBounds.cpp35 SkIRect& rect = maker.fDisplayList.fInvalBounds; local
37 if (rect.isEmpty())
38 rect = fBounds;
40 rect.join(fBounds);
/external/skia/src/animator/
H A DSkDrawClip.h25 SkDrawRect* rect; member in class:SkDrawClip
H A DSkDisplayBounds.cpp35 SkIRect& rect = maker.fDisplayList.fInvalBounds; local
37 if (rect.isEmpty())
38 rect = fBounds;
40 rect.join(fBounds);
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DRoundedRectTest.cpp42 void PrintTo(const IntRect& rect, std::ostream* os) argument
45 << rect.x() << ", "
46 << rect.y() << ", "
47 << rect.width() << ", "
48 << rect.height() << ")";
58 EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect()));
65 EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect()));
72 EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect()));
79 EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect()));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageFilter.cpp12 FloatRect mapImageFilterRect(ImageFilter* filter, const FloatRect& rect) argument
15 filter->computeFastBounds(rect, &dest);
/external/chromium_org/ash/wm/
H A Dcoordinate_conversion.cc12 #include "ui/gfx/rect.h"
28 aura::Window* GetRootWindowMatching(const gfx::Rect& rect) { argument
29 const gfx::Display& display = Shell::GetScreen()->GetDisplayMatching(rect);
/external/chromium_org/third_party/skia/bench/
H A DImageFilterDAGBench.cpp38 SkRect rect = SkRect::Make(SkIRect::MakeWH(400, 400)); variable
39 canvas->drawRect(rect, paint);
/external/chromium_org/third_party/skia/gm/
H A Dthinstrokedrects.cpp35 static const SkRect rect = { 0, 0, 10, 10 }; variable
48 canvas->drawRect(rect, paint);
/external/chromium_org/ui/views/widget/
H A Dmonitor_win.cc10 #include "ui/gfx/rect.h"
14 gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect) { argument
15 RECT p_rect = rect.ToRECT();
/external/pixman/test/
H A Dregion-translate-test.c13 pixman_box32_t rect = { -LARGE, -LARGE, LARGE, LARGE }; local
16 pixman_region32_init_rects (&r1, &rect, 1);
17 pixman_region32_init_rect (&r2, rect.x1, rect.y1, rect.x2 - rect.x1, rect.y2 - rect.y1);
/external/skia/bench/
H A DImageFilterDAGBench.cpp38 SkRect rect = SkRect::Make(SkIRect::MakeWH(400, 400)); variable
39 canvas->drawRect(rect, paint);
/external/skia/gm/
H A Dthinstrokedrects.cpp39 static const SkRect rect = { 0, 0, 10, 10 }; variable
52 canvas->drawRect(rect, paint);
/external/chromium_org/ash/test/
H A Dtest_screenshot_delegate.cc24 aura::Window* window, const gfx::Rect& rect) {
26 last_rect_ = rect;
23 HandleTakePartialScreenshot( aura::Window* window, const gfx::Rect& rect) argument
/external/chromium_org/cc/base/
H A Dmath_util_unittest.cc12 #include "ui/gfx/rect.h"
27 gfx::RectF rect = gfx::RectF(0, 0, 1, 1); local
28 gfx::RectF projected_rect = MathUtil::ProjectClippedRect(transform, rect);
41 // The bounds of the enclosing clipped rect should be -100 to -10 for both x
44 // then the enclosing clipped rect will be computed incorrectly.
61 // The bounds of the enclosing rect should be -100 to -10 for both x and y.
64 // then the enclosing clipped rect will be computed incorrectly.
/external/chromium_org/cc/output/
H A Doverlay_candidate.cc36 const gfx::Rect& rect) {
39 gfx::RectF float_rect(rect);
35 GetOverlayRect(const gfx::Transform& quad_transform, const gfx::Rect& rect) argument
/external/chromium_org/cc/test/
H A Dsolid_color_content_layer_client.cc9 #include "ui/gfx/rect.h"
16 const gfx::Rect& rect,
24 SkRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()),
14 PaintContents( SkCanvas* canvas, const gfx::Rect& rect, ContentLayerClient::GraphicsContextStatus gc_status) argument
/external/chromium_org/chrome/renderer/
H A Dwebview_color_overlay.cc29 SkRect rect = gfx::RectToSkRect(gfx::Rect(render_view_->GetSize())); local
33 canvas->drawRect(rect, paint);
/external/chromium_org/content/child/
H A Dwebthemeengine_impl_mac.cc34 const WebRect& rect,
40 trackInfo.bounds = CGRectMake(rect.x, rect.y, rect.width, rect.height);
30 paintScrollbarThumb( WebCanvas* canvas, WebThemeEngine::State state, WebThemeEngine::Size size, const WebRect& rect, const WebThemeEngine::ScrollbarInfo& scrollbarInfo) argument
/external/chromium_org/mojo/services/public/cpp/surfaces/lib/
H A Dsurfaces_utils.cc8 #include "ui/gfx/geometry/rect.h"
27 PassPtr CreateDefaultPass(int id, const gfx::Rect& rect) { argument
30 pass->output_rect = Rect::From(rect);
31 pass->damage_rect = Rect::From(rect);
/external/chromium_org/remoting/codec/
H A Dvideo_encoder_helper.cc39 const webrtc::DesktopRect& rect = iter.rect(); local
41 dirty_rect->set_x(rect.left());
42 dirty_rect->set_y(rect.top());
43 dirty_rect->set_width(rect.width());
44 dirty_rect->set_height(rect.height());
52 Rect* rect = packet->add_desktop_shape_rects(); local
53 rect->set_x(r.rect().left());
54 rect
[all...]
/external/chromium_org/skia/ext/
H A Dskia_utils_win.h23 // Converts a Windows RECT to a Skia rect.
24 SkRect RECTToSkRect(const RECT& rect);
26 // Converts a Windows RECT to a Skia rect.
29 inline const SkIRect& RECTToSkIRect(const RECT& rect) { argument
30 return reinterpret_cast<const SkIRect&>(rect);
33 // Converts a Skia rect to a Windows RECT.
36 inline const RECT& SkIRectToRECT(const SkIRect& rect) { argument
37 return reinterpret_cast<const RECT&>(rect);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderOverflowTest.cpp43 void PrintTo(const LayoutRect& rect, std::ostream* os) argument
46 << rect.x().toFloat() << ", "
47 << rect.y().toFloat() << ", "
48 << rect.width().toFloat() << ", "
49 << rect.height().toFloat() << ")";
/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/
H A DIntRectCG.cpp38 IntRect enclosingIntRect(const CGRect& rect) argument
40 int l = static_cast<int>(floorf(rect.origin.x));
41 int t = static_cast<int>(floorf(rect.origin.y));
42 int r = static_cast<int>(ceilf(CGRectGetMaxX(rect)));
43 int b = static_cast<int>(ceilf(CGRectGetMaxY(rect)));

Completed in 1853 milliseconds

1234567891011>>