Searched defs:device_scale_factor (Results 1 - 25 of 87) sorted by relevance

1234

/external/chromium_org/cc/output/
H A Ddelegated_frame_data.h20 float device_scale_factor; member in class:cc::DelegatedFrameData
H A Dcompositor_frame_metadata.h24 float device_scale_factor; member in class:cc::CompositorFrameMetadata
H A Ddelegating_renderer.cc76 float device_scale_factor,
86 out_data.device_scale_factor = device_scale_factor;
75 DrawFrame(RenderPassList* render_passes_in_draw_order, float device_scale_factor, const gfx::Rect& device_viewport_rect, const gfx::Rect& device_clip_rect, bool disable_picture_quad_image_filtering) argument
/external/chromium_org/chrome/test/chromedriver/chrome/
H A Ddevice_metrics.cc7 DeviceMetrics::DeviceMetrics(int width, int height, double device_scale_factor) argument
10 device_scale_factor(device_scale_factor),
H A Ddevice_metrics.h9 DeviceMetrics(int width, int height, double device_scale_factor);
14 double device_scale_factor; member in struct:DeviceMetrics
H A Dmobile_device.cc65 double device_scale_factor = 0.0; local
74 if (!base::StringToDouble(metrics_vector[2], &device_scale_factor)) {
79 new DeviceMetrics(width, height, device_scale_factor));
H A Dmobile_emulation_override_manager_unittest.cc61 double device_scale_factor, font_scale_factor; local
66 &device_scale_factor));
73 ASSERT_EQ(device_metrics.device_scale_factor, device_scale_factor);
/external/chromium_org/ui/gfx/
H A Dscreen_android.cc35 const float device_scale_factor = device_info.GetDIPScale(); variable
48 bounds_in_pixels.size(), 1.0f / device_scale_factor)));
51 display.set_device_scale_factor(device_scale_factor);
/external/chromium_org/ash/display/
H A Ddisplay_info_unittest.cc13 float device_scale_factor,
17 mode.device_scale_factor = device_scale_factor;
71 EXPECT_EQ(1.0f, info.display_modes()[0].device_scale_factor);
72 EXPECT_EQ(1.0f, info.display_modes()[1].device_scale_factor);
73 EXPECT_EQ(1.0f, info.display_modes()[2].device_scale_factor);
74 EXPECT_EQ(2.0f, info.display_modes()[3].device_scale_factor);
75 EXPECT_EQ(1.25f, info.display_modes()[4].device_scale_factor);
12 GetModeSizeInDIP(const gfx::Size& size, float device_scale_factor, float ui_scale) argument
/external/chromium_org/chrome/common/favicon/
H A Dfavicon_url_parser.h23 float device_scale_factor; member in struct:chrome::ParsedFaviconPath
/external/chromium_org/ui/app_list/views/
H A Dcached_label.cc45 float device_scale_factor) {
47 View::OnDeviceScaleFactorChanged(device_scale_factor);
44 OnDeviceScaleFactorChanged( float device_scale_factor) argument
/external/chromium_org/cc/layers/
H A Dcontents_scaling_layer_unittest.cc36 static void CalcDrawProps(FakeLayerTreeHost* host, float device_scale_factor) { argument
40 inputs.device_scale_factor = device_scale_factor;
H A Dheads_up_display_layer.cc27 const gfx::Size& device_viewport, float device_scale_factor) {
29 device_viewport.width() / device_scale_factor,
30 device_viewport.height() / device_scale_factor);
26 PrepareForCalculateDrawProperties( const gfx::Size& device_viewport, float device_scale_factor) argument
H A Dpicture_image_layer_impl_unittest.cc76 float device_scale_factor,
81 layer->draw_properties().device_scale_factor = device_scale_factor;
117 const float device_scale_factor = 3.f; local
123 device_scale_factor,
137 device_scale_factor,
74 SetupDrawPropertiesAndUpdateTiles(TestablePictureImageLayerImpl* layer, float ideal_contents_scale, float device_scale_factor, float page_scale_factor, float maximum_animation_contents_scale, bool animating_transform_to_screen) argument
H A Ddraw_properties.h42 device_scale_factor(0.f) {}
149 float device_scale_factor; member in struct:cc::DrawProperties
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_cursor_loader_updater_auralinux.cc34 void LoadImageCursors(float device_scale_factor, ui::CursorLoader* loader) { argument
41 device_scale_factor,
56 float device_scale_factor,
58 LoadImageCursors(device_scale_factor, loader);
64 LoadImageCursors(display.device_scale_factor(), loader);
55 OnCreate( float device_scale_factor, ui::CursorLoader* loader) argument
/external/chromium_org/chrome/browser/ui/webui/
H A Dfavicon_source.h97 float device_scale_factor; member in struct:FaviconSource::IconRequest
/external/chromium_org/ui/snapshot/
H A Dsnapshot_android.cc44 float device_scale_factor = display.device_scale_factor(); local
46 gfx::ToEnclosingRect(gfx::ScaleRect(source_rect, device_scale_factor));
/external/chromium_org/ash/wm/
H A Dash_native_cursor_manager_interactive_uitest.cc54 float device_scale_factor) {
57 info.set_device_scale_factor(device_scale_factor);
106 EXPECT_EQ(1.0f, test_api.GetCurrentCursor().device_scale_factor());
109 EXPECT_EQ(2.0f, test_api.GetCurrentCursor().device_scale_factor());
52 CreateDisplayInfo(int64 id, const gfx::Rect& bounds, float device_scale_factor) argument
/external/chromium_org/cc/test/
H A Dfake_delegated_renderer_layer_impl.cc56 float device_scale_factor,
59 delegated_frame->device_scale_factor = device_scale_factor;
55 SetFrameDataForRenderPasses( float device_scale_factor, RenderPassList* pass_list) argument
H A Dlayer_tree_host_common_test.cc59 float device_scale_factor,
66 gfx::Size(root_layer->bounds().width() * device_scale_factor,
67 root_layer->bounds().height() * device_scale_factor);
76 inputs.device_scale_factor = device_scale_factor;
86 float device_scale_factor,
92 gfx::Size(root_layer->bounds().width() * device_scale_factor,
93 root_layer->bounds().height() * device_scale_factor);
102 inputs.device_scale_factor = device_scale_factor;
57 ExecuteCalculateDrawProperties( Layer* root_layer, float device_scale_factor, float page_scale_factor, Layer* page_scale_application_layer, bool can_use_lcd_text) argument
84 ExecuteCalculateDrawProperties( LayerImpl* root_layer, float device_scale_factor, float page_scale_factor, LayerImpl* page_scale_application_layer, bool can_use_lcd_text) argument
[all...]
H A Dlayer_tree_host_common_test.h68 float device_scale_factor,
74 float device_scale_factor,
88 float device_scale_factor) {
91 device_scale_factor,
99 float device_scale_factor,
103 device_scale_factor,
87 ExecuteCalculateDrawProperties(LayerType* root_layer, float device_scale_factor) argument
98 ExecuteCalculateDrawProperties(LayerType* root_layer, float device_scale_factor, float page_scale_factor, LayerType* page_scale_application_layer) argument
/external/chromium_org/chrome/browser/chromeos/ui/
H A Dfocus_ring_layer.cc83 void FocusRingLayer::OnDeviceScaleFactorChanged(float device_scale_factor) { argument
/external/chromium_org/ui/base/cursor/
H A Dimage_cursors.cc105 float device_scale_factor = cursor_loader_->scale(); local
114 device_scale_factor,
125 device_scale_factor,
/external/chromium_org/cc/surfaces/
H A Ddisplay.cc112 float device_scale_factor = 1.0f; local
119 device_scale_factor,

Completed in 581 milliseconds

1234