Home
last modified time | relevance | path

Searched refs:display_manager (Results 1 – 25 of 60) sorted by relevance

123

/external/chromium_org/ash/display/
Ddisplay_manager_unittest.cc62 DisplayManager* display_manager() { in display_manager() function in ash::DisplayManagerTest
63 return Shell::GetInstance()->display_manager(); in display_manager()
85 return display_manager()->GetDisplayInfo(display.id()); in GetDisplayInfo()
89 return GetDisplayInfo(display_manager()->GetDisplayAt(index)); in GetDisplayInfoAt()
93 return display_manager()->GetDisplayForId(id); in GetDisplayForId()
97 return GetDisplayInfo(display_manager()->GetDisplayForId(id)); in GetDisplayInfoForId()
131 EXPECT_EQ(1U, display_manager()->GetNumDisplays()); in TEST_F()
135 EXPECT_EQ(2U, display_manager()->GetNumDisplays()); in TEST_F()
137 display_manager()->GetDisplayAt(0).bounds().ToString()); in TEST_F()
140 EXPECT_EQ(display_manager()->GetDisplayAt(0).id(), changed()[0].id()); in TEST_F()
[all …]
Dresolution_notification_controller_unittest.cc28 Shell::GetInstance()->display_manager()->GetDisplayNameForId( in ExpectedNotificationMessage()
40 Shell::GetInstance()->display_manager()->GetDisplayNameForId( in ExpectedFallbackNotificationMessage()
66 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in SetDisplayResolutionAndNotifyWithResolution() local
67 const DisplayInfo& info = display_manager->GetDisplayInfo(display.id()); in SetDisplayResolutionAndNotifyWithResolution()
78 for (size_t i = 0; i < display_manager->GetNumDisplays(); ++i) { in SetDisplayResolutionAndNotifyWithResolution()
79 int64 id = display_manager->GetDisplayAt(i).id(); in SetDisplayResolutionAndNotifyWithResolution()
80 DisplayInfo info = display_manager->GetDisplayInfo(id); in SetDisplayResolutionAndNotifyWithResolution()
88 display_manager->OnNativeDisplaysChanged(info_list); in SetDisplayResolutionAndNotifyWithResolution()
160 ash::DisplayManager* display_manager = in TEST_F() local
161 ash::Shell::GetInstance()->display_manager(); in TEST_F()
[all …]
Dmirror_window_controller_unittest.cc75 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
76 display_manager->SetSecondDisplayMode(DisplayManager::MIRRORING); in TEST_F()
132 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
133 display_manager->SetSecondDisplayMode(DisplayManager::MIRRORING); in TEST_F()
196 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
197 display_manager->SetSecondDisplayMode(DisplayManager::MIRRORING); in TEST_F()
237 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
247 display_manager->SetSecondDisplayMode(DisplayManager::MIRRORING); in TEST_F()
252 display_manager->OnNativeDisplaysChanged(display_info_list); in TEST_F()
254 test::DisplayManagerTestApi(display_manager). in TEST_F()
[all …]
Dmirror_window_controller.cc122 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in UpdateWindow() local
123 const DisplayInfo& source_display_info = display_manager->GetDisplayInfo( in UpdateWindow()
125 DCHECK(display_manager->IsMirrored()); in UpdateWindow()
134 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in UpdateWindow() local
135 const DisplayInfo& mirror_display_info = display_manager->GetDisplayInfo( in UpdateWindow()
136 display_manager->mirrored_display_id()); in UpdateWindow()
173 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in CreateRootWindowTransformer() local
174 const DisplayInfo& mirror_display_info = display_manager->GetDisplayInfo( in CreateRootWindowTransformer()
175 display_manager->mirrored_display_id()); in CreateRootWindowTransformer()
176 const DisplayInfo& source_display_info = display_manager->GetDisplayInfo( in CreateRootWindowTransformer()
[all …]
Dmouse_cursor_event_filter_unittest.cc73 Shell::GetInstance()->display_manager()->layout_store()-> in TEST_F()
117 Shell::GetInstance()->display_manager()-> in TEST_F()
150 Shell::GetInstance()->display_manager()-> in TEST_F()
199 ->display_manager() in TEST_F()
282 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
284 display_manager->SetLayoutForCurrentDisplays(layout); in TEST_F()
294 display_manager->SetLayoutForCurrentDisplays(layout); in TEST_F()
307 display_manager->SetLayoutForCurrentDisplays(layout); in TEST_F()
317 display_manager->SetLayoutForCurrentDisplays(layout); in TEST_F()
337 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
[all …]
Ddisplay_controller_unittest.cc191 Shell::GetInstance()->display_manager()-> in SetSecondaryDisplayLayoutAndOffset()
200 Shell::GetInstance()->display_manager()->layout_store()-> in SetDefaultDisplayLayout()
353 return Shell::GetInstance()->display_manager()->GetDisplayInfo(id).rotation(); in GetStoredRotation()
357 return Shell::GetInstance()->display_manager()->GetDisplayInfo(id). in GetStoredUIScale()
413 Shell::GetInstance()->display_manager()->UpdateWorkAreaOfDisplay( in TEST_F()
558 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
569 display_manager->OnNativeDisplaysChanged(display_info_list); in TEST_F()
571 test::DisplayManagerTestApi(display_manager). in TEST_F()
574 EXPECT_EQ(2U, display_manager->num_connected_displays()); in TEST_F()
575 EXPECT_EQ(1U, display_manager->GetNumDisplays()); in TEST_F()
[all …]
Ddisplay_controller.cc82 return Shell::GetInstance()->display_manager(); in GetDisplayManager()
256 Shell::GetInstance()->display_manager()->set_delegate(this); in Start()
262 Shell::GetInstance()->display_manager()->set_delegate(NULL); in Shutdown()
295 DisplayManager* display_manager = GetDisplayManager(); in InitDisplays() local
296 for (size_t i = 0; i < display_manager->GetNumDisplays(); ++i) { in InitDisplays()
297 const gfx::Display& display = display_manager->GetDisplayAt(i); in InitDisplays()
387 DisplayManager* display_manager = GetDisplayManager(); in ToggleMirrorMode() local
388 if (display_manager->num_connected_displays() <= 1) in ToggleMirrorMode()
403 !display_manager->IsMirrored())); in ToggleMirrorMode()
443 DisplayManager* display_manager = GetDisplayManager(); in SetPrimaryDisplay() local
[all …]
Dvirtual_keyboard_window_controller.cc82 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in FlipDisplay() local
83 if (!display_manager->virtual_keyboard_root_window_enabled()) { in FlipDisplay()
88 display_manager->SetDisplayRotation( in FlipDisplay()
89 display_manager->non_desktop_display().id(), gfx::Display::ROTATE_180); in FlipDisplay()
94 host->window(), display_manager->non_desktop_display())); in FlipDisplay()
Dscreen_ash.cc27 return Shell::GetInstance()->display_manager(); in GetDisplayManager()
179 DisplayManager* display_manager = GetDisplayManager(); in GetSecondaryDisplay() local
180 CHECK_EQ(2U, display_manager->GetNumDisplays()); in GetSecondaryDisplay()
181 return display_manager->GetDisplayAt(0).id() == in GetSecondaryDisplay()
183 display_manager->GetDisplayAt(1) : display_manager->GetDisplayAt(0); in GetSecondaryDisplay()
244 DisplayManager* display_manager = GetDisplayManager(); in GetDisplayNearestWindow() local
247 if (display_manager->non_desktop_display().id() == id) in GetDisplayNearestWindow()
248 return display_manager->non_desktop_display(); in GetDisplayNearestWindow()
249 return display_manager->GetDisplayForId(id); in GetDisplayNearestWindow()
Droot_window_transformers_unittest.cc110 return Shell::GetInstance()->display_manager()->GetDisplayInfo(id).rotation(); in GetStoredRotation()
114 return Shell::GetInstance()->display_manager()->GetDisplayInfo(id). in GetStoredUIScale()
137 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
164 display_manager->SetDisplayRotation(display1.id(), in TEST_F()
184 display_manager->SetLayoutForCurrentDisplays(display_layout); in TEST_F()
188 display_manager->SetDisplayRotation(display2_id, in TEST_F()
206 display_manager->SetDisplayRotation(display1.id(), in TEST_F()
255 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
256 display_manager->SetDisplayUIScale(display1.id(), 1.25); in TEST_F()
397 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
[all …]
Dresolution_notification_controller.cc148 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in ResolutionChangeInfo() local
149 if (!display_manager->HasInternalDisplay() && in ResolutionChangeInfo()
150 display_manager->num_connected_displays() == 1u) { in ResolutionChangeInfo()
190 Shell::GetInstance()->display_manager()->SetDisplayResolution( in SetDisplayResolutionAndNotify()
224 Shell::GetInstance()->display_manager()->GetDisplayNameForId( in CreateOrUpdateNotification()
284 Shell::GetInstance()->display_manager()->SetDisplayResolution( in RevertResolutionChange()
306 const DisplayInfo& info = Shell::GetInstance()->display_manager()-> in OnDisplayConfigurationChanged()
/external/chromium_org/ash/system/chromeos/
Dtray_display.cc38 return Shell::GetInstance()->display_manager(); in GetDisplayManager()
47 DisplayManager* display_manager = GetDisplayManager(); in GetDisplaySize() local
49 const gfx::Display* display = &display_manager->GetDisplayForId(display_id); in GetDisplaySize()
53 bool mirrored_display = display_manager->mirrored_display_id() == display_id; in GetDisplaySize()
89 DisplayManager* display_manager = GetDisplayManager(); in GetAllDisplayInfo() local
93 if (display_manager->HasInternalDisplay() && in GetAllDisplayInfo()
94 display_manager->IsInternalDisplayId( in GetAllDisplayInfo()
95 display_manager->first_display_id())) { in GetAllDisplayInfo()
96 internal_id = display_manager->first_display_id(); in GetAllDisplayInfo()
100 for (size_t i = 0; i < display_manager->GetNumDisplays(); ++i) { in GetAllDisplayInfo()
[all …]
Dtray_display_unittest.cc56 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in GetFirstDisplayName() local
57 return base::UTF8ToUTF16(display_manager->GetDisplayNameForId( in GetFirstDisplayName()
58 display_manager->first_display_id())); in GetFirstDisplayName()
63 Shell::GetInstance()->display_manager()->GetDisplayNameForId( in GetSecondDisplayName()
68 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in GetMirroredDisplayName() local
69 return base::UTF8ToUTF16(display_manager->GetDisplayNameForId( in GetMirroredDisplayName()
70 display_manager->mirrored_display_id())); in GetMirroredDisplayName()
192 Shell::GetInstance()->display_manager()->SetSoftwareMirroring(true); in TEST_F()
206 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
207 gfx::Display::SetInternalDisplayId(display_manager->first_display_id()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/api/system_display/
Ddisplay_info_provider_chromeos.cc169 ash::Shell::GetInstance()->display_manager()-> in UpdateDisplayLayout()
179 DisplayManager* display_manager, in ValidateParamsForDisplay() argument
190 display_manager->GetDisplayForId(mirroring_id).id() == in ValidateParamsForDisplay()
254 display_manager->GetOverscanInsets(display.id()); in ValidateParamsForDisplay()
288 DisplayManager* display_manager = in SetInfoImpl() local
289 ash::Shell::GetInstance()->display_manager(); in SetInfoImpl()
290 DCHECK(display_manager); in SetInfoImpl()
295 const gfx::Display target = GetTargetDisplay(display_id_str, display_manager); in SetInfoImpl()
307 if (!ValidateParamsForDisplay(info, target, display_manager, primary.id(), in SetInfoImpl()
318 info.mirroring_source_id->empty() == display_manager->IsMirrored()) { in SetInfoImpl()
[all …]
/external/chromium_org/ash/wm/maximize_mode/
Dmaximize_mode_controller.cc230 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in OnDisplayConfigurationChanged() local
231 gfx::Display::Rotation user_rotation = display_manager-> in OnDisplayConfigurationChanged()
289 DisplayManager* display_manager = in HandleScreenRotation() local
290 Shell::GetInstance()->display_manager(); in HandleScreenRotation()
291 gfx::Display::Rotation current_rotation = display_manager->GetDisplayInfo( in HandleScreenRotation()
340 SetDisplayRotation(display_manager, new_rotation); in HandleScreenRotation()
344 DisplayManager* display_manager, in SetDisplayRotation() argument
349 display_manager->SetDisplayRotation(gfx::Display::InternalDisplayId(), in SetDisplayRotation()
354 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in EnterMaximizeMode() local
355 current_rotation_ = user_rotation_ = display_manager-> in EnterMaximizeMode()
[all …]
/external/chromium_org/chrome/browser/chromeos/display/
Ddisplay_preferences_unittest.cc149 return ash::Shell::GetInstance()->display_manager()->layout_store()-> in GetRegisteredDisplayLayoutStr()
185 shell->display_manager()->UpdateDisplays(); in TEST_F()
191 shell->display_manager()->GetCurrentDisplayLayout().ToString()); in TEST_F()
199 ash::DisplayManager* display_manager = in TEST_F() local
200 ash::Shell::GetInstance()->display_manager(); in TEST_F()
213 ash::test::DisplayManagerTestApi test_api(display_manager); in TEST_F()
216 display_manager->SetColorCalibrationProfile(id1, ui::COLOR_PROFILE_DYNAMIC); in TEST_F()
217 display_manager->SetColorCalibrationProfile(id2, ui::COLOR_PROFILE_DYNAMIC); in TEST_F()
229 display_manager->SetDisplayRotation(id1, gfx::Display::ROTATE_90); in TEST_F()
230 display_manager->SetDisplayUIScale(id1, 1.25f); in TEST_F()
[all …]
Ddisplay_preferences.cc95 return ash::Shell::GetInstance()->display_manager(); in GetDisplayManager()
217 ash::DisplayManager* display_manager = GetDisplayManager(); in StoreCurrentDisplayProperties() local
223 size_t num = display_manager->GetNumDisplays(); in StoreCurrentDisplayProperties()
225 const gfx::Display& display = display_manager->GetDisplayAt(i); in StoreCurrentDisplayProperties()
227 ash::DisplayInfo info = display_manager->GetDisplayInfo(id); in StoreCurrentDisplayProperties()
237 display_manager->GetSelectedModeForDisplayId(id, &mode) && in StoreCurrentDisplayProperties()
/external/chromium_org/ash/
Dscreen_util.cc24 return Shell::GetInstance()->display_manager(); in GetDisplayManager()
75 DisplayManager* display_manager = GetDisplayManager(); in GetSecondaryDisplay() local
76 CHECK_EQ(2U, display_manager->GetNumDisplays()); in GetSecondaryDisplay()
77 return display_manager->GetDisplayAt(0).id() == in GetSecondaryDisplay()
79 display_manager->GetDisplayAt(1) : display_manager->GetDisplayAt(0); in GetSecondaryDisplay()
/external/chromium_org/ash/test/
Ddisplay_manager_test_api.cc26 DisplayManager* display_manager) { in CreateDisplayInfoListFromString() argument
33 int64 id = index < display_manager->GetNumDisplays() ? in CreateDisplayInfoListFromString()
34 display_manager->GetDisplayAt(index).id() : in CreateDisplayInfoListFromString()
44 DisplayManagerTestApi::DisplayManagerTestApi(DisplayManager* display_manager) in DisplayManagerTestApi() argument
45 : display_manager_(display_manager) {} in DisplayManagerTestApi()
/external/chromium_org/ash/desktop_background/
Ddesktop_background_view.cc55 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in Layout() local
56 DisplayInfo info = display_manager->GetDisplayInfo(display.id()); in Layout()
107 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in OnPaint() local
108 DisplayInfo display_info = display_manager->GetDisplayInfo(display.id()); in OnPaint()
Ddesktop_background_controller.cc160 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in GetMaxDisplaySizeInNative() local
166 display_manager->GetDisplayInfo(iter->id()).bounds_in_native().size(); in GetMaxDisplaySizeInNative()
/external/chromium_org/ash/wm/
Dash_native_cursor_manager_unittest.cc155 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
158 display_manager->SetDisplayUIScale(display_id, 0.5f); in TEST_F()
163 display_manager->SetDisplayUIScale(display_id, 1.0f); in TEST_F()
167 display_manager->SetDisplayUIScale(display_id, 0.5f); in TEST_F()
177 display_manager->SetDisplayUIScale(display_id, 2.0f); in TEST_F()
Dash_native_cursor_manager_interactive_uitest.cc94 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in TEST_F() local
102 display_manager->OnNativeDisplaysChanged(display_info_list); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Ddisplay_options_handler.cc37 return ash::Shell::GetInstance()->display_manager(); in GetDisplayManager()
187 DisplayManager* display_manager = GetDisplayManager(); in SendAllDisplayInfo() local
190 for (size_t i = 0; i < display_manager->GetNumDisplays(); ++i) { in SendAllDisplayInfo()
191 displays.push_back(display_manager->GetDisplayAt(i)); in SendAllDisplayInfo()
198 DisplayManager* display_manager = GetDisplayManager(); in SendDisplayInfo() local
199 base::FundamentalValue mirroring(display_manager->IsMirrored()); in SendDisplayInfo()
206 display_manager->GetDisplayInfo(display.id()); in SendDisplayInfo()
215 display_manager->GetDisplayNameForId(display.id())); in SendDisplayInfo()
289 if (display_manager->GetNumDisplays() > 1) { in SendDisplayInfo()
291 display_manager->GetCurrentDisplayLayout(); in SendDisplayInfo()
[all …]
/external/chromium_org/ash/accelerators/
Daccelerator_controller.cc346 Shell::GetInstance()->display_manager()->GetDisplayInfo(display.id()); in HandleRotateScreen()
347 Shell::GetInstance()->display_manager()->SetDisplayRotation( in HandleRotateScreen()
353 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in HandleScaleReset() local
354 int64 display_id = display_manager->GetDisplayIdForUIScaling(); in HandleScaleReset()
360 display_manager->SetDisplayUIScale(display_id, 1.0f); in HandleScaleReset()
365 DisplayManager* display_manager = Shell::GetInstance()->display_manager(); in HandleScaleUI() local
366 int64 display_id = display_manager->GetDisplayIdForUIScaling(); in HandleScaleUI()
376 const DisplayInfo& display_info = display_manager->GetDisplayInfo(display_id); in HandleScaleUI()
378 display_manager->SetDisplayUIScale(display_id, next_scale); in HandleScaleUI()
537 Shell::GetInstance()->display_manager()->AddRemoveDisplay(); in HandleAddRemoveDisplay()
[all …]

123