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

  /external/chromium_org/cc/resources/
priority_calculator.cc 75 int distance = visible_rect.ManhattanInternalDistance(texture_rect);
picture_pile.cc 200 rect.ManhattanInternalDistance(visible_layer_rect);
picture_layer_tiling.cc 437 current_screen_rect.ManhattanInternalDistance(view_rect);
518 current_screen_rect.ManhattanInternalDistance(view_rect);
554 current_screen_rect.ManhattanInternalDistance(view_rect);
  /external/chromium_org/ui/gfx/
rect_unittest.cc 896 TEST(RectTest, ManhattanInternalDistance) {
898 EXPECT_EQ(0, i.ManhattanInternalDistance(gfx::Rect(-1, 0, 2, 1)));
899 EXPECT_EQ(1, i.ManhattanInternalDistance(gfx::Rect(400, 0, 1, 400)));
900 EXPECT_EQ(2, i.ManhattanInternalDistance(gfx::Rect(-100, -100, 100, 100)));
901 EXPECT_EQ(2, i.ManhattanInternalDistance(gfx::Rect(-101, 100, 100, 100)));
902 EXPECT_EQ(4, i.ManhattanInternalDistance(gfx::Rect(-101, -101, 100, 100)));
903 EXPECT_EQ(435, i.ManhattanInternalDistance(gfx::Rect(630, 603, 100, 100)));
909 0.0f, f.ManhattanInternalDistance(gfx::RectF(-1.0f, 0.0f, 2.0f, 1.0f)));
912 f.ManhattanInternalDistance(gfx::RectF(400.0f, 0.0f, 1.0f, 400.0f)));
914 f.ManhattanInternalDistance(
    [all...]
rect_base.h 154 Type ManhattanInternalDistance(const Class& rect) const;
rect_base_impl.h 342 ManhattanInternalDistance(const Class& rect) const {

Completed in 43 milliseconds