OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:snapSizeToPixel
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/
LayoutUnitTest.cpp
109
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(1), LayoutUnit(0)), 1);
110
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(1), LayoutUnit(0.5)), 1);
111
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(1.5), LayoutUnit(0)), 2);
112
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(1.5), LayoutUnit(0.49)), 2);
113
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(1.5), LayoutUnit(0.5)), 1);
114
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(1.5), LayoutUnit(0.75)), 1);
115
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(1.5), LayoutUnit(0.99)), 1);
116
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(1.5), LayoutUnit(1)), 2);
118
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(0.5), LayoutUnit(1.5)), 0);
119
ASSERT_EQ(
snapSizeToPixel
(LayoutUnit(0.99), LayoutUnit(1.5)), 0)
[
all
...]
LayoutUnit.h
766
inline int
snapSizeToPixel
(LayoutUnit size, LayoutUnit location)
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
LayoutRect.h
60
IntSize pixelSnappedSize() const { return IntSize(
snapSizeToPixel
(m_size.width(), m_location.x()),
snapSizeToPixel
(m_size.height(), m_location.y())); }
74
int pixelSnappedWidth() const { return
snapSizeToPixel
(width(), x()); }
75
int pixelSnappedHeight() const { return
snapSizeToPixel
(height(), y()); }
206
snapSizeToPixel
(rect.width(), rect.x()),
207
snapSizeToPixel
(rect.height(), rect.y())));
215
return IntRect(left.round(), top.round(),
snapSizeToPixel
(width, left),
snapSizeToPixel
(height, top));
220
return IntRect(left.round(), top.round(),
snapSizeToPixel
(right - left, left),
snapSizeToPixel
(bottom - top, top))
[
all
...]
LayoutPoint.h
183
return IntSize(
snapSizeToPixel
(s.width(), p.x()),
snapSizeToPixel
(s.height(), p.y()));
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderLayerScrollableArea.cpp
501
return
snapSizeToPixel
(m_overflowRect.width(), m_box->clientLeft() + m_box->x());
508
return
snapSizeToPixel
(m_overflowRect.height(), m_box->clientTop() + m_box->y());
[
all
...]
RenderBlockLineLayout.cpp
[
all
...]
RenderBox.cpp
400
return
snapSizeToPixel
(clientWidth(), x() + clientLeft());
405
return
snapSizeToPixel
(clientHeight(), y() + clientTop());
410
return
snapSizeToPixel
(offsetWidth(), x() + clientLeft());
415
return
snapSizeToPixel
(offsetHeight(), y() + clientTop());
469
return
snapSizeToPixel
(max(clientWidth(), layoutOverflowRect().maxX() - borderLeft()), x() + clientLeft());
479
return
snapSizeToPixel
(max(clientHeight(), layoutOverflowRect().maxY() - borderTop()), y() + clientTop());
[
all
...]
RenderBoxModelObject.cpp
413
return
snapSizeToPixel
(offsetWidth(), offsetLeft());
418
return
snapSizeToPixel
(offsetHeight(), offsetTop());
[
all
...]
Completed in 276 milliseconds