Home
last modified time | relevance | path

Searched refs:MINUTE_BUCKETS (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java47 private static final int[] MINUTE_BUCKETS = ZenModeConfig.MINUTE_BUCKETS; field in ZenDurationDialog
48 @VisibleForTesting protected static final int MIN_BUCKET_MINUTES = MINUTE_BUCKETS[0];
50 MINUTE_BUCKETS[MINUTE_BUCKETS.length - 1];
51 private static final int DEFAULT_BUCKET_INDEX = Arrays.binarySearch(MINUTE_BUCKETS, 60);
187 tag.countdownZenDuration = MINUTE_BUCKETS[DEFAULT_BUCKET_INDEX]; in bindTag()
295 final int N = MINUTE_BUCKETS.length; in onClickTimeButton()
301 final int bucketMinutes = MINUTE_BUCKETS[j]; in onClickTimeButton()
310 newDndTimeDuration = MINUTE_BUCKETS[mBucketIndex]; in onClickTimeButton()
315 newDndTimeDuration = MINUTE_BUCKETS[mBucketIndex]; in onClickTimeButton()
DEnableZenModeDialog.java60 private static final int[] MINUTE_BUCKETS = ZenModeConfig.MINUTE_BUCKETS; field in EnableZenModeDialog
61 private static final int MIN_BUCKET_MINUTES = MINUTE_BUCKETS[0];
62 private static final int MAX_BUCKET_MINUTES = MINUTE_BUCKETS[MINUTE_BUCKETS.length - 1];
63 private static final int DEFAULT_BUCKET_INDEX = Arrays.binarySearch(MINUTE_BUCKETS, 60);
320 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in bindGenericCountdown()
385 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in updateUi()
422 final int N = MINUTE_BUCKETS.length; in onClickTimeButton()
430 final int bucketMinutes = MINUTE_BUCKETS[j]; in onClickTimeButton()
443 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
449 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java83 private static final int[] MINUTE_BUCKETS = ZenModeConfig.MINUTE_BUCKETS; field in ZenModePanel
84 private static final int MIN_BUCKET_MINUTES = MINUTE_BUCKETS[0];
85 private static final int MAX_BUCKET_MINUTES = MINUTE_BUCKETS[MINUTE_BUCKETS.length - 1];
86 private static final int DEFAULT_BUCKET_INDEX = Arrays.binarySearch(MINUTE_BUCKETS, 60);
551 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser());
723 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in bind()
771 final int N = MINUTE_BUCKETS.length; in onClickTimeButton()
779 final int bucketMinutes = MINUTE_BUCKETS[j]; in onClickTimeButton()
792 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
798 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
[all …]
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java86 public static final int[] MINUTE_BUCKETS = generateMinuteBuckets(); field in ZenModeConfig
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt63899 Landroid/service/notification/ZenModeConfig;->MINUTE_BUCKETS:[I