/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | FolderPickerSelectorAdapter.java | 31 public FolderPickerSelectorAdapter(Context context, Cursor folders, argument 33 super(context, folders, initiallySelected, layout); 42 // We only want to show the non-Trash folders that can accept moved messages
|
H A D | EmailProvider.java | 438 * When we sync folders, we do two passes: First to create the mailbox rows, and second 465 // Top level folders can still have uninitialized parent keys. Update these 2796 * Local-only folders set totalCount < 0; such folders should substitute message count for 2925 * The "ORDER BY" clause for top level folders 3269 * Generate the "all folders" SQLite query, given a projection from UnifiedEmail. The list is 3307 // Special case for Search folders: only permit delete, do not try to give any other caps. 3312 // All folders support delete, except drafts. 3378 // All folders support delete 4131 * Returns a cursor over all the folders fo 5088 updateTimestamp(final Context context, String id, Uri[] folders) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | AddableFolderSelectorAdapter.java | 34 public AddableFolderSelectorAdapter(Context context, Cursor folders, argument 36 super(context, folders, selected, layout);
|
H A D | FolderSettingsObservable.java | 33 void setIncludedFolders(ArrayList<String> folders); argument 34 void setPartialFolders(ArrayList<String> folders); argument
|
H A D | SystemFolderSelectorAdapter.java | 29 public SystemFolderSelectorAdapter(Context context, Cursor folders, argument 31 super(context, folders, initiallySelected, layout); 34 public SystemFolderSelectorAdapter(Context context, Cursor folders, argument 36 super(context, folders, layout, excludedFolder); 47 * but allow other system folders. 51 // We only want to show system folders.
|
H A D | UserFolderHierarchicalFolderSelectorAdapter.java | 25 Context context, Cursor folders, int layout, Folder excludedFolder) { 26 super(context, folders, layout, excludedFolder); 24 UserFolderHierarchicalFolderSelectorAdapter( Context context, Cursor folders, int layout, Folder excludedFolder) argument
|
H A D | HierarchicalFolderSelectorAdapter.java | 42 public HierarchicalFolderSelectorAdapter(Context context, Cursor folders, argument 44 super(context, folders, initiallySelected, layout); 48 public HierarchicalFolderSelectorAdapter(Context context, Cursor folders, argument 50 super(context, folders, layout, excludedFolder);
|
H A D | ConversationUpdater.java | 161 * Assign the target conversations to the given folders, and remove them from all other folders 163 * @param folders the folders to assign the conversations to. 170 public void assignFolder(Collection<FolderOperation> folders, Collection<Conversation> target, argument
|
H A D | FolderDisplayer.java | 42 * Used to generate folder display information given a raw folders string. 43 * (The raw folders string can be obtained from {@link Conversation#getRawFolders()}.) 82 * Configure the FolderDisplayer object by filtering and copying from the list of raw folders. 84 * @param conv {@link Conversation} containing the folders to display. 112 * Helper function to calculate exactly how much space the displayed folders should take. 113 * @param folders the set of folders to display. 122 public static int[] measureFolderDimen(Set<Folder> folders, int maxCellWidth, argument 126 final int numDisplayedFolders = Math.min(maxFolderCount, folders.size()); 131 // This variable is calculated based on the number of folders w [all...] |
H A D | FolderSelectorAdapter.java | 51 * applying folders to one or more conversations. 80 // TODO: this should sort the system folders in the appropriate order 95 public FolderSelectorAdapter(Context context, Cursor folders, argument 99 createFolderRows(folders, selected); 102 public FolderSelectorAdapter(Context context, Cursor folders, argument 107 createFolderRows(folders, null); 110 protected void createFolderRows(Cursor folders, Set<String> selected) { argument 111 if (folders == null) { 114 final List<FolderRow> allFolders = new ArrayList<FolderRow>(folders.getCount()); 116 // Rows corresponding to user created, unchecked folders [all...] |
H A D | AbstractActivityController.java | 267 /** Listeners that are interested in changes to the recent folders. */ 321 * folders, critical UI settings like show/hide checkboxes, ... 346 * This loader is started when the user switches folders (in {@link #updateFolder(Folder)}, 349 * the current folder. When the user switches folders, the old loader is destroyed and a new 381 * The list of recent folders. Recent folders are shown in the DrawerFragment. The recent 382 * folders are tied to the current account being viewed. When the account is changed, 387 * recent folders, it issues an update on the Recent Folder URI. The underlying provider then 388 * does the appropriate thing to populate recent folders, and notify of a change on the cursor. 389 * Recent folders ar 3836 FolderDestruction(final Collection<Conversation> target, final Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch, boolean showUndo, int action, final Folder actionFolder) argument 3910 getFolderChange(Collection<Conversation> target, Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch, boolean showUndo, final boolean isMoveTo, final Folder actionFolder, UndoCallback undoCallback) argument 3920 getDeferredFolderChange(Collection<Conversation> target, Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch, boolean showUndo, final boolean isMoveTo, final Folder actionFolder, UndoCallback undoCallback) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | FolderList.java | 20 public final ImmutableList<Folder> folders; field in class:FolderList 26 folders = ImmutableList.of(); 28 folders = ImmutableList.copyOf(in); 33 folders = ImmutableList.copyOf(in.createTypedArrayList(Folder.CREATOR)); 43 dest.writeTypedList(folders); 88 return folders.equals(o); 93 return folders.hashCode();
|
H A D | Conversation.java | 265 * The column that needs to be updated to change the folders for a conversation. 651 return rawFolders.folders; 654 public void setRawFolders(FolderList folders) { argument 655 rawFolders = folders;
|
H A D | Folder.java | 52 * A folder is a collection of conversations, and perhaps other folders. 97 * Whether or not this folder has children folders. 114 * The content provider URI to return the list of child folders of this folder. 525 final HashMap<Uri, Folder> folders = new HashMap<Uri, Folder>(); 527 folders.put(f.folderUri.getComparisonUri(), f); 529 return folders; 619 // Show black text on a transparent swatch for system folders, effectively hiding the 650 // If we're using the default folders, make sure we show the parent icon 702 * Get just the uri's from an arraylist of folders. 704 public static String[] getUriArray(List<Folder> folders) { argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherModel.java | 125 // sBgItemsIdMap maps *all* the ItemInfos (shortcuts, folders, and widgets) created by 129 // sBgWorkspaceItems is passed to bindItems, which expects a list of all folders and shortcuts 131 // shortcuts within folders). 162 public void bindFolders(HashMap<Long,FolderInfo> folders); argument 358 item.container + ", not in the list of folders"; 1619 /** Filters the set of folders which are on the specified screen. */ 1622 HashMap<Long, FolderInfo> folders, 1628 currentScreenFolders.putAll(folders); 1631 for (long id : folders.keySet()) { 1633 FolderInfo folder = folders 1620 filterCurrentFolders(int currentScreen, HashMap<Long, ItemInfo> itemsIdMap, HashMap<Long, FolderInfo> folders, HashMap<Long, FolderInfo> currentScreenFolders, HashMap<Long, FolderInfo> otherScreenFolders) argument 1664 bindWorkspaceItems(final Callbacks oldCallbacks, final ArrayList<ItemInfo> workspaceItems, final ArrayList<LauncherAppWidgetInfo> appWidgets, final HashMap<Long, FolderInfo> folders, ArrayList<Runnable> deferredBindRunnables) argument 2521 findOrMakeFolder(HashMap<Long, FolderInfo> folders, long id) argument [all...] |
H A D | Launcher.java | 3546 public void bindFolders(final HashMap<Long, FolderInfo> folders) { argument 3549 bindFolders(folders); 3555 sFolders.putAll(folders);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherModel.java | 149 // sBgItemsIdMap maps *all* the ItemInfos (shortcuts, folders, and widgets) created by 153 // sBgWorkspaceItems is passed to bindItems, which expects a list of all folders and shortcuts 155 // shortcuts within folders). 190 public void bindFolders(LongArrayMap<FolderInfo> folders); argument 760 item.container + ", not in the list of folders"; 2114 // no special handling required for restored folders 2417 /** Filters the set of folders which are on the specified screen. */ 2420 LongArrayMap<FolderInfo> folders, 2424 int total = folders.size(); 2426 long id = folders 2418 filterCurrentFolders(long currentScreenId, LongArrayMap<ItemInfo> itemsIdMap, LongArrayMap<FolderInfo> folders, LongArrayMap<FolderInfo> currentScreenFolders, LongArrayMap<FolderInfo> otherScreenFolders) argument 2476 bindWorkspaceItems(final Callbacks oldCallbacks, final ArrayList<ItemInfo> workspaceItems, final ArrayList<LauncherAppWidgetInfo> appWidgets, final LongArrayMap<FolderInfo> folders, ArrayList<Runnable> deferredBindRunnables) argument 3607 findOrMakeFolder(LongArrayMap<FolderInfo> folders, long id) argument [all...] |
H A D | Launcher.java | 2161 // Close any open folders 2258 // Close any folders that may be open. 3866 public void bindFolders(final LongArrayMap<FolderInfo> folders) { argument 3869 bindFolders(folders); 3875 sFolders = folders.clone();
|