Lines Matching defs:VISIBILITY
154 final int VISIBILITY = 2;
434 final int visibility = cursor.getInt(UpdateQuery.VISIBILITY);
437 if (isQueuedAndVisible(status, visibility)) {
439 } else if (isActiveAndVisible(status, visibility)) {
441 } else if (isCompleteAndVisible(status, visibility)) {
457 private static boolean isQueuedAndVisible(int status, int visibility) {
459 (visibility == VISIBILITY_VISIBLE
460 || visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
463 private static boolean isActiveAndVisible(int status, int visibility) {
465 (visibility == VISIBILITY_VISIBLE
466 || visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
469 private static boolean isCompleteAndVisible(int status, int visibility) {
471 (visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED
472 || visibility == VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION);