Home
last modified time | relevance | path

Searched refs:SilentSetting (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DSilentSettingsModel.java36 import com.android.deskclock.data.DataModel.SilentSetting;
78 private SilentSetting mSilentSetting;
133 private void setSilentState(SilentSetting silentSetting) { in setSilentState()
135 final SilentSetting oldReason = mSilentSetting; in setSilentState()
149 private final class CheckSilenceSettingsTask extends AsyncTask<Void, Void, SilentSetting> {
151 protected SilentSetting doInBackground(Void... parameters) { in doInBackground()
153 return SilentSetting.DO_NOT_DISTURB; in doInBackground()
155 return SilentSetting.MUTED_VOLUME; in doInBackground()
157 return SilentSetting.SILENT_RINGTONE; in doInBackground()
159 return SilentSetting.BLOCKED_NOTIFICATIONS; in doInBackground()
[all …]
DSilentSettingsModel.kt44 import com.android.deskclock.data.DataModel.SilentSetting
71 private var mSilentSetting: SilentSetting? = null
120 private fun setSilentState(silentSetting: SilentSetting?) { in setSilentState()
136 private inner class CheckSilenceSettingsTask : AsyncTask<Void?, Void?, SilentSetting?>() {
137 override fun doInBackground(vararg parameters: Void?): SilentSetting? { in doInBackground()
139 return SilentSetting.DO_NOT_DISTURB in doInBackground()
141 return SilentSetting.MUTED_VOLUME in doInBackground()
143 return SilentSetting.SILENT_RINGTONE in doInBackground()
145 return SilentSetting.BLOCKED_NOTIFICATIONS in doInBackground()
157 override fun onPostExecute(silentSetting: SilentSetting?) { in onPostExecute()
DOnSilentSettingsListener.kt19 import com.android.deskclock.data.DataModel.SilentSetting
26 fun onSilentSettingsChange(before: SilentSetting?, after: SilentSetting?)
DOnSilentSettingsListener.java24 void onSilentSettingsChange(DataModel.SilentSetting before, DataModel.SilentSetting after); in onSilentSettingsChange()
DDataModel.java66 public enum SilentSetting { enum in DataModel
89 SilentSetting(int labelResId, int actionResId, Predicate<Context> actionEnabled, in SilentSetting() method in DataModel.SilentSetting
DDataModel.kt69 enum class SilentSetting( class in com.android.deskclock.data.DataModel
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java48 import com.android.deskclock.data.DataModel.SilentSetting;
604 public void onSilentSettingsChange(SilentSetting before, SilentSetting after) { in onSilentSettingsChange()
624 private final SilentSetting mSilentSetting;
626 private ShowSilentSettingSnackbarRunnable(SilentSetting silentSetting) { in ShowSilentSettingSnackbarRunnable()