Searched refs:mLocalPlayer (Results 1 – 1 of 1) sorted by relevance
80 private MediaPlayer mLocalPlayer; field in Ringtone185 if (mLocalPlayer == null) { in preferBuiltinDevice()188 return mLocalPlayer.setPreferredDevice(getBuiltinDevice(mAudioManager)); in preferBuiltinDevice()205 mLocalPlayer = new MediaPlayer(); in createLocalMediaPlayer()207 mLocalPlayer.setDataSource(mContext, mUri); in createLocalMediaPlayer()208 mLocalPlayer.setAudioAttributes(mAudioAttributes); in createLocalMediaPlayer()209 mLocalPlayer.setPreferredDevice( in createLocalMediaPlayer()215 mVolumeShaper = mLocalPlayer.createVolumeShaper(mVolumeShaperConfig); in createLocalMediaPlayer()217 mLocalPlayer.prepare(); in createLocalMediaPlayer()227 if (mLocalPlayer != null) { in createLocalMediaPlayer()[all …]