/external/chromium_org/ui/views/ |
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_index).y()) [all...] |
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
|
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/ |
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(i)) [all...] |
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;
|
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)));
|
dragged_tab_controller.cc | 986 const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); local [all...] |
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)); [all...] |
/external/chromium_org/ash/shelf/ |
shelf_view.cc | 463 const gfx::Rect& ideal_bounds(view_model_->ideal_bounds(index)); 468 ideal_bounds.x() + icon_bounds.x(), icon_bounds.width()), 469 ideal_bounds.y() + icon_bounds.y(), 486 view_model_->ideal_bounds(target_index).x(), 487 view_model_->ideal_bounds(target_index).y()) > 494 view_model_->ideal_bounds(target_index).right(), 495 view_model_->ideal_bounds(target_index).bottom()) < 681 IdealBounds ideal_bounds; local 682 CalculateIdealBounds(&ideal_bounds); 898 IdealBounds ideal_bounds; local 1455 IdealBounds ideal_bounds; local 1529 IdealBounds ideal_bounds; local [all...] |
shelf_view_unittest.cc | 646 gfx::Rect ideal_bounds = shelf_view_->GetIdealBoundsOfItemIcon(id); local 649 ideal_bounds.Offset(screen_origin.x(), screen_origin.y()); 650 EXPECT_EQ(item_bounds.x(), ideal_bounds.x()); 651 EXPECT_EQ(item_bounds.y(), ideal_bounds.y()); [all...] |
/external/chromium/chrome/browser/ui/touch/tabs/ |
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/ |
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/chrome/browser/ui/tabs/ |
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/ |
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();
|
tab_strip.cc | 673 active_center = ideal_bounds(active_index).x() + 674 ideal_bounds(active_index).width() / 2; 682 active_center - ideal_bounds(active_index).width() / 2); 778 int old_x = tabs_.ideal_bounds(model_index).x(); [all...] |
stacked_tab_strip_layout.h | 190 int ideal_x(int index) const { return view_model_->ideal_bounds(index).x(); }
|
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));
|
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); 333 // currently set in ideal_bounds.
|
tab_drag_controller.cc | 1586 const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); local [all...] |
/external/chromium_org/ash/test/ |
shelf_view_test_api.cc | 81 return shelf_view_->view_model_->ideal_bounds(index);
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
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());
|
tab_strip_gtk.h | 172 gfx::Rect ideal_bounds; member in struct:TabStripGtk::TabData
|
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
tab_strip_gtk.h | 190 gfx::Rect ideal_bounds; member in struct:TabStripGtk::TabData
|
dragged_tab_controller_gtk.cc | 541 gfx::Rect ideal_bounds = attached_tabstrip_->GetIdealBounds(i); local 543 ideal_bounds.SplitVertically(&left_half, &right_half); [all...] |
/external/chromium_org/ui/app_list/views/ |
contents_view.cc | 139 view_model_->ideal_bounds(i));
|