/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
H A D | gesture_common.js | 12 var rect = { top: bound.top, 16 var outsideHeight = (rect.top + rect.height) - window.innerHeight; 17 var outsideWidth = (rect.left + rect.width) - window.innerWidth; 20 rect.height -= outsideHeight; 23 rect.width -= outsideWidth; 25 return rect;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ClientRect.cpp | 37 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 D | SkDrawClip.h | 25 SkDrawRect* rect; member in class:SkDrawClip
|
H A D | SkDisplayBounds.cpp | 35 SkIRect& rect = maker.fDisplayList.fInvalBounds; local 37 if (rect.isEmpty()) 38 rect = fBounds; 40 rect.join(fBounds);
|
H A D | SkBoundable.cpp | 25 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 D | SkDrawClip.h | 25 SkDrawRect* rect; member in class:SkDrawClip
|
H A D | SkDisplayBounds.cpp | 35 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 D | RoundedRectTest.cpp | 42 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/cc/test/ |
H A D | solid_color_content_layer_client.cc | 9 #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/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | GraphicsLayerDebugInfo.cpp | 33 const LayoutRect& rect = m_currentLayoutRects[i]; local 36 rectArray->pushNumber(rect.x().toFloat()); 37 rectArray->pushNumber(rect.y().toFloat()); 38 rectArray->pushNumber(rect.maxX().toFloat()); 39 rectArray->pushNumber(rect.maxY().toFloat());
|
/external/pixman/test/ |
H A D | region-translate-test.c | 13 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 D | thinstrokedrects.cpp | 35 static const SkRect rect = { 0, 0, 10, 10 }; variable 48 canvas->drawRect(rect, paint);
|
/external/chromium/webkit/glue/ |
H A D | webthemeengine_impl_mac.cc | 33 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
|
/external/chromium_org/ash/test/ |
H A D | test_screenshot_delegate.cc | 24 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 D | math_util_unittest.cc | 12 #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/chrome/renderer/ |
H A D | webview_color_overlay.cc | 29 SkRect rect = gfx::RectToSkRect(gfx::Rect(render_view_->GetSize())); local 33 canvas->drawRect(rect, paint);
|
/external/chromium_org/skia/ext/ |
H A D | skia_utils_win.h | 23 // 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 D | RenderOverflowTest.cpp | 43 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 D | IntRectCG.cpp | 38 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/public/platform/ |
H A D | WebScreenInfo.h | 58 WebRect rect; member in struct:blink::WebScreenInfo
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkValidationUtils.h | 32 /** Returns true if the rect's dimensions are between 0 and SK_MaxS32 34 static inline bool SkIsValidIRect(const SkIRect& rect) { argument 35 return rect.width() >= 0 && rect.height() >= 0; 38 /** Returns true if the rect's dimensions are between 0 and SK_ScalarMax 40 static inline bool SkIsValidRect(const SkRect& rect) { argument 41 return (rect.fLeft <= rect.fRight) && 42 (rect.fTop <= rect [all...] |
/external/chromium_org/ui/gfx/ |
H A D | path_x11.cc | 19 XRectangle rect; local 20 rect.x = i.rect().x(); 21 rect.y = i.rect().y(); 22 rect.width = i.rect().width(); 23 rect.height = i.rect().height(); 24 XUnionRectWithRegion(&rect, resul [all...] |
/external/chromium_org/ui/views/widget/ |
H A D | monitor_win.cc | 11 #include "ui/gfx/rect.h" 15 gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect) { argument 16 RECT p_rect = rect.ToRECT();
|
/external/chromium_org/webkit/child/ |
H A D | webthemeengine_impl_mac.cc | 34 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 D | fb-updates.h | 36 uint8_t rect[0]; member in struct:FBUpdateMessage
|