Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java120 CheckBoxPreference mVibrate; field in GeneralPreferences
160 mVibrate = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS_VIBRATE); in onCreate()
165 mAlertGroup.removePreference(mVibrate); in onCreate()
268 mVibrate.setOnPreferenceChangeListener(listener); in setPreferenceListeners()
334 } else if (preference == mVibrate) { in onPreferenceChange()
335 mVibrate.setChecked((Boolean) newValue); in onPreferenceChange()
363 mVibrate.setChecked(Utils.getDefaultVibrate(getActivity(), prefs)); in migrateOldPreferences()
393 mVibrate.setEnabled(true); in updateChildPreferences()
397 mVibrate.setEnabled(false); in updateChildPreferences()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java102 values.put(VIBRATE, instance.mVibrate ? 1 : 0); in createContentValues()
294 public boolean mVibrate; field in AlarmInstance
308 mVibrate = false; in AlarmInstance()
321 this.mVibrate = instance.mVibrate; in AlarmInstance()
336 mVibrate = c.getInt(Alarm.INSTANCE_VIBRATE_INDEX) == 1; in AlarmInstance()
345 mVibrate = c.getInt(VIBRATE_INDEX) == 1; in AlarmInstance()
470 ", mVibrate=" + mVibrate + in toString()
DAlarm.java383 result.mVibrate = vibrate;
/packages/apps/Settings/src/com/android/settings/notification/
DChannelNotificationSettings.java65 private RestrictedSwitchPreference mVibrate; field in ChannelNotificationSettings
215 mVibrate = (RestrictedSwitchPreference) findPreference(KEY_VIBRATE); in setupVibrate()
216 mVibrate.setDisabledByAdmin(mSuspendedAppsAdmin); in setupVibrate()
217 mVibrate.setEnabled(!mVibrate.isDisabledByAdmin() && isChannelConfigurable(mChannel)); in setupVibrate()
218 mVibrate.setChecked(mChannel.shouldVibrate()); in setupVibrate()
219 mVibrate.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { in setupVibrate()
379 setVisible(mVibrate, checkCanBeVisible(NotificationManager.IMPORTANCE_DEFAULT)); in updateDependents()
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java49 private Boolean mVibrate; field in AlertServiceTest.MockSharedPreferences
67 mVibrate = true; in init()
83 if (mVibrate == null) { in getBoolean()
87 boolean val = mVibrate; in getBoolean()
89 mVibrate = null; in getBoolean()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmKlaxon.java62 if (instance.mVibrate) { in start()
DAlarmUpdateHandler.java122 newInstance.mVibrate = alarm.vibrate; in asyncUpdateAlarm()