/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/ |
ViewModeTests.java | 25 import com.android.mail.ui.ViewMode.ModeChangeListener; 35 ViewMode first = new ViewMode(); 39 ViewMode second = new ViewMode(); 41 assertEquals(ViewMode.CONVERSATION_LIST, second.getMode()); 59 ViewMode mode = new ViewMode(); 74 ViewMode first = new ViewMode(); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ControllerFactory.java | 31 public static ActivityController forActivity(MailActivity activity, ViewMode viewMode, 33 return isTabletDevice ? new TwoPaneController(activity, viewMode) 34 : new OnePaneController(activity, viewMode);
|
TwoPaneLayout.java | 36 import com.android.mail.ui.ViewMode.ModeChangeListener; 79 * that are {@link ViewMode} constants like {@link ViewMode#CONVERSATION}. 81 private int mCurrentMode = ViewMode.UNKNOWN; 86 private int mPositionedMode = ViewMode.UNKNOWN; 167 mCurrentMode = ViewMode.UNKNOWN; 232 case ViewMode.AD: 233 case ViewMode.CONVERSATION: 234 case ViewMode.SEARCH_RESULTS_CONVERSATION: 239 case ViewMode.CONVERSATION_LIST [all...] |
TwoPaneController.java | 58 public TwoPaneController(MailActivity activity, ViewMode viewMode) { 59 super(activity, viewMode); 164 if (mViewMode.getMode() != ViewMode.CONVERSATION_LIST) { 187 if (newMode != ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION) { 196 if (newMode == ViewMode.CONVERSATION || newMode == ViewMode.CONVERSATION_LIST 197 || ViewMode.isAdMode(newMode)) { 283 // This is needed here (in addition to during viewmode changes) because orientation changes 284 // while viewing a conversation don't change the viewmode: the mode stay [all...] |
SearchMailActionBarView.java | 33 * custom views, but it shows/hides various menu items based on the viewmode. 54 case ViewMode.SEARCH_RESULTS_LIST: 60 case ViewMode.SEARCH_RESULTS_CONVERSATION: 76 case ViewMode.SEARCH_RESULTS_LIST: 119 if (mode == ViewMode.SEARCH_RESULTS_LIST 121 && mode == ViewMode.SEARCH_RESULTS_CONVERSATION)) {
|
OnePaneController.java | 59 public OnePaneController(MailActivity activity, ViewMode viewMode) { 60 super(activity, viewMode); 133 // The parent class sets the correct viewmode and starts the application off. 148 if (ViewMode.isListMode(newMode)) { 153 if (!ViewMode.isConversationMode(newMode)) { 314 if (mode == ViewMode.SEARCH_RESULTS_LIST) { 356 if (mode == ViewMode.SEARCH_RESULTS_LIST) { 359 } else if (mode == ViewMode.CONVERSATION_LIST 360 || mode == ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION) [all...] |
ControllableActivity.java | 31 * Returns the ViewMode the activity is updating. 32 * @see com.android.mail.ui.ViewMode 33 * @return ViewMode. 35 ViewMode getViewMode();
|
MailActionBarView.java | 68 public class MailActionBarView extends LinearLayout implements ViewMode.ModeChangeListener, 76 * The current mode of the ActionBar. This references constants in {@link ViewMode} 78 private int mMode = ViewMode.UNKNOWN; 224 if (mMode == ViewMode.UNKNOWN) { 252 case ViewMode.UNKNOWN: 254 case ViewMode.CONVERSATION: 256 case ViewMode.CONVERSATION_LIST: 258 case ViewMode.SEARCH_RESULTS_LIST: 260 case ViewMode.SEARCH_RESULTS_CONVERSATION: 262 case ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION [all...] |
ViewMode.java | 33 public class ViewMode { 35 * A listener for changes on a ViewMode. To listen to mode changes, implement this 36 * interface and register your object with the single ViewMode held by the ActivityController 75 // Key used to save this {@link ViewMode}. 84 public static final String LOG_TAG = "ViewMode"; 97 public ViewMode() { 267 LogUtils.d(LOG_TAG, new Error(), "ViewMode: debouncing change attempt mode=%s", 270 LogUtils.i(LOG_TAG, "ViewMode: debouncing change attempt mode=%s", mode); 276 LogUtils.d(LOG_TAG, new Error(), "ViewMode: executing change old=%s new=%s", mMode, 279 LogUtils.i(LOG_TAG, "ViewMode: executing change old=%s new=%s", mMode, mode) [all...] |
MailActivity.java | 56 private ViewMode mViewMode; 122 public ViewMode getViewMode() { 142 mViewMode = new ViewMode(); 283 sb.append("{ViewMode=");
|
ActivityController.java | 35 import com.android.mail.ui.ViewMode.ModeChangeListener;
|
AbstractActivityController.java | 211 protected final ViewMode mViewMode; 485 public AbstractActivityController(MailActivity activity, ViewMode viewMode) { 488 mViewMode = viewMode; 519 case ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION: [all...] |
FolderSelectionActivity.java | 329 public ViewMode getViewMode() {
|
ConversationListFragment.java | 62 import com.android.mail.ui.ViewMode.ModeChangeListener; 622 if (ViewMode.isListMode(newMode)) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationListFooterView.java | 33 import com.android.mail.ui.ViewMode; 37 ViewMode.ModeChangeListener { 171 if (mTabletDevice && newMode == ViewMode.CONVERSATION_LIST) {
|
ConversationItemViewCoordinates.java | 36 import com.android.mail.ui.ViewMode; 76 private int mViewMode = ViewMode.UNKNOWN; 84 public Config setViewMode(int viewMode) { 85 mViewMode = viewMode; 557 case ViewMode.CONVERSATION_LIST: 560 case ViewMode.SEARCH_RESULTS_LIST:
|
ConversationItemView.java | 97 import com.android.mail.ui.ViewMode; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Utils.java | 71 import com.android.mail.ui.ViewMode; 554 final boolean listCollapsible, final int viewMode) { 556 && (ViewMode.isConversationMode(viewMode) || ViewMode.isAdMode(viewMode)); [all...] |