image_operations_unittest.cc | 260 int dest_w, int dest_h, SkColor average_color, 267 { 0, dest_h - 1, 2.3f, "Bottom left corner" }, 269 { dest_w - 1, dest_h - 1, 2.3f, "Bottom right corner" }, 272 { dest_w / 2, dest_h - 1, 1.0f, "Bottom middle" }, 273 { 0, dest_h / 2, 1.0f, "Left middle" }, 274 { dest_w - 1, dest_h / 2, 1.0f, "Right middle" }, 276 { dest_w / 2, dest_h / 2, 1.0f, "Center" } 282 SkBitmap dest = skia::ImageOperations::Resize(src, method, dest_w, dest_h); 284 ASSERT_EQ(dest_h, dest.height()); 492 const int dest_h = src_h / (2 * checker_rect_h) local 566 const int dest_h = src_h \/ 4; local [all...] |