Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java232 final ImageView minusButton = (ImageView) row.findViewById(android.R.id.button1); in updateButtons() local
236 minusButton.setOnClickListener(new View.OnClickListener() { in updateButtons()
251 minusButton.setVisibility(View.VISIBLE); in updateButtons()
254 minusButton.setEnabled(time > MIN_BUCKET_MINUTES); in updateButtons()
257 minusButton.setAlpha(minusButton.isEnabled() ? 1f : .5f); in updateButtons()
260 if (minusButton != null) { in updateButtons()
261 ((ViewGroup) row).removeView(minusButton); in updateButtons()
DEnableZenModeDialog.java362 final ImageView minusButton = (ImageView) row.findViewById(android.R.id.button1); in updateUi() local
365 minusButton.setOnClickListener(new View.OnClickListener() { in updateUi()
381 minusButton.setEnabled(mBucketIndex > 0); in updateUi()
385 minusButton.setEnabled(span > MIN_BUCKET_MINUTES * MINUTES_MS); in updateUi()
391 minusButton.setAlpha(minusButton.isEnabled() ? 1f : .5f); in updateUi()
394 if (minusButton != null) { in updateUi()
395 ((ViewGroup) row).removeView(minusButton); in updateUi()