Searched defs:screen_size (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/remoting/host/
H A Dmouse_clamping_filter.cc27 webrtc::DesktopSize screen_size = local
30 input_filter_.set_input_size(screen_size);
31 input_filter_.set_output_size(screen_size);
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dcertificate_manager_dialog.cc27 int CalculateSize(int screen_size, int min_comfortable, float desired_ratio) { argument
28 int desired_size = static_cast<int>(desired_ratio * screen_size);
30 return std::min(screen_size, desired_size);
/external/chromium_org/ppapi/tests/
H A Dtest_flash_fullscreen.cc28 const pp::Size& screen_size) {
30 position.size() == screen_size &&
32 clip.size() == screen_size);
58 return ReportError("screen_size.width()", screen_size_.width());
60 return ReportError("screen_size.height()", screen_size_.height());
26 IsFullscreenView(const pp::Rect& position, const pp::Rect& clip, const pp::Size& screen_size) argument
H A Dtest_fullscreen.cc37 bool HasMidScreen(const pp::Rect& position, const pp::Size& screen_size) { argument
38 static int32_t mid_x = screen_size.width() / 2;
39 static int32_t mid_y = screen_size.height() / 2;
94 return ReportError("screen_size.width()", screen_size_.width());
96 return ReportError("screen_size.height()", screen_size_.height());
/external/chromium_org/ui/events/gesture_detection/
H A Dsnap_scroll_controller.cc23 float screen_size = local
27 float snap_channel_distance = screen_size * kSnapChannelDipsPerScreenDip;
/external/chromium_org/chrome/browser/chromeos/login/ui/
H A Dproxy_settings_dialog.cc34 int CalculateSize(int screen_size, int min_comfortable, float desired_ratio) { argument
35 int desired_size = static_cast<int>(desired_ratio * screen_size);
37 return std::min(screen_size, desired_size);
/external/chromium_org/remoting/codec/
H A Dvideo_decoder_verbatim.cc16 void VideoDecoderVerbatim::Initialize(const webrtc::DesktopSize& screen_size) { argument
20 screen_size_ = screen_size;
H A Dvideo_decoder_vpx.cc87 void VideoDecoderVpx::Initialize(const webrtc::DesktopSize& screen_size) { argument
88 DCHECK(!screen_size.is_empty());
90 screen_size_ = screen_size;
H A Dcodec_test.cc58 const DesktopSize& screen_size,
60 : screen_size_(screen_size),
351 const DesktopSize& screen_size,
356 new BasicDesktopFrame(screen_size));
358 frame->mutable_updated_region()->SetRect(DesktopRect::MakeSize(screen_size));
364 VideoDecoderTester decoder_tester(decoder, screen_size, view_size);
57 VideoDecoderTester(VideoDecoder* decoder, const DesktopSize& screen_size, const DesktopSize& view_size) argument
349 TestVideoEncoderDecoderGradient(VideoEncoder* encoder, VideoDecoder* decoder, const DesktopSize& screen_size, const DesktopSize& view_size, double max_error_limit, double mean_error_limit) argument
/external/chromium_org/content/browser/android/
H A Dsystem_ui_resource_manager_impl.cc26 SkBitmap CreateOverscrollGlowLBitmap(const gfx::Size& screen_size) { argument
36 std::min(screen_size.width(), screen_size.height()) * 0.5f / kSin;
54 const gfx::Size& screen_size) {
68 bitmap = CreateOverscrollGlowLBitmap(screen_size);
159 gfx::Size screen_size = local
162 base::Bind(&LoadBitmap, type, bitmap, screen_size);
52 LoadBitmap(ui::SystemUIResourceManager::ResourceType type, SkBitmap* bitmap_holder, const gfx::Size& screen_size) argument
/external/chromium_org/content/browser/compositor/
H A Dbuffer_queue_unittest.cc111 const gfx::Size screen_size = gfx::Size(30, 30); member in namespace:content::__anon7036
112 const gfx::Rect screen_rect = gfx::Rect(screen_size);
180 output_surface_->Reshape(screen_size, 1.0f);
197 output_surface_->Reshape(screen_size, 1.0f);
209 output_surface_->Reshape(screen_size, 1.0f);
/external/chromium_org/content/renderer/
H A Ddisambiguation_popup_helper.cc93 const gfx::Size& screen_size,
107 *zoom_rect, screen_size, tap_rect.CenterPoint(), new_total_scale);
90 ComputeZoomAreaAndScaleFactor( const gfx::Rect& tap_rect, const WebVector<WebRect>& target_rects, const gfx::Size& screen_size, const gfx::Size& visible_content_size, float total_scale, gfx::Rect* zoom_rect) argument
/external/chromium_org/remoting/host/win/
H A Drdp_client.cc49 void Connect(const webrtc::DesktopSize& screen_size,
93 const webrtc::DesktopSize& screen_size,
99 core_->Connect(screen_size, terminal_id);
123 void RdpClient::Core::Connect(const webrtc::DesktopSize& screen_size, argument
127 FROM_HERE, base::Bind(&Core::Connect, this, screen_size, terminal_id));
151 if (!rdp_client_window_->Connect(screen_size)) {
90 RdpClient( scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, const webrtc::DesktopSize& screen_size, const std::string& terminal_id, EventHandler* event_handler) argument
H A Drdp_client_window.cc129 bool RdpClientWindow::Connect(const webrtc::DesktopSize& screen_size) { argument
132 screen_size_ = screen_size;
/external/chromium_org/ash/wm/
H A Dsystem_modal_container_layout_manager_unittest.cc600 const gfx::Size screen_size = Shell::GetPrimaryRootWindow()->bounds().size(); local
602 gfx::Size modal_size(100, screen_size.height() - 70);
632 const gfx::Size screen_size = Shell::GetPrimaryRootWindow()->bounds().size(); local
634 gfx::Size modal_size(100, screen_size.height() - 70);
/external/chromium_org/athena/env/
H A Dathena_env_impl.cc171 gfx::Size screen_size = GetPrimaryDisplaySize(); local
172 if (screen_size.IsEmpty()) {
175 screen_size.SetSize(2560, 1600);
177 screen_size.SetSize(1280, 720);
179 screen_.reset(aura::TestScreen::Create(screen_size));
/external/chromium_org/chrome/browser/devtools/device/
H A Dandroid_device_manager.h51 gfx::Size screen_size; member in struct:AndroidDeviceManager::DeviceInfo
H A Ddevtools_android_bridge.h171 gfx::Size screen_size() { return screen_size_; } function in class:DevToolsAndroidBridge::RemoteDevice
/external/chromium_org/chrome/browser/ui/window_sizer/
H A Dwindow_sizer.cc325 gfx::Rect screen_size = screen_->GetPrimaryDisplay().bounds(); local
327 static_cast<double>(screen_size.width()) / screen_size.height();
/external/chromium_org/components/autofill/content/browser/risk/
H A Dfingerprint.cc137 const gfx::Size screen_size = local
139 machine->mutable_screen_size()->set_width(screen_size.width());
140 machine->mutable_screen_size()->set_height(screen_size.height());
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_targets_ui.cc397 gfx::Size screen_size = device->screen_size(); local
398 target_data->SetInteger(kAdbScreenWidthField, screen_size.width());
399 target_data->SetInteger(kAdbScreenHeightField, screen_size.height());
/external/chromium_org/ui/views/win/
H A Dhwnd_message_handler.cc1361 const gfx::Size& screen_size) {
1360 OnDisplayChange(UINT bits_per_pixel, const gfx::Size& screen_size) argument

Completed in 589 milliseconds