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()
214 Size DIPToScreenSize(const Size& dip_size) { in DIPToScreenSize() argument215 return ToFlooredSize(ScaleSize(dip_size, GetDeviceScaleFactor())); in DIPToScreenSize()
53 GFX_EXPORT Size DIPToScreenSize(const Size& dip_size);
165 NSSize dip_size = NSSizeFromCGSize(gfx::ToFlooredSize(174 [cursor_image setSize:dip_size];175 [[[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()
1613 gfx::SizeF dip_size = in ComputeInnerViewportContainerSize() local1619 return gfx::SizeF(dip_size.width(), in ComputeInnerViewportContainerSize()1620 dip_size.height() - top_offset - overdraw_bottom_height_); in ComputeInnerViewportContainerSize()
1739 gfx::Size dip_size = ToCeiledSize(frame->metadata.viewport_size);1741 scale_factor, dip_size);1744 root_layer_->SetBounds(gfx::Rect(dip_size));