Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleDaysSelection.java37 private final SparseBooleanArray mDays = new SparseBooleanArray(); field in ZenModeScheduleDaysSelection
49 mDays.put(days[i], true); in ZenModeScheduleDaysSelection()
62 checkBox.setChecked(mDays.get(day)); in ZenModeScheduleDaysSelection()
66 mDays.put(day, isChecked); in ZenModeScheduleDaysSelection()
75 final SparseBooleanArray rt = new SparseBooleanArray(mDays.size()); in getDays()
76 for (int i = 0; i < mDays.size(); i++) { in getDays()
77 final int day = mDays.keyAt(i); in getDays()
78 if (!mDays.valueAt(i)) continue; in getDays()
DZenModeScheduleRuleSettings.java62 private Preference mDays; field in ZenModeScheduleRuleSettings
85 mDays = root.findPreference(KEY_DAYS); in onCreateInternal()
86 mDays.setOnPreferenceClickListener(new OnPreferenceClickListener() { in onCreateInternal()
116 mStart.setDependency(mDays.getKey()); in onCreateInternal()
138 mEnd.setDependency(mDays.getKey()); in onCreateInternal()
172 mDays.setSummary(sb); in updateDays()
173 mDays.notifyDependencyChange(false); in updateDays()
177 mDays.setSummary(R.string.zen_mode_schedule_rule_days_none); in updateDays()
178 mDays.notifyDependencyChange(true); in updateDays()