Home
last modified time | relevance | path

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

/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DAudioFocusHelper.java31 AudioManager mAM; field in AudioFocusHelper
35 mAM = (AudioManager) ctx.getSystemService(Context.AUDIO_SERVICE); in AudioFocusHelper()
42 mAM.requestAudioFocus(this, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN); in requestFocus()
47 return AudioManager.AUDIOFOCUS_REQUEST_GRANTED == mAM.abandonAudioFocus(this); in abandonFocus()