Searched refs:dip_size (Results 1 – 7 of 7) sorted by relevance
156 gfx::ImageSkia ResizeImage(const gfx::ImageSkia& source, int dip_size) { in ResizeImage() argument160 if (dip_size == kDoNotResize || source.width() == dip_size) in ResizeImage()164 skia::ImageOperations::RESIZE_BEST, gfx::Size(dip_size, dip_size)); in ResizeImage()
158 Size DIPToScreenSize(const Size& dip_size) { in DIPToScreenSize() argument159 return ToFlooredSize(ScaleSize(dip_size, GetDeviceScaleFactor())); in DIPToScreenSize()
56 GFX_EXPORT Size DIPToScreenSize(const Size& dip_size);
173 NSSize dip_size = NSSizeFromCGSize(gfx::ToFlooredSize(182 [cursor_image setSize:dip_size];183 [[[cursor_image representations] objectAtIndex:0] setSize:dip_size];
28 gfx::Size DIPToPixelSize(gfx::Size dip_size, float scale) { in DIPToPixelSize() argument29 return ToCeiledSize(ScaleSize(dip_size, scale)); in DIPToPixelSize()
727 gfx::Size dip_size = gfx::win::ScreenToDIPSize(window_size); in DoPresentAndAcknowledge() local728 gfx::Size pixel_size = gfx::win::DIPToScreenSize(dip_size); in DoPresentAndAcknowledge()
1480 gfx::SizeF dip_size = in UnscaledScrollableViewportSize() local1485 return gfx::SizeF(dip_size.width(), in UnscaledScrollableViewportSize()1486 dip_size.height() - top_offset - overdraw_bottom_height_); in UnscaledScrollableViewportSize()