/external/chromium_org/ui/views/ |
H A D | view_model_utils.cc | 28 model.view_at(i)->SetBoundsRect(model.ideal_bounds(i)); 35 if (view->bounds() != model.ideal_bounds(i)) 53 model.ideal_bounds(i).x() + model.ideal_bounds(i).width() / 2, 54 model.ideal_bounds(i).y() + model.ideal_bounds(i).height() / 2); 66 model.ideal_bounds(current_index + 1).x() - 67 model.ideal_bounds(current_index).x(), 68 model.ideal_bounds(current_index + 1).y() - 69 model.ideal_bounds(current_inde [all...] |
H A D | view_model.h | 61 entries_[index].ideal_bounds = bounds; 64 const gfx::Rect& ideal_bounds(int index) const { function in class:views::ViewModel 66 return entries_[index].ideal_bounds; 78 gfx::Rect ideal_bounds; member in struct:views::ViewModel::Entry
|
H A D | view_model_unittest.cc | 21 result += base::IntToString(model.ideal_bounds(i).x()); 47 EXPECT_EQ(v1_bounds, model.ideal_bounds(0));
|
/external/chromium/chrome/browser/ui/views/tabs/ |
H A D | side_tab_strip.cc | 256 if (ideal_bounds(i).bottom() > initial_y) { 266 delta = initial_y - ideal_bounds(first_vis_index).y(); 271 delta = initial_y - ideal_bounds(first_vis_index - 1).y(); 277 if (ideal_bounds(first_vis_index).y() > initial_y) { 278 delta = initial_y - ideal_bounds(first_vis_index).y(); 282 delta = initial_y - ideal_bounds(first_vis_index + 1).y(); 348 tab->SetBounds(ideal_bounds(tab_data_index).x(), 0, 349 ideal_bounds(tab_data_index).width(), 0); 353 ideal_bounds(tab_data_index).width(), 0); 363 bounds_animator().AnimateViewTo(tab, ideal_bounds( [all...] |
H A D | base_tab_strip.h | 43 const gfx::Rect& ideal_bounds(int tab_data_index) { function in class:BaseTabStrip 44 return tab_data_[tab_data_index].ideal_bounds; 144 gfx::Rect ideal_bounds; member in struct:BaseTabStrip::TabData 174 // currently set in ideal_bounds. 199 tab_data_[index].ideal_bounds = bounds;
|
H A D | base_tab_strip.cc | 491 tabs[i]->SetBoundsRect(ideal_bounds(tab_data_index)); 521 tab_data_[i].tab->SetBoundsRect(tab_data_[i].ideal_bounds); 558 bounds_animator_.AnimateViewTo(tab, ideal_bounds(TabIndexOfTab(tab)));
|
H A D | dragged_tab_controller.cc | 986 const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); local 988 gfx::Rect left_half = ideal_bounds; 990 gfx::Rect right_half = ideal_bounds; 991 right_half.set_width(ideal_bounds.width() - left_half.width()); 1005 int max_y = ideal_bounds.bottom(); 1006 int mid_y = ideal_bounds.y() + ideal_bounds.height() / 2;
|
H A D | tab_strip.cc | 444 tab->SetBounds(0, ideal_bounds(tab_data_index).y(), 0, 445 ideal_bounds(tab_data_index).height()); 449 ideal_bounds(tab_data_index).y(), 0, 450 ideal_bounds(tab_data_index).height()); 460 bounds_animator().AnimateViewTo(tab, ideal_bounds(i)); 959 // existing tabs, so we manually shift ideal_bounds then animate. 972 gfx::Rect bounds = ideal_bounds(i);
|
/external/chromium_org/ash/launcher/ |
H A D | launcher_view.cc | 486 const gfx::Rect& ideal_bounds(view_model_->ideal_bounds(index)); 492 ideal_bounds.x() + icon_bounds.x(), icon_bounds.width()), 493 ideal_bounds.y() + icon_bounds.y(), 510 shelf->PrimaryAxisValue(view_model_->ideal_bounds(target_index).x(), 511 view_model_->ideal_bounds(target_index).y()) > 517 view_model_->ideal_bounds(target_index).right(), 518 view_model_->ideal_bounds(target_index).bottom()) < 681 IdealBounds ideal_bounds; local 682 CalculateIdealBounds(&ideal_bounds); 881 IdealBounds ideal_bounds; local 1199 IdealBounds ideal_bounds; local 1263 IdealBounds ideal_bounds; local [all...] |
H A D | launcher_view_unittest.cc | 447 gfx::Rect ideal_bounds = launcher_view_->GetIdealBoundsOfItemIcon(id); local 450 ideal_bounds.Offset(screen_origin.x(), screen_origin.y()); 451 EXPECT_EQ(item_bounds.x(), ideal_bounds.x()); 452 EXPECT_EQ(item_bounds.y(), ideal_bounds.y());
|
/external/chromium/chrome/browser/ui/touch/tabs/ |
H A D | touch_tab_strip.cc | 110 tab->SetBounds(0, ideal_bounds(tab_data_index).y(), 0, 111 ideal_bounds(tab_data_index).height()); 115 ideal_bounds(tab_data_index).y(), 0, 116 ideal_bounds(tab_data_index).height()); 126 bounds_animator().AnimateViewTo(tab, ideal_bounds(i));
|
/external/chromium/chrome/browser/ui/tabs/ |
H A D | dock_info.cc | 236 gfx::Rect ideal_bounds(x, y, popup_width(), popup_height()); 237 ideal_bounds = ideal_bounds.AdjustToFit(monitor_bounds_); 238 return ideal_bounds;
|
/external/chromium_org/ash/test/ |
H A D | launcher_view_test_api.cc | 77 return launcher_view_->view_model_->ideal_bounds(index);
|
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | dock_info.cc | 226 gfx::Rect ideal_bounds(x, y, popup_width(), popup_height()); 227 ideal_bounds.AdjustToFit(monitor_bounds_); 228 return ideal_bounds;
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | stacked_tab_strip_layout_unittest.cc | 89 gfx::Rect bounds(view_model_.ideal_bounds(i)); 101 result += base::IntToString(view_model_.ideal_bounds(i).x()); 113 result += base::IntToString(view_model_.ideal_bounds(i).x()); 128 return view_model_.ideal_bounds(index).x(); 390 int old_x = view_model_.ideal_bounds(test_data[i].remove_index).x();
|
H A D | tab_strip.cc | 648 active_center = ideal_bounds(active_index).x() + 649 ideal_bounds(active_index).width() / 2; 657 active_center - ideal_bounds(active_index).width() / 2); 753 int old_x = tabs_.ideal_bounds(model_index).x(); 1651 tab->SetBounds(0, ideal_bounds(model_index).y(), 0, 1652 ideal_bounds(model_index).height()); 1656 ideal_bounds(model_index).y(), 0, 1657 ideal_bounds(model_index).height()); 1709 bounds_animator_.AnimateViewTo(tab, ideal_bounds(i)); 1756 gfx::Rect bounds(ideal_bounds( [all...] |
H A D | stacked_tab_strip_layout.h | 188 int ideal_x(int index) const { return view_model_->ideal_bounds(index).x(); }
|
H A D | stacked_tab_strip_layout.cc | 123 gfx::Rect mini_bounds(view_model_->ideal_bounds(i)); 253 result += base::IntToString(view_model_->ideal_bounds(i).x()); 367 view_model_->ideal_bounds(i - 1).x() + tab_offset()); 435 gfx::Rect mini_bounds(view_model_->ideal_bounds(i));
|
H A D | tab_strip.h | 115 const gfx::Rect& ideal_bounds(int tab_data_index) { function in class:TabStrip 116 return tabs_.ideal_bounds(tab_data_index); 317 // currently set in ideal_bounds.
|
H A D | tab_drag_controller.cc | 1454 const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); local 1456 ideal_bounds.SplitVertically(&left_half, &right_half); 1491 attached_tabstrip_->ideal_bounds(tab_count - 1).right(); 1518 int active_x = attached_tabstrip_->ideal_bounds(index).x(); 1519 int next_x = attached_tabstrip_->ideal_bounds(index + 1).x(); 1533 int active_x = attached_tabstrip_->ideal_bounds(index).x(); 1534 int previous_x = attached_tabstrip_->ideal_bounds(index - 1).x();
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
H A D | dragged_tab_controller_gtk.cc | 467 gfx::Rect ideal_bounds = attached_tabstrip_->GetIdealBounds(i); local 469 gfx::Rect left_half = ideal_bounds; 472 gfx::Rect right_half = ideal_bounds; 473 right_half.set_width(ideal_bounds.width() - left_half.width());
|
H A D | tab_strip_gtk.h | 172 gfx::Rect ideal_bounds; member in struct:TabStripGtk::TabData
|
/external/chromium_org/ui/app_list/views/ |
H A D | contents_view.cc | 136 view_model_->ideal_bounds(i));
|
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
H A D | tab_strip_gtk.h | 190 gfx::Rect ideal_bounds; member in struct:TabStripGtk::TabData
|
H A D | dragged_tab_controller_gtk.cc | 529 gfx::Rect ideal_bounds = attached_tabstrip_->GetIdealBounds(i); local 531 ideal_bounds.SplitVertically(&left_half, &right_half);
|