/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | RoundedRect.cpp | 84 IntRect old = m_rect; in inflateWithRadii() 86 m_rect.inflate(size); in inflateWithRadii() 89 if (m_rect.width() < m_rect.height()) in inflateWithRadii() 90 factor = old.width() ? (float)m_rect.width() / old.width() : int(0); in inflateWithRadii() 92 factor = old.height() ? (float)m_rect.height() / old.height() : int(0); in inflateWithRadii() 136 : m_rect(x, y, width, height) in RoundedRect() 141 : m_rect(rect) in RoundedRect() 147 : m_rect(rect) in RoundedRect() 155 int minX = m_rect.x() + std::max(m_radii.topLeft().width(), m_radii.bottomLeft().width()); in radiusCenterRect() 156 int minY = m_rect.y() + std::max(m_radii.topLeft().height(), m_radii.topRight().height()); in radiusCenterRect() [all …]
|
D | FloatRoundedRect.h | 88 const FloatRect& rect() const { return m_rect; } in rect() 91 bool isEmpty() const { return m_rect.isEmpty(); } in isEmpty() 93 void setRect(const FloatRect& rect) { m_rect = rect; } in setRect() 96 void move(const FloatSize& size) { m_rect.move(size); } in move() 97 void inflate(float size) { m_rect.inflate(size); } in inflate() 103 … return FloatRect(m_rect.x(), m_rect.y(), m_radii.topLeft().width(), m_radii.topLeft().height()); in topLeftCorner() 107 …return FloatRect(m_rect.maxX() - m_radii.topRight().width(), m_rect.y(), m_radii.topRight().width(… in topRightCorner() 111 …return FloatRect(m_rect.x(), m_rect.maxY() - m_radii.bottomLeft().height(), m_radii.bottomLeft().w… in bottomLeftCorner() 115 …return FloatRect(m_rect.maxX() - m_radii.bottomRight().width(), m_rect.maxY() - m_radii.bottomRigh… in bottomRightCorner() 121 FloatRect m_rect;
|
D | RoundedRect.h | 82 const IntRect& rect() const { return m_rect; } in rect() 85 bool isEmpty() const { return m_rect.isEmpty(); } in isEmpty() 90 void setRect(const IntRect& rect) { m_rect = rect; } in setRect() 93 void move(const IntSize& size) { m_rect.move(size); } in move() 94 void inflate(int size) { m_rect.inflate(size); } in inflate() 110 IntRect m_rect;
|
D | FloatRoundedRect.cpp | 38 : m_rect(x, y, width, height) in FloatRoundedRect() 43 : m_rect(rect) in FloatRoundedRect() 49 : m_rect(rect) in FloatRoundedRect() 125 minXIntercept = m_rect.x(); in xInterceptsAtY() 135 maxXIntercept = m_rect.maxX(); in xInterceptsAtY()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | ClipRect.h | 43 : m_rect(rect) in ClipRect() 47 const LayoutRect& rect() const { return m_rect; } in rect() 48 void setRect(const LayoutRect& rect) { m_rect = rect; } in setRect() 57 void intersect(const LayoutRect& other) { m_rect.intersect(other); } in intersect() 60 m_rect.intersect(other.rect()); in intersect() 64 void move(LayoutUnit x, LayoutUnit y) { m_rect.move(x, y); } in move() 65 void move(const LayoutSize& size) { m_rect.move(size); } in move() 66 void moveBy(const LayoutPoint& point) { m_rect.moveBy(point); } in moveBy() 68 bool isEmpty() const { return m_rect.isEmpty(); } in isEmpty() 69 bool intersects(const LayoutRect& rect) const { return m_rect.intersects(rect); } in intersects() [all …]
|
D | RenderSelectionInfo.h | 73 m_rect = o->selectionRectForPaintInvalidation(m_paintInvalidationContainer); in RenderSelectionInfo() 76 RenderLayer::mapRectToPaintBackingCoordinates(m_paintInvalidationContainer, m_rect); in RenderSelectionInfo() 78 m_rect = LayoutRect(); in RenderSelectionInfo() 84 …lidatePaintUsingContainer(m_paintInvalidationContainer, enclosingIntRect(m_rect), InvalidationSele… in invalidatePaint() 87 LayoutRect rect() const { return m_rect; } in rect() 90 LayoutRect m_rect; // relative to paint invalidation container
|
D | ClipRect.cpp | 35 return hitTestLocation.intersects(m_rect); in intersects()
|
D | RenderInline.cpp | 865 LinesBoundingBoxGeneratorContext(FloatRect& rect) : m_rect(rect) { } in LinesBoundingBoxGeneratorContext() 868 m_rect.uniteIfNonZero(rect); in operator ()() 871 FloatRect& m_rect; member in blink::__anon641dff850411::LinesBoundingBoxGeneratorContext
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | ClientRect.h | 56 float top() const { return m_rect.y(); } in top() 57 float right() const { return m_rect.maxX(); } in right() 58 float bottom() const { return m_rect.maxY(); } in bottom() 59 float left() const { return m_rect.x(); } in left() 60 float width() const { return m_rect.width(); } in width() 61 float height() const { return m_rect.height(); } in height() 70 FloatRect m_rect; variable
|
D | ClientRect.cpp | 37 : m_rect(rect) in ClientRect() 42 : m_rect(rect) in ClientRect()
|
/external/deqp/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 91 : m_rect(rect), m_colorMask(colorMask), m_color(color) in ClearInfo() 95 tcu::IVec4 m_rect; member in deqp::gles2::Functional::ClearInfo 178 if (de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate() 194 if (de::inBounds(x, op.m_rect.x(), op.m_rect.x()+op.m_rect.z()) && in iterate() 195 de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate() 198 spanLength = deMin32(spanLength, op.m_rect.x() + op.m_rect.z() - x); in iterate() 212 else if (op.m_rect.x() > x) in iterate() 213 spanLength = deMin32(spanLength, op.m_rect.x() - x); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 91 : m_rect(rect), m_colorMask(colorMask), m_color(color) in ClearInfo() 95 tcu::IVec4 m_rect; member in deqp::gles3::Functional::ClearInfo 178 if (de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate() 194 if (de::inBounds(x, op.m_rect.x(), op.m_rect.x()+op.m_rect.z()) && in iterate() 195 de::inBounds(y, op.m_rect.y(), op.m_rect.y()+op.m_rect.w())) in iterate() 198 spanLength = deMin32(spanLength, op.m_rect.x() + op.m_rect.z() - x); in iterate() 212 else if (op.m_rect.x() > x) in iterate() 213 spanLength = deMin32(spanLength, op.m_rect.x() - x); in iterate()
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
D | LayerRect.h | 58 ClientRect* layerRelativeRect() const { return m_rect.get(); } in layerRelativeRect() 63 visitor->trace(m_rect); in trace() 72 , m_rect(rect) { } in LayerRect() 78 RefPtrWillBeMember<ClientRect> m_rect; variable
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | SmartClip.h | 49 , m_rect(rect) in SmartClipData() 59 IntRect m_rect; variable
|
D | SmartClip.cpp | 66 return m_rect; in rect()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | TextFinder.cpp | 446 it->m_rect = FloatRect(); in updateFindMatchRects() 448 it->m_rect = findInPageRectFromRange(it->m_range.get()); in updateFindMatchRects() 450 if (it->m_rect.isEmpty()) in updateFindMatchRects() 460 if (!it->m_rect.isEmpty()) in updateFindMatchRects() 497 ASSERT(!it->m_rect.isEmpty()); in appendFindMatchRects() 498 frameRects.append(it->m_rect); in appendFindMatchRects() 532 ASSERT(!m_findMatchesCache[i].m_rect.isEmpty()); in nearestFindMatch() 533 FloatSize offset = point - m_findMatchesCache[i].m_rect.center(); in nearestFindMatch()
|
D | TextFinder.h | 101 FloatRect m_rect; variable
|