Searched refs:size_in_pixel (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/content/browser/renderer_host/
H A Ddip_util.h33 float scale_factor, const gfx::Size& size_in_pixel);
37 float scale_factor, const gfx::Size& size_in_pixel);
H A Ddip_util.cc41 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 Ddesktop_background_controller.cc164 // 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 Ddisplay_info_unittest.cc30 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 Ddisplay_info.h122 // 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 Ddisplay_manager_unittest.cc278 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 Ddisplay_manager.cc842 (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 Dresolution_notification_controller_unittest.cc69 DisplayMode old_mode(info.size_in_pixel(),
/external/chromium_org/ui/compositor/
H A Ddip_util.h33 const gfx::Size& size_in_pixel);
H A Dcompositor.cc258 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 Ddip_util.cc43 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 Dcompositor.h180 void SetScaleAndSize(float scale, const gfx::Size& size_in_pixel);
/external/chromium_org/ui/gfx/
H A Ddisplay.cc151 void Display::SetSize(const gfx::Size& size_in_pixel) { argument
158 SetScaleAndBounds(device_scale_factor_, gfx::Rect(origin, size_in_pixel));
H A Ddisplay.h98 void SetSize(const gfx::Size& size_in_pixel);
/external/chromium_org/ash/touch/
H A Dtouch_transformer_controller.cc110 if (!info || info->size_in_pixel() == info->GetNativeModeSize() ||

Completed in 763 milliseconds