HomeSort by relevance Sort by last modified time
    Searched refs:CenterPoint (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/chromium_org/chrome/browser/chromeos/first_run/steps/
app_list_step.cc 28 gfx::Point center = button_bounds.CenterPoint();
help_step.cc 29 gfx::Point center = button_bounds.CenterPoint();
  /external/chromium_org/ash/keyboard_overlay/
keyboard_overlay_delegate_unittest.cc 53 EXPECT_EQ(work_area.CenterPoint().x(), bounds.CenterPoint().x());
  /external/chromium_org/ash/wm/caption_buttons/
frame_maximize_button_unittest.cc 171 gfx::Point center = view->GetBoundsInScreen().CenterPoint();
182 center = view->GetBoundsInScreen().CenterPoint();
188 generator.GestureTapAt(view->GetBoundsInScreen().CenterPoint());
191 generator.GestureTapAt(view->GetBoundsInScreen().CenterPoint());
194 generator.GestureTapDownAndUp(view->GetBoundsInScreen().CenterPoint());
197 generator.GestureTapDownAndUp(view->GetBoundsInScreen().CenterPoint());
212 gfx::Point center = view->GetBoundsInScreen().CenterPoint();
236 center = view->GetBoundsInScreen().CenterPoint();
253 center = view->GetBoundsInScreen().CenterPoint();
269 center = view->GetBoundsInScreen().CenterPoint();
    [all...]
  /external/chromium_org/ash/wm/
header_painter_unittest.cc 145 EXPECT_EQ(window_icon.bounds().CenterPoint().y(),
146 large_header_title_bounds.CenterPoint().y());
151 EXPECT_EQ(window_icon.bounds().CenterPoint().y(),
152 short_header_title_bounds.CenterPoint().y());
  /external/chromium_org/ui/views/
rect_based_targeting_utils.cc 27 gfx::Point center_point = rect.CenterPoint();
  /external/chromium_org/ui/views/widget/desktop_aura/
desktop_screen_win.cc 53 return GetDisplayNearestPoint(match_rect.CenterPoint());
  /external/chromium_org/ui/app_list/views/
apps_grid_view_unittest.cc 237 gfx::Point from = GetItemTileRectAt(0, 0).CenterPoint();
238 gfx::Point to = GetItemTileRectAt(0, 1).CenterPoint();
283 gfx::Point from = GetItemTileRectAt(0, 0).CenterPoint();
326 gfx::Point mouse_from = GetItemTileRectAt(0, 0).CenterPoint();
327 gfx::Point mouse_to = GetItemTileRectAt(0, 1).CenterPoint();
329 gfx::Point touch_from = GetItemTileRectAt(1, 0).CenterPoint();
330 gfx::Point touch_to = GetItemTileRectAt(1, 1).CenterPoint();
443 title_label->bounds().CenterPoint(), &actual_tooltip));
459 title_label->bounds().CenterPoint(), &actual_tooltip));
speech_view.cc 64 canvas->DrawCircle(bounds().CenterPoint(), width() / 2, paint);
91 return (rect.origin() - local_bounds.CenterPoint()).LengthSquared() <
195 gfx::Point origin = mic_button_->bounds().CenterPoint();
  /external/chromium_org/ash/shelf/
overflow_bubble_view.cc 118 GetAnchorRect().CenterPoint()).work_area();
203 anchor_rect.CenterPoint()).work_area();
213 border->set_arrow_offset(anchor_rect.CenterPoint().x() - bubble_rect.x());
221 border->set_arrow_offset(anchor_rect.CenterPoint().y() - bubble_rect.y());
shelf_tooltip_manager_unittest.cc 233 ui::MouseEvent mouse_event(ui::ET_MOUSE_MOVED, tooltip_rect.CenterPoint(),
234 tooltip_rect.CenterPoint(), ui::EF_NONE);
262 ui::MouseEvent mouse_event(ui::ET_MOUSE_PRESSED, tooltip_rect.CenterPoint(),
263 tooltip_rect.CenterPoint(), ui::EF_NONE);
shelf_view_unittest.cc 497 drag_button->GetBoundsInScreen().CenterPoint();
512 test_api_->GetButton(drop_index)->GetBoundsInScreen().CenterPoint();
    [all...]
  /external/chromium_org/chrome/browser/ui/views/omnibox/
omnibox_view_views_browsertest.cc 46 browser())->GetBoundsInScreen().CenterPoint()));
75 browser())->GetBoundsInScreen().CenterPoint();
149 const gfx::Point click_location = omnibox_bounds.CenterPoint();
205 const gfx::Point tap_location = omnibox_bounds.CenterPoint();
  /external/chromium_org/ppapi/tests/
test_mouse_lock.cc 73 position_.CenterPoint(),
  /external/chromium_org/chrome/browser/ui/ash/launcher/
chrome_launcher_controller_browsertest.cc 279 gfx::Point start_point = button->GetBoundsInScreen().CenterPoint();
    [all...]
  /external/chromium_org/ash/wm/gestures/
two_finger_drag_handler.cc 110 event.details().bounding_box().CenterPoint(),
174 any_window_resizer->Drag(event.details().bounding_box().CenterPoint(),
  /external/chromium_org/chrome/browser/chromeos/input_method/
textinput_test_helper.cc 193 mouse_event.x = rect.CenterPoint().x();
194 mouse_event.y = rect.CenterPoint().y();
  /external/chromium_org/ui/views/corewm/
tooltip_controller_unittest.cc 171 generator_->MoveMouseRelativeTo(window, view_->bounds().CenterPoint());
201 generator_->MoveMouseRelativeTo(GetWindow(), view_->bounds().CenterPoint());
227 generator_->MoveMouseRelativeTo(GetWindow(), view_->bounds().CenterPoint());
244 generator_->MoveMouseRelativeTo(window, view_->bounds().CenterPoint());
293 generator_->MoveMouseRelativeTo(window, view_->bounds().CenterPoint());
468 view_->bounds().CenterPoint());
507 generator_->MoveMouseRelativeTo(window, view_->bounds().CenterPoint());
537 generator_->MoveMouseRelativeTo(window2, view2->bounds().CenterPoint());
  /external/chromium_org/ash/tooltips/
tooltip_controller_unittest.cc 111 view->bounds().CenterPoint());
154 view2->bounds().CenterPoint());
173 view1->bounds().CenterPoint());
  /external/chromium_org/chrome/browser/ui/views/ash/
tab_scrubber.cc 48 return gfx::Point(x, tab_bounds.CenterPoint().y());
149 int first_tab_center = first_tab->bounds().CenterPoint().x();
151 int last_tab_tab_center = last_tab->bounds().CenterPoint().x();
  /external/chromium_org/ui/gfx/
rect_unittest.cc 323 TEST(RectTest, CenterPoint) {
327 center = Rect(0, 0, 20, 20).CenterPoint();
331 center = Rect(10, 10, 20, 20).CenterPoint();
335 center = Rect(11, 11, 20, 20).CenterPoint();
339 center = Rect(10, 10, 0, 20).CenterPoint();
341 center = Rect(10, 10, 20, 0).CenterPoint();
345 center = Rect(10, 10, 21, 21).CenterPoint();
349 center = Rect(11, 11, 21, 21).CenterPoint();
357 center = RectF(0, 0, 20, 20).CenterPoint();
361 center = RectF(10, 10, 20, 20).CenterPoint();
    [all...]
  /external/chromium_org/ash/wm/panels/
panel_layout_manager_unittest.cc 200 EXPECT_NEAR(icon_bounds.CenterPoint().x(),
201 widget->GetWindowBoundsInScreen().CenterPoint().x(),
204 EXPECT_NEAR(icon_bounds.CenterPoint().y(),
205 widget->GetWindowBoundsInScreen().CenterPoint().y(),
231 event_generator.MoveMouseTo(bounds.CenterPoint());
547 int window_x1 = w1->GetBoundsInRootWindow().CenterPoint().x();
548 int window_x2 = w2->GetBoundsInRootWindow().CenterPoint().x();
549 int window_x3 = w3->GetBoundsInRootWindow().CenterPoint().x();
566 int window_x1 = w1->GetBoundsInRootWindow().CenterPoint().x();
567 int window_x2 = w2->GetBoundsInRootWindow().CenterPoint().x()
    [all...]
  /external/chromium/chrome/browser/
unload_uitest.cc 235 ASSERT_TRUE(browser->SimulateDrag(bounds.CenterPoint(), bounds.CenterPoint(),
453 ASSERT_TRUE(window->SimulateOSClick(tab_view_bounds.CenterPoint(),
  /external/chromium_org/ash/system/user/
tray_user_unittest.cc 133 gfx::Point center = tray()->GetBoundsInScreen().CenterPoint();
143 tray_user(index)->GetUserPanelBoundsInScreenForTest().CenterPoint();
310 GetBoundsInScreen().CenterPoint();
  /external/chromium_org/ash/drag_drop/
drag_drop_controller_unittest.cc 462 drag_view1->bounds().CenterPoint());
490 drag_view1->bounds().CenterPoint().x() - 2;
555 drag_view1->bounds().CenterPoint().x() - 2;
580 gfx::Point point = gfx::Rect(drag_view->bounds()).CenterPoint();
737 gfx::Point mouse_move_location = drag_view->bounds().CenterPoint();
882 gfx::Point point = gfx::Rect(drag_view1->bounds()).CenterPoint();
    [all...]

Completed in 861 milliseconds

1 2 3 4