/external/chromium_org/ui/gfx/geometry/ |
size_f.h | 43 GFX_EXPORT SizeF ScaleSize(const SizeF& p, float x_scale, float y_scale); 45 inline SizeF ScaleSize(const SizeF& p, float scale) { 46 return ScaleSize(p, scale, scale);
|
size_f.cc | 17 SizeF ScaleSize(const SizeF& s, float x_scale, float y_scale) {
|
rect_f.h | 53 set_size(ScaleSize(size(), x_scale, y_scale));
|
/external/chromium_org/content/browser/renderer_host/ |
dip_util.cc | 43 gfx::ScaleSize(size_in_pixel, 1.0f / scale_factor)); 54 return gfx::ToFlooredSize(gfx::ScaleSize(size_in_dip, scale_factor));
|
render_widget_host_view_browsertest.cc | 820 gfx::ToRoundedSize(gfx::ScaleSize(copy_rect.size(), scale())); 838 gfx::ToRoundedSize(gfx::ScaleSize(copy_rect.size(), scale())); 867 gfx::ToRoundedSize(gfx::ScaleSize(copy_rect.size(), scale())); [all...] |
/external/chromium_org/chrome/browser/android/thumbnail/ |
thumbnail.cc | 59 gfx::ScaleSize(gfx::Size(bitmap.width(), bitmap.height()), 1.f / scale_); 71 scaled_content_size_ = gfx::ScaleSize(content_size, 1.f / scale_); 72 scaled_data_size_ = gfx::ScaleSize(data_size, 1.f / scale_);
|
/external/chromium_org/content/renderer/ |
disambiguation_popup_helper_unittest.cc | 47 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); 65 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); 84 gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale));
|
disambiguation_popup_helper.cc | 71 max_size = ToCeiledSize(ScaleSize(max_size, 1.0 / scale));
|
child_frame_compositing_helper.cc | 172 gfx::ScaleSize(buffer_size_, 1.0f / device_scale_factor));
|
/external/chromium_org/cc/layers/ |
contents_scaling_layer.cc | 13 return gfx::ToCeiledSize(gfx::ScaleSize(bounds(), scale_x, scale_y));
|
render_surface_impl.cc | 201 gfx::SizeF unclipped_mask_target_size = gfx::ScaleSize(
|
/external/chromium_org/ui/compositor/ |
dip_util.cc | 45 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); 63 gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer))); 76 gfx::ScaleSize(rect_in_dip.size(), scale)));
|
/external/chromium_org/ui/gfx/ |
display.cc | 146 gfx::ToFlooredSize(gfx::ScaleSize(bounds_in_pixel.size(), 167 return gfx::ToFlooredSize(gfx::ScaleSize(size(), device_scale_factor_));
|
screen_android.cc | 47 gfx::Rect(gfx::ToCeiledSize(gfx::ScaleSize(
|
/external/chromium_org/ui/gfx/win/ |
dpi.cc | 214 ScaleSize(size_in_pixels, 1.0f / GetDeviceScaleFactor())); 219 return ToCeiledSize(ScaleSize(dip_size, GetDeviceScaleFactor()));
|
/external/chromium_org/cc/input/ |
page_scale_animation.cc | 156 return gfx::ScaleSize(viewport_size_, 1.f / start_page_scale_factor_); 160 return gfx::ScaleSize(viewport_size_, 1.f / target_page_scale_factor_); 164 return gfx::ScaleSize(viewport_size_, 1.f / PageScaleFactorAt(interp));
|
/external/chromium_org/chrome/browser/thumbnails/ |
simple_thumbnail_crop.cc | 124 copy_size = gfx::ToFlooredSize(gfx::ScaleSize(copy_size, 2.0f)); 132 copy_size = gfx::ToFlooredSize(gfx::ScaleSize( 187 return gfx::ToFlooredSize(gfx::ScaleSize(given_size, max_scale_factor));
|
/external/chromium_org/ui/base/cursor/ |
cursor_util.cc | 52 gfx::ScaleSize(gfx::Size(bitmap->width(), bitmap->height()), scale));
|
/external/chromium_org/ash/drag_drop/ |
drag_image_view.cc | 121 gfx::ScaleSize(widget_size_, device_scale));
|
/external/chromium_org/extensions/browser/ |
extension_icon_image.cc | 189 gfx::ToFlooredSize(gfx::ScaleSize(
|
/external/chromium_org/ui/aura/test/ |
test_screen.cc | 120 gfx::ScaleSize(new_bounds.size(), display_.device_scale_factor())));
|
/external/chromium_org/content/browser/renderer_host/input/ |
touch_emulator.cc | 126 return gfx::ScaleSize(cursor_image.Size(), 1.f / scale);
|
/external/chromium_org/cc/resources/ |
picture_pile_impl_unittest.cc | 665 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); 731 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); 780 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale)));
|
picture_layer_tiling.cc | 91 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale)); 99 gfx::ScaleSize(layer_bounds, contents_scale)).IsEmpty()) << 178 gfx::ToCeiledSize(gfx::ScaleSize(new_layer_bounds, contents_scale_)); [all...] |
/external/chromium_org/content/browser/devtools/ |
renderer_overrides_handler.cc | 256 gfx::SizeF viewport_size_dip = gfx::ScaleSize( 258 gfx::SizeF screen_size_dip = gfx::ScaleSize(view->GetPhysicalBackingSize(), 299 gfx::ScaleSize(viewport_size_dip, scale))); 693 gfx::SizeF viewport_size_dip = gfx::ScaleSize( 695 gfx::SizeF screen_size_dip = gfx::ScaleSize( [all...] |