/external/chromium_org/ui/app_list/ |
D | app_list_model_unittest.cc | 105 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 …]
|
D | app_list_model.h | 127 AppListItemList* top_level_item_list() { return top_level_item_list_.get(); } in top_level_item_list() function
|
D | app_list_model.cc | 68 DCHECK(!top_level_item_list()->FindItem(item->id())); in AddItem()
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
D | fast_show_pickler_unittest.cc | 21 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/ |
D | sync_app_list_helper.cc | 61 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/ |
D | apps_grid_view_unittest.cc | 107 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 …]
|
D | app_list_main_view.cc | 265 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()
|
D | apps_container_view.cc | 54 apps_grid_view_->SetItemList(model_->top_level_item_list()); in AppsContainerView()
|
D | app_list_view_unittest.cc | 288 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/ |
D | app_list_test_model.cc | 80 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/ |
D | fast_show_pickler.cc | 202 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()
|
D | extension_app_model_builder_unittest.cc | 38 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()
|
D | extension_app_model_builder.cc | 50 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()
|
D | app_list_syncable_service.cc | 895 AppListItemList* item_list = model_->top_level_item_list(); in GetOemFolderPos()
|
/external/chromium_org/ui/app_list/cocoa/ |
D | apps_grid_controller.mm | 189 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();
|
D | apps_grid_controller_unittest.mm | 452 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/ |
D | app_list_demo_views.cc | 73 app_list::AppListItemList* item_list = GetTestModel()->top_level_item_list(); in InitView()
|
/external/chromium_org/athena/home/ |
D | athena_start_page_view.cc | 213 view_delegate->GetModel()->top_level_item_list(); in AthenaStartPageView()
|