Searched refs:mBucketIndex (Results 1 – 3 of 3) sorted by relevance
81 private int mBucketIndex = -1; field in EnableZenModeDialog345 mBucketIndex = DEFAULT_BUCKET_INDEX; in bindGenericCountdown()347 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in bindGenericCountdown()406 if (mBucketIndex > -1) { in updateUi()407 minusButton.setEnabled(mBucketIndex > 0); in updateUi()408 plusButton.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in updateUi()451 if (mBucketIndex == -1) { in onClickTimeButton()461 mBucketIndex = j; in onClickTimeButton()469 mBucketIndex = DEFAULT_BUCKET_INDEX; in onClickTimeButton()471 MINUTE_BUCKETS[mBucketIndex], ActivityManager.getCurrentUser()); in onClickTimeButton()[all …]
53 @VisibleForTesting protected int mBucketIndex = -1; field in ZenDurationDialog303 if (mBucketIndex == -1) { in onClickTimeButton()310 mBucketIndex = j; in onClickTimeButton()316 mBucketIndex = DEFAULT_BUCKET_INDEX; in onClickTimeButton()317 newDndTimeDuration = MINUTE_BUCKETS[mBucketIndex]; in onClickTimeButton()321 mBucketIndex = Math.max(0, Math.min(N - 1, mBucketIndex + (up ? 1 : -1))); in onClickTimeButton()322 newDndTimeDuration = MINUTE_BUCKETS[mBucketIndex]; in onClickTimeButton()
172 mController.mBucketIndex = -1; // reset current bucket index to reset countdownZenDuration in testGetTimeFromBucket()186 mController.mBucketIndex = -1; in testGetTimeFromBucket()192 mController.mBucketIndex = -1; in testGetTimeFromBucket()198 mController.mBucketIndex = -1; in testGetTimeFromBucket()204 mController.mBucketIndex = -1; in testGetTimeFromBucket()