Home
last modified time | relevance | path

Searched refs:plusButton (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java233 final ImageView plusButton = (ImageView) row.findViewById(android.R.id.button2); in updateButtons() local
244 plusButton.setOnClickListener(new View.OnClickListener() { in updateButtons()
252 plusButton.setVisibility(View.VISIBLE); in updateButtons()
255 plusButton.setEnabled(tag.countdownZenDuration != MAX_BUCKET_MINUTES); in updateButtons()
258 plusButton.setAlpha(plusButton.isEnabled() ? 1f : .5f); in updateButtons()
263 if (plusButton != null) { in updateButtons()
264 ((ViewGroup) row).removeView(plusButton); in updateButtons()
DEnableZenModeDialog.java363 final ImageView plusButton = (ImageView) row.findViewById(android.R.id.button2); in updateUi() local
373 plusButton.setOnClickListener(new View.OnClickListener() { in updateUi()
382 plusButton.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in updateUi()
388 plusButton.setEnabled(!Objects.equals(condition.summary, maxCondition.summary)); in updateUi()
392 plusButton.setAlpha(plusButton.isEnabled() ? 1f : .5f); in updateUi()
398 if (plusButton != null) { in updateUi()
399 ((ViewGroup) row).removeView(plusButton); in updateUi()