HomeSort by relevance Sort by last modified time
    Searched refs:view_model_ (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/ui/app_list/views/
app_list_folder_view.cc 38 view_model_(new views::ViewModel),
42 view_model_->Add(folder_header_view_, kIndexFolderHeader);
52 view_model_->Add(items_grid_view_, kIndexChildItems);
76 views::ViewModelUtils::SetViewBoundsToIdealBounds(*view_model_);
91 view_model_->set_ideal_bounds(kIndexFolderHeader, header_frame);
95 view_model_->set_ideal_bounds(kIndexChildItems, grid_frame);
contents_view.cc 53 view_model_(new views::ViewModel),
63 view_model_->Add(apps_container_view_, kIndexAppsContainer);
68 view_model_->Add(search_results_view, kIndexSearchResults);
70 GetSearchResultListView(view_model_.get())->SetResults(model->results());
99 GetSearchResultListView(view_model_.get());
131 view_model_->set_ideal_bounds(kIndexAppsContainer, container_frame);
132 view_model_->set_ideal_bounds(kIndexSearchResults, results_frame);
137 for (int i = 0; i < view_model_->view_size(); ++i) {
138 bounds_animator_->AnimateViewTo(view_model_->view_at(i),
139 view_model_->ideal_bounds(i))
    [all...]
app_list_folder_view.h 58 scoped_ptr<views::ViewModel> view_model_; member in class:app_list::AppListFolderView
apps_grid_view.cc 629 gfx::Rect bounds = view_model_.ideal_bounds(i);
673 int end = std::min(view_model_.view_size(),
676 AppListItemView* v = static_cast<AppListItemView*>(view_model_.view_at(i));
714 for (int i = 0; i < view_model_.view_size(); ++i) {
715 views::View* view = view_model_.view_at(i);
717 view->SetBoundsRect(view_model_.ideal_bounds(i));
793 view_model_.Clear();
798 view_model_.Add(view, i);
809 if (view_model_.view_size() && tiles_per_page())
810 total_page += (view_model_.view_size() - 1) / tiles_per_page() + 1
    [all...]
contents_view.h 90 scoped_ptr<views::ViewModel> view_model_; member in class:app_list::ContentsView
apps_grid_view.h 142 const views::ViewModel* view_model_for_test() const { return &view_model_; }
260 // containing item located at |target| slot, also update |view_model_| for
353 views::ViewModel view_model_; member in class:app_list::AppsGridView
  /external/chromium_org/ui/app_list/views/test/
apps_grid_view_test_api.cc 20 return view_->view_model_.view_at(index);
  /external/chromium_org/ash/shelf/
shelf_view.cc 212 view_model_(view_model) {}
223 int index = view_model_->GetIndexOfView(starting_view);
225 return view_model_->view_at(0);
230 index = view_model_->view_size() - 1;
233 if (index >= view_model_->view_size())
236 return view_model_->view_at(index);
240 views::ViewModel* view_model_; member in class:ash::internal::__anon5953::LauncherFocusSearch
360 view_model_(new views::ViewModel),
388 focus_search_.reset(new LauncherFocusSearch(view_model_.get()));
408 view_model_->Add(child, static_cast<int>(i - items.begin()))
    [all...]
shelf_view.h 137 return view_model_.get();
175 // item in the model is set in |view_model_|.
345 scoped_ptr<views::ViewModel> view_model_; member in class:ash::internal::ShelfView
  /external/chromium_org/chrome/browser/ui/views/tabs/
stacked_tab_strip_layout_unittest.cc 51 data.stacked_offset, 4, &view_model_));
67 view_model_.Add(child_view, index);
77 view_model_.Clear();
87 for (int i = 0; i < view_model_.view_size(); ++i) {
89 gfx::Rect bounds(view_model_.ideal_bounds(i));
92 view_model_.set_ideal_bounds(i, bounds);
98 for (int i = 0; i < view_model_.view_size(); ++i) {
101 result += base::IntToString(view_model_.ideal_bounds(i).x());
108 for (int i = 0; i < view_model_.view_size(); ++i) {
113 result += base::IntToString(view_model_.ideal_bounds(i).x())
132 views::ViewModel view_model_; member in class:StackedTabStripLayoutTest
    [all...]
stacked_tab_strip_layout.h 190 int ideal_x(int index) const { return view_model_->ideal_bounds(index).x(); }
199 int tab_count() const { return view_model_->view_size(); }
220 views::ViewModel* view_model_; member in class:StackedTabStripLayout
stacked_tab_strip_layout.cc 21 view_model_(view_model),
123 gfx::Rect mini_bounds(view_model_->ideal_bounds(i));
125 view_model_->set_ideal_bounds(i, mini_bounds);
248 for (int i = 0; i < view_model_->view_size(); ++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));
440 view_model_->set_ideal_bounds(i, mini_bounds);
532 view_model_->set_ideal_bounds(index, gfx::Rect(gfx::Point(x, 0), size_));
  /external/chromium_org/ash/test/
shelf_view_test_api.cc 47 return shelf_view_->view_model_->view_size();
56 shelf_view_->view_model_->view_at(index));
77 return shelf_view_->view_model_->view_at(index)->bounds();
81 return shelf_view_->view_model_->ideal_bounds(index);

Completed in 2558 milliseconds