Lines Matching defs:mode
58 * content, and the mode that SliceView is configured for. The modes that SliceView supports are:
314 int mode = getMode();
315 if (mode == MODE_SHORTCUT) {
318 return mode == MODE_LARGE
353 // Not enough space available for slice in current mode
464 * Set the mode this view should present in.
466 public void setMode(@SliceMode int mode) {
467 setMode(mode, false /* animate */);
511 public void setMode(@SliceMode int mode, boolean animate) {
515 if (mMode == mode) {
518 mMode = mode;
523 * @return the mode this view is presenting in.
564 int mode = getMode();
566 if (mode == MODE_SHORTCUT && !isCurrentViewShortcut) {
570 } else if (mode != MODE_SHORTCUT && isCurrentViewShortcut) {
575 mCurrentView.setMode(mode);
643 * @return String representation of the provided mode.
647 public static String modeToString(@SliceMode int mode) {
648 switch(mode) {
656 return "unknown mode: " + mode;