/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderSelector.java | 23 * Interface that permits elements to implement selecting a folder. 25 * happens when a folder is selected. 29 * Selects the folder provided as an argument here. This corresponds to the user 30 * selecting a folder in the UI element, either for creating a widget/shortcut (as in the 32 * the folder (as in the case of {@link AbstractActivityController}. 33 * @param folder 35 public void onFolderSelected(Folder folder); argument
|
H A D | ErrorListener.java | 26 public void onError(final Folder folder, boolean replaceVisibleToast); argument
|
H A D | FolderChangeListener.java | 26 * Handles selecting a folder from within the {@link FolderListFragment}. 28 * @param folder the selected folder 29 * @param force <code>true</code> to force a folder change, <code>false</code> to disallow 30 * changing to the current folder 32 void onFolderChanged(Folder folder, boolean force); argument
|
H A D | SystemFolderSelectorAdapter.java | 40 * Return whether the supplied folder meets the requirements to be displayed 41 * in the folder list. 44 protected boolean meetsRequirements(Folder folder) { argument 49 return folder.isInbox(); 52 // return folder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) 53 // && folder.isProviderFolder();
|
H A D | UserFolderHierarchicalFolderSelectorAdapter.java | 30 * Return whether the supplied folder meets the requirements to be displayed 31 * in the folder list. 34 protected boolean meetsRequirements(Folder folder) { argument 35 if (folder.isProviderFolder()) { 38 return super.meetsRequirements(folder);
|
H A D | ConversationListEmptyView.java | 56 * based on the type of folder that will be visible. 58 public void setupEmptyView(final Folder folder, final String searchQuery, argument 60 if (folder == null) { 65 if (folder.isInbox()) { 67 } else if (folder.isSearch()) { 70 } else if (folder.isSpam()) { 72 } else if (folder.isTrash()) {
|
H A D | ConversationSpecialItemView.java | 36 void onUpdate(Folder folder, ConversationCursor cursor); argument
|
H A D | FolderOperation.java | 38 public FolderOperation(Folder folder, Boolean operation) { argument 40 mFolder = folder; 44 * Get all the unique folders associated with a set of folder operations. 58 * returns a valid collection even if the input folder is null. 61 * @return a collection of the folder. 69 * Return if a set of folder operations removes the specified folder or adds 72 public static boolean isDestructive(Collection<FolderOperation> folderOps, Folder folder) { argument 74 if (Objects.equal(op.mFolder, folder) && !op.mAdd) { 77 if (folder [all...] |
H A D | FolderOperations.java | 32 * Object that contains a list of folder operations (application/removals of folders) 51 public FolderOperations(Folder folder, boolean add) { argument 53 if (folder != null) { 54 add(folder, add); 61 * Adds an operation to the list of folder operations to be applied. The last 62 * operation for a folder will be retained in the list of operations. 63 * @param folder Folder to be applied 64 * @param add True if the folder should be applied, or false if the folder should be removed 66 public void add(Folder folder, boolea argument 78 hasOperation(Folder folder) argument 97 hasApplyOperation(Folder folder) argument 119 hasRemoveOperation(Folder folder) argument 218 Operation(Folder folder, boolean add) argument [all...] |
H A D | MiniDrawerView.java | 37 * A smaller version of the account- and folder-switching drawer view for tablet UIs. 154 public final Folder folder; field in class:MiniDrawerView.FolderItem 158 folder = f; 160 Folder.setIcon(folder, view); 166 mController.onFolderSelected(folder, "mini-drawer");
|
H A D | RecentFolderList.java | 43 * A self-updating list of folder canonical names for the N most recently touched folders, ordered 58 /** The actual cache: map of folder URIs to folder objects. */ 65 * We exclude the default inbox for the account and the current folder; these might be the 78 * Compare based on alphanumeric name of the folder, ignoring case. 87 * Class to store the recent folder list asynchronously. 99 * Create a new asynchronous task to store the recent folder list. Both the account 100 * and the folder should be non-null. 101 * @param account the current account for this folder. 102 * @param folder th 104 StoreRecent(Account account, Folder folder) argument 192 touchFolder(Folder folder, Account account) argument 265 RecentFolderListEntry(Folder folder) argument [all...] |
H A D | ToastBarOperation.java | 27 * A simple holder class that stores the information to undo the application of a folder. 155 public String getSingularDescription(Context context, Folder folder) { argument 157 return context.getString(R.string.folder_removed, folder.name);
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | FolderPickerCallback.java | 23 public void select(Folder folder); argument
|
H A D | FolderPickerSelectorAdapter.java | 37 * Return whether the supplied folder meets the requirements to be displayed 38 * in the folder list. 41 protected boolean meetsRequirements(Folder folder) { argument 43 return folder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) 44 || folder.isTrash();
|
H A D | Utilities.java | 53 * @param folder the mailbox it will be stored into 58 Mailbox folder, int loadStatus) { 70 String.valueOf(folder.mId), 81 localMessage.mMailboxKey = folder.mId; 57 copyOneMessageToProvider(Context context, Message message, Account account, Mailbox folder, int loadStatus) argument
|
H A D | EmailConversationCursor.java | 59 * When showing a folder, if it's been at least this long since the last sync, 60 * force a folder refresh. 65 final Folder folder, final long mailboxId) { 69 mFolderList = FolderList.copyOf(Lists.newArrayList(folder)); 64 EmailConversationCursor(final Context context, final Cursor cursor, final Folder folder, final long mailboxId) argument
|
H A D | FolderPickerActivity.java | 79 LogUtils.w(TAG, "Trash folder already exists"); 89 // Two possibilities here; either we have our folder list, or we don't 138 // All we care about is whether the folder list is now loaded 182 public void select(Folder folder) { argument 183 String folderId = folder.folderUri.fullUri.getLastPathSegment();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | FolderEditText.java | 24 public void setFolder(Folder folder) { argument 25 mFolder = folder;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | FolderEditText.java | 24 public void setFolder(Folder folder) { argument 25 mFolder = folder;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
H A D | ConversationListContext.java | 37 * This includes the folder the user selected to view the list, or the search query for the 52 * The folder whose conversations we are displaying, if any. 54 public final Folder folder; field in class:ConversationListContext 61 sUrlMatcher.addURI(UIProvider.AUTHORITY, "account/*/folder/*", 0); 71 Folder folder = bundle.getParcelable(Utils.EXTRA_FOLDER); 72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder); 76 * Builds a context for a view to a Gmail folder. 78 * @param folder 81 public static ConversationListContext forFolder(Account account, Folder folder) { argument 82 return new ConversationListContext(account, null, folder); 88 forSearchQuery(Account account, Folder folder, String query) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | SwipeableConversationItemView.java | 56 final ConversationSelectionSet set, final Folder folder, 63 if (folder.isType(UIProvider.FolderType.OUTBOX)) { 68 mConversationItemView.bind(conversation, activity, set, folder, checkboxOrSenderImage, 55 bind(final Conversation conversation, final ControllableActivity activity, final ConversationSelectionSet set, final Folder folder, final int checkboxOrSenderImage, boolean swipeEnabled, final boolean importanceMarkersEnabled, final boolean showChevronsEnabled, final AnimatedAdapter animatedAdapter) argument
|
H A D | ConversationListFooterView.java | 40 void onFooterViewErrorActionClick(Folder folder, int errorStatus); argument 41 void onFooterViewLoadMoreClick(Folder folder); argument 91 public void setFolder(Folder folder) { argument 92 mFolder = folder; 95 mLoadMoreUri = folder.loadMoreUri; 99 * Update the view to reflect the new folder status.
|
H A D | ConversationPagerController.java | 95 public void show(Account account, Folder folder, Conversation initialConversation, argument 101 // optimize for the case where account+folder are the same, when we can just shift 104 if (mPagerAdapter != null && mPagerAdapter.matches(account, folder) 121 account, folder, initialConversation);
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
H A D | ConversationCursorTests.java | 72 private static final String FOLDER_COLUMN = "folder"; 83 private static ContentValues makeConvo(String subject, String folder, int read, int starred) { argument 86 cv.put(FOLDER_COLUMN, folder);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapFolderElement.java | 34 * Class to contain a single folder element representation. 76 * Fetch the parent folder. 77 * @return the parent folder or null if we are at the root folder. 84 * Build the full path to this folder 124 BluetoothMapFolderElement folder) { 125 if(folder.getEmailFolderId() == id) { 126 return folder; 129 for(BluetoothMapFolderElement subFolder : folder.mSubFolders.values().toArray( 130 new BluetoothMapFolderElement[folder 123 findEmailFolderById(long id, BluetoothMapFolderElement folder) argument [all...] |