Searched defs:LENGTH_SHORT (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DToast.java69 @IntDef({LENGTH_SHORT, LENGTH_LONG})
78 public static final int LENGTH_SHORT = 0; field in class:Toast
161 * @see #LENGTH_SHORT
255 * @param duration How long to display the message. Either {@link #LENGTH_SHORT} or
280 * @param duration How long to display the message. Either {@link #LENGTH_SHORT} or
/frameworks/base/core/java/android/text/format/
H A DDateUtils.java151 * <p>In most languages, the results returned for LENGTH_SHORT will be the same as
156 public static final int LENGTH_SHORT = 30; field in class:DateUtils
161 * as {@link #LENGTH_SHORT}.
173 * the results returned for {@link #LENGTH_SHORT}.
183 * @param abbrev One of {@link #LENGTH_LONG}, {@link #LENGTH_SHORT},
185 * Note that in most languages, {@link #LENGTH_SHORT}
199 case LENGTH_SHORT: names = d.shortWeekdayNames; break; // TODO
237 case LENGTH_SHORT: names = d.shortMonthNames; break;
/frameworks/support/design/src/android/support/design/widget/
H A DSnackbar.java124 @IntDef({LENGTH_INDEFINITE, LENGTH_SHORT, LENGTH_LONG})
142 public static final int LENGTH_SHORT = -1; field in class:Snackbar
211 * @param duration How long to display the message. Either {@link #LENGTH_SHORT} or {@link
237 * @param duration How long to display the message. Either {@link #LENGTH_SHORT} or {@link
360 * {@link #LENGTH_SHORT}, {@link #LENGTH_LONG}, or a custom duration

Completed in 919 milliseconds