Home
last modified time | relevance | path

Searched refs:folders (Results 1 – 25 of 37) 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.java95 public FolderSelectorAdapter(Context context, Cursor folders, in FolderSelectorAdapter() argument
99 createFolderRows(folders, selected); in FolderSelectorAdapter()
102 public FolderSelectorAdapter(Context context, Cursor folders, in FolderSelectorAdapter() argument
107 createFolderRows(folders, null); in FolderSelectorAdapter()
110 protected void createFolderRows(Cursor folders, Set<String> selected) { in createFolderRows() argument
111 if (folders == null) { in createFolderRows()
114 final List<FolderRow> allFolders = new ArrayList<FolderRow>(folders.getCount()); in createFolderRows()
121 if (folders.moveToFirst()) { in createFolderRows()
123 final Folder folder = new Folder(folders); in createFolderRows()
135 } while (folders.moveToNext()); in createFolderRows()
DSystemFolderSelectorAdapter.java29 public SystemFolderSelectorAdapter(Context context, Cursor folders, in SystemFolderSelectorAdapter() argument
31 super(context, folders, initiallySelected, layout); in SystemFolderSelectorAdapter()
34 public SystemFolderSelectorAdapter(Context context, Cursor folders, in SystemFolderSelectorAdapter() argument
36 super(context, folders, layout, excludedFolder); in SystemFolderSelectorAdapter()
DHierarchicalFolderSelectorAdapter.java42 public HierarchicalFolderSelectorAdapter(Context context, Cursor folders, in HierarchicalFolderSelectorAdapter() argument
44 super(context, folders, initiallySelected, layout); in HierarchicalFolderSelectorAdapter()
48 public HierarchicalFolderSelectorAdapter(Context context, Cursor folders, in HierarchicalFolderSelectorAdapter() argument
50 super(context, folders, layout, excludedFolder); in HierarchicalFolderSelectorAdapter()
DFolderOperation.java49 HashSet<Folder> folders = new HashSet<Folder>(); in getFolders() local
51 folders.add(op.mFolder); in getFolders()
53 return new ArrayList<Folder>(folders); in getFolders()
DFolderDisplayer.java122 public static int[] measureFolderDimen(Set<Folder> folders, int maxCellWidth, in measureFolderDimen() argument
126 final int numDisplayedFolders = Math.min(maxFolderCount, folders.size()); in measureFolderDimen()
139 for (Folder f : folders) { in measureFolderDimen()
DFolderSettingsObservable.java33 void setIncludedFolders(ArrayList<String> folders); in setIncludedFolders() argument
34 void setPartialFolders(ArrayList<String> folders); in setPartialFolders() argument
DUserFolderHierarchicalFolderSelectorAdapter.java25 Context context, Cursor folders, int layout, Folder excludedFolder) { in UserFolderHierarchicalFolderSelectorAdapter() argument
26 super(context, folders, layout, excludedFolder); in UserFolderHierarchicalFolderSelectorAdapter()
DAddableFolderSelectorAdapter.java34 public AddableFolderSelectorAdapter(Context context, Cursor folders, in AddableFolderSelectorAdapter() argument
36 super(context, folders, selected, layout); in AddableFolderSelectorAdapter()
DSwipeableListView.java255 final FolderList folders = FolderList.copyOf(targetFolders.values()); in dismissChild() local
256 conv.setRawFolders(folders); in dismissChild()
DAbstractActivityController.java3837 final Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch,
3840 mFolderOps.addAll(folders);
3911 Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch,
3914 final DestructiveAction da = getDeferredFolderChange(target, folders, isDestructive,
3921 Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch,
3924 final DestructiveAction fd = new FolderDestruction(target, folders, isDestructive, isBatch,
DConversationUpdater.java170 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.java525 final HashMap<Uri, Folder> folders = new HashMap<Uri, Folder>(); in hashMapForFolders() local
527 folders.put(f.folderUri.getComparisonUri(), f); in hashMapForFolders()
529 return folders; in hashMapForFolders()
704 public static String[] getUriArray(List<Folder> folders) { in getUriArray() argument
705 if (folders == null || folders.size() == 0) { in getUriArray()
708 final String[] folderUris = new String[folders.size()]; in getUriArray()
710 for (Folder folder : folders) { in getUriArray()
DConversation.java651 return rawFolders.folders; in getRawFolders()
654 public void setRawFolders(FolderList folders) { in setRawFolders() argument
655 rawFolders = folders; in setRawFolders()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java258 final TextView folders = (TextView) view.findViewById(R.id.folders); in ConversationItemViewCoordinates() local
259 folders.setVisibility(config.areFoldersVisible() ? View.VISIBLE : View.GONE); in ConversationItemViewCoordinates()
348 foldersLeft = getX(folders); in ConversationItemViewCoordinates()
349 foldersRight = foldersLeft + folders.getWidth(); in ConversationItemViewCoordinates()
350 foldersY = getY(folders); in ConversationItemViewCoordinates()
351 foldersTypeface = folders.getTypeface(); in ConversationItemViewCoordinates()
352 foldersFontSize = folders.getTextSize(); in ConversationItemViewCoordinates()
DConversationCursor.java2130 ArrayList<String> folders = new ArrayList<String>(); in addFolderUpdates() local
2132 folders.add(folderUris.get(i).buildUpon().appendPath(add.get(i) + "").toString()); in addFolderUpdates()
2135 TextUtils.join(ConversationOperations.FOLDERS_UPDATED_SPLIT_PATTERN, folders)); in addFolderUpdates()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java162 public void bindFolders(HashMap<Long,FolderInfo> folders); in bindFolders() argument
1622 HashMap<Long, FolderInfo> folders, in filterCurrentFolders() argument
1628 currentScreenFolders.putAll(folders); in filterCurrentFolders()
1631 for (long id : folders.keySet()) { in filterCurrentFolders()
1633 FolderInfo folder = folders.get(id); in filterCurrentFolders()
1667 final HashMap<Long, FolderInfo> folders, in bindWorkspaceItems() argument
1694 if (!folders.isEmpty()) { in bindWorkspaceItems()
1699 callbacks.bindFolders(folders); in bindWorkspaceItems()
1756 HashMap<Long, FolderInfo> folders = new HashMap<Long, FolderInfo>(); in bindWorkspace() local
1761 folders.putAll(sBgFolders); in bindWorkspace()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java191 public void bindFolders(LongArrayMap<FolderInfo> folders); in bindFolders() argument
2435 LongArrayMap<FolderInfo> folders, in filterCurrentFolders() argument
2439 int total = folders.size(); in filterCurrentFolders()
2441 long id = folders.keyAt(i); in filterCurrentFolders()
2442 FolderInfo folder = folders.valueAt(i); in filterCurrentFolders()
2494 final LongArrayMap<FolderInfo> folders, in bindWorkspaceItems() argument
2524 if (!folders.isEmpty()) { in bindWorkspaceItems()
2529 callbacks.bindFolders(folders); in bindWorkspaceItems()
2584 final LongArrayMap<FolderInfo> folders; in bindWorkspace() local
2592 folders = sBgFolders.clone(); in bindWorkspace()
[all …]
DLauncherProvider.java1136 final ArrayList<ContentValues> folders = new ArrayList<ContentValues>(); in migrateLauncher2Shortcuts() local
1262 folders.add(values); in migrateLauncher2Shortcuts()
1293 allItems.addAll(folders); in migrateLauncher2Shortcuts()
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerSelectorAdapter.java31 public FolderPickerSelectorAdapter(Context context, Cursor folders, in FolderPickerSelectorAdapter() argument
33 super(context, folders, initiallySelected, layout); in FolderPickerSelectorAdapter()
/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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java258 …BluetoothMapFolderElement[] folders = mSubFolders.values().toArray(new BluetoothMapFolderElement[m… in encode() local
276 xmlMsgElement.attribute(null, "name", folders[i].getName()); in encode()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DREADME.txt1 The files in this package were copied from the android-4.4.4_r1 branch of ASOP from the folders

12