List of usage examples for android.media AudioManager.OnAudioFocusChangeListener interface-usage
From source file com.ferdi2005.secondgram.voip.VoIPService.java
public class VoIPService extends Service implements VoIPController.ConnectionStateListener, SensorEventListener, AudioManager.OnAudioFocusChangeListener, NotificationCenter.NotificationCenterDelegate { private static final int ID_ONGOING_CALL_NOTIFICATION = 201; private static final int ID_INCOMING_CALL_NOTIFICATION = 202;
From source file mp.teardrop.PlaybackService.java
/** * Handles music playback and pretty much all the other work. */ public final class PlaybackService extends Service implements Handler.Callback, MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener, MediaPlayer.OnPreparedListener, SharedPreferences.OnSharedPreferenceChangeListener, SongTimeline.Callback,
From source file com.rks.musicx.services.MusicXService.java
public class MusicXService extends Service implements playInterface, MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnCompletionListener, AudioWidget.OnControlsClickListener, AudioWidget.OnWidgetStateChangedListener, AudioManager.OnAudioFocusChangeListener { private static Handler handler; public final int NO_REPEAT = 1;
From source file com.android.tv.MainActivity.java
/** * The main activity for the Live TV app. */ public class MainActivity extends Activity implements AudioManager.OnAudioFocusChangeListener { private static final String TAG = "MainActivity"; private static final boolean DEBUG = false;