HomeSort by relevance Sort by last modified time
    Searched full:work_area (Results 26 - 50 of 111) sorted by null

12 3 4 5

  /external/chromium_org/ash/system/web_notification/
web_notification_tray_unittest.cc 331 gfx::Rect work_area = GetPopupWorkArea(); local
338 EXPECT_GT(work_area.size().GetArea(), work_area_with_tray.size().GetArea());
345 EXPECT_GT(work_area.size().GetArea(),
354 EXPECT_GT(work_area.size().GetArea(),
362 EXPECT_EQ(work_area.ToString(), GetPopupWorkArea().ToString());
368 gfx::Rect work_area = GetPopupWorkArea(); local
379 EXPECT_LT(work_area.size().GetArea(), work_area_auto_hidden.size().GetArea());
385 EXPECT_EQ(work_area.ToString(), work_area_auto_shown.ToString());
430 gfx::Rect work_area = GetPopupWorkArea(); local
464 EXPECT_EQ(work_area.ToString(), GetPopupWorkArea().ToString())
476 gfx::Rect work_area = GetPopupWorkArea(); local
    [all...]
web_notification_tray.cc 171 gfx::Rect work_area = display.work_area(); local
175 // Since the work_area is already reduced by kAutoHideSize, the inset width
180 work_area.Inset(shelf_->SelectValueForShelfAlignment(
186 work_area.set_height(
187 std::max(0, work_area.height() - system_tray_height_));
189 work_area.set_y(work_area.y() + system_tray_height_);
191 collection_->SetDisplayInfo(work_area, display.bounds());
  /external/chromium_org/chrome/browser/ui/panels/
display_settings_provider.cc 81 gfx::Rect work_area = display.work_area(); local
82 int system_menu_height = work_area.y() - display_area.y();
90 return gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().work_area();
107 return display.work_area();
panel_drag_controller.cc 288 gfx::Rect work_area = panel_manager_->display_settings_provider()-> local
291 target_position.y() < work_area.y()) {
292 target_position.set_y(work_area.y());
314 gfx::Rect dock_work_area = panel_manager_->docked_collection()->work_area();
342 gfx::Rect dock_work_area = panel_manager_->docked_collection()->work_area();
614 gfx::Rect work_area = panel_manager_->display_settings_provider()-> local
616 if (abs(target_position->x() - work_area.x()) <
618 target_position->set_x(work_area.x());
621 if (abs(work_area.right() - target_position->x() - width) <
623 target_position->set_x(work_area.right() - width)
    [all...]
base_panel_browser_test.h 29 const gfx::Rect& display_area, const gfx::Rect& work_area) = 0;
31 const gfx::Rect& display_area, const gfx::Rect& work_area) = 0;
panel_resize_controller.cc 123 gfx::Rect work_area = panel_manager_->display_settings_provider()-> local
126 mouse_location.y() < work_area.y()) {
127 new_height -= work_area.y() - new_y;
panel_manager.cc 213 int PanelManager::GetMaxPanelWidth(const gfx::Rect& work_area) const {
214 return static_cast<int>(work_area.width() * kPanelMaxWidthFactor);
217 int PanelManager::GetMaxPanelHeight(const gfx::Rect& work_area) const {
218 return static_cast<int>(work_area.height() * kPanelMaxHeightFactor);
244 gfx::Rect work_area = local
247 gfx::Size max_size(GetMaxPanelWidth(work_area), GetMaxPanelHeight(work_area));
271 bounds.AdjustToFit(work_area);
379 gfx::Rect work_area = local
382 work_area.bottom() - panel->GetBounds().y()
    [all...]
  /external/chromium_org/chrome/browser/ui/window_sizer/
window_sizer_common_unittest.h 59 const gfx::Rect& work_area,
97 // none. For all these states the |bounds| and |work_area| get used, for the
103 const gfx::Rect& work_area,
116 // none. For all these states the |bounds| and |work_area| get used, for the
122 const gfx::Rect& work_area,
window_sizer_common_unittest.cc 103 const gfx::Rect& work_area) {
105 display.set_work_area(work_area);
142 const gfx::Rect& work_area,
146 persistent_work_area_ = work_area;
189 const gfx::Rect& work_area,
204 sp->SetPersistentState(bounds, work_area, show_state_persisted, true);
221 const gfx::Rect& work_area,
228 monitor1_bounds, monitor1_work_area, monitor2_bounds, bounds, work_area,
240 gfx::Rect work_area = display_config; local
245 sp->SetPersistentState(bounds, work_area, show_state_persisted, true)
    [all...]
window_sizer_ash.cc 49 bounds_in_screen->AdjustToFit(display.work_area());
window_sizer_gtk.cc 26 GetPrimaryDisplay().work_area();
  /external/chromium_org/ash/wm/
window_positioner.h 98 const gfx::Rect& work_area,
103 const gfx::Rect& work_area);
107 const gfx::Rect &work_area,
  /external/chromium_org/chrome/browser/ui/views/
screen_capture_notification_ui_views.cc 180 gfx::Rect work_area = screen->GetPrimaryDisplay().work_area(); local
185 work_area.x() + work_area.width() / 2 - size.width() / 2,
186 work_area.y() + work_area.height() - size.height(),
chrome_views_delegate.cc 89 gfx::Rect work_area(gfx::Screen::GetScreenFor(window->GetNativeView())->
90 GetDisplayNearestWindow(window->GetNativeView()).work_area());
91 window_preferences->SetInteger("work_area_left", work_area.x());
92 window_preferences->SetInteger("work_area_top", work_area.y());
93 window_preferences->SetInteger("work_area_right", work_area.right());
94 window_preferences->SetInteger("work_area_bottom", work_area.bottom());
130 bounds->AdjustToFit(display.work_area());
  /external/chromium_org/ash/wm/workspace/
workspace_window_resizer.cc 575 gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent(window()));
579 int end = PrimaryAxisCoordinate(work_area.right(), work_area.bottom());
795 gfx::Rect work_area = local
796 ScreenAsh::ConvertRectFromScreen(window()->parent(), display.work_area());
801 int max_y = work_area.bottom() - std::min(kMinOnscreenHeight,
805 } else if (bounds->y() <= work_area.y()) {
808 bounds->set_y(work_area.y());
814 if (!(display.work_area().Contains(last_mouse_location_in_screen) &&
815 StickToWorkAreaOnMove(work_area, sticky_size, bounds)))
    [all...]
workspace_event_handler_unittest.cc 90 gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( local
91 window.get()).work_area();
110 EXPECT_EQ(work_area.y(), bounds_in_screen.y());
111 EXPECT_EQ(work_area.height(), bounds_in_screen.height());
140 EXPECT_EQ(work_area.x(), bounds_in_screen.x());
141 EXPECT_EQ(work_area.width(), bounds_in_screen.width());
158 gfx::Rect work_area2 = ScreenAsh::GetSecondaryDisplay().work_area();
210 gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( local
211 window.get()).work_area();
234 gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow local
    [all...]
workspace_layout_manager_unittest.cc 427 gfx::Size work_area(
428 Shell::GetScreen()->GetPrimaryDisplay().work_area().size());
430 100, 101, work_area.width() + 1, work_area.height() + 2);
433 EXPECT_EQ(gfx::Rect(gfx::Point(100, 101), work_area).ToString(),
439 EXPECT_EQ(gfx::Rect(gfx::Point(100, 101), work_area).ToString(),
  /external/chromium_org/chrome/browser/ui/app_list/
app_list_service_mac.mm 174 const gfx::Rect work_area = display.work_area();
176 if (work_area.bottom() != display_bounds.bottom())
179 if (work_area.x() != display_bounds.x())
182 if (work_area.right() != display_bounds.right())
197 const gfx::Rect work_area = display.work_area();
202 if (work_area.x() - display_bounds.x() <= kAutohideDockThreshold)
206 if (display_bounds.right() - work_area.right() <= kAutohideDockThreshold)
210 if (display_bounds.bottom() - work_area.bottom() <
    [all...]
  /external/chromium/chrome/browser/ui/panels/
panel_manager.cc 66 gfx::Rect work_area = info_provider->GetPrimaryMonitorWorkArea(); local
68 min_x_ = work_area.x();
69 current_x_ = work_area.right();
70 bottom_edge_y_ = work_area.bottom();
71 max_width_ = static_cast<int>(work_area.width() * kPanelMaxWidthFactor);
72 max_height_ = static_cast<int>(work_area.height() * kPanelMaxHeightFactor);
  /external/chromium_org/ash/wm/dock/
docked_window_layout_manager.cc 543 const gfx::Rect work_area = local
544 Shell::GetScreen()->GetDisplayNearestWindow(dock_container_).work_area();
545 if (GetWindowHeightCloseTo(window, work_area.height() - 2 * kMinDockGap) >
546 work_area.height() - 2 * kMinDockGap) {
811 const gfx::Rect work_area = local
812 Shell::GetScreen()->GetDisplayNearestWindow(dock_container_).work_area();
813 int available_room = work_area.height() - kMinDockGap;
856 const gfx::Rect work_area = display.work_area(); local
983 gfx::Rect work_area = local
1147 const gfx::Rect work_area = local
    [all...]
  /external/chromium_org/ash/keyboard_overlay/
keyboard_overlay_delegate.cc 87 widget_->GetNativeView()).work_area();
120 widget_->GetNativeView()).work_area();
  /external/chromium_org/chrome/browser/extensions/api/system_display/
system_display_apitest.cc 35 gfx::Rect work_area(0, 0, 960, 720);
37 display.set_work_area(work_area);
65 gfx::Rect work_area(0, 0, 960, 720);
67 display.set_work_area(work_area);
  /external/chromium_org/ui/gfx/
screen_mac.mm 57 gfx::Rect work_area = gfx::Rect(NSRectToCGRect(visible_frame));
58 work_area.set_y(frame.size.height - visible_frame.origin.y -
60 display.set_work_area(work_area);
  /external/chromium_org/chrome/browser/ui/views/tabs/
tab_drag_controller_interactive_uitest.cc 189 gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( local
190 browser()->window()->GetNativeWindow()).work_area();
192 gfx::Size(work_area.width() / 3 - 10, work_area.height() / 2 - 10);
193 browser()->window()->SetBounds(gfx::Rect(work_area.origin(), half_size));
195 work_area.x() + half_size.width(), work_area.y(),
1475 gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( local
1525 gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( local
1585 gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( local
1657 gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( local
1942 gfx::Rect work_area = gfx::Screen::GetNativeScreen()-> local
    [all...]
  /external/chromium_org/ui/message_center/views/
message_popup_collection.cc 90 work_area_ = display.work_area();
386 void MessagePopupCollection::ComputePopupAlignment(gfx::Rect work_area,
391 alignment_ = work_area.y() > screen_bounds.y() ? POPUP_ALIGNMENT_TOP
402 ((work_area.x() > screen_bounds.x() && work_area.y() == screen_bounds.y())
580 void MessagePopupCollection::SetDisplayInfo(const gfx::Rect& work_area,
582 if (work_area_ == work_area)
585 work_area_ = work_area;
586 ComputePopupAlignment(work_area, screen_bounds);
595 SetDisplayInfo(display.work_area(), display.bounds())
    [all...]

Completed in 384 milliseconds

12 3 4 5