/external/chromium_org/ui/gfx/geometry/ |
D | size_unittest.cc | 47 TEST(SizeTest, ToCeiledSize) { in TEST() argument 48 EXPECT_EQ(Size(0, 0), ToCeiledSize(SizeF(0, 0))); in TEST() 49 EXPECT_EQ(Size(1, 1), ToCeiledSize(SizeF(0.0001f, 0.0001f))); in TEST() 50 EXPECT_EQ(Size(1, 1), ToCeiledSize(SizeF(0.4999f, 0.4999f))); in TEST() 51 EXPECT_EQ(Size(1, 1), ToCeiledSize(SizeF(0.5f, 0.5f))); in TEST() 52 EXPECT_EQ(Size(1, 1), ToCeiledSize(SizeF(0.9999f, 0.9999f))); in TEST() 54 EXPECT_EQ(Size(10, 10), ToCeiledSize(SizeF(10, 10))); in TEST() 55 EXPECT_EQ(Size(11, 11), ToCeiledSize(SizeF(10.0001f, 10.0001f))); in TEST() 56 EXPECT_EQ(Size(11, 11), ToCeiledSize(SizeF(10.4999f, 10.4999f))); in TEST() 57 EXPECT_EQ(Size(11, 11), ToCeiledSize(SizeF(10.5f, 10.5f))); in TEST() [all …]
|
D | size_conversions.h | 17 GFX_EXPORT Size ToCeiledSize(const SizeF& size);
|
D | size_conversions.cc | 17 Size ToCeiledSize(const SizeF& size) { in ToCeiledSize() function
|
/external/chromium_org/content/renderer/ |
D | disambiguation_popup_helper_unittest.cc | 47 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); in TEST_F() 65 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); in TEST_F() 84 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); in TEST_F()
|
D | disambiguation_popup_helper.cc | 71 max_size = ToCeiledSize(ScaleSize(max_size, 1.0 / scale)); in CropZoomArea()
|
D | render_widget.cc | 325 gfx::Size physical_backing_size = gfx::ToCeiledSize(gfx::ScaleSize( in Apply() 1202 physical_backing_size_ = gfx::ToCeiledSize(gfx::ScaleSize(size_, in AutoResizeCompositor()
|
/external/chromium_org/ui/gfx/win/ |
D | dpi.cc | 213 return ToCeiledSize( in ScreenToDIPSize() 219 return ToCeiledSize(ScaleSize(dip_size, GetDeviceScaleFactor())); in DIPToScreenSize()
|
/external/chromium_org/cc/layers/ |
D | contents_scaling_layer.cc | 13 return gfx::ToCeiledSize(gfx::ScaleSize(bounds(), scale_x, scale_y)); in ComputeContentBoundsForScale()
|
D | picture_layer_impl.cc | 193 gfx::ToCeiledSize(gfx::ScaleSize(content_bounds(), max_contents_scale)); in AppendQuads() 1206 gfx::ToCeiledSize(gfx::ScaleSize(bounds(), maximum_scale)); in RecalculateRasterScales() 1223 gfx::ToCeiledSize(gfx::ScaleSize(bounds(), raster_contents_scale_)); in RecalculateRasterScales()
|
D | layer_impl.cc | 780 return gfx::ToCeiledSize(gfx::SizeF(bounds_.width() + bounds_delta_.x(), in bounds()
|
/external/chromium_org/ui/gfx/ |
D | screen_android.cc | 47 gfx::Rect(gfx::ToCeiledSize(gfx::ScaleSize( in GetPrimaryDisplay()
|
D | canvas.cc | 30 Size pixel_size = ToCeiledSize(ScaleSize(size, image_scale)); in Canvas()
|
D | render_text_win.cc | 452 const Size line_size(ToCeiledSize(line->size)); in AdvanceLine() 826 ToCeiledSize(line.size)))) in DrawVisualText()
|
/external/chromium_org/ash/desktop_background/ |
D | desktop_background_view.cc | 60 gfx::Size rounded_size = gfx::ToCeiledSize(pixel_size); in Layout()
|
/external/chromium_org/cc/resources/ |
D | picture_pile_impl_unittest.cc | 665 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); in TEST_P() 731 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); in TEST() 780 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); in TEST_P()
|
D | picture_layer_tiling_set_unittest.cc | 35 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); in TEST() 230 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, max_contents_scale))); in runTest()
|
D | picture_layer_tiling.cc | 91 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale)); in PictureLayerTiling() 178 gfx::ToCeiledSize(gfx::ScaleSize(new_layer_bounds, contents_scale_)); in UpdateTilesToCurrentPile()
|
D | picture_pile_unittest.cc | 224 gfx::ToCeiledSize(gfx::ScaleSize(pile_->tiling_size(), 2.f)); in TEST_F() 296 gfx::ToCeiledSize(gfx::ScaleSize(pile_->tiling_size(), 4.f)); in TEST_F() 393 gfx::ToCeiledSize(gfx::ScaleSize(pile_->tiling_size(), 4.f)); in TEST_F()
|
/external/chromium_org/ui/gfx/image/ |
D | image_skia.cc | 201 gfx::Size scaled_size = ToCeiledSize( in FindRepresentation()
|
D | image_skia_operations.cc | 29 return ToCeiledSize(ScaleSize(dip_size, scale)); in DIPToPixelSize()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_view_base.cc | 401 return gfx::ToCeiledSize(gfx::ScaleSize(GetRequestedRendererSize(), in GetPhysicalBackingSize()
|
D | render_widget_host_view_android.cc | 414 gfx::ToCeiledSize(gfx::ScaleSize(bounds, scale / device_scale_factor))); in GetScaledContentBitmap() 1019 content_size_in_layer_ = gfx::ToCeiledSize(gfx::ScaleSize( in ComputeContentsSize()
|
/external/chromium_org/cc/test/ |
D | layer_tree_test.cc | 544 gfx::Size device_root_bounds = gfx::ToCeiledSize( in SetupTree()
|
/external/chromium_org/cc/trees/ |
D | layer_tree_impl_unittest.cc | 1794 gfx::Size scaled_bounds_for_root = gfx::ToCeiledSize( in TEST_F() 2297 gfx::Size scaled_bounds_for_root = gfx::ToCeiledSize( in TEST_F()
|
/external/chromium_org/content/browser/android/ |
D | content_view_core_impl.cc | 753 return gfx::ToCeiledSize( in GetViewportSizeDip()
|