Home
last modified time | relevance | path

Searched refs:mViewMode (Results 1 – 6 of 6) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTwoPaneController.java142 return (mViewMode.isConversationMode() || mViewMode.isAdMode()) && in isHidingConversationList()
152 mViewMode.enterSearchResultsConversationMode(); in initializeConversationListFragment()
154 mViewMode.enterSearchResultsListMode(); in initializeConversationListFragment()
233 mViewMode.addListener(mLayout); in onCreate()
278 && mViewMode.isConversationMode()) { in restoreConversation()
298 mViewMode.enterConversationListMode(); in restoreConversation()
308 if (mViewMode.isSearchMode()) { in switchToDefaultInboxOrChangeAccount()
318 if (mViewMode.getMode() != ViewMode.CONVERSATION_LIST) { in switchToDefaultInboxOrChangeAccount()
319 mViewMode.enterConversationListMode(); in switchToDefaultInboxOrChangeAccount()
327 if (mViewMode.isSearchMode()) { in onFolderSelected()
[all …]
DOnePaneController.java77 if (mViewMode.isConversationMode()) {
235 mViewMode.enterSearchResultsListMode(); in showConversationList()
237 mViewMode.enterConversationListMode(); in showConversationList()
285 mViewMode.enterSearchResultsConversationMode(); in showConversation()
287 mViewMode.enterConversationMode(); in showConversation()
383 final int mode = mViewMode.getMode(); in handleBackPress()
387 } else if (mViewMode.isListMode() && !inInbox(mAccount, mConvListContext)) { in handleBackPress()
389 } else if (mViewMode.isConversationMode() || mViewMode.isAdMode()) { in handleBackPress()
400 if (mViewMode.isSearchMode()) { in onFolderSelected()
424 final int mode = mViewMode.getMode(); in handleUpPress()
[all …]
DMaterialSearchViewController.java66 private int mViewMode; field in MaterialSearchViewController
119 final int oldMode = mViewMode; in onViewModeChanged()
120 mViewMode = newMode; in onViewModeChanged()
122 if (mController.shouldShowSearchBarByDefault(mViewMode)) { in onViewModeChanged()
137 if (ViewMode.isSearchMode(mViewMode)) { in onConversationListLayout()
138 final int defaultVisibility = mController.shouldShowSearchBarByDefault(mViewMode) ? in onConversationListLayout()
148 final boolean shouldShowSearchBar = mController.shouldShowSearchBarByDefault(mViewMode); in handleBackPress()
179 mController.shouldShowSearchBarByDefault(mViewMode); in showSearchActionBar()
208 if (!ViewMode.isSearchMode(mViewMode)) { in showSearchActionBar()
253 ViewMode.isSearchMode(mViewMode); in shouldAlignWithTl()
[all …]
DAbstractActivityController.java217 protected final ViewMode mViewMode; field in AbstractActivityController
525 mViewMode = viewMode; in AbstractActivityController()
643 mActionBarController.setViewModeController(mViewMode); in attachActionBar()
685 if (mViewMode.isSearchMode()) { in switchToDefaultInboxOrChangeAccount()
889 final int mode = mViewMode.getMode(); in onFolderChanged()
939 || (mViewMode.getMode() != ViewMode.CONVERSATION_LIST)) { in changeFolder()
995 final int mode = mViewMode.getMode(); in loadAccountInbox()
997 mViewMode.enterConversationListMode(); in loadAccountInbox()
1132 if (ViewMode.isSearchMode(mViewMode.getMode())) { in onActivityResult()
1143 mViewMode.enterConversationListMode(); in onActivityResult()
[all …]
DMailActivity.java75 private ViewMode mViewMode; field in MailActivity
146 return mViewMode; in getViewMode()
172 mViewMode = new ViewMode(); in onCreate()
174 mController = ControllerFactory.forActivity(this, mViewMode, tabletUi); in onCreate()
182 mCustomViewToolbar.setController(this, mController, mViewMode); in onCreate()
350 sb.append(mViewMode); in toString()
DCustomViewToolbar.java44 private ViewMode mViewMode; field in CustomViewToolbar
68 mViewMode = viewMode; in setController()
69 mViewMode.addListener(this); in setController()
87 "search", "action_bar/" + mViewMode.getModeString(), 0); in onFinishInflate()