Home
last modified time | relevance | path

Searched refs:folders (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java1272 Folder[] folders = mStore.updateFolders(); in testGetAllFolders() local
1275 testFolder = (ImapFolder) folders[0]; in testGetAllFolders()
1279 testFolder = (ImapFolder) folders[1]; in testGetAllFolders()
1283 testFolder = (ImapFolder) folders[2]; in testGetAllFolders()
1287 testFolder = (ImapFolder) folders[3]; in testGetAllFolders()
2152 final Folder[] folders = mStore.updateFolders(); in testFolderNameWithSpecialChars() local
2155 for (Folder f : folders) { in testFolderNameWithSpecialChars()
2173 folders[2].open(OpenMode.READ_WRITE); in testFolderNameWithSpecialChars()
2174 folders[2].close(false); in testFolderNameWithSpecialChars()
2185 folders[1].open(OpenMode.READ_WRITE); in testFolderNameWithSpecialChars()
[all …]
DPop3StoreUnitTests.java262 Folder[] folders = mStore.updateFolders(); in testStoreFoldersFunctions() local
263 assertEquals(1, folders.length); in testStoreFoldersFunctions()
264 assertSame(mFolder, folders[0]); in testStoreFoldersFunctions()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderSelectorAdapter.java97 public FolderSelectorAdapter(Context context, Cursor folders, in FolderSelectorAdapter() argument
102 createFolderRows(folders, initiallySelected); in FolderSelectorAdapter()
105 public FolderSelectorAdapter(Context context, Cursor folders, int layout, String header, in FolderSelectorAdapter() argument
111 createFolderRows(folders, null); in FolderSelectorAdapter()
114 protected void createFolderRows(Cursor folders, Set<String> initiallySelected) { in createFolderRows() argument
115 if (folders == null) { in createFolderRows()
118 final List<FolderRow> allFolders = new ArrayList<FolderRow>(folders.getCount()); in createFolderRows()
120 if (folders.moveToFirst()) { in createFolderRows()
122 final Folder folder = new Folder(folders); in createFolderRows()
128 } while (folders.moveToNext()); in createFolderRows()
DSystemFolderSelectorAdapter.java29 public SystemFolderSelectorAdapter(Context context, Cursor folders, in SystemFolderSelectorAdapter() argument
31 super(context, folders, initiallySelected, layout, header); in SystemFolderSelectorAdapter()
34 public SystemFolderSelectorAdapter(Context context, Cursor folders, int layout, in SystemFolderSelectorAdapter() argument
36 super(context, folders, layout, header, excludedFolder); in SystemFolderSelectorAdapter()
DHierarchicalFolderSelectorAdapter.java41 public HierarchicalFolderSelectorAdapter(Context context, Cursor folders, in HierarchicalFolderSelectorAdapter() argument
43 super(context, folders, initiallySelected, layout, header); in HierarchicalFolderSelectorAdapter()
47 public HierarchicalFolderSelectorAdapter(Context context, Cursor folders, int layout, in HierarchicalFolderSelectorAdapter() argument
49 super(context, folders, layout, header, excludedFolder); in HierarchicalFolderSelectorAdapter()
DFolderOperation.java46 HashSet<Folder> folders = new HashSet<Folder>(); in getFolders() local
48 folders.add(op.mFolder); in getFolders()
50 return new ArrayList<Folder>(folders); in getFolders()
DFolderSettingsObservable.java33 void setIncludedFolders(ArrayList<String> folders); in setIncludedFolders() argument
34 void setPartialFolders(ArrayList<String> folders); in setPartialFolders() argument
DUserFolderHierarchicalFolderSelectorAdapter.java24 public UserFolderHierarchicalFolderSelectorAdapter(Context context, Cursor folders, int layout, in UserFolderHierarchicalFolderSelectorAdapter() argument
26 super(context, folders, layout, header, excludedFolder); in UserFolderHierarchicalFolderSelectorAdapter()
DAddableFolderSelectorAdapter.java32 public AddableFolderSelectorAdapter(Context context, Cursor folders, in AddableFolderSelectorAdapter() argument
34 super(context, folders, initiallySelected, layout, header); in AddableFolderSelectorAdapter()
DSwipeableListView.java252 final FolderList folders = FolderList.copyOf(targetFolders.values()); in dismissChild() local
253 conv.setRawFolders(folders); in dismissChild()
DAbstractActivityController.java3773 final Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch, in FolderDestruction() argument
3776 mFolderOps.addAll(folders); in FolderDestruction()
3842 Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch, in getFolderChange() argument
3844 final DestructiveAction da = getDeferredFolderChange(target, folders, isDestructive, in getFolderChange()
3851 Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch, in getDeferredFolderChange() argument
3853 return new FolderDestruction(target, folders, isDestructive, isBatch, showUndo, in getDeferredFolderChange()
DConversationUpdater.java155 public void assignFolder(Collection<FolderOperation> folders, Collection<Conversation> target, in assignFolder() argument
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolderList.java20 public final ImmutableList<Folder> folders; field in FolderList
26 folders = ImmutableList.of(); in FolderList()
28 folders = ImmutableList.copyOf(in); in FolderList()
33 folders = ImmutableList.copyOf(in.createTypedArrayList(Folder.CREATOR)); in FolderList()
43 dest.writeTypedList(folders); in writeToParcel()
88 return folders.equals(o); in equals()
93 return folders.hashCode(); in hashCode()
DFolder.java523 final HashMap<Uri, Folder> folders = new HashMap<Uri, Folder>(); in hashMapForFolders() local
525 folders.put(f.folderUri.getComparisonUri(), f); in hashMapForFolders()
527 return folders; in hashMapForFolders()
668 public static String[] getUriArray(List<Folder> folders) { in getUriArray() argument
669 if (folders == null || folders.size() == 0) { in getUriArray()
672 final String[] folderUris = new String[folders.size()]; in getUriArray()
674 for (Folder folder : folders) { in getUriArray()
DConversation.java565 return rawFolders.folders; in getRawFolders()
568 public void setRawFolders(FolderList folders) { in setRawFolders() argument
569 rawFolders = folders; in setRawFolders()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java336 final TextView folders = (TextView) view.findViewById(R.id.folders); in ConversationItemViewCoordinates() local
337 folders.setVisibility(config.areFoldersVisible() ? View.VISIBLE : View.GONE); in ConversationItemViewCoordinates()
421 foldersXEnd = getX(folders) + folders.getWidth(); in ConversationItemViewCoordinates()
423 foldersY = getY(folders); in ConversationItemViewCoordinates()
425 foldersY = getY(folders) + sendersTopAdjust; in ConversationItemViewCoordinates()
427 foldersHeight = folders.getHeight(); in ConversationItemViewCoordinates()
428 foldersTypeface = folders.getTypeface(); in ConversationItemViewCoordinates()
431 foldersFontSize = folders.getTextSize(); in ConversationItemViewCoordinates()
DConversationViewHeader.java104 mFoldersView = (FolderSpanTextView) findViewById(R.id.folders); in onFinishInflate()
202 if (R.id.folders == v.getId()) { in onClick()
DConversationCursor.java2077 ArrayList<String> folders = new ArrayList<String>(); in addFolderUpdates() local
2079 folders.add(folderUris.get(i).buildUpon().appendPath(add.get(i) + "").toString()); in addFolderUpdates()
2082 TextUtils.join(ConversationOperations.FOLDERS_UPDATED_SPLIT_PATTERN, folders)); in addFolderUpdates()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java156 public void bindFolders(HashMap<Long,FolderInfo> folders); in bindFolders() argument
1612 HashMap<Long, FolderInfo> folders, in filterCurrentFolders() argument
1618 currentScreenFolders.putAll(folders); in filterCurrentFolders()
1621 for (long id : folders.keySet()) { in filterCurrentFolders()
1623 FolderInfo folder = folders.get(id); in filterCurrentFolders()
1657 final HashMap<Long, FolderInfo> folders, in bindWorkspaceItems() argument
1684 if (!folders.isEmpty()) { in bindWorkspaceItems()
1689 callbacks.bindFolders(folders); in bindWorkspaceItems()
1746 HashMap<Long, FolderInfo> folders = new HashMap<Long, FolderInfo>(); in bindWorkspace() local
1751 folders.putAll(sBgFolders); in bindWorkspace()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java167 public void bindFolders(HashMap<Long,FolderInfo> folders); in bindFolders() argument
2269 HashMap<Long, FolderInfo> folders, in filterCurrentFolders() argument
2273 for (long id : folders.keySet()) { in filterCurrentFolders()
2275 FolderInfo folder = folders.get(id); in filterCurrentFolders()
2325 final HashMap<Long, FolderInfo> folders, in bindWorkspaceItems() argument
2353 if (!folders.isEmpty()) { in bindWorkspaceItems()
2358 callbacks.bindFolders(folders); in bindWorkspaceItems()
2409 HashMap<Long, FolderInfo> folders = new HashMap<Long, FolderInfo>(); in bindWorkspace() local
2415 folders.putAll(sBgFolders); in bindWorkspace()
2450 filterCurrentFolders(currentScreenId, itemsIdMap, folders, currentFolders, in bindWorkspace()
[all …]
DLauncherProvider.java1581 final ArrayList<ContentValues> folders = new ArrayList<ContentValues>(); in migrateLauncher2Shortcuts() local
1682 folders.add(values); in migrateLauncher2Shortcuts()
1713 allItems.addAll(folders); in migrateLauncher2Shortcuts()
/packages/apps/Email/src/com/android/email/provider/
DFolderPickerSelectorAdapter.java31 public FolderPickerSelectorAdapter(Context context, Cursor folders, in FolderPickerSelectorAdapter() argument
33 super(context, folders, initiallySelected, layout, header); in FolderPickerSelectorAdapter()
DEmailProvider.java4650 private static int updateTimestamp(final Context context, String id, Uri[] folders){ in updateTimestamp() argument
4655 for (final Uri folder : folders) { in updateTimestamp()
4677 final Uri[] folders = new Uri[numFolders]; in uiUpdateRecentFolders() local
4681 folders[i] = Uri.parse(uriString); in uiUpdateRecentFolders()
4683 return updateTimestamp(context, id, folders); in uiUpdateRecentFolders()
4814 if (flist.folders.size() != 1) { in convertUiMessageValues()
4819 final Folder f = flist.folders.get(0); in convertUiMessageValues()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java201 final List<Folder> folders = new ArrayList<Folder>(3); in createConversationDetailsMap() local
220 folders.add(folder); in createConversationDetailsMap()
222 final FolderList folderList = FolderList.copyOf(folders); in createConversationDetailsMap()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceProxy.java331 final int mailboxType, final long[] folders) {} in sync() argument

12