Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DZenDurationDialog.java48 private static final int[] MINUTE_BUCKETS = ZenModeConfig.MINUTE_BUCKETS; field in ZenDurationDialog
49 @VisibleForTesting protected static final int MIN_BUCKET_MINUTES = MINUTE_BUCKETS[0];
51 MINUTE_BUCKETS[MINUTE_BUCKETS.length - 1];
52 private static final int DEFAULT_BUCKET_INDEX = Arrays.binarySearch(MINUTE_BUCKETS, 60);
188 tag.countdownZenDuration = MINUTE_BUCKETS[DEFAULT_BUCKET_INDEX]; in bindTag()
299 final int N = MINUTE_BUCKETS.length; in onClickTimeButton()
305 final int bucketMinutes = MINUTE_BUCKETS[j]; in onClickTimeButton()
314 newDndTimeDuration = MINUTE_BUCKETS[mBucketIndex]; in onClickTimeButton()
319 newDndTimeDuration = MINUTE_BUCKETS[mBucketIndex]; in onClickTimeButton()
H A 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);
337 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in bindGenericCountdown()
398 plusButton.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in updateUi()
440 final int N = MINUTE_BUCKETS.length; in onClickTimeButton()
448 final int bucketMinutes = MINUTE_BUCKETS[j]; in onClickTimeButton()
461 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
467 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java86 private static final int[] MINUTE_BUCKETS = ZenModeConfig.MINUTE_BUCKETS; field in ZenModePanel
87 private static final int MIN_BUCKET_MINUTES = MINUTE_BUCKETS[0];
88 private static final int MAX_BUCKET_MINUTES = MINUTE_BUCKETS[MINUTE_BUCKETS.length - 1];
89 private static final int DEFAULT_BUCKET_INDEX = Arrays.binarySearch(MINUTE_BUCKETS, 60);
555 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser());
728 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in bind()
777 final int N = MINUTE_BUCKETS.length; in onClickTimeButton()
785 final int bucketMinutes = MINUTE_BUCKETS[j]; in onClickTimeButton()
798 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
804 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()
[all …]
/aosp12/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java94 public static final int[] MINUTE_BUCKETS = generateMinuteBuckets(); field in ZenModeConfig
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt53310 Landroid/service/notification/ZenModeConfig;->MINUTE_BUCKETS:[I