Home
last modified time | relevance | path

Searched refs:DisplayInfo (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/ash/display/
Ddisplay_info.cc43 DisplayInfo DisplayInfo::CreateFromSpec(const std::string& spec) { in CreateFromSpec()
48 void DisplayInfo::SetAllowUpgradeToHighDPI(bool enable) { in SetAllowUpgradeToHighDPI()
53 DisplayInfo DisplayInfo::CreateFromSpecWithID(const std::string& spec, in CreateFromSpecWithID()
156 DisplayInfo display_info( in CreateFromSpecWithID()
177 DisplayInfo::DisplayInfo() in DisplayInfo() function in ash::DisplayInfo
190 DisplayInfo::DisplayInfo(int64 id, in DisplayInfo() function in ash::DisplayInfo
206 DisplayInfo::~DisplayInfo() { in ~DisplayInfo()
209 void DisplayInfo::Copy(const DisplayInfo& native_info) { in Copy()
245 void DisplayInfo::SetBounds(const gfx::Rect& new_bounds_in_native) { in SetBounds()
251 float DisplayInfo::GetEffectiveDeviceScaleFactor() const { in GetEffectiveDeviceScaleFactor()
[all …]
Ddisplay_info_unittest.cc14 DisplayInfo info = DisplayInfo::CreateFromSpecWithID("200x100", 10); in TEST_F()
22 info = DisplayInfo::CreateFromSpecWithID("10+20-300x400*2/o", 10); in TEST_F()
28 info = DisplayInfo::CreateFromSpecWithID("10+20-300x400*2/ob", 10); in TEST_F()
34 info = DisplayInfo::CreateFromSpecWithID("10+20-300x400*2/or", 10); in TEST_F()
41 info = DisplayInfo::CreateFromSpecWithID("10+20-300x400*2/l@1.5", 10); in TEST_F()
46 info = DisplayInfo::CreateFromSpecWithID( in TEST_F()
Ddisplay_manager.h57 const DisplayInfo& display_info) = 0;
83 static std::vector<float> GetScalesForDisplay(const DisplayInfo& info);
86 static float GetNextUIScale(const DisplayInfo& info, bool up);
199 const std::vector<DisplayInfo>& display_info_list);
202 void UpdateDisplays(const std::vector<DisplayInfo>& display_info_list);
233 const DisplayInfo& GetDisplayInfo(int64 display_id) const;
303 void AddMirrorDisplayInfoIfAny(std::vector<DisplayInfo>* display_info_list);
310 void InsertAndUpdateDisplayInfo(const DisplayInfo& new_info);
313 void OnDisplayInfoUpdated(const DisplayInfo& display_info);
349 std::map<int64, DisplayInfo> display_info_;
Ddisplay_info.h37 class ASH_EXPORT DisplayInfo {
74 static DisplayInfo CreateFromSpec(const std::string& spec);
77 static DisplayInfo CreateFromSpecWithID(const std::string& spec,
80 DisplayInfo();
81 DisplayInfo(int64 id, const std::string& name, bool has_overscan);
82 ~DisplayInfo();
147 void Copy(const DisplayInfo& another_info);
Ddisplay_manager.cc50 typedef std::vector<DisplayInfo> DisplayInfoList;
78 bool operator()(const DisplayInfo& a, const DisplayInfo& b) { in operator ()()
127 DisplayInfo display_info = manager_->GetDisplayInfo( in ~NonDesktopDisplayUpdater()
163 DisplayInfo::SetAllowUpgradeToHighDPI( in DisplayManager()
185 const DisplayInfo& info) { in GetScalesForDisplay()
212 float DisplayManager::GetNextUIScale(const DisplayInfo& info, bool up) { in GetNextUIScale()
239 info_list.push_back(DisplayInfo::CreateFromSpec(*iter)); in InitFromCommandLine()
252 info_list.push_back(DisplayInfo::CreateFromSpec(std::string())); in InitDefaultDisplay()
403 DisplayInfo info = GetDisplayInfo(iter->id()); in SetDisplayRotation()
414 DisplayInfo info = GetDisplayInfo(display_id); in SetDisplayRotation()
[all …]
Droot_window_transformers.h20 class DisplayInfo; variable
32 const DisplayInfo& source_display_info,
33 const DisplayInfo& mirror_display_info);
Ddisplay_manager_unittest.cc84 const DisplayInfo& GetDisplayInfo(const gfx::Display& display) { in GetDisplayInfo()
88 const DisplayInfo& GetDisplayInfoAt(int index) { in GetDisplayInfoAt()
96 const DisplayInfo& GetDisplayInfoForId(int64 id) { in GetDisplayInfoForId()
181 const vector<DisplayInfo> empty; in TEST_F()
260 const DisplayInfo& display_info1 = GetDisplayInfoAt(0); in TEST_F()
261 const DisplayInfo& display_info2 = GetDisplayInfoAt(1); in TEST_F()
270 DisplayInfo updated_display_info2 = GetDisplayInfoAt(1); in TEST_F()
315 std::vector<DisplayInfo> display_info_list; in TEST_F()
400 DisplayInfo CreateDisplayInfo(int64 id, const gfx::Rect& bounds) { in CreateDisplayInfo()
401 DisplayInfo info(id, ToDisplayName(id), false); in CreateDisplayInfo()
[all …]
Dmirror_window_controller.cc83 void MirrorWindowController::UpdateWindow(const DisplayInfo& display_info) { in UpdateWindow()
123 const DisplayInfo& source_display_info = display_manager->GetDisplayInfo( in UpdateWindow()
135 const DisplayInfo& mirror_display_info = display_manager->GetDisplayInfo( in UpdateWindow()
174 const DisplayInfo& mirror_display_info = display_manager->GetDisplayInfo( in CreateRootWindowTransformer()
176 const DisplayInfo& source_display_info = display_manager->GetDisplayInfo( in CreateRootWindowTransformer()
Droot_window_transformers.cc54 DisplayInfo info = in CreateRotationTransform()
131 DisplayInfo info = Shell::GetInstance()->display_manager()-> in AshRootWindowTransformer()
205 MirrorRootWindowTransformer(const DisplayInfo& source_display_info, in MirrorRootWindowTransformer()
206 const DisplayInfo& mirror_display_info) { in MirrorRootWindowTransformer()
276 const DisplayInfo& source_display_info, in CreateRootWindowTransformerForMirroredDisplay()
277 const DisplayInfo& mirror_display_info) { in CreateRootWindowTransformerForMirroredDisplay()
Dvirtual_keyboard_window_controller.h19 class DisplayInfo; variable
37 void UpdateWindow(const DisplayInfo& display_info);
Dmirror_window_controller.h26 class DisplayInfo; variable
43 void UpdateWindow(const DisplayInfo& display_info);
Dmirror_window_controller_unittest.cc25 DisplayInfo CreateDisplayInfo(int64 id, const gfx::Rect& bounds) { in CreateDisplayInfo()
26 DisplayInfo info(id, base::StringPrintf("x-%d", static_cast<int>(id)), false); in CreateDisplayInfo()
241 const DisplayInfo internal_display_info = in TEST_F()
243 const DisplayInfo external_display_info = in TEST_F()
245 std::vector<DisplayInfo> display_info_list; in TEST_F()
Ddisplay_change_observer_chromeos.cc122 std::vector<DisplayInfo> displays; in OnDisplayModeChanged()
157 displays.push_back(DisplayInfo(id, name, has_overscan)); in OnDisplayModeChanged()
158 DisplayInfo& new_info = displays.back(); in OnDisplayModeChanged()
Ddisplay_controller.cc87 DisplayInfo info = GetDisplayManager()->GetDisplayInfo(display.id()); in SetDisplayPropertiesOnHost()
492 std::vector<DisplayInfo> display_info_list; in SetPrimaryDisplay()
515 const DisplayInfo display_info = in EnsurePointerInDisplays()
567 const DisplayInfo& display_info = in OnDisplayAdded()
633 const DisplayInfo& display_info = in OnDisplayMetricsChanged()
653 const DisplayInfo& info) { in CreateOrUpdateNonDesktopDisplay()
726 const DisplayInfo& display_info = in AddWindowTreeHostForDisplay()
/external/chromium_org/ash/test/
Ddisplay_manager_test_api.cc19 typedef DisplayInfo DisplayInfo; typedef
20 typedef std::vector<DisplayInfo> DisplayInfoList;
24 std::vector<DisplayInfo> CreateDisplayInfoListFromString( in CreateDisplayInfoListFromString()
27 std::vector<DisplayInfo> display_info_list; in CreateDisplayInfoListFromString()
37 DisplayInfo::CreateFromSpecWithID(*iter, id)); in CreateDisplayInfoListFromString()
51 std::vector<DisplayInfo> display_info_list = in UpdateDisplay()
55 const DisplayInfo& display_info = display_info_list[i]; in UpdateDisplay()
70 for (std::vector<DisplayInfo>::iterator iter = display_info_list.begin(); in UpdateDisplay()
/external/chromium_org/ash/touch/
Dtouch_transformer_controller_unittest.cc16 DisplayInfo CreateDisplayInfo(int64 id, in CreateDisplayInfo()
19 DisplayInfo info(id, std::string(), false); in CreateDisplayInfo()
32 DisplayInfo internal_display_info = in TEST_F()
41 DisplayInfo external_display_info = in TEST_F()
93 DisplayInfo internal_display_info = in TEST_F()
102 DisplayInfo external_display_info = in TEST_F()
156 DisplayInfo display1 = CreateDisplayInfo(1, 5, gfx::Rect(0, 0, 1366, 768)); in TEST_F()
157 DisplayInfo display2 = CreateDisplayInfo(2, 6, gfx::Rect(0, 828, 2560, 1600)); in TEST_F()
Dtouch_transformer_controller.h39 const DisplayInfo& touch_display) const ;
42 const DisplayInfo& touch_display) const;
45 const DisplayInfo& touch_display, const gfx::Size& fb_size) const;
Dtouch_transformer_controller.cc32 const DisplayInfo& touch_display, const gfx::Size& fb_size) const { in GetExtendedModeTouchTransformer()
45 const DisplayInfo& touch_display) const { in ShouldComputeMirrorModeTouchTransformer()
77 const DisplayInfo& touch_display) const { in GetMirrorModeTouchTransformer()
138 DisplayInfo display1; in UpdateTouchTransformer()
139 DisplayInfo display2; in UpdateTouchTransformer()
142 DisplayInfo single_display; in UpdateTouchTransformer()
Dtouch_observer_hud_unittest.cc186 DisplayInfo CreateDisplayInfo(int64 id, const gfx::Rect& bounds) { in CreateDisplayInfo()
187 DisplayInfo info(id, base::StringPrintf("x-%" PRId64, id), false); in CreateDisplayInfo()
203 DisplayInfo internal_display_info_;
204 DisplayInfo external_display_info_;
205 DisplayInfo mirrored_display_info_;
207 std::vector<DisplayInfo> display_info_list_;
/external/chromium_org/ash/wm/
Dash_native_cursor_manager_interactive_uitest.cc51 DisplayInfo CreateDisplayInfo(int64 id, in CreateDisplayInfo()
54 DisplayInfo info(id, "", false); in CreateDisplayInfo()
95 DisplayInfo display_info1 = in TEST_F()
97 DisplayInfo display_info2 = in TEST_F()
99 std::vector<DisplayInfo> display_info_list; in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/system_display/
Ddisplay_info_provider_win.cc26 DisplayInfo* all_displays = reinterpret_cast<DisplayInfo*>(data); in EnumMonitorCallback()
64 DisplayInfo all_displays; in UpdateDisplayUnitInfoForPlatform()
Ddisplay_info_provider.h20 api::system_display::DisplayUnitInfo> > DisplayInfo; typedef
33 DisplayInfo GetAllDisplaysInfo();
Dsystem_display_api.cc25 api::system_display::DisplayUnitInfo> > DisplayInfo; typedef
28 DisplayInfo all_displays_info = in RunSync()
Ddisplay_info_provider.cc74 DisplayInfo DisplayInfoProvider::GetAllDisplaysInfo() { in GetAllDisplaysInfo()
79 DisplayInfo all_displays; in GetAllDisplaysInfo()
/external/chromium_org/chrome/browser/metro_viewer/
Dchrome_metro_viewer_process_host_aurawin.cc161 std::vector<ash::DisplayInfo> info_list; in OnWindowSizeChanged()
162 info_list.push_back(ash::DisplayInfo::CreateFromSpec( in OnWindowSizeChanged()

12