Searched refs:toTimeCondition (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java223 mTimeCondition = ZenModeConfig.toTimeCondition(MINUTE_BUCKETS[mBucketIndex]);
344 return ZenModeConfig.toTimeCondition(time, Math.round(span / (float) MINUTES_MS));
398 mTimeCondition = ZenModeConfig.toTimeCondition(MINUTE_BUCKETS[favoriteIndex]);
494 final Condition maxCondition = ZenModeConfig.toTimeCondition(MAX_BUCKET_MINUTES);
544 newCondition = ZenModeConfig.toTimeCondition(bucketTime, bucketMinutes);
550 newCondition = ZenModeConfig.toTimeCondition(MINUTE_BUCKETS[mBucketIndex]);
555 newCondition = ZenModeConfig.toTimeCondition(MINUTE_BUCKETS[mBucketIndex]);
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java464 public static Condition toTimeCondition(int minutesFromNow) { method in class:ZenModeConfig
467 return toTimeCondition(now + millis, minutesFromNow);
470 public static Condition toTimeCondition(long time, int minutes) { method in class:ZenModeConfig

Completed in 91 milliseconds