Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java491 int newRingerMode; in initRingerH()
495 newRingerMode = AudioManager.RINGER_MODE_VIBRATE; in initRingerH()
497 newRingerMode = AudioManager.RINGER_MODE_SILENT; in initRingerH()
500 newRingerMode = AudioManager.RINGER_MODE_SILENT; in initRingerH()
502 newRingerMode = AudioManager.RINGER_MODE_NORMAL; in initRingerH()
507 Events.writeEvent(mContext, Events.EVENT_RINGER_TOGGLE, newRingerMode); in initRingerH()
510 provideTouchFeedbackH(newRingerMode); in initRingerH()
511 mController.setRingerMode(newRingerMode, false); in initRingerH()
512 maybeShowToastH(newRingerMode); in initRingerH()
625 private void provideTouchFeedbackH(int newRingerMode) { in provideTouchFeedbackH() argument
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2077 int newRingerMode; in getNewRingerMode() local
2079 newRingerMode = mHasVibrator ? AudioManager.RINGER_MODE_VIBRATE in getNewRingerMode()
2083 newRingerMode = AudioManager.RINGER_MODE_NORMAL; in getNewRingerMode()
2085 return newRingerMode; in getNewRingerMode()