HomeSort by relevance Sort by last modified time
    Searched refs:fromFloatRound (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/
LayoutUnitTest.cpp 86 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.51f).round(), -2);
87 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.5f).round(), -1);
88 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.49f).round(), -1);
90 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.99f).round(), -1);
91 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.51f).round(), -1);
92 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.50f).round(), 0);
93 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.49f).round(), 0);
97 ASSERT_EQ(LayoutUnit::fromFloatRound(0.49f).round(), 0);
98 ASSERT_EQ(LayoutUnit::fromFloatRound(0.50f).round(), 1);
99 ASSERT_EQ(LayoutUnit::fromFloatRound(0.51f).round(), 1)
    [all...]
LayoutUnit.h 88 static LayoutUnit fromFloatRound(float value)
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderFlexibleBox.cpp     [all...]
RenderInline.cpp     [all...]
RenderBox.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
Element.cpp 687 rend->setScrollLeft(LayoutUnit::fromFloatRound(newLeft * rend->style()->effectiveZoom()));
733 rend->setScrollTop(LayoutUnit::fromFloatRound(newTop * rend->style()->effectiveZoom()));
    [all...]

Completed in 182 milliseconds