Home
last modified time | relevance | path

Searched refs:selected_page (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/ui/app_list/views/
Dcontents_switcher_view.cc65 int old_selected = pm.selected_page(); in TransitionChanged()
70 new_selected = pm.selected_page(); in TransitionChanged()
Dapps_grid_view.cc514 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 …]
Dapp_list_main_view.cc255 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()
Dpage_switcher.cc126 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()
Dapps_grid_view_unittest.cc240 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()
Dcontents_view.cc205 int current_page = std::max(0, pagination_model_.selected_page()); in UpdatePageBounds()
Dapp_list_view_unittest.cc267 EXPECT_EQ(0, GetPaginationModel()->selected_page()); in RunDisplayTest()
/external/chromium_org/ui/app_list/
Dpagination_model_unittest.cc416 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()
Dpagination_model.h89 int selected_page() const { return selected_page_; } in selected_page() function
/external/chromium_org/pdf/
Dthumbnail_control.cc163 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/
Dapp_list_controller.cc505 const int current_page = pagination_model->selected_page(); in TransitionChanged()