Searched refs:size_in_pixel (Results 1 - 15 of 15) sorted by relevance
/external/chromium_org/content/browser/renderer_host/ |
H A D | dip_util.h | 33 float scale_factor, const gfx::Size& size_in_pixel); 37 float scale_factor, const gfx::Size& size_in_pixel);
|
H A D | dip_util.cc | 41 const gfx::Size& size_in_pixel) { 43 gfx::ScaleSize(size_in_pixel, 1.0f / scale_factor)); 40 ConvertSizeToDIP(float scale_factor, const gfx::Size& size_in_pixel) argument
|
/external/chromium_org/ash/desktop_background/ |
H A D | desktop_background_controller.cc | 164 // Don't use size_in_pixel because we want to use the native pixel size. 165 gfx::Size size_in_pixel = local 169 size_in_pixel = gfx::Size(size_in_pixel.height(), size_in_pixel.width()); 171 width = std::max(size_in_pixel.width(), width); 172 height = std::max(size_in_pixel.height(), height);
|
/external/chromium_org/ash/display/ |
H A D | display_info_unittest.cc | 30 EXPECT_EQ("200x100", info.size_in_pixel().ToString()); 37 EXPECT_EQ("288x380", info.size_in_pixel().ToString()); 43 EXPECT_EQ("288x380", info.size_in_pixel().ToString()); 49 EXPECT_EQ("380x288", info.size_in_pixel().ToString());
|
H A D | display_info.h | 122 // different from the |size_in_pixel| when overscan insets are set 129 const gfx::Size& size_in_pixel() const { return size_in_pixel_; } function in class:ash::DisplayInfo
|
H A D | display_manager_unittest.cc | 278 updated_display_info2.size_in_pixel().ToString()); 294 updated_display_info2.size_in_pixel().ToString()); 303 GetDisplayInfoAt(1).size_in_pixel().ToString()); 327 updated_display_info2.size_in_pixel().ToString()); 341 updated_display_info2.size_in_pixel().ToString()); 873 GetDisplayInfoAt(0).size_in_pixel().ToString()); 878 GetDisplayInfoAt(1).size_in_pixel().ToString()); 887 GetDisplayInfoAt(0).size_in_pixel().ToString()); 892 GetDisplayInfoAt(1).size_in_pixel().ToString());
|
H A D | display_manager.cc | 842 (current_display_info.size_in_pixel() != 1098 display->SetSize(display_info_[display_id].size_in_pixel()); 1169 gfx::Rect bounds_in_native(display_info.size_in_pixel());
|
H A D | resolution_notification_controller_unittest.cc | 69 DisplayMode old_mode(info.size_in_pixel(),
|
/external/chromium_org/ui/compositor/ |
H A D | dip_util.h | 33 const gfx::Size& size_in_pixel);
|
H A D | compositor.cc | 258 void Compositor::SetScaleAndSize(float scale, const gfx::Size& size_in_pixel) { argument 260 if (!size_in_pixel.IsEmpty()) { 261 size_ = size_in_pixel; 262 host_->SetViewportSize(size_in_pixel); 263 root_web_layer_->SetBounds(size_in_pixel);
|
H A D | dip_util.cc | 43 const gfx::Size& size_in_pixel) { 45 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); 42 ConvertSizeToDIP(const Layer* layer, const gfx::Size& size_in_pixel) argument
|
H A D | compositor.h | 180 void SetScaleAndSize(float scale, const gfx::Size& size_in_pixel);
|
/external/chromium_org/ui/gfx/ |
H A D | display.cc | 151 void Display::SetSize(const gfx::Size& size_in_pixel) { argument 158 SetScaleAndBounds(device_scale_factor_, gfx::Rect(origin, size_in_pixel));
|
H A D | display.h | 98 void SetSize(const gfx::Size& size_in_pixel);
|
/external/chromium_org/ash/touch/ |
H A D | touch_transformer_controller.cc | 110 if (!info || info->size_in_pixel() == info->GetNativeModeSize() ||
|
Completed in 763 milliseconds