/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ClientRect.cpp | 36 ClientRect::ClientRect(const IntRect& rect) argument 37 : m_rect(rect) 41 ClientRect::ClientRect(const FloatRect& rect) argument 42 : m_rect(rect)
|
/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/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | ImageFilter.cpp | 12 FloatRect mapImageFilterRect(ImageFilter* filter, const FloatRect& rect) argument 15 filter->computeFastBounds(rect, &dest);
|
/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/polymer/components-chromium/paper-menu-button/ |
H A D | paper-menu-button-overlay-extracted.js | 36 var rect = this.relatedTarget.getBoundingClientRect(); 39 this.target.style.left = rect.left + 'px'; 41 this.target.style.right = (window.innerWidth - rect.right) + 'px'; 43 this.target.style.left = (rect.left - (rect.width - this.target.cachedSize.width) / 2) + 'px'; 47 this.target.style.top = rect.top + 'px'; 49 this.target.style.top = rect.bottom + 'px'; 51 this.target.style.top = rect.top + 'px'; 54 // this.target.style.top = rect.top + 'px';
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
H A D | gesture_common.js | 32 var rect = getBoundingRect(el); 33 if (rect.top < 0) { 34 rect.height += rect.top; 35 rect.top = 0; 37 if (rect.left < 0) { 38 rect.width += rect.left; 39 rect.left = 0; 42 var outsideHeight = (rect [all...] |
/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/cc/test/ |
H A D | solid_color_content_layer_client.cc | 9 #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/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/polymer/components-chromium/paper-button/ |
H A D | paper-button-extracted.js | 63 var rect = this.getBoundingClientRect(); 65 x: rect.left + rect.width / 2, 66 y: rect.top + rect.height / 2 96 var rect = this.getBoundingClientRect(); 97 return (rect.left <= x) && (x <= rect.right) && (rect.top <= y) && (y <= rect [all...] |
/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/third_party/WebKit/Source/core/rendering/ |
H A D | ClipRect.h | 42 ClipRect(const LayoutRect& rect) argument 43 : m_rect(rect) 47 const LayoutRect& rect() const { return m_rect; } function in class:blink::ClipRect 48 void setRect(const LayoutRect& rect) { m_rect = rect; } argument 53 bool operator==(const ClipRect& other) const { return rect() == other.rect() && hasRadius() == other.hasRadius(); } 54 bool operator!=(const ClipRect& other) const { return rect() != other.rect() || hasRadius() != other.hasRadius(); } 55 bool operator!=(const LayoutRect& otherRect) const { return rect() ! [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebScrollbarThemePainter.cpp | 44 void WebScrollbarThemePainter::paintScrollbarBackground(WebCanvas* canvas, const WebRect& rect) argument 46 SkRect clip = SkRect::MakeXYWH(rect.x, rect.y, rect.width, rect.height); 54 void WebScrollbarThemePainter::paintTrackBackground(WebCanvas* canvas, const WebRect& rect) argument 58 m_theme->paintTrackBackground(&context, m_scrollbar, IntRect(rect)); 61 void WebScrollbarThemePainter::paintBackTrackPart(WebCanvas* canvas, const WebRect& rect) argument 65 m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), BackTrackPart); 68 void WebScrollbarThemePainter::paintForwardTrackPart(WebCanvas* canvas, const WebRect& rect) argument 75 paintBackButtonStart(WebCanvas* canvas, const WebRect& rect) argument 82 paintBackButtonEnd(WebCanvas* canvas, const WebRect& rect) argument 89 paintForwardButtonStart(WebCanvas* canvas, const WebRect& rect) argument 96 paintForwardButtonEnd(WebCanvas* canvas, const WebRect& rect) argument 103 paintTickmarks(WebCanvas* canvas, const WebRect& rect) argument 110 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);
|
/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);
|
/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/remoting/codec/ |
H A D | video_encoder_helper.cc | 39 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 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);
|