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

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DClientRect.cpp37 ClientRect::ClientRect(const IntRect& rect) argument
38 : m_rect(rect)
43 ClientRect::ClientRect(const FloatRect& rect) argument
44 : 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);
H A DSkBoundable.cpp25 void SkBoundable::getBounds(SkRect* rect) { argument
26 SkASSERT(rect);
28 INHERITED::getBounds(rect);
31 rect->fLeft = SkIntToScalar(fBounds.fLeft);
32 rect->fTop = SkIntToScalar(fBounds.fTop);
33 rect->fRight = SkIntToScalar(fBounds.fRight);
34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
/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);
H A DSkBoundable.cpp25 void SkBoundable::getBounds(SkRect* rect) { argument
26 SkASSERT(rect);
28 INHERITED::getBounds(rect);
31 rect->fLeft = SkIntToScalar(fBounds.fLeft);
32 rect->fTop = SkIntToScalar(fBounds.fTop);
33 rect->fRight = SkIntToScalar(fBounds.fRight);
34 rect->fBottom = SkIntToScalar(fBounds.fBottom);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DRoundedRectTest.cpp43 void PrintTo(const IntRect& rect, std::ostream* os) argument
46 << rect.x() << ", "
47 << rect.y() << ", "
48 << rect.width() << ", "
49 << rect.height() << ")";
59 EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect()));
66 EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect()));
73 EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect()));
80 EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect()));
/external/chromium_org/cc/test/
H A Dsolid_color_content_layer_client.cc9 #include "ui/gfx/rect.h"
15 SkCanvas* canvas, gfx::Rect rect, gfx::RectF* opaque_rect) {
22 SkRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()),
26 *opaque_rect = rect;
14 PaintContents( SkCanvas* canvas, gfx::Rect rect, gfx::RectF* opaque_rect) argument
/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/gm/
H A Dthinstrokedrects.cpp35 static const SkRect rect = { 0, 0, 10, 10 }; variable
48 canvas->drawRect(rect, paint);
H A Darcofzorro.cpp34 SkRect rect = SkRect::MakeXYWH(10, 10, 200, 200); variable
50 canvas->drawArc(rect, 0, arc, false, p);
/external/chromium/webkit/glue/
H A Dwebthemeengine_impl_mac.cc33 const WebRect& rect,
39 trackInfo.bounds = CGRectMake(rect.x, rect.y, rect.width, rect.height);
29 paintScrollbarThumb( WebCanvas* canvas, WebThemeEngine::State state, WebThemeEngine::Size size, const WebRect& rect, const WebThemeEngine::ScrollbarInfo& scrollbarInfo) argument
H A Dwebthemeengine_impl_linux.cc18 static gfx::Rect WebRectToRect(const WebRect& rect) { argument
19 return gfx::Rect(rect.x, rect.y, rect.width, rect.height);
170 const WebKit::WebRect& rect,
179 WebRectToRect(rect),
166 paint( WebKit::WebCanvas* canvas, WebKit::WebThemeEngine::Part part, WebKit::WebThemeEngine::State state, const WebKit::WebRect& rect, const WebKit::WebThemeEngine::ExtraParams* extra_params) 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.
59 // The bounds of the enclosing rect should be -100 to -10 for both x and y.
62 // then the enclosing clipped rect will be computed incorrectly.
/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/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/platform/graphics/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)));
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/
H A DSkiaUtils.h65 inline SkRect WebCoreFloatRectToSKRect(const FloatRect& rect) argument
67 return SkRect::MakeLTRB(SkFloatToScalar(rect.x()), SkFloatToScalar(rect.y()),
68 SkFloatToScalar(rect.maxX()), SkFloatToScalar(rect.maxY()));
/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/public/platform/
H A DWebScreenInfo.h58 WebRect rect; member in struct:WebKit::WebScreenInfo
/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/chromium_org/webkit/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/qemu/android/protocol/
H A Dfb-updates.h36 uint8_t rect[0]; member in struct:FBUpdateMessage
/external/chromium_org/ash/wm/
H A Dcoordinate_conversion.cc13 #include "ui/gfx/rect.h"
29 aura::RootWindow* GetRootWindowMatching(const gfx::Rect& rect) { argument
30 const gfx::Display& display = Shell::GetScreen()->GetDisplayMatching(rect);

Completed in 775 milliseconds

1234567891011>>