Home
last modified time | relevance | path

Searched refs:top_level_item_list (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/ui/app_list/
Dapp_list_model_unittest.cc105 return GetItemListContents(model_.top_level_item_list()); in GetModelContents()
136 AppListItem* item0 = model_.top_level_item_list()->item_at(0); in TEST_F()
139 AppListItem* item1 = model_.top_level_item_list()->item_at(1); in TEST_F()
162 ASSERT_EQ(num_apps + 1, model_.top_level_item_list()->item_count()); in TEST_F()
164 model_.top_level_item_list()->item_at(num_apps)->id()); in TEST_F()
166 AppListItem* item0 = model_.top_level_item_list()->item_at(0); in TEST_F()
168 AppListItem* item1 = model_.top_level_item_list()->item_at(1); in TEST_F()
175 EXPECT_EQ(num_apps + 2, model_.top_level_item_list()->item_count()); in TEST_F()
185 ASSERT_EQ(num_apps + 1, model_.top_level_item_list()->item_count()); in TEST_F()
188 model_.top_level_item_list()->MoveItem(num_apps, 1); in TEST_F()
[all …]
Dapp_list_model.h127 AppListItemList* top_level_item_list() { return top_level_item_list_.get(); } in top_level_item_list() function
Dapp_list_model.cc68 DCHECK(!top_level_item_list()->FindItem(item->id())); in AddItem()
/external/chromium_org/chrome/browser/ui/app_list/test/
Dfast_show_pickler_unittest.cc21 ASSERT_EQ(m1->top_level_item_list()->item_count(), in CheckIsSame()
22 m2->top_level_item_list()->item_count()); in CheckIsSame()
23 for (size_t i = 0; i < m1->top_level_item_list()->item_count(); i++) { in CheckIsSame()
24 ASSERT_EQ(m1->top_level_item_list()->item_at(i)->id(), in CheckIsSame()
25 m2->top_level_item_list()->item_at(i)->id()); in CheckIsSame()
26 ASSERT_EQ(m1->top_level_item_list()->item_at(i)->name(), in CheckIsSame()
27 m2->top_level_item_list()->item_at(i)->name()); in CheckIsSame()
28 ASSERT_EQ(m1->top_level_item_list()->item_at(i)->short_name(), in CheckIsSame()
29 m2->top_level_item_list()->item_at(i)->short_name()); in CheckIsSame()
30 CompareImages(m1->top_level_item_list()->item_at(i)->icon(), in CheckIsSame()
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_app_list_helper.cc61 if (service->model()->top_level_item_list()->item_count() != in AppListMatchesVerifier()
62 verifier->model()->top_level_item_list()->item_count()) { in AppListMatchesVerifier()
64 << service->model()->top_level_item_list()->item_count() in AppListMatchesVerifier()
66 << verifier->model()->top_level_item_list()->item_count(); in AppListMatchesVerifier()
70 for (size_t i = 0; i < service->model()->top_level_item_list()->item_count(); in AppListMatchesVerifier()
72 AppListItem* item1 = service->model()->top_level_item_list()->item_at(i); in AppListMatchesVerifier()
73 AppListItem* item2 = verifier->model()->top_level_item_list()->item_at(i); in AppListMatchesVerifier()
80 if (!verifier->model()->top_level_item_list()->FindItemIndex(item1->id(), in AppListMatchesVerifier()
87 item2 = verifier->model()->top_level_item_list()->item_at(index2); in AppListMatchesVerifier()
123 service->model()->top_level_item_list()->MoveItem(from, to); in MoveApp()
[all …]
/external/chromium_org/ui/app_list/views/
Dapps_grid_view_unittest.cc107 apps_grid_view_->SetItemList(model_->top_level_item_list()); in SetUp()
129 for (size_t i = 0; i < model_->top_level_item_list()->item_count(); ++i) { in GetItemViewForPoint()
138 DCHECK_GT(model_->top_level_item_list()->item_count(), 0u); in GetItemTileRectAt()
254 model_->HighlightItemAt(model_->top_level_item_list()->item_count() - 1); in TEST_F()
331 EXPECT_EQ(model_->top_level_item_list()->item_count(), kTotalItems); in TEST_F()
340 EXPECT_EQ(kTotalItems - 1, model_->top_level_item_list()->item_count()); in TEST_F()
342 model_->top_level_item_list()->item_at(0)->GetItemType()); in TEST_F()
344 model_->top_level_item_list()->item_at(0)); in TEST_F()
360 EXPECT_EQ(kTotalItems - 2, model_->top_level_item_list()->item_count()); in TEST_F()
381 EXPECT_EQ(1u, model_->top_level_item_list()->item_count()); in TEST_F()
[all …]
Dapp_list_main_view.cc265 std::min(static_cast<int>(model_->top_level_item_list()->item_count()), in PreloadIcons()
270 AppListItem* item = model_->top_level_item_list()->item_at(i); in PreloadIcons()
Dapps_container_view.cc54 apps_grid_view_->SetItemList(model_->top_level_item_list()); in AppsContainerView()
Dapp_list_view_unittest.cc288 model->MergeItems(model->top_level_item_list()->item_at(0)->id(), in RunReshowWithOpenFolderTest()
289 model->top_level_item_list()->item_at(1)->id()); in RunReshowWithOpenFolderTest()
/external/chromium_org/ui/app_list/test/
Dapp_list_test_model.cc80 int start_index = static_cast<int>(top_level_item_list()->item_count()); in PopulateApps()
87 int start_index = static_cast<int>(top_level_item_list()->item_count()); in CreateAndPopulateFolderWithApps()
122 for (size_t i = 0; i < top_level_item_list()->item_count(); ++i) { in GetModelContent()
125 content += top_level_item_list()->item_at(i)->id(); in GetModelContent()
133 size_t nitems = top_level_item_list()->item_count(); in CreateItem()
139 top_level_item_list()->item_at(nitems - 1)->position().CreateAfter(); in CreateItem()
153 AppListItem* item = top_level_item_list()->item_at(index); in HighlightItemAt()
/external/chromium_org/chrome/browser/ui/app_list/
Dfast_show_pickler.cc202 if (!result->WriteInt((int)model->top_level_item_list()->item_count())) in PickleAppListModelForFastShow()
204 for (size_t i = 0; i < model->top_level_item_list()->item_count(); ++i) { in PickleAppListModelForFastShow()
206 model->top_level_item_list()->item_at(i))) { in PickleAppListModelForFastShow()
214 DCHECK_EQ(0u, dest->top_level_item_list()->item_count()); in CopyOver()
215 for (size_t i = 0; i < src->top_level_item_list()->item_count(); i++) { in CopyOver()
216 AppListItem* src_item = src->top_level_item_list()->item_at(i); in CopyOver()
Dextension_app_model_builder_unittest.cc38 for (size_t i = 0; i < model->top_level_item_list()->item_count(); ++i) { in GetModelContent()
41 content += model->top_level_item_list()->item_at(i)->name(); in GetModelContent()
150 EXPECT_EQ(kDefaultAppCount, model_->top_level_item_list()->item_count()); in TEST_F()
361 EXPECT_EQ(kDefaultAppCount + 1, model_->top_level_item_list()->item_count()); in TEST_F()
Dextension_app_model_builder.cc50 model_->top_level_item_list()->RemoveObserver(this); in ~ExtensionAppModelBuilder()
69 model_->top_level_item_list()->AddObserver(this); in InitializeWithProfile()
348 app_list::AppListItemList* item_list = model_->top_level_item_list(); in OnListItemMoved()
Dapp_list_syncable_service.cc895 AppListItemList* item_list = model_->top_level_item_list(); in GetOemFolderPos()
/external/chromium_org/ui/app_list/cocoa/
Dapps_grid_controller.mm189 oldModel->top_level_item_list()->RemoveObserver(bridge_.get());
210 newModel->top_level_item_list()->AddObserver(bridge_.get());
211 for (size_t i = 0; i < newModel->top_level_item_list()->item_count(); ++i) {
213 newModel->top_level_item_list()->item_at(i);
524 app_list::AppListItemList* itemList = [self model]->top_level_item_list();
Dapps_grid_controller_unittest.mm452 model()->top_level_item_list()->item_at(2);
478 app_list::AppListItemList* item_list = model()->top_level_item_list();
502 model()->top_level_item_list()->MoveItem(1, 2);
539 app_list::AppListItemList* item_list = model()->top_level_item_list();
560 model()->top_level_item_list()->item_at(kItemsPerPage);
596 model()->top_level_item_list()->item_at(0);
/external/chromium_org/ui/app_list/demo/
Dapp_list_demo_views.cc73 app_list::AppListItemList* item_list = GetTestModel()->top_level_item_list(); in InitView()
/external/chromium_org/athena/home/
Dathena_start_page_view.cc213 view_delegate->GetModel()->top_level_item_list(); in AthenaStartPageView()