Home
last modified time | relevance | path

Searched refs:searchParams (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Email/src/com/android/email/
DMessageListContext.java56 private MessageListContext(long accountId, long searchMailboxId, SearchParams searchParams) { in MessageListContext() argument
59 mSearchParams = searchParams; in MessageListContext()
99 long accountId, long searchMailboxId, SearchParams searchParams) { in forSearch() argument
103 return new MessageListContext(accountId, searchMailboxId, searchParams); in forSearch()
DController.java978 public int searchMessages(final long accountId, final SearchParams searchParams)
985 sSearchParamsMap.put(accountId, searchParams);
987 if (searchParams.mOffset == 0) {
994 cv.put(Mailbox.DISPLAY_NAME, searchParams.mFilter);
1003 return service.searchMessages(accountId, searchParams, searchMailboxId);
1012 Mailbox actualMailbox = Mailbox.restoreMailboxWithId(mContext, searchParams.mMailboxId);
1014 Log.e(Logging.LOG_TAG, "Unable to find mailbox " + searchParams.mMailboxId
1015 + " to search in with " + searchParams);
1020 Log.d(Logging.LOG_TAG, "Search: " + searchParams.mFilter);
1022 return mLegacyController.searchMailbox(accountId, searchParams, searchMailboxId);
[all …]
DMessagingController.java604 public int searchMailbox(long accountId, SearchParams searchParams, long destMailboxId) in searchMailbox() argument
607 return searchMailboxImpl(accountId, searchParams, destMailboxId); in searchMailbox()
615 private int searchMailboxImpl(long accountId, SearchParams searchParams, in searchMailboxImpl() argument
618 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, searchParams.mMailboxId); in searchMailboxImpl()
621 Log.d(Logging.LOG_TAG, "Attempted search for " + searchParams in searchMailboxImpl()
634 if (searchParams.mOffset == 0) { in searchMailboxImpl()
636 Message[] remoteMessages = remoteFolder.getMessages(searchParams, null); in searchMailboxImpl()
661 Math.min(numSearchResults - searchParams.mOffset, searchParams.mLimit); in searchMailboxImpl()
667 for (int i = searchParams.mOffset; i < numToLoad + searchParams.mOffset; i++) { in searchMailboxImpl()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DSearch.java57 public static int searchMessages(Context context, long accountId, SearchParams searchParams, in searchMessages() argument
60 int offset = searchParams.mOffset; in searchMessages()
61 int limit = searchParams.mLimit; in searchMessages()
62 String filter = searchParams.mFilter; in searchMessages()
92 if (searchParams.mMailboxId != inbox.mId) { in searchMessages()
102 if (searchParams.mIncludeChildren) { in searchMessages()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceProxy.java434 public int searchMessages(final long accountId, final SearchParams searchParams, in searchMessages() argument
440 mReturn = mService.searchMessages(accountId, searchParams, destMailboxId); in searchMessages()
/packages/apps/Email/src/com/android/email/service/
DEmailServiceUtils.java143 public int searchMessages(long accountId, SearchParams searchParams, long destMailboxId) { in searchMessages() argument
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java528 public int searchMessages(long accountId, SearchParams searchParams, long destMailboxId) {
531 return Search.searchMessages(exchangeService, accountId, searchParams,