/external/chromium_org/ui/app_list/ |
app_list_model.cc | 74 const std::string& folder_id) { 75 if (folder_id.empty()) 77 DVLOG(2) << "AddItemToFolder: " << item->id() << ": " << folder_id; 78 DCHECK(!item->IsInFolder() || item->folder_id() == folder_id); 80 AppListFolderItem* dest_folder = FindOrCreateFolderItem(folder_id); 101 CHECK(target_item->folder_id().empty()); 156 const std::string& folder_id) { 157 DVLOG(2) << "MoveItemToFolder: " << folder_id 159 if (item->folder_id() == folder_id 364 std::string folder_id = folder->id(); local [all...] |
app_list_model_unittest.cc | 310 std::string folder_id = model_.MergeItems(folder2_id, item0->id()); local 311 EXPECT_EQ(folder2_id, folder_id); 331 EXPECT_EQ(folder->id(), item0->folder_id()); 344 std::string folder_id = folder->id(); local 345 model_.MoveItemToFolder(item0, folder_id); 346 model_.MoveItemToFolder(item1, folder_id); 347 AppListFolderItem* folder_item = model_.FindFolderItem(folder_id); 349 EXPECT_EQ(folder_id, item0->folder_id()); 350 EXPECT_EQ(folder_id, item1->folder_id()) 439 std::string folder_id = folder->id(); local 451 std::string folder_id = folder->id(); local 476 std::string folder_id = folder->id(); local [all...] |
app_list_item.h | 60 const std::string& folder_id() const { return folder_id_; } function in class:app_list::AppListItem 115 void set_folder_id(const std::string& folder_id) { folder_id_ = folder_id; }
|
app_list_model.h | 61 // Adds |item| to an existing folder or creates a new folder. If |folder_id| 65 const std::string& folder_id); 78 // Move |item| to the folder matching |folder_id| or to the top level if 79 // |folder_id| is empty. |item|->position will determine where the item 81 void MoveItemToFolder(AppListItem* item, const std::string& folder_id); 83 // Move |item| to the folder matching |folder_id| or to the top level if 84 // |folder_id| is empty. The item will be inserted before |position| or at 91 const std::string& folder_id, 95 // specified by |item|->folder_id(). If |new_position| is invalid, move the 132 // Returns an existing folder matching |folder_id| or creates a new folder [all...] |
/external/libmtp/examples/ |
emptyfolders.c | 36 if(file->parent_id == folderlist->folder_id) { // folder has a child 44 printf("empty folder %u (%s)\n",folderlist->folder_id,folderlist->name); 46 if (LIBMTP_Delete_Object(device,folderlist->folder_id) != 0) { 47 printf("Couldn't delete folder %u\n",folderlist->folder_id);
|
folders.c | 33 printf("%u\t", folderlist->folder_id);
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
sync_app_list_helper.h | 37 // Moves an app in |profile| to |folder_id|. 40 const std::string& folder_id); 42 // Moves an app in |profile| from |folder_id| to the top level list of apps. 45 const std::string& folder_id);
|
two_client_app_list_sync_test.cc | 517 std::string folder_id = "Folder 0"; local 519 GetProfile(0), index, folder_id); 521 verifier(), index, folder_id); local 542 std::string folder_id = "Folder 0"; local 548 GetProfile(0), item_index, folder_id); 550 verifier(), item_index, folder_id); local 557 GetProfile(0), 0, folder_id); 559 verifier(), 0, folder_id); local 567 GetProfile(0), 0, folder_id); 569 verifier(), 0, folder_id); local 580 verifier(), item_index, folder_id); local [all...] |
sync_app_list_helper.cc | 128 const std::string& folder_id) { 132 service->model()->top_level_item_list()->item_at(index), folder_id); 137 const std::string& folder_id) { 140 AppListFolderItem* folder = service->model()->FindFolderItem(folder_id); 142 LOG(ERROR) << "Folder not found: " << folder_id;
|
/external/chromium_org/ui/app_list/test/ |
app_list_test_model.h | 42 AppListItem* AddItemToFolder(AppListItem* item, const std::string& folder_id); 43 void MoveItemToFolder(AppListItem* item, const std::string& folder_id); 56 AppListFolderItem* CreateSingleItemFolder(const std::string& folder_id,
|
app_list_test_model.cc | 68 const std::string& folder_id) { 69 return AppListModel::AddItemToFolder(make_scoped_ptr(item), folder_id); 73 const std::string& folder_id) { 74 AppListModel::MoveItemToFolder(item, folder_id); 110 const std::string& folder_id, 113 AddItemToFolder(item, folder_id); 114 AppListItem* folder_item = FindItem(folder_id);
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
fake_drive_service_helper.h | 31 std::string* folder_id); 35 std::string* folder_id); 63 const std::string& folder_id, 66 const std::string& folder_id,
|
fake_drive_service_helper.cc | 68 std::string* folder_id) { 70 GDataErrorCode error = AddFolder(root_folder_id, title, folder_id); 76 root_folder_id, *folder_id, 80 if (error != google_apis::HTTP_NO_CONTENT && folder_id) 88 std::string* folder_id) { 97 if (error == google_apis::HTTP_CREATED && folder_id) 98 *folder_id = folder->file_id(); 235 const std::string& folder_id, 240 folder_id, 250 const std::string& folder_id, [all...] |
list_changes_task_unittest.cc | 103 void SetUpChangesInFolder(const std::string& folder_id) { 107 folder_id, "new file", "file contents", &new_file_id)); 111 folder_id, "new file", "file contents", 117 folder_id, "new folder", &new_folder_id)); 122 folder_id, "modified file", "file content", 132 folder_id, "trashed file", "file content",
|
local_to_remote_syncer_unittest.cc | 147 std::string folder_id; local 150 parent_folder_id, title, &folder_id)); 151 return folder_id; 276 std::string folder_id = GetFileIDForParentAndTitle(app_root, "folder"); local 277 ASSERT_FALSE(folder_id.empty()); 281 VerifyTitleUniqueness(folder_id, "file2", google_apis::ENTRY_KIND_FILE); 497 const std::string folder_id = CreateRemoteFolder(app_root, "foo"); local 511 EXPECT_TRUE(folder_id == entries[0]->resource_id() || 512 folder_id == entries[1]->resource_id()); 516 folder_id, &trackers)) [all...] |
metadata_database.h | 205 const std::string& folder_id, 305 // Adds |child_file_ids| to |folder_id| as its children. 308 void PopulateFolderByChildList(const std::string& folder_id,
|
/external/chromium_org/google_apis/drive/ |
drive_api_url_generator.h | 75 // Returns a URL to add a resource to a directory with |folder_id|. 76 GURL GetChildrenInsertUrl(const std::string& folder_id) const; 79 // with |folder_id|. 81 const std::string& folder_id) const;
|
drive_api_requests.h | 596 const std::string& folder_id() const { return folder_id_; } function in class:google_apis::drive::ChildrenInsertRequest 597 void set_folder_id(const std::string& folder_id) { 598 folder_id_ = folder_id; 639 const std::string& folder_id() const { return folder_id_; } function in class:google_apis::drive::ChildrenDeleteRequest 640 void set_folder_id(const std::string& folder_id) { 641 folder_id_ = folder_id;
|
/packages/apps/Launcher2/ |
fill_screens.py | 68 folder_id = id 74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
|
/packages/apps/Launcher3/ |
fill_screens.py | 68 folder_id = id 74 insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
|
/external/chromium_org/chrome/browser/ui/app_list/ |
fast_show_pickler.cc | 192 // Do not set folder_id, pass that to AppListModel::AddItemToFolder() instead. 221 dest->AddItemToFolder(dest_item.Pass(), src_item->folder_id()); 242 std::string folder_id = item->folder_id(); 243 model->AddItemToFolder(item.Pass(), folder_id);
|
app_list_syncable_service.cc | 63 sync_item->parent_id != app_item->folder_id()) { 64 sync_item->parent_id = app_item->folder_id(); 304 std::string folder_id; 307 folder_id = FindOrCreateOemFolder(); 308 VLOG_IF(2, !folder_id.empty()) 311 folder_id = sync_item->parent_id; 315 << " Folder: '" << folder_id << "'"; 316 model_->AddItemToFolder(app_item.Pass(), folder_id); 431 if (!is_oem && app_item->folder_id() == kOemFolderId) 433 else if (is_oem && app_item->folder_id() != kOemFolderId [all...] |
/external/chromium_org/chrome/utility/importer/ |
firefox_importer.h | 65 int folder_id,
|
/external/chromium_org/chrome/browser/android/bookmarks/ |
bookmarks_bridge.cc | 98 long folder_id = Java_BookmarkId_getId(env, j_folder_id_obj); local 100 const BookmarkNode* folder = GetFolderWithFallback(folder_id, type); 136 long folder_id = Java_BookmarkId_getId(env, j_folder_id_obj); local 138 const BookmarkNode* folder = GetFolderWithFallback(folder_id, type); 247 const BookmarkNode* BookmarksBridge::GetFolderWithFallback(long folder_id, 249 const BookmarkNode* folder = GetNodeByID(folder_id, type);
|
bookmarks_bridge.h | 62 const BookmarkNode* GetFolderWithFallback(long folder_id, int type);
|