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

  /external/chromium_org/ui/gfx/geometry/
point_conversions.cc 18 int x = ToCeiledInt(point.x());
19 int y = ToCeiledInt(point.y());
size_conversions.cc 18 int w = ToCeiledInt(size.width());
19 int h = ToCeiledInt(size.height());
vector2d_conversions.cc 18 int x = ToCeiledInt(vector2d.x());
19 int y = ToCeiledInt(vector2d.y());
safe_integer_conversions_unittest.cc 59 TEST(SafeIntegerConversions, ToCeiledInt) {
60 EXPECT_EQ(0, ToCeiledInt(std::numeric_limits<float>::quiet_NaN()));
69 EXPECT_EQ(int_max, ToCeiledInt(infinity));
70 EXPECT_EQ(int_max, ToCeiledInt(max));
71 EXPECT_EQ(int_max, ToCeiledInt(max + 100));
73 EXPECT_EQ(-100, ToCeiledInt(-100.5f));
74 EXPECT_EQ(0, ToCeiledInt(0));
75 EXPECT_EQ(101, ToCeiledInt(100.5f));
77 EXPECT_EQ(int_min, ToCeiledInt(-infinity));
78 EXPECT_EQ(int_min, ToCeiledInt(min))
    [all...]
rect_conversions.cc 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);
26 int min_x = ToCeiledInt(rect.x());
27 int min_y = ToCeiledInt(rect.y());
safe_integer_conversions.h 29 inline int ToCeiledInt(float value) {
  /external/chromium_org/ui/gfx/
nine_image_painter.cc 113 int scaled_width = gfx::ToCeiledInt(SkScalarToFloat(scaled_rect.width()));
114 int scaled_height = gfx::ToCeiledInt(SkScalarToFloat(scaled_rect.height()));
  /external/chromium_org/ui/base/resource/
resource_bundle.cc 150 gfx::ToCeiledInt(image.width() * scale),
151 gfx::ToCeiledInt(image.height() * scale));

Completed in 94 milliseconds