Searched refs:mBucketIndex (Results 1 – 5 of 5) sorted by relevance
77 private int mBucketIndex = -1; field in EnableZenModeDialog318 mBucketIndex = DEFAULT_BUCKET_INDEX; in bindGenericCountdown()320 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in bindGenericCountdown()383 if (mBucketIndex > -1) { in updateUi()384 button1.setEnabled(mBucketIndex > 0); in updateUi()385 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in updateUi()423 if (mBucketIndex == -1) { in onClickTimeButton()433 mBucketIndex = j; in onClickTimeButton()441 mBucketIndex = DEFAULT_BUCKET_INDEX; in onClickTimeButton()443 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()[all …]
52 @VisibleForTesting protected int mBucketIndex = -1; field in ZenDurationDialog296 if (mBucketIndex == -1) { in onClickTimeButton()303 mBucketIndex = j; in onClickTimeButton()309 mBucketIndex = DEFAULT_BUCKET_INDEX; in onClickTimeButton()310 newDndTimeDuration = MINUTE_BUCKETS[mBucketIndex]; in onClickTimeButton()314 mBucketIndex = Math.max(0, Math.min(N - 1, mBucketIndex + (up ? 1 : -1))); in onClickTimeButton()315 newDndTimeDuration = MINUTE_BUCKETS[mBucketIndex]; in onClickTimeButton()
195 private int mBucketIndex = 0; in iterator()199 return mBucketIndex < mBuckets.size(); in iterator()204 Bucket bucket = getBucketByIndex(mBucketIndex); in iterator()205 mBucketIndex++; in iterator()
170 mController.mBucketIndex = -1; // reset current bucket index to reset countdownZenDuration in testGetTimeFromBucket()184 mController.mBucketIndex = -1; in testGetTimeFromBucket()190 mController.mBucketIndex = -1; in testGetTimeFromBucket()196 mController.mBucketIndex = -1; in testGetTimeFromBucket()202 mController.mBucketIndex = -1; in testGetTimeFromBucket()
122 private int mBucketIndex = -1; field in ZenModePanel549 mBucketIndex = DEFAULT_BUCKET_INDEX;551 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser());721 if (mBucketIndex > -1) { in bind()722 button1.setEnabled(mBucketIndex > 0); in bind()723 button2.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in bind()772 if (mBucketIndex == -1) { in onClickTimeButton()782 mBucketIndex = j; in onClickTimeButton()790 mBucketIndex = DEFAULT_BUCKET_INDEX; in onClickTimeButton()792 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()[all …]