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()
96 long accountId, long searchMailboxId, SearchParams searchParams) { in forSearch() argument
100 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.java602 public int searchMailbox(long accountId, SearchParams searchParams, long destMailboxId) in searchMailbox() argument
605 return searchMailboxImpl(accountId, searchParams, destMailboxId); in searchMailbox()
613 private int searchMailboxImpl(long accountId, SearchParams searchParams, in searchMailboxImpl() argument
616 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, searchParams.mMailboxId); in searchMailboxImpl()
619 Log.d(Logging.LOG_TAG, "Attempted search for " + searchParams in searchMailboxImpl()
632 if (searchParams.mOffset == 0) { in searchMailboxImpl()
634 Message[] remoteMessages = remoteFolder.getMessages(searchParams, null); in searchMailboxImpl()
659 Math.min(numSearchResults - searchParams.mOffset, searchParams.mLimit); in searchMailboxImpl()
665 for (int i = searchParams.mOffset; i < numToLoad + searchParams.mOffset; i++) { in searchMailboxImpl()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DSearch.java55 public static int searchMessages(Context context, long accountId, SearchParams searchParams, in searchMessages() argument
58 int offset = searchParams.mOffset; in searchMessages()
59 int limit = searchParams.mLimit; in searchMessages()
60 String filter = searchParams.mFilter; in searchMessages()
85 if (searchParams.mMailboxId != inbox.mId) { in searchMessages()
95 if (searchParams.mIncludeChildren) { in searchMessages()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceProxy.java388 public int searchMessages(final long accountId, final SearchParams searchParams, in searchMessages() argument
393 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/src/com/android/exchange/
DExchangeService.java483 public int searchMessages(long accountId, SearchParams searchParams, long destMailboxId) {
486 return Search.searchMessages(exchangeService, accountId, searchParams,