Home
last modified time | relevance | path

Searched refs:ScreenResolution (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/remoting/host/
Dresizing_host_observer_unittest.cc20 std::ostream& operator<<(std::ostream& os, const ScreenResolution& resolution) { in operator <<()
26 bool operator==(const ScreenResolution& a, const ScreenResolution& b) { in operator ==()
32 ScreenResolution MakeResolution(int width, int height) { in MakeResolution()
33 return ScreenResolution(webrtc::DesktopSize(width, height), in MakeResolution()
39 FakeDesktopResizer(const ScreenResolution& initial_resolution, in FakeDesktopResizer()
41 const ScreenResolution* supported_resolutions, in FakeDesktopResizer()
61 virtual ScreenResolution GetCurrentResolution() OVERRIDE { in GetCurrentResolution()
64 virtual std::list<ScreenResolution> GetSupportedResolutions( in GetSupportedResolutions()
65 const ScreenResolution& preferred) OVERRIDE { in GetSupportedResolutions()
66 std::list<ScreenResolution> result = supported_resolutions_; in GetSupportedResolutions()
[all …]
Ddesktop_resizer_win.cc21 static inline bool operator <(const ScreenResolution& a, in operator <()
22 const ScreenResolution& b) { in operator <()
38 virtual ScreenResolution GetCurrentResolution() OVERRIDE;
39 virtual std::list<ScreenResolution> GetSupportedResolutions(
40 const ScreenResolution& preferred) OVERRIDE;
41 virtual void SetResolution(const ScreenResolution& resolution) OVERRIDE;
42 virtual void RestoreResolution(const ScreenResolution& original) OVERRIDE;
57 static ScreenResolution GetModeResolution(const DEVMODE& mode);
59 std::map<ScreenResolution, DEVMODE> best_mode_for_resolution_;
70 ScreenResolution DesktopResizerWin::GetCurrentResolution() { in GetCurrentResolution()
[all …]
Ddesktop_resizer_mac.cc27 virtual ScreenResolution GetCurrentResolution() OVERRIDE;
28 virtual std::list<ScreenResolution> GetSupportedResolutions(
29 const ScreenResolution& preferred) OVERRIDE;
30 virtual void SetResolution(const ScreenResolution& resolution) OVERRIDE;
31 virtual void RestoreResolution(const ScreenResolution& original) OVERRIDE;
40 std::list<ScreenResolution>* resolutions);
47 ScreenResolution DesktopResizerMac::GetCurrentResolution() { in GetCurrentResolution()
51 return ScreenResolution( in GetCurrentResolution()
55 return ScreenResolution(); in GetCurrentResolution()
58 std::list<ScreenResolution> DesktopResizerMac::GetSupportedResolutions( in GetSupportedResolutions()
[all …]
Dscreen_resolution.cc14 ScreenResolution::ScreenResolution() in ScreenResolution() function in remoting::ScreenResolution
19 ScreenResolution::ScreenResolution(const webrtc::DesktopSize& dimensions, in ScreenResolution() function in remoting::ScreenResolution
29 webrtc::DesktopSize ScreenResolution::ScaleDimensionsToDpi( in ScaleDimensionsToDpi()
42 bool ScreenResolution::IsEmpty() const { in IsEmpty()
46 bool ScreenResolution::Equals(const ScreenResolution& other) const { in Equals()
Ddesktop_resizer_linux.cc130 virtual ScreenResolution GetCurrentResolution() OVERRIDE;
131 virtual std::list<ScreenResolution> GetSupportedResolutions(
132 const ScreenResolution& preferred) OVERRIDE;
133 virtual void SetResolution(const ScreenResolution& resolution) OVERRIDE;
134 virtual void RestoreResolution(const ScreenResolution& original) OVERRIDE;
172 ScreenResolution DesktopResizerLinux::GetCurrentResolution() { in GetCurrentResolution()
176 return ScreenResolution(); in GetCurrentResolution()
194 ScreenResolution result( in GetCurrentResolution()
202 std::list<ScreenResolution> DesktopResizerLinux::GetSupportedResolutions( in GetSupportedResolutions()
203 const ScreenResolution& preferred) { in GetSupportedResolutions()
[all …]
Ddesktop_resizer.h23 virtual ScreenResolution GetCurrentResolution() = 0;
33 virtual std::list<ScreenResolution> GetSupportedResolutions(
34 const ScreenResolution& preferred) = 0;
40 virtual void SetResolution(const ScreenResolution& resolution) = 0;
46 virtual void RestoreResolution(const ScreenResolution& original) = 0;
Dresizing_host_observer.cc25 CandidateResolution(const ScreenResolution& candidate, in CandidateResolution()
26 const ScreenResolution& preferred) in CandidateResolution()
67 const ScreenResolution& resolution() const { return resolution_; } in resolution()
112 ScreenResolution resolution_;
130 const ScreenResolution& resolution) { in SetScreenResolution()
156 std::list<ScreenResolution> resolutions = in SetScreenResolution()
161 for (std::list<ScreenResolution>::const_iterator i = ++resolutions.begin(); in SetScreenResolution()
168 ScreenResolution current_resolution = in SetScreenResolution()
Dscreen_resolution_unittest.cc15 ScreenResolution resolution1( in TEST()
19 ScreenResolution resolution2( in TEST()
23 ScreenResolution resolution3( in TEST()
29 ScreenResolution resolution( in TEST()
40 ScreenResolution resolution( in TEST()
Dscreen_resolution.h15 class ScreenResolution {
17 ScreenResolution();
18 ScreenResolution(const webrtc::DesktopSize& dimensions,
36 bool Equals(const ScreenResolution& other) const;
Ddesktop_session_connector.h15 class ScreenResolution; variable
30 const ScreenResolution& resolution,
41 const ScreenResolution& resolution) = 0;
Dchromoting_param_traits.cc158 void ParamTraits<remoting::ScreenResolution>::Write( in Write()
160 const remoting::ScreenResolution& p) { in Write()
166 bool ParamTraits<remoting::ScreenResolution>::Read( in Read()
169 remoting::ScreenResolution* r) { in Read()
180 *r = remoting::ScreenResolution(size, dpi); in Read()
185 void ParamTraits<remoting::ScreenResolution>::Log( in Log()
186 const remoting::ScreenResolution& p, in Log()
Dchromoting_messages.h72 remoting::ScreenResolution /* resolution */,
83 remoting::ScreenResolution /* resolution */)
199 remoting::ScreenResolution /* resolution */,
226 remoting::ScreenResolution /* resolution */)
Ddesktop_session_win.cc99 virtual void SetScreenResolution(const ScreenResolution& resolution) OVERRIDE;
126 bool Initialize(const ScreenResolution& resolution);
134 virtual void SetScreenResolution(const ScreenResolution& resolution) OVERRIDE;
193 void ConsoleSession::SetScreenResolution(const ScreenResolution& resolution) { in SetScreenResolution()
222 bool RdpSession::Initialize(const ScreenResolution& resolution) { in Initialize()
234 ScreenResolution local_resolution = resolution; in Initialize()
239 local_resolution = ScreenResolution( in Initialize()
286 void RdpSession::SetScreenResolution(const ScreenResolution& resolution) { in SetScreenResolution()
373 const ScreenResolution& resolution) { in CreateForConsole()
387 const ScreenResolution& resolution) { in CreateForVirtualTerminal()
Ddaemon_process.h37 class ScreenResolution; variable
96 const ScreenResolution& resolution,
101 void SetScreenResolution(int terminal_id, const ScreenResolution& resolution);
132 const ScreenResolution& resolution,
Ddaemon_process_unittest.cc46 const ScreenResolution& resolution) OVERRIDE {} in SetScreenResolution()
62 const ScreenResolution& resolution,
101 const ScreenResolution& resolution, in DoCreateDesktopSession()
232 ScreenResolution resolution; in TEST_F()
253 ScreenResolution resolution; in TEST_F()
277 ScreenResolution resolution; in TEST_F()
329 ScreenResolution resolution; in TEST_F()
Dscreen_controls.h12 class ScreenResolution; variable
20 virtual void SetScreenResolution(const ScreenResolution& resolution) = 0;
Ddesktop_session_win.h27 class ScreenResolution; variable
46 const ScreenResolution& resolution);
54 const ScreenResolution& resolution);
Dipc_screen_controls.h15 class ScreenResolution; variable
24 virtual void SetScreenResolution(const ScreenResolution& resolution) OVERRIDE;
Ddesktop_session.h14 class ScreenResolution; variable
23 virtual void SetScreenResolution(const ScreenResolution& resolution) = 0;
Dresizing_host_observer.h34 virtual void SetScreenResolution(const ScreenResolution& resolution) OVERRIDE;
44 ScreenResolution original_resolution_;
Dipc_desktop_environment.h32 class ScreenResolution; variable
94 const ScreenResolution& resolution,
100 const ScreenResolution& resolution) OVERRIDE;
Ddesktop_session_agent.h39 class ScreenResolution; variable
119 const ScreenResolution& resolution,
136 void SetScreenResolution(const ScreenResolution& resolution);
Dchromoting_param_traits.h50 struct ParamTraits<remoting::ScreenResolution> {
51 typedef remoting::ScreenResolution param_type;
Dipc_desktop_environment_unittest.cc60 MOCK_METHOD3(ConnectTerminal, void(int, const ScreenResolution&, bool));
62 MOCK_METHOD2(SetScreenResolution, void(int, const ScreenResolution&));
129 const ScreenResolution& resolution,
302 const ScreenResolution& resolution, in ConnectTerminal()
656 screen_controls_->SetScreenResolution(ScreenResolution( in TEST_F()
Dipc_screen_controls.cc21 const ScreenResolution& resolution) { in SetScreenResolution()

12