Home
last modified time | relevance | path

Searched refs:mAudioManager (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DSoundManager.java28 private AudioManager mAudioManager; field in SoundManager
39 if (mAudioManager == null) { in updateRingerMode()
40 mAudioManager = (AudioManager) mContext in updateRingerMode()
43 mSilentMode = (mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_NORMAL); in updateRingerMode()
56 if (mAudioManager == null) { in playKeyDown()
61 mAudioManager.playSoundEffect(sound, FX_VOLUME); in playKeyDown()
/packages/apps/Settings/src/com/android/settings/
DSoundAndDisplaySettings.java82 private AudioManager mAudioManager; field in SoundAndDisplaySettings
99 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate()
165 final int ringerMode = mAudioManager.getRingerMode(); in updateState()
182 vibrateSetting = mAudioManager.getVibrateSetting(AudioManager.VIBRATE_TYPE_RINGER) in updateState()
241 mAudioManager.setRingerMode(vibrate ? AudioManager.RINGER_MODE_VIBRATE : in setRingerMode()
244 mAudioManager.setRingerMode(AudioManager.RINGER_MODE_NORMAL); in setRingerMode()
245 mAudioManager.setVibrateSetting(AudioManager.VIBRATE_TYPE_RINGER, in setRingerMode()
267 mAudioManager.loadSoundEffects(); in onPreferenceTreeClick()
269 mAudioManager.unloadSoundEffects(); in onPreferenceTreeClick()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerActivity.java80 private AudioManager mAudioManager; field in VoiceDialerActivity
91 mAudioManager = (AudioManager)getSystemService(AUDIO_SERVICE); in onCreate()
231 … if ((mAudioManager != null) && (mAudioManager.shouldVibrate(AudioManager.VIBRATE_TYPE_RINGER))) { in playSound()
/packages/apps/Phone/src/com/android/phone/
DBluetoothHandsfree.java87 private AudioManager mAudioManager; field in BluetoothHandsfree
212 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in BluetoothHandsfree()
296 mAudioManager.setParameters(HEADSET_NAME+"="+name+";"+HEADSET_NREC+"=on"); in configAudioParameters()
938 mAudioManager.setBluetoothScoOn(true);
954 mAudioManager.setBluetoothScoOn(true);
967 mAudioManager.setBluetoothScoOn(false);
1133 mAudioManager.setBluetoothScoOn(false); in audioOff()
2017 mAudioManager.setParameters(HEADSET_NREC+"=off"); in initializeHandsfreeAtParser()
2020 mAudioManager.setParameters(HEADSET_NREC+"=on"); in initializeHandsfreeAtParser()
2090 int flag = mAudioManager.isBluetoothScoOn() ? AudioManager.FLAG_SHOW_UI:0; in initializeHandsfreeAtParser()
[all …]
DCallNotifier.java1648 private AudioManager mAudioManager; field in CallNotifier.EmergencyTonePlayerVibrator
1656 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in EmergencyTonePlayerVibrator()
1664 int ringerMode = mAudioManager.getRingerMode(); in start()
DCallFeaturesSetting.java159 private AudioManager mAudioManager; field in CallFeaturesSetting
389 mAudioManager.setParameter(HAC_KEY, hac != 0 ? HAC_VAL_ON : HAC_VAL_OFF); in onPreferenceTreeClick()
1191 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in onCreate()
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/
DLatinIME.java140 private AudioManager mAudioManager; field in LatinIME
999 if (mAudioManager == null) { in updateRingerMode()
1000 mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in updateRingerMode()
1002 if (mAudioManager != null) { in updateRingerMode()
1003 mSilentMode = (mAudioManager.getRingerMode() != AudioManager.RINGER_MODE_NORMAL); in updateRingerMode()
1010 if (mAudioManager == null) { in playKeyClick()
1030 mAudioManager.playSoundEffect(sound, FX_VOLUME); in playKeyClick()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java306 private AudioManager mAudioManager; field in GridViewSpecial.MyGestureDetector
365 if (mAudioManager == null) { in onSingleTapConfirmed()
366 mAudioManager = (AudioManager) getContext() in onSingleTapConfirmed()
369 mAudioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onSingleTapConfirmed()
/packages/apps/Camera/src/com/android/camera/
DGridViewSpecial.java304 private AudioManager mAudioManager; field in GridViewSpecial.MyGestureDetector
363 if (mAudioManager == null) { in onSingleTapConfirmed()
364 mAudioManager = (AudioManager) getContext() in onSingleTapConfirmed()
367 mAudioManager.playSoundEffect(AudioManager.FX_KEY_CLICK); in onSingleTapConfirmed()