Searched refs:selected_page (Results 1 – 11 of 11) sorted by relevance
/external/chromium_org/ui/app_list/views/ |
D | contents_switcher_view.cc | 65 int old_selected = pm.selected_page(); in TransitionChanged() 70 new_selected = pm.selected_page(); in TransitionChanged()
|
D | apps_grid_view.cc | 514 drag_start_page_ = pagination_model_.selected_page(); in InitiateDrag() 825 drag_start_page_ = pagination_model_.selected_page(); in InitiateDragFromReparentItemInRootLevelGridView() 883 int selected_page = std::max(0, pagination_model_.selected_page()); in Prerender() local 884 int start = std::max(0, (selected_page - kPrerenderPages) * tiles_per_page()); in Prerender() 886 (selected_page + 1 + kPrerenderPages) * tiles_per_page()); in Prerender() 1146 return SetSelectedItemByIndex(Index(pagination_model_.selected_page(), 0)); in MoveSelected() 1198 const int current_page = pagination_model_.selected_page(); in CalculateIdealBounds() 1444 std::min(Index(pagination_model_.selected_page(), row * cols_ + col), in CalculateReorderDropTarget() 1683 new_page_flip_target = pagination_model_.selected_page() - 1; in MaybeStartPageFlipTimer() 1685 new_page_flip_target = pagination_model_.selected_page() + 1; in MaybeStartPageFlipTimer() [all …]
|
D | app_list_main_view.cc | 255 const int selected_page = in PreloadIcons() local 256 std::max(0, GetAppsPaginationModel()->selected_page()); in PreloadIcons() 263 const int start_model_index = selected_page * tiles_per_page; in PreloadIcons()
|
D | page_switcher.cc | 126 SelectedPageChanged(-1, model->selected_page()); in PageSwitcher() 233 button->SetSelectedRange(i == model_->selected_page() ? 1 : 0); in TotalPagesChanged() 251 const int current_page = model_->selected_page(); in TransitionChanged()
|
D | apps_grid_view_unittest.cc | 240 EXPECT_EQ(0, GetPaginationModel()->selected_page()); in TEST_F() 245 EXPECT_EQ(0, GetPaginationModel()->selected_page()); in TEST_F() 247 EXPECT_EQ(0, GetPaginationModel()->selected_page()); in TEST_F() 251 EXPECT_EQ(1, GetPaginationModel()->selected_page()); in TEST_F() 255 EXPECT_EQ(kPages - 1, GetPaginationModel()->selected_page()); in TEST_F() 597 EXPECT_EQ(0, GetPaginationModel()->selected_page()); in TEST_F() 612 EXPECT_EQ(2, GetPaginationModel()->selected_page()); in TEST_F() 626 EXPECT_EQ(0, GetPaginationModel()->selected_page()); in TEST_F()
|
D | contents_view.cc | 205 int current_page = std::max(0, pagination_model_.selected_page()); in UpdatePageBounds()
|
D | app_list_view_unittest.cc | 267 EXPECT_EQ(0, GetPaginationModel()->selected_page()); in RunDisplayTest()
|
/external/chromium_org/ui/app_list/ |
D | pagination_model_unittest.cc | 416 EXPECT_EQ(0, pagination_.selected_page()); in TEST_F() 419 EXPECT_EQ(1, pagination_.selected_page()); in TEST_F() 423 EXPECT_EQ(1, pagination_.selected_page()); in TEST_F() 425 EXPECT_EQ(1, pagination_.selected_page()); in TEST_F() 430 EXPECT_EQ(0, pagination_.selected_page()); in TEST_F()
|
D | pagination_model.h | 89 int selected_page() const { return selected_page_; } in selected_page() function
|
/external/chromium_org/pdf/ |
D | thumbnail_control.cc | 163 int selected_page = engine_->GetMostVisiblePage(); in Paint() local 168 if (visible_pages_[i].index == selected_page) { in Paint() 220 if (visible_pages_[i].index != selected_page) in Paint()
|
/external/chromium_org/ash/wm/ |
D | app_list_controller.cc | 505 const int current_page = pagination_model->selected_page(); in TransitionChanged()
|