/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);
|
ActionBarController.java | 47 public class ActionBarController implements ViewMode.ModeChangeListener { 57 private ViewMode mViewModeController; 113 return getMode() != ViewMode.UNKNOWN; 118 case ViewMode.UNKNOWN: 120 case ViewMode.CONVERSATION: 122 case ViewMode.CONVERSATION_LIST: 124 case ViewMode.SEARCH_RESULTS_LIST: 126 case ViewMode.SEARCH_RESULTS_CONVERSATION: 128 case ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION: 191 case ViewMode.UNKNOWN [all...] |
OnePaneController.java | 99 public OnePaneController(MailActivity activity, ViewMode viewMode) { 100 super(activity, viewMode); 184 // The parent class sets the correct viewmode and starts the application off. 209 if (ViewMode.isListMode(newMode)) { 213 if (ViewMode.isAdMode(newMode)) { 219 if (!ViewMode.isConversationMode(newMode)) { 385 if (mode == ViewMode.SEARCH_RESULTS_LIST) { 425 if (mode == ViewMode.SEARCH_RESULTS_LIST) { 428 } else if (mode == ViewMode.CONVERSATION_LIS [all...] |
TwoPaneController.java | 116 public TwoPaneController(MailActivity activity, ViewMode viewMode) { 117 super(activity, viewMode); 318 if (mViewMode.getMode() != ViewMode.CONVERSATION_LIST) { 336 } else if (mViewMode.getMode() != ViewMode.CONVERSATION_LIST) { 444 if (newMode != ViewMode.WAITING_FOR_ACCOUNT_INITIALIZATION) { 453 if (newMode == ViewMode.CONVERSATION || newMode == ViewMode.CONVERSATION_LIST 454 || ViewMode.isAdMode(newMode)) { 580 // This is needed here (in addition to during viewmode changes) because orientation change [all...] |
TwoPaneLayout.java | 41 import com.android.mail.ui.ViewMode.ModeChangeListener; 93 * that are {@link ViewMode} constants like {@link ViewMode#CONVERSATION}. 95 private int mCurrentMode = ViewMode.UNKNOWN; 100 private int mTranslatedMode = ViewMode.UNKNOWN; 249 mCurrentMode = ViewMode.UNKNOWN; 466 case ViewMode.CONVERSATION: 467 case ViewMode.SEARCH_RESULTS_CONVERSATION: 472 case ViewMode.CONVERSATION_LIST: 473 case ViewMode.SEARCH_RESULTS_LIST [all...] |
MaterialSearchViewController.java | 42 public class MaterialSearchViewController implements ViewMode.ModeChangeListener, 52 // The controller is in a search ViewMode but not actively searching. This is relevant when 124 } else if (oldMode == ViewMode.UNKNOWN) { 137 if (ViewMode.isSearchMode(mViewMode)) { 208 if (!ViewMode.isSearchMode(mViewMode)) { 253 ViewMode.isSearchMode(mViewMode); 270 if (ViewMode.isSearchMode(mViewMode)) {
|
CustomViewToolbar.java | 38 public class CustomViewToolbar extends Toolbar implements ViewMode.ModeChangeListener, 44 private ViewMode mViewMode; 65 ViewMode viewMode) { 68 mViewMode = viewMode;
|
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"; 98 public ViewMode() { 272 LogUtils.d(LOG_TAG, new Error(), "ViewMode: debouncing change attempt mode=%s", 275 LogUtils.i(LOG_TAG, "ViewMode: debouncing change attempt mode=%s", mode); 281 LogUtils.d(LOG_TAG, new Error(), "ViewMode: executing change old=%s new=%s", mMode, 284 LogUtils.i(LOG_TAG, "ViewMode: executing change old=%s new=%s", mMode, mode) [all...] |
ControllableActivity.java | 35 * Returns the ViewMode the activity is updating. 36 * @see com.android.mail.ui.ViewMode 37 * @return ViewMode. 39 ViewMode getViewMode(); 121 void showHelp(Account account, int viewMode);
|
ActivityController.java | 34 import com.android.mail.ui.ViewMode.ModeChangeListener; 276 * @param viewMode the new view mode. This is passed as a parameter because we don't know 279 boolean shouldShowSearchBarByDefault(int viewMode);
|
MailActivity.java | 75 private ViewMode mViewMode; 145 public ViewMode getViewMode() { 172 mViewMode = new ViewMode(); 349 sb.append("{ViewMode="); 487 public void showHelp(Account account, int viewMode) { 488 int helpContext = ViewMode.isConversationMode(viewMode)
|
AbstractActivityController.java | 217 protected final ViewMode mViewMode; 522 public AbstractActivityController(MailActivity activity, ViewMode viewMode) { 525 mViewMode = viewMode; [all...] |
FolderSelectionActivity.java | 313 public ViewMode getViewMode() { 455 public void showHelp(Account account, int viewMode) {
|
ConversationListFragment.java | 66 import com.android.mail.ui.ViewMode.ModeChangeListener; 791 if (ViewMode.isListMode(newMode)) { [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
SortController.java | 26 import com.android.documentsui.base.State.ViewMode; 47 public void onViewModeChanged(@ViewMode int mode) { 77 @ViewMode int initialMode,
|
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/ |
HelpItem.java | 24 import com.android.mail.ui.ViewMode; 38 mActivity.showHelp(mAccount, ViewMode.CONVERSATION_LIST);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/ |
LocalPreferences.java | 31 import com.android.documentsui.base.State.ViewMode; 39 public static @ViewMode int getViewMode(Context context, RootInfo root, 40 @ViewMode int fallback) { 44 public static void setViewMode(Context context, RootInfo root, @ViewMode int viewMode) { 45 assert(viewMode != MODE_UNKNOWN); 46 getPrefs(context).edit().putInt(createKey(root), viewMode).apply();
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
State.java | 65 public @interface ViewMode {} 74 public @ViewMode int derivedMode = MODE_GRID;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
IconHelper.java | 45 import com.android.documentsui.base.State.ViewMode; 90 public void setViewMode(@ViewMode int mode) {
|
DirectoryFragment.java | 87 import com.android.documentsui.base.State.ViewMode; 174 private @ViewMode int mMode; 519 private void updateLayout(@ViewMode int mode) { 564 private int calculateColumnCount(@ViewMode int mode) { 597 private int getDirectoryPadding(@ViewMode int mode) { [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
BaseActivity.java | 52 import com.android.documentsui.base.State.ViewMode; 488 void setViewMode(@ViewMode int mode) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
shldisp.h | [all...] |
shobjidl.h | [all...] |