/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
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 | FolderSettingsObservable.java | 33 void setIncludedFolders(ArrayList<String> folders); argument 34 void setPartialFolders(ArrayList<String> folders); argument
|
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 | FolderOperation.java | 44 * Get all the unique folders associated with a set of folder operations. 49 HashSet<Folder> folders = new HashSet<Folder>(); 51 folders.add(op.mFolder); 53 return new ArrayList<Folder>(folders);
|
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 | 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 | AddableFolderSelectorAdapter.java | 34 public AddableFolderSelectorAdapter(Context context, Cursor folders, argument 36 super(context, folders, selected, layout);
|
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 | SwipeableListView.java | 255 final FolderList folders = FolderList.copyOf(targetFolders.values()); 256 conv.setRawFolders(folders);
|
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 | 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...] |
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;
|
/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
|
/packages/apps/Browser/ |
H A D | Android.mk | 27 # additionally, build tests in sub-folders in a separate .apk
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationItemViewCoordinates.java | 40 * (eg, checkmark, star, subject, sender, folders, etc.) It will inflate a view, 258 final TextView folders = (TextView) view.findViewById(R.id.folders); 259 folders.setVisibility(config.areFoldersVisible() ? View.VISIBLE : View.GONE); 348 foldersLeft = getX(folders); 349 foldersRight = foldersLeft + folders.getWidth(); 350 foldersY = getY(folders); 351 foldersTypeface = folders.getTypeface(); 352 foldersFontSize = folders.getTextSize();
|
H A D | ConversationCursor.java | 1060 // if a new query intervened (i.e. user changed folders) 2123 ArrayList<String> folders = new ArrayList<String>(); 2125 folders.add(folderUris.get(i).buildUpon().appendPath(add.get(i) + "").toString()); 2128 TextUtils.join(ConversationOperations.FOLDERS_UPDATED_SPLIT_PATTERN, folders));
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
H A D | ImapStoreUnitTests.java | 524 * TODO: Test this with multiple folders provided by mock server 1272 Folder[] folders = mStore.updateFolders(); 1275 testFolder = (ImapFolder) folders[0]; 1279 testFolder = (ImapFolder) folders[1]; 1283 testFolder = (ImapFolder) folders[2]; 1287 testFolder = (ImapFolder) folders[3]; 2144 // List folders. 2152 final Folder[] folders = mStore.updateFolders(); 2155 for (Folder f : folders) { 2163 // Try to open the folders [all...] |
H A D | Pop3StoreUnitTests.java | 257 * Test small Store & Folder functions that manage folders & namespace 262 Folder[] folders = mStore.updateFolders(); 263 assertEquals(1, folders.length); 264 assertSame(mFolder, folders[0]);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapFolderElement.java | 204 * Fetch the number of sub folders. 205 * @return returns the number of sub folders. 225 BluetoothMapFolderElement[] folders = mSubFolders.values().toArray(new BluetoothMapFolderElement[mSubFolders.size()]); 243 xmlMsgElement.attribute(null, "name", folders[i].getName());
|
/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherModel.java | 155 // sBgItemsIdMap maps *all* the ItemInfos (shortcuts, folders, and widgets) created by 159 // sBgWorkspaceItems is passed to bindItems, which expects a list of all folders and shortcuts 161 // shortcuts within folders). 198 public void bindFolders(HashMap<Long,FolderInfo> folders); argument 688 item.container + ", not in the list of folders"; 2168 // no special handling required for restored folders 2497 /** Filters the set of folders which are on the specified screen. */ 2500 HashMap<Long, FolderInfo> folders, 2504 for (long id : folders.keySet()) { 2506 FolderInfo folder = folders 2498 filterCurrentFolders(long currentScreenId, HashMap<Long, ItemInfo> itemsIdMap, HashMap<Long, FolderInfo> folders, HashMap<Long, FolderInfo> currentScreenFolders, HashMap<Long, FolderInfo> otherScreenFolders) argument 2553 bindWorkspaceItems(final Callbacks oldCallbacks, final ArrayList<ItemInfo> workspaceItems, final ArrayList<LauncherAppWidgetInfo> appWidgets, final HashMap<Long, FolderInfo> folders, ArrayList<Runnable> deferredBindRunnables) argument 3692 findOrMakeFolder(HashMap<Long, FolderInfo> folders, long id) argument [all...] |
H A D | LauncherProvider.java | 518 // Delete items contained in folders which no longer exist (after above statement) 1406 final ArrayList<ContentValues> folders = new ArrayList<ContentValues>(); 1532 folders.add(values); 1563 allItems.addAll(folders); 1567 // Layout all the folders
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
H A D | MockUiProvider.java | 201 final List<Folder> folders = new ArrayList<Folder>(3); 220 folders.add(folder); 222 final FolderList folderList = FolderList.copyOf(folders); 338 accountMap.put(AccountColumns.FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); 339 accountMap.put(AccountColumns.FULL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders")); 340 accountMap.put(AccountColumns.ALL_FOLDER_LIST_URI, Uri.parse(accountUri + "/folders"));
|