Searched refs:attentiveTime (Results 1 – 1 of 1) sorted by relevance
138 final int attentiveTime = Integer.parseInt((String) newValue); in onPreferenceChange() local139 if (isTimeLargerThan(getSleepTime(), attentiveTime)) { in onPreferenceChange()147 } else if (attentiveTime > WARNING_THRESHOLD_ATTENTIVE_TIME_MS in onPreferenceChange()148 || attentiveTime == -1) { in onPreferenceChange()149 showConfirmChangeSettingDialog(true, attentiveTime); in onPreferenceChange()152 confirmAttentiveSleepTime(attentiveTime); in onPreferenceChange()190 private void confirmAttentiveSleepTime(int attentiveTime) { in confirmAttentiveSleepTime() argument192 mAttentiveTimePref.setValue(String.valueOf(attentiveTime)); in confirmAttentiveSleepTime()193 setAttentiveSleepTime(attentiveTime); in confirmAttentiveSleepTime()