Lines Matching refs:Flags
40 * Bitmask flags to specify which actions should be presented to the user.
42 public static final class Flags {
57 * Convenient combinations of commonly-used flags (see {@link Flags}).
61 Flags.TAKE_OR_PICK_PHOTO;
63 Flags.ALLOW_PRIMARY;
65 Flags.REMOVE_PHOTO |
66 Flags.TAKE_OR_PICK_PHOTO |
67 Flags.TAKE_OR_PICK_PHOTO_REPLACE_WORDING;
69 Flags.ALLOW_PRIMARY |
70 Flags.REMOVE_PHOTO |
71 Flags.TAKE_OR_PICK_PHOTO |
72 Flags.TAKE_OR_PICK_PHOTO_REPLACE_WORDING;
81 if ((mode & Flags.ALLOW_PRIMARY) > 0) {
86 if ((mode & Flags.REMOVE_PHOTO) > 0) {
91 if ((mode & Flags.TAKE_OR_PICK_PHOTO) > 0) {
92 boolean replace = (mode & Flags.TAKE_OR_PICK_PHOTO_REPLACE_WORDING) > 0;