view_model_ 246 ash/shelf/shelf_view.cc int index = view_model_->GetIndexOfView(starting_view); view_model_ 248 ash/shelf/shelf_view.cc return view_model_->view_at(0); view_model_ 253 ash/shelf/shelf_view.cc index = view_model_->view_size() - 1; view_model_ 256 ash/shelf/shelf_view.cc if (index >= view_model_->view_size()) view_model_ 259 ash/shelf/shelf_view.cc return view_model_->view_at(index); view_model_ 263 ash/shelf/shelf_view.cc views::ViewModel* view_model_; view_model_ 383 ash/shelf/shelf_view.cc view_model_(new views::ViewModel), view_model_ 411 ash/shelf/shelf_view.cc focus_search_.reset(new ShelfFocusSearch(view_model_.get())); view_model_ 431 ash/shelf/shelf_view.cc view_model_->Add(child, static_cast<int>(i - items.begin())); view_model_ 448 ash/shelf/shelf_view.cc for (int i=0; i < view_model_->view_size(); ++i) { view_model_ 452 ash/shelf/shelf_view.cc static_cast<AppListButton*>(view_model_->view_at(i))->SetImageAlignment( view_model_ 465 ash/shelf/shelf_view.cc view_model_->view_at(i)->Layout(); view_model_ 473 ash/shelf/shelf_view.cc for (int i = 0; i < view_model_->view_size(); ++i) { view_model_ 475 ash/shelf/shelf_view.cc view_model_->view_at(i)->SchedulePaint(); view_model_ 486 ash/shelf/shelf_view.cc const gfx::Rect& ideal_bounds(view_model_->ideal_bounds(index)); view_model_ 488 ash/shelf/shelf_view.cc ShelfButton* button = static_cast<ShelfButton*>(view_model_->view_at(index)); view_model_ 509 ash/shelf/shelf_view.cc view_model_->ideal_bounds(target_index).x(), view_model_ 510 ash/shelf/shelf_view.cc view_model_->ideal_bounds(target_index).y()) > view_model_ 515 ash/shelf/shelf_view.cc while (target_index < view_model_->view_size() - 1 && view_model_ 517 ash/shelf/shelf_view.cc view_model_->ideal_bounds(target_index).right(), view_model_ 518 ash/shelf/shelf_view.cc view_model_->ideal_bounds(target_index).bottom()) < view_model_ 539 ash/shelf/shelf_view.cc return view_model_->view_at(i); view_model_ 629 ash/shelf/shelf_view.cc views::View* drag_and_drop_view = view_model_->view_at( view_model_ 662 ash/shelf/shelf_view.cc views::View* drag_and_drop_view = view_model_->view_at( view_model_ 680 ash/shelf/shelf_view.cc views::View* drag_and_drop_view = view_model_->view_at( view_model_ 710 ash/shelf/shelf_view.cc views::ViewModelUtils::SetViewBoundsToIdealBounds(*view_model_); view_model_ 718 ash/shelf/shelf_view.cc DCHECK_LT(last_visible_index_, view_model_->view_size()); view_model_ 719 ash/shelf/shelf_view.cc for (int i = 0; i < view_model_->view_size(); ++i) { view_model_ 728 ash/shelf/shelf_view.cc view_model_->view_at(i) == drag_view_) view_model_ 729 ash/shelf/shelf_view.cc view_model_->view_at(i)->SetVisible(true); view_model_ 731 ash/shelf/shelf_view.cc view_model_->view_at(i)->SetVisible(visible); view_model_ 737 ash/shelf/shelf_view.cc DCHECK(model_->item_count() == view_model_->view_size()); view_model_ 756 ash/shelf/shelf_view.cc for (int i = 0; i < view_model_->view_size(); ++i) { view_model_ 758 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(i, gfx::Rect(x, y, 0, 0)); view_model_ 762 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(i, gfx::Rect(x, y, w, h)); view_model_ 777 ash/shelf/shelf_view.cc if (view_model_->view_size() > 0) { view_model_ 778 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(0, gfx::Rect(gfx::Size( view_model_ 788 ash/shelf/shelf_view.cc for (int i = view_model_->view_size() - 1; view_model_ 792 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(i, gfx::Rect(x, y, w, h)); view_model_ 799 ash/shelf/shelf_view.cc view_model_->ideal_bounds(last_button_index).right(), view_model_ 800 ash/shelf/shelf_view.cc view_model_->ideal_bounds(last_button_index).bottom()) view_model_ 831 ash/shelf/shelf_view.cc for (int i = 0; i < view_model_->view_size(); ++i) { view_model_ 840 ash/shelf/shelf_view.cc if (dragged_off_shelf_ && view_model_->view_at(i) == drag_view_) view_model_ 842 ash/shelf/shelf_view.cc view_model_->view_at(i)->SetVisible(visible); view_model_ 847 ash/shelf/shelf_view.cc DCHECK_NE(0, view_model_->view_size()); view_model_ 853 ash/shelf/shelf_view.cc x = view_model_->ideal_bounds(last_visible_index_).x(); view_model_ 854 ash/shelf/shelf_view.cc y = view_model_->ideal_bounds(last_visible_index_).y(); view_model_ 857 ash/shelf/shelf_view.cc view_model_->ideal_bounds(last_visible_index_).right(), view_model_ 858 ash/shelf/shelf_view.cc view_model_->ideal_bounds(last_visible_index_).x()); view_model_ 860 ash/shelf/shelf_view.cc view_model_->ideal_bounds(last_visible_index_).y(), view_model_ 861 ash/shelf/shelf_view.cc view_model_->ideal_bounds(last_visible_index_).bottom()); view_model_ 865 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(i, gfx::Rect(x, y, w, h)); view_model_ 878 ash/shelf/shelf_view.cc gfx::Rect app_list_bounds = view_model_->ideal_bounds(last_button_index); view_model_ 884 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(last_button_index, app_list_bounds); view_model_ 898 ash/shelf/shelf_view.cc view_model_->ideal_bounds(index).right(), view_model_ 899 ash/shelf/shelf_view.cc view_model_->ideal_bounds(index).bottom()) > max_value) { view_model_ 907 ash/shelf/shelf_view.cc while (index < view_model_->view_size() && view_model_ 909 ash/shelf/shelf_view.cc view_model_->ideal_bounds(index).right(), view_model_ 910 ash/shelf/shelf_view.cc view_model_->ideal_bounds(index).bottom()) < min_value) { view_model_ 927 ash/shelf/shelf_view.cc for (int i = 0; i < view_model_->view_size(); ++i) { view_model_ 928 ash/shelf/shelf_view.cc View* view = view_model_->view_at(i); view_model_ 929 ash/shelf/shelf_view.cc bounds_animator_->AnimateViewTo(view, view_model_->ideal_bounds(i)); view_model_ 1002 ash/shelf/shelf_view.cc start_drag_index_ = view_model_->GetIndexOfView(drag_view_); view_model_ 1025 ash/shelf/shelf_view.cc int current_index = view_model_->GetIndexOfView(drag_view_); view_model_ 1042 ash/shelf/shelf_view.cc current_index = view_model_->GetIndexOfView(drag_view_); view_model_ 1060 ash/shelf/shelf_view.cc x = std::max(view_model_->ideal_bounds(indices.first).x(), view_model_ 1062 ash/shelf/shelf_view.cc x = std::min(view_model_->ideal_bounds(last_drag_index).right() - view_model_ 1063 ash/shelf/shelf_view.cc view_model_->ideal_bounds(current_index).width(), view_model_ 1069 ash/shelf/shelf_view.cc y = std::max(view_model_->ideal_bounds(indices.first).y(), view_model_ 1071 ash/shelf/shelf_view.cc y = std::min(view_model_->ideal_bounds(last_drag_index).bottom() - view_model_ 1072 ash/shelf/shelf_view.cc view_model_->ideal_bounds(current_index).height(), view_model_ 1081 ash/shelf/shelf_view.cc *view_model_, drag_view_, view_model_ 1098 ash/shelf/shelf_view.cc int current_index = view_model_->GetIndexOfView(drag_view_); view_model_ 1121 ash/shelf/shelf_view.cc int drag_view_index = view_model_->GetIndexOfView(drag_view_); view_model_ 1122 ash/shelf/shelf_view.cc drag_view_->SetBoundsRect(view_model_->ideal_bounds(drag_view_index)); view_model_ 1152 ash/shelf/shelf_view.cc int drag_view_index = view_model_->GetIndexOfView(drag_view_); view_model_ 1153 ash/shelf/shelf_view.cc drag_view_->SetBoundsRect(view_model_->ideal_bounds(drag_view_index)); view_model_ 1200 ash/shelf/shelf_view.cc int current_index = view_model_->GetIndexOfView(drag_view_); view_model_ 1340 ash/shelf/shelf_view.cc if (view_model_->view_size() > 0) { view_model_ 1341 ash/shelf/shelf_view.cc view_model_->view_at(0)->SetBorder(views::Border::CreateEmptyBorder( view_model_ 1358 ash/shelf/shelf_view.cc views::View* last_visible_view = view_model_->view_at(last_visible_index_); view_model_ 1371 ash/shelf/shelf_view.cc DCHECK_LT(last_overflow_index, view_model_->view_size()); view_model_ 1421 ash/shelf/shelf_view.cc const int last_button_index = view_model_->view_size() - 1; view_model_ 1423 ash/shelf/shelf_view.cc view_model_->view_at(last_button_index)->bounds(); view_model_ 1458 ash/shelf/shelf_view.cc int drag_view_index = view_model_->GetIndexOfView(drag_view_); view_model_ 1469 ash/shelf/shelf_view.cc bool at_end = modified_index == view_model_->view_size(); view_model_ 1472 ash/shelf/shelf_view.cc view_model_->view_at(modified_index) : NULL; view_model_ 1478 ash/shelf/shelf_view.cc return view_model_->view_size(); view_model_ 1479 ash/shelf/shelf_view.cc return modified_view ? view_model_->GetIndexOfView(modified_view) : -1; view_model_ 1489 ash/shelf/shelf_view.cc last_visible_index_ : view_model_->view_size() - 1; view_model_ 1499 ash/shelf/shelf_view.cc RemovableByRipOff(view_model_->GetIndexOfView(drag_view_)) == REMOVABLE) view_model_ 1504 ash/shelf/shelf_view.cc view_model_->ideal_bounds(last_button_index) : view_model_ 1557 ash/shelf/shelf_view.cc view_model_->Add(view, model_index); view_model_ 1565 ash/shelf/shelf_view.cc view->SetBoundsRect(view_model_->ideal_bounds(model_index)); view_model_ 1589 ash/shelf/shelf_view.cc views::View* view = view_model_->view_at(model_index); view_model_ 1590 ash/shelf/shelf_view.cc view_model_->Remove(model_index); view_model_ 1599 ash/shelf/shelf_view.cc view_model_->view_size() - 1); view_model_ 1626 ash/shelf/shelf_view.cc scoped_ptr<views::View> old_view(view_model_->view_at(model_index)); view_model_ 1631 ash/shelf/shelf_view.cc gfx::Rect old_ideal_bounds = view_model_->ideal_bounds(model_index); view_model_ 1632 ash/shelf/shelf_view.cc view_model_->Remove(model_index); view_model_ 1635 ash/shelf/shelf_view.cc view_model_->Add(new_view, model_index); view_model_ 1636 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(model_index, old_ideal_bounds); view_model_ 1641 ash/shelf/shelf_view.cc views::View* view = view_model_->view_at(model_index); view_model_ 1667 ash/shelf/shelf_view.cc view_model_->Move(start_index, target_index); view_model_ 1693 ash/shelf/shelf_view.cc int index = view_model_->GetIndexOfView(view); view_model_ 1699 ash/shelf/shelf_view.cc if (view_model_->view_size() <= 1 || !item_delegate->IsDraggable()) view_model_ 1768 ash/shelf/shelf_view.cc int view_index = view_model_->GetIndexOfView(view); view_model_ 1788 ash/shelf/shelf_view.cc int view_index = view_model_->GetIndexOfView(sender); view_model_ 1864 ash/shelf/shelf_view.cc int view_index = view_model_->GetIndexOfView(source); view_model_ 1992 ash/shelf/shelf_view.cc for (int index = 0; index < view_model_->view_size(); index++) { view_model_ 1993 ash/shelf/shelf_view.cc views::View* view = view_model_->view_at(index); view_model_ 2018 ash/shelf/shelf_view.cc int view_index = view_model_->GetIndexOfView(view); view_model_ 133 ash/shelf/shelf_view.h return view_model_.get(); view_model_ 341 ash/shelf/shelf_view.h scoped_ptr<views::ViewModel> view_model_; view_model_ 46 ash/test/shelf_view_test_api.cc return shelf_view_->view_model_->view_size(); view_model_ 54 ash/test/shelf_view_test_api.cc return static_cast<ShelfButton*>(shelf_view_->view_model_->view_at(index)); view_model_ 75 ash/test/shelf_view_test_api.cc return shelf_view_->view_model_->view_at(index)->bounds(); view_model_ 79 ash/test/shelf_view_test_api.cc return shelf_view_->view_model_->ideal_bounds(index); view_model_ 21 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc view_model_(view_model), view_model_ 123 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc gfx::Rect mini_bounds(view_model_->ideal_bounds(i)); view_model_ 125 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc view_model_->set_ideal_bounds(i, mini_bounds); view_model_ 248 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc for (int i = 0; i < view_model_->view_size(); ++i) { view_model_ 253 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc result += base::IntToString(view_model_->ideal_bounds(i).x()); view_model_ 367 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc view_model_->ideal_bounds(i - 1).x() + tab_offset()); view_model_ 435 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc gfx::Rect mini_bounds(view_model_->ideal_bounds(i)); view_model_ 440 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc view_model_->set_ideal_bounds(i, mini_bounds); view_model_ 532 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc view_model_->set_ideal_bounds(index, gfx::Rect(gfx::Point(x, 0), size_)); view_model_ 190 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h int ideal_x(int index) const { return view_model_->ideal_bounds(index).x(); } view_model_ 199 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h int tab_count() const { return view_model_->view_size(); } view_model_ 220 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h views::ViewModel* view_model_; view_model_ 51 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc data.stacked_offset, 4, &view_model_)); view_model_ 67 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc view_model_.Add(child_view, index); view_model_ 77 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc view_model_.Clear(); view_model_ 87 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (int i = 0; i < view_model_.view_size(); ++i) { view_model_ 89 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Rect bounds(view_model_.ideal_bounds(i)); view_model_ 92 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc view_model_.set_ideal_bounds(i, bounds); view_model_ 98 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (int i = 0; i < view_model_.view_size(); ++i) { view_model_ 101 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc result += base::IntToString(view_model_.ideal_bounds(i).x()); view_model_ 108 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (int i = 0; i < view_model_.view_size(); ++i) { view_model_ 113 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc result += base::IntToString(view_model_.ideal_bounds(i).x()); view_model_ 123 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc for (int j = 1; j < view_model_.view_size(); ++j) view_model_ 128 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc return view_model_.ideal_bounds(index).x(); view_model_ 132 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc views::ViewModel view_model_; view_model_ 142 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc StackedTabStripLayout layout(gfx::Size(100, 10), -10, 2, 4, &view_model_); view_model_ 390 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc int old_x = view_model_.ideal_bounds(test_data[i].remove_index).x(); view_model_ 391 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc view_model_.Remove(test_data[i].remove_index); view_model_ 454 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc StackedTabStripLayout layout(gfx::Size(160, 10), -27, 6, 4, &view_model_); view_model_ 491 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc view_model_.MoveViewOnly(test_data[i].from, test_data[i].to); view_model_ 495 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc view_model_.set_ideal_bounds(j, bounds); view_model_ 510 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Size(100, 10), -10, 2, 4, &view_model_)); view_model_ 531 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Size(100, 10), -10, 2, 4, &view_model_)); view_model_ 49 ui/app_list/views/app_list_folder_view.cc view_model_(new views::ViewModel), view_model_ 55 ui/app_list/views/app_list_folder_view.cc view_model_->Add(folder_header_view_, kIndexFolderHeader); view_model_ 66 ui/app_list/views/app_list_folder_view.cc view_model_->Add(items_grid_view_, kIndexChildItems); view_model_ 124 ui/app_list/views/app_list_folder_view.cc views::ViewModelUtils::SetViewBoundsToIdealBounds(*view_model_); view_model_ 174 ui/app_list/views/app_list_folder_view.cc view_model_->set_ideal_bounds(kIndexFolderHeader, header_frame); view_model_ 178 ui/app_list/views/app_list_folder_view.cc view_model_->set_ideal_bounds(kIndexChildItems, grid_frame); view_model_ 110 ui/app_list/views/app_list_folder_view.h scoped_ptr<views::ViewModel> view_model_; view_model_ 376 ui/app_list/views/apps_grid_view.cc for (int i = 0; i < view_model_.view_size(); ++i) { view_model_ 377 ui/app_list/views/apps_grid_view.cc view_model_.view_at(i)->SetVisible(true); view_model_ 641 ui/app_list/views/apps_grid_view.cc gfx::Rect bounds = view_model_.ideal_bounds(i); view_model_ 682 ui/app_list/views/apps_grid_view.cc DCHECK(index >= 0 && index < view_model_.view_size()); view_model_ 683 ui/app_list/views/apps_grid_view.cc return static_cast<AppListItemView*>(view_model_.view_at(index)); view_model_ 688 ui/app_list/views/apps_grid_view.cc view_model_.view_size()); view_model_ 737 ui/app_list/views/apps_grid_view.cc view_model_.Add(drag_view_, view_model_.view_size()); view_model_ 768 ui/app_list/views/apps_grid_view.cc int end = std::min(view_model_.view_size(), view_model_ 771 ui/app_list/views/apps_grid_view.cc AppListItemView* v = static_cast<AppListItemView*>(view_model_.view_at(i)); view_model_ 809 ui/app_list/views/apps_grid_view.cc for (int i = 0; i < view_model_.view_size(); ++i) { view_model_ 810 ui/app_list/views/apps_grid_view.cc views::View* view = view_model_.view_at(i); view_model_ 812 ui/app_list/views/apps_grid_view.cc view->SetBoundsRect(view_model_.ideal_bounds(i)); view_model_ 883 ui/app_list/views/apps_grid_view.cc view_model_.Clear(); view_model_ 888 ui/app_list/views/apps_grid_view.cc view_model_.Add(view, i); view_model_ 898 ui/app_list/views/apps_grid_view.cc int total_page = view_model_.view_size() && tiles_per_page() view_model_ 899 ui/app_list/views/apps_grid_view.cc ? (view_model_.view_size() - 1) / tiles_per_page() + 1 view_model_ 973 ui/app_list/views/apps_grid_view.cc GetModelIndexFromIndex(index) < view_model_.view_size(); view_model_ 978 ui/app_list/views/apps_grid_view.cc const int model_index = view_model_.GetIndexOfView(view); view_model_ 990 ui/app_list/views/apps_grid_view.cc return view_model_.view_at(model_index); view_model_ 1024 ui/app_list/views/apps_grid_view.cc int last_item_slot = (view_model_.view_size() - 1) % tiles_per_page(); view_model_ 1063 ui/app_list/views/apps_grid_view.cc view_model_.view_size() + pulsing_blocks_model_.view_size(); view_model_ 1066 ui/app_list/views/apps_grid_view.cc if (i < view_model_.view_size() && view_model_.view_at(i) == drag_view_) { view_model_ 1104 ui/app_list/views/apps_grid_view.cc if (i < view_model_.view_size()) { view_model_ 1105 ui/app_list/views/apps_grid_view.cc view_model_.set_ideal_bounds(i, tile_slot); view_model_ 1107 ui/app_list/views/apps_grid_view.cc pulsing_blocks_model_.set_ideal_bounds(i - view_model_.view_size(), view_model_ 1119 ui/app_list/views/apps_grid_view.cc for (int i = 0; i < view_model_.view_size(); ++i) { view_model_ 1120 ui/app_list/views/apps_grid_view.cc views::View* view = view_model_.view_at(i); view_model_ 1124 ui/app_list/views/apps_grid_view.cc const gfx::Rect& target = view_model_.ideal_bounds(i); view_model_ 1254 ui/app_list/views/apps_grid_view.cc (view_model_.view_size() - 1) % tiles_per_page(), view_model_ 1354 ui/app_list/views/apps_grid_view.cc gfx::Rect view_ideal_bounds = view_model_.ideal_bounds( view_model_ 1355 ui/app_list/views/apps_grid_view.cc view_model_.GetIndexOfView(folder_item_view)); view_model_ 1571 ui/app_list/views/apps_grid_view.cc int current_model_index = view_model_.GetIndexOfView(item_view); view_model_ 1580 ui/app_list/views/apps_grid_view.cc view_model_.Move(current_model_index, target_model_index); view_model_ 1609 ui/app_list/views/apps_grid_view.cc int target_view_index = view_model_.GetIndexOfView(target_view); view_model_ 1615 ui/app_list/views/apps_grid_view.cc view_model_.Add(target_folder_view, target_view_index); view_model_ 1623 ui/app_list/views/apps_grid_view.cc int drag_view_index = view_model_.GetIndexOfView(drag_view_); view_model_ 1624 ui/app_list/views/apps_grid_view.cc view_model_.Remove(drag_view_index); view_model_ 1645 ui/app_list/views/apps_grid_view.cc int current_model_index = view_model_.GetIndexOfView(item_view); view_model_ 1650 ui/app_list/views/apps_grid_view.cc view_model_.Move(current_model_index, target_model_index); view_model_ 1691 ui/app_list/views/apps_grid_view.cc int target_view_index = view_model_.GetIndexOfView(target_view); view_model_ 1695 ui/app_list/views/apps_grid_view.cc view_model_.Add(new_folder_view, target_view_index); view_model_ 1708 ui/app_list/views/apps_grid_view.cc int drag_view_index = view_model_.GetIndexOfView(drag_view_); view_model_ 1709 ui/app_list/views/apps_grid_view.cc view_model_.Remove(drag_view_index); view_model_ 1725 ui/app_list/views/apps_grid_view.cc int folder_model_index = view_model_.GetIndexOfView(activated_item_view()); view_model_ 1736 ui/app_list/views/apps_grid_view.cc view_model_.Add(last_item_view, last_item_index); view_model_ 1746 ui/app_list/views/apps_grid_view.cc int drag_view_index = view_model_.GetIndexOfView(drag_item_view); view_model_ 1747 ui/app_list/views/apps_grid_view.cc view_model_.Remove(drag_view_index); view_model_ 1778 ui/app_list/views/apps_grid_view.cc int end = std::min(view_model_.view_size(), start + tiles_per_page()); view_model_ 1781 ui/app_list/views/apps_grid_view.cc static_cast<AppListItemView*>(view_model_.view_at(i)); view_model_ 1787 ui/app_list/views/apps_grid_view.cc views::View* item_view = view_model_.view_at(index); view_model_ 1788 ui/app_list/views/apps_grid_view.cc view_model_.Remove(index); view_model_ 1824 ui/app_list/views/apps_grid_view.cc view_model_.Add(view, index); view_model_ 1865 ui/app_list/views/apps_grid_view.cc view_model_.Move(from_index, to_index); view_model_ 2078 ui/app_list/views/apps_grid_view.cc ? view_model_.view_size() - 1 view_model_ 2079 ui/app_list/views/apps_grid_view.cc : view_model_.view_size(); view_model_ 2094 ui/app_list/views/apps_grid_view.cc for (int i = 0; i < view_model_.view_size(); ++i) { view_model_ 2095 ui/app_list/views/apps_grid_view.cc views::View* view = view_model_.view_at(i); view_model_ 193 ui/app_list/views/apps_grid_view.h const views::ViewModel* view_model_for_test() const { return &view_model_; } view_model_ 464 ui/app_list/views/apps_grid_view.h views::ViewModel view_model_; view_model_ 55 ui/app_list/views/contents_view.cc view_model_(new views::ViewModel), view_model_ 65 ui/app_list/views/contents_view.cc view_model_->Add(apps_container_view_, kIndexAppsContainer); view_model_ 70 ui/app_list/views/contents_view.cc view_model_->Add(search_results_view, kIndexSearchResults); view_model_ 72 ui/app_list/views/contents_view.cc GetSearchResultListView(view_model_.get())->SetResults(model->results()); view_model_ 104 ui/app_list/views/contents_view.cc GetSearchResultListView(view_model_.get()); view_model_ 135 ui/app_list/views/contents_view.cc for (int i = 0; i < view_model_->view_size(); ++i) { view_model_ 136 ui/app_list/views/contents_view.cc view_model_->set_ideal_bounds(i, view_model_ 162 ui/app_list/views/contents_view.cc view_model_->set_ideal_bounds(kIndexAppsContainer, container_frame); view_model_ 163 ui/app_list/views/contents_view.cc view_model_->set_ideal_bounds(kIndexSearchResults, results_frame); view_model_ 168 ui/app_list/views/contents_view.cc for (int i = 0; i < view_model_->view_size(); ++i) { view_model_ 169 ui/app_list/views/contents_view.cc bounds_animator_->AnimateViewTo(view_model_->view_at(i), view_model_ 170 ui/app_list/views/contents_view.cc view_model_->ideal_bounds(i)); view_model_ 188 ui/app_list/views/contents_view.cc const gfx::Size container_size = GetAppsContainerView(view_model_.get())-> view_model_ 191 ui/app_list/views/contents_view.cc GetSearchResultListView(view_model_.get())->GetPreferredSize(); view_model_ 200 ui/app_list/views/contents_view.cc views::ViewModelUtils::SetViewBoundsToIdealBounds(*view_model_); view_model_ 206 ui/app_list/views/contents_view.cc return GetAppsContainerView(view_model_.get())->OnKeyPressed(event); view_model_ 208 ui/app_list/views/contents_view.cc return GetSearchResultListView(view_model_.get())->OnKeyPressed(event); view_model_ 87 ui/app_list/views/contents_view.h scoped_ptr<views::ViewModel> view_model_; view_model_ 20 ui/app_list/views/test/apps_grid_view_test_api.cc return view_->view_model_.view_at(index);