Searched refs:ideal_bounds (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/ui/views/
H A Dview_model_utils.cc28 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 Dview_model.h61 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 Dview_model_unittest.cc21 result += base::IntToString(model.ideal_bounds(i).x());
47 EXPECT_EQ(v1_bounds, model.ideal_bounds(0));
/external/chromium_org/ash/shelf/
H A Dshelf_view.cc463 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()) <
683 IdealBounds ideal_bounds; local
684 CalculateIdealBounds(&ideal_bounds);
852 IdealBounds ideal_bounds; local
1362 IdealBounds ideal_bounds; local
1439 IdealBounds ideal_bounds; local
[all...]
H A Dshelf_view_unittest.cc688 gfx::Rect ideal_bounds = shelf_view_->GetIdealBoundsOfItemIcon(id); local
691 ideal_bounds.Offset(screen_origin.x(), screen_origin.y());
692 EXPECT_EQ(item_bounds.x(), ideal_bounds.x());
693 EXPECT_EQ(item_bounds.y(), ideal_bounds.y());
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dstacked_tab_strip_layout_unittest.cc89 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 Dtab_strip.cc580 active_center = ideal_bounds(active_index).x() +
581 ideal_bounds(active_index).width() / 2;
589 active_center - ideal_bounds(active_index).width() / 2);
685 int old_x = tabs_.ideal_bounds(model_index).x();
1511 tab->SetBounds(0, ideal_bounds(model_index).y(), 0,
1512 ideal_bounds(model_index).height());
1516 ideal_bounds(model_index).y(), 0,
1517 ideal_bounds(model_index).height());
1567 bounds_animator_.AnimateViewTo(tab, ideal_bounds(i));
1639 gfx::Rect bounds(ideal_bounds(
[all...]
H A Dtab_drag_controller.cc1131 dragged_x < attached_tabstrip_->ideal_bounds(start).x())
1135 const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); local
1136 if (dragged_x < (ideal_bounds.x() + (ideal_bounds.width() / 2)))
1140 return (dragged_x < attached_tabstrip_->ideal_bounds(last_tab).right()) ?
1152 dragged_x >= attached_tabstrip_->ideal_bounds(start).right())
1156 const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); local
1157 if (dragged_x >= (ideal_bounds
[all...]
H A Dstacked_tab_strip_layout.h190 int ideal_x(int index) const { return view_model_->ideal_bounds(index).x(); }
H A Dstacked_tab_strip_layout.cc123 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 Dtab_strip.h147 const gfx::Rect& ideal_bounds(int tab_data_index) { function in class:TabStrip
148 return tabs_.ideal_bounds(tab_data_index);
342 // currently set in ideal_bounds.
/external/chromium_org/ash/test/
H A Dshelf_view_test_api.cc80 return shelf_view_->view_model_->ideal_bounds(index);
/external/chromium_org/ui/app_list/views/
H A Dapps_grid_view.cc734 gfx::Rect bounds = view_model_.ideal_bounds(i);
931 view->SetBoundsRect(view_model_.ideal_bounds(i));
1276 const gfx::Rect& target = view_model_.ideal_bounds(i);
1522 gfx::Rect view_ideal_bounds = view_model_.ideal_bounds(

Completed in 200 milliseconds