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.java236 final ImageView plusButton = (ImageView) row.findViewById(android.R.id.button2); in updateButtons() local
247 plusButton.setOnClickListener(new View.OnClickListener() { in updateButtons()
255 plusButton.setVisibility(View.VISIBLE); in updateButtons()
258 plusButton.setEnabled(tag.countdownZenDuration != MAX_BUCKET_MINUTES); in updateButtons()
261 plusButton.setAlpha(plusButton.isEnabled() ? 1f : .5f); in updateButtons()
266 if (plusButton != null) { in updateButtons()
267 ((ViewGroup) row).removeView(plusButton); in updateButtons()
DEnableZenModeDialog.java389 final ImageView plusButton = (ImageView) row.findViewById(android.R.id.button2); in updateUi() local
399 plusButton.setOnClickListener(new View.OnClickListener() { in updateUi()
408 plusButton.setEnabled(mBucketIndex < MINUTE_BUCKETS.length - 1); in updateUi()
414 plusButton.setEnabled(!Objects.equals(condition.summary, maxCondition.summary)); in updateUi()
418 plusButton.setAlpha(plusButton.isEnabled() ? 1f : .5f); in updateUi()
424 if (plusButton != null) { in updateUi()
425 ((ViewGroup) row).removeView(plusButton); in updateUi()