Searched refs:dip_size (Results 1 – 11 of 11) 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()
217 Size DIPToScreenSize(const Size& dip_size) { in DIPToScreenSize() argument219 return ToCeiledSize(ScaleSize(dip_size, GetDeviceScaleFactor())); in DIPToScreenSize()
55 GFX_EXPORT Size DIPToScreenSize(const Size& dip_size);
60 const gfx::Size& dip_size) const {62 return internal_view_->HasFrameOfSize(dip_size);
61 bool HasFrameOfSize(const gfx::Size& dip_size) const;
34 bool HasFrameOfSize(const gfx::Size& dip_size) const;
109 const gfx::Size& dip_size) const {110 return last_swap_size_dip_ == dip_size;
175 gfx::Size dip_size(gfx::ToFlooredSize(gfx::ScaleSize(178 [layer_ setFrame:CGRectMake(0, 0, dip_size.width(), dip_size.height())];
162 NSSize dip_size = NSSizeFromCGSize(gfx::ToFlooredSize(171 [cursor_image setSize:dip_size];172 [[[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()
1405 gfx::Size dip_size =1408 root_layer_->SetBounds(gfx::Rect(dip_size));