Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/
DConversationListContext.java40 public class ConversationListContext { class
67 public static ConversationListContext forBundle(Bundle bundle) { in forBundle()
72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder); in forBundle()
81 public static ConversationListContext forFolder(Account account, Folder folder) { in forFolder()
82 return new ConversationListContext(account, null, folder); in forFolder()
88 public static ConversationListContext forSearchQuery(Account account, Folder folder, in forSearchQuery()
90 return new ConversationListContext(account, Preconditions.checkNotNull(query), folder); in forSearchQuery()
101 private ConversationListContext(Account a, String query, Folder f) { in ConversationListContext() method in ConversationListContext
112 public static final boolean isSearchResult(ConversationListContext in) { in isSearchResult()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DOnePaneController.java35 import com.android.mail.ConversationListContext;
148 private static boolean inInbox(final Account account, final ConversationListContext context) { in inInbox()
151 || account.settings == null) && !ConversationListContext.isSearchResult(context) in inInbox()
231 protected void showConversationList(ConversationListContext listContext) { in showConversationList()
234 if (ConversationListContext.isSearchResult(listContext)) { in showConversationList()
284 if (ConversationListContext.isSearchResult(mConvListContext)) { in showConversation()
DSuppressNotificationReceiver.java25 import com.android.mail.ConversationListContext;
120 final ConversationListContext listContext = mController.getCurrentListContext(); in onReceive()
127 if (ConversationListContext.isSearchResult(listContext)) { in onReceive()
DConversationListFragment.java43 import com.android.mail.ConversationListContext;
136 private ConversationListContext mViewContext;
288 public static ConversationListFragment newInstance(ConversationListContext viewContext) { in newInstance()
366 final boolean showSearchHeader = ConversationListContext.isSearchResult(mViewContext); in onActivityCreated()
476 mViewContext = ConversationListContext.forBundle(args.getBundle(CONVERSATION_LIST_KEY)); in onCreate()
1010 mSwipeRefreshWidget.setEnabled(!ConversationListContext.isSearchResult(mViewContext)); in onFolderUpdated()
DAbstractActivityController.java63 import com.android.mail.ConversationListContext;
195 protected ConversationListContext mConvListContext;
558 public ConversationListContext getCurrentListContext() { in getCurrentListContext()
879 args.putString(ConversationListContext.EXTRA_SEARCH_QUERY, intent in fetchSearchFolder()
880 .getStringExtra(ConversationListContext.EXTRA_SEARCH_QUERY)); in fetchSearchFolder()
920 mConvListContext = ConversationListContext.forSearchQuery(mAccount, mFolder, query); in setListContext()
922 mConvListContext = ConversationListContext.forFolder(mAccount, mFolder); in setListContext()
2200 if (ConversationListContext.isSearchResult(mConvListContext)) {
2248 intent.putExtra(ConversationListContext.EXTRA_SEARCH_QUERY, query);
2659 protected abstract void showConversationList(ConversationListContext listContext);
[all …]
DMaterialSearchViewController.java32 import com.android.mail.ConversationListContext;
89 ConversationListContext.EXTRA_SEARCH_QUERY), supportVoice); in MaterialSearchViewController()
DTwoPaneController.java35 import com.android.mail.ConversationListContext;
198 protected void showConversationList(ConversationListContext listContext) { in showConversationList()