/external/chromium_org/ash/display/ |
D | display_info.cc | 43 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 …]
|
D | display_info_unittest.cc | 14 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()
|
D | display_manager.h | 57 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_;
|
D | display_info.h | 37 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);
|
D | display_manager.cc | 50 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 …]
|
D | root_window_transformers.h | 20 class DisplayInfo; variable 32 const DisplayInfo& source_display_info, 33 const DisplayInfo& mirror_display_info);
|
D | display_manager_unittest.cc | 84 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 …]
|
D | mirror_window_controller.cc | 83 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()
|
D | root_window_transformers.cc | 54 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()
|
D | virtual_keyboard_window_controller.h | 19 class DisplayInfo; variable 37 void UpdateWindow(const DisplayInfo& display_info);
|
D | mirror_window_controller.h | 26 class DisplayInfo; variable 43 void UpdateWindow(const DisplayInfo& display_info);
|
D | mirror_window_controller_unittest.cc | 25 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()
|
D | display_change_observer_chromeos.cc | 122 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()
|
D | display_controller.cc | 87 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/ |
D | display_manager_test_api.cc | 19 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/ |
D | touch_transformer_controller_unittest.cc | 16 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()
|
D | touch_transformer_controller.h | 39 const DisplayInfo& touch_display) const ; 42 const DisplayInfo& touch_display) const; 45 const DisplayInfo& touch_display, const gfx::Size& fb_size) const;
|
D | touch_transformer_controller.cc | 32 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()
|
D | touch_observer_hud_unittest.cc | 186 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/ |
D | ash_native_cursor_manager_interactive_uitest.cc | 51 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/ |
D | display_info_provider_win.cc | 26 DisplayInfo* all_displays = reinterpret_cast<DisplayInfo*>(data); in EnumMonitorCallback() 64 DisplayInfo all_displays; in UpdateDisplayUnitInfoForPlatform()
|
D | display_info_provider.h | 20 api::system_display::DisplayUnitInfo> > DisplayInfo; typedef 33 DisplayInfo GetAllDisplaysInfo();
|
D | system_display_api.cc | 25 api::system_display::DisplayUnitInfo> > DisplayInfo; typedef 28 DisplayInfo all_displays_info = in RunSync()
|
D | display_info_provider.cc | 74 DisplayInfo DisplayInfoProvider::GetAllDisplaysInfo() { in GetAllDisplaysInfo() 79 DisplayInfo all_displays; in GetAllDisplaysInfo()
|
/external/chromium_org/chrome/browser/metro_viewer/ |
D | chrome_metro_viewer_process_host_aurawin.cc | 161 std::vector<ash::DisplayInfo> info_list; in OnWindowSizeChanged() 162 info_list.push_back(ash::DisplayInfo::CreateFromSpec( in OnWindowSizeChanged()
|