Home | History | Annotate | Download | only in browser

Lines Matching refs:Folder

127     private static class Folder {
130 Folder(String name, long id) {
147 private Uri getUriForFolder(long folder) {
150 if (folder == mRootFolder && account != null) {
155 return BrowserContract.Bookmarks.buildFolderUri(folder);
161 Folder folderData = (Folder) data;
162 long folder = folderData.Id;
166 loader.setUri(getUriForFolder(folder));
208 Folder folder = (Folder) data;
209 mCurrentFolder = folder.Id;
211 // The Spinner changed to show "Other folder ..." Change
213 // editing a folder, 1 otherwise.
216 mFolderAdapter.setOtherFolderDisplayText(folder.Name);
220 // The user canceled selecting a folder. Revert back to the earlier
229 if (data != null && ((Folder) data).Id == mCurrentFolder) {
230 // We are showing the correct folder hierarchy. The
231 // folder selector will say "Other folder..." Change it
232 // to say the name of the folder once again.
233 mFolderAdapter.setOtherFolderDisplayText(((Folder) data).Name);
235 // We are not showing the correct folder hierarchy.
236 // Clear the Crumbs and find the proper folder
251 // We are showing the folder selector.
255 // User has selected a folder. Go back to the opening page
328 * Finish naming a folder, and close the IME
329 * @param cancel If true, the new folder is not created. If false, the new
330 * folder is created and the user is taken inside it.
346 // Add the folder to the database
354 currentFolder = ((Folder) data).Id;
383 mCrumbs.pushView(foldername, new Folder(foldername, id));
413 // editing folder case. For now, just don't show the last used
414 // folder at all to prevent any chance of the user adding a parent
415 // folder to a child folder
476 currentFolder = ((Folder) data).Id;
520 * @param folderToFind "_id" of the folder to move to.
530 long folder;
532 folder = cursor.getLong(idIndex);
533 } while (folder != folderToFind && cursor.moveToNext());
535 throw new AssertionError("Folder(id=" + folderToFind
544 // Switch to the folder that was clicked on.
552 // Set the selection to the folder namer so it will be in
592 // Do not show the empty view if the user is creating a new folder.
651 mFolder = (FolderSpinner) findViewById(R.id.folder);
709 // Called once we have determined which folder is the root folder
721 new Folder(name, mRootFolder));
729 // Since we're not in the root folder, change the selection to other
730 // folder now. The text will get changed once we select the correct
731 // folder.
736 // Initially the "Bookmarks" folder should be showing, rather than
737 // the home screen. In the editing folder case, home screen is not
738 // an option, so "Bookmarks" folder is already at the top.
742 // Find the contents of the current folder
1125 // Figure out the last used folder/account