/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
H A D | gesture_common.js | 12 var rect = { top: bound.top, 16 if (rect.top < 0) { 17 rect.height += rect.top; 18 rect.top = 0; 20 if (rect.left < 0) { 21 rect.width += rect.left; 22 rect.left = 0; 25 var outsideHeight = (rect [all...] |
/external/chromium-trace/trace-viewer/src/ui/ |
H A D | rect_view.css | 6 rect-view {
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkValidationUtils.h | 26 /** Returns true if the rect's dimensions are between 0 and SK_MaxS32 28 static inline bool SkIsValidIRect(const SkIRect& rect) { argument 29 return rect.width() >= 0 && rect.height() >= 0; 32 /** Returns true if the rect's dimensions are between 0 and SK_ScalarMax 34 static inline bool SkIsValidRect(const SkRect& rect) { argument 35 return (rect.fLeft <= rect.fRight) && 36 (rect.fTop <= rect [all...] |
/external/skia/src/core/ |
H A D | SkValidationUtils.h | 26 /** Returns true if the rect's dimensions are between 0 and SK_MaxS32 28 static inline bool SkIsValidIRect(const SkIRect& rect) { argument 29 return rect.width() >= 0 && rect.height() >= 0; 32 /** Returns true if the rect's dimensions are between 0 and SK_ScalarMax 34 static inline bool SkIsValidRect(const SkRect& rect) { argument 35 return (rect.fLeft <= rect.fRight) && 36 (rect.fTop <= rect [all...] |
/external/chromium_org/ui/gfx/geometry/ |
H A D | rect_conversions.h | 8 #include "ui/gfx/geometry/rect.h" 14 GFX_EXPORT Rect ToEnclosingRect(const RectF& rect); 17 GFX_EXPORT Rect ToEnclosedRect(const RectF& rect); 21 // integer rect with floating point error. If it is an arbitrary RectF, then 23 GFX_EXPORT Rect ToNearestRect(const RectF& rect); 28 const gfx::RectF& rect, float distance); 32 GFX_EXPORT Rect ToFlooredRectDeprecated(const RectF& rect);
|
H A D | rect_conversions.cc | 15 Rect ToEnclosingRect(const RectF& rect) { argument 16 int min_x = ToFlooredInt(rect.x()); 17 int min_y = ToFlooredInt(rect.y()); 18 float max_x = rect.right(); 19 float max_y = rect.bottom(); 20 int width = rect.width() == 0 ? 0 : std::max(ToCeiledInt(max_x) - min_x, 0); 21 int height = rect.height() == 0 ? 0 : std::max(ToCeiledInt(max_y) - min_y, 0); 25 Rect ToEnclosedRect(const RectF& rect) { argument 26 int min_x = ToCeiledInt(rect.x()); 27 int min_y = ToCeiledInt(rect 35 ToNearestRect(const RectF& rect) argument [all...] |
/external/chromium_org/ppapi/cpp/ |
H A D | rect.cc | 5 #include "ppapi/cpp/rect.h" 43 bool Rect::Contains(const Rect& rect) const { 44 return (rect.x() >= x() && rect.right() <= right() && 45 rect.y() >= y() && rect.bottom() <= bottom()); 48 bool Rect::Intersects(const Rect& rect) const { 49 return !(rect.x() >= right() || rect.right() <= x() || 50 rect [all...] |
/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/chromium-trace/trace-viewer/src/base/ |
H A D | rect.js | 25 var rect = new Rect(); 26 rect.x = x; 27 rect.y = y; 28 rect.width = w; 29 rect.height = h; 30 return rect; 35 var rect = new Rect(); 36 rect.x = ary[0]; 37 rect.y = ary[1]; 38 rect [all...] |
/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/webrtc/modules/desktop_capture/ |
H A D | desktop_geometry.cc | 22 bool DesktopRect::ContainsRect(const DesktopRect& rect) const { 23 return rect.left() >= left() && rect.right() <= right() && 24 rect.top() >= top() && rect.bottom() <= bottom(); 27 void DesktopRect::IntersectWith(const DesktopRect& rect) { argument 28 left_ = std::max(left(), rect.left()); 29 top_ = std::max(top(), rect.top()); 30 right_ = std::min(right(), rect.right()); 31 bottom_ = std::min(bottom(), rect [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/ |
H A D | window_capture_utils.cc | 19 RECT rect; local 20 if (!GetWindowRect(window, &rect)) { 30 rect.left, rect.top, rect.right, rect.bottom); 36 rect.left + border.width(), 37 rect.top, 38 rect.right - border.width(), 39 rect [all...] |
/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/lldb/test/macosx/debug-info/apple_types/ |
H A D | main.c | 21 struct rect_tag rect = {{1,2}, {3,4}}; local 24 rect.top_right.x = rect.top_right.x + argc; 25 rect.top_right.y = rect.top_right.y + argc;
|
/external/chromium_org/cc/test/ |
H A D | solid_color_content_layer_client.cc | 9 #include "ui/gfx/rect.h" 16 const gfx::Rect& rect, 25 SkRect::MakeXYWH(rect.x(), rect.y(), rect.width(), rect.height()), 29 *opaque_rect = rect; 14 PaintContents( SkCanvas* canvas, const gfx::Rect& rect, gfx::RectF* opaque_rect, ContentLayerClient::GraphicsContextStatus gc_status) argument
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebScrollbarThemePainter.cpp | 46 void WebScrollbarThemePainter::paintScrollbarBackground(WebCanvas* canvas, const WebRect& rect) argument 48 SkRect clip = SkRect::MakeXYWH(rect.x, rect.y, rect.width, rect.height); 56 void WebScrollbarThemePainter::paintTrackBackground(WebCanvas* canvas, const WebRect& rect) argument 60 m_theme->paintTrackBackground(&context, m_scrollbar, IntRect(rect)); 63 void WebScrollbarThemePainter::paintBackTrackPart(WebCanvas* canvas, const WebRect& rect) argument 67 m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::BackTrackPart); 70 void WebScrollbarThemePainter::paintForwardTrackPart(WebCanvas* canvas, const WebRect& rect) argument 77 paintBackButtonStart(WebCanvas* canvas, const WebRect& rect) argument 84 paintBackButtonEnd(WebCanvas* canvas, const WebRect& rect) argument 91 paintForwardButtonStart(WebCanvas* canvas, const WebRect& rect) argument 98 paintForwardButtonEnd(WebCanvas* canvas, const WebRect& rect) argument 105 paintTickmarks(WebCanvas* canvas, const WebRect& rect) argument 112 paintThumb(WebCanvas* canvas, const WebRect& rect) argument [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawClip.cpp | 21 SK_MEMBER(rect, Rect) 28 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) { 32 if (rect != NULL) 33 maker.fCanvas->clipRect(rect->fRect);
|
H A D | SkDrawPoint.cpp | 41 void SkDrawPoint::getBounds(SkRect* rect ) { 42 rect->fLeft = rect->fRight = fPoint.fX; 43 rect->fTop = rect->fBottom = fPoint.fY;
|
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.cpp | 21 SK_MEMBER(rect, Rect) 28 SkDrawClip::SkDrawClip() : rect(NULL), path(NULL) { 32 if (rect != NULL) 33 maker.fCanvas->clipRect(rect->fRect);
|
H A D | SkDrawPoint.cpp | 41 void SkDrawPoint::getBounds(SkRect* rect ) { 42 rect->fLeft = rect->fRight = fPoint.fX; 43 rect->fTop = rect->fBottom = fPoint.fY;
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_path.cpp | 34 CFX_FloatRect rect;
local 37 rect = m_Path.GetBoundingBox(width, m_GraphState.GetObject()->m_MiterLimit);
39 rect = m_Path.GetBoundingBox();
41 rect.Transform(&m_Matrix);
43 rect.left += -0.5f;
44 rect.right += 0.5f;
45 rect.bottom += -0.5f;
46 rect.top += 0.5f;
48 m_Left = rect.left;
49 m_Right = rect [all...] |
/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/skia/experimental/PdfViewer/ |
H A D | SkPdfUtils.cpp | 23 void SkTraceRect(const SkRect& rect, const char* sz) { argument 25 printf("x = %f ", SkScalarToDouble(rect.x())); 26 printf("y = %f ", SkScalarToDouble(rect.y())); 27 printf("w = %f ", SkScalarToDouble(rect.width())); 28 printf("h = %f ", SkScalarToDouble(rect.height()));
|
/external/skia/experimental/PdfViewer/ |
H A D | SkPdfUtils.cpp | 23 void SkTraceRect(const SkRect& rect, const char* sz) { argument 25 printf("x = %f ", SkScalarToDouble(rect.x())); 26 printf("y = %f ", SkScalarToDouble(rect.y())); 27 printf("w = %f ", SkScalarToDouble(rect.width())); 28 printf("h = %f ", SkScalarToDouble(rect.height()));
|