Java Code Examples for android.widget.MediaController#MediaPlayerControl

The following examples show how to use android.widget.MediaController#MediaPlayerControl . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VideoProgressBar.java    From AerialDream with GNU General Public License v3.0 4 votes vote down vote up
public void setController(MediaController.MediaPlayerControl controller) {
    this.controller = controller;
    postInvalidate();
}
 
Example 2
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static Void mediaPlayer(MediaController.MediaPlayerControl arg) {
  return BaseDSL.attr("mediaPlayer", arg);
}
 
Example 3
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static Void mediaPlayer(MediaController.MediaPlayerControl arg) {
  return BaseDSL.attr("mediaPlayer", arg);
}
 
Example 4
Source File: SideBySideActivity.java    From MediaPlayer-Extended with Apache License 2.0 4 votes vote down vote up
@Override
public void seekTo(int pos) {
    for(MediaController.MediaPlayerControl mpc : mControls) {
        mpc.seekTo(pos);
    }
}
 
Example 5
Source File: SideBySideSeekTestActivity.java    From MediaPlayer-Extended with Apache License 2.0 4 votes vote down vote up
@Override
public void pause() {
    for(MediaController.MediaPlayerControl mpc : mControls) {
        mpc.pause();
    }
}
 
Example 6
Source File: SideBySideActivity.java    From MediaPlayer-Extended with Apache License 2.0 4 votes vote down vote up
public MediaPlayerMultiControl(MediaController.MediaPlayerControl... controls) {
    mControls = new ArrayList<>();
    for(MediaController.MediaPlayerControl mpc : controls) {
        mControls.add(mpc);
    }
}
 
Example 7
Source File: CustomMediaContoller.java    From MD with Apache License 2.0 4 votes vote down vote up
@Override
public void setMediaPlayer(MediaController.MediaPlayerControl player) {
}
 
Example 8
Source File: SideBySideSeekTestActivity.java    From MediaPlayer-Extended with Apache License 2.0 4 votes vote down vote up
public MediaPlayerMultiControl(MediaController.MediaPlayerControl... controls) {
    mControls = new ArrayList<MediaController.MediaPlayerControl>();
    for(MediaController.MediaPlayerControl mpc : controls) {
        mControls.add(mpc);
    }
}
 
Example 9
Source File: SideBySideSeekTestActivity.java    From MediaPlayer-Extended with Apache License 2.0 4 votes vote down vote up
@Override
public void start() {
    for(MediaController.MediaPlayerControl mpc : mControls) {
        mpc.start();
    }
}
 
Example 10
Source File: IMediaController.java    From MD with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 11
Source File: IMediaController.java    From GiraffePlayer with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 12
Source File: IMediaController.java    From WliveTV with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 13
Source File: IMediaController.java    From ZZShow with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 14
Source File: IMediaController.java    From LivePlayback with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 15
Source File: IMediaController.java    From HeroVideo-master with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 16
Source File: IMediaController.java    From TvPlayer with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 17
Source File: IMediaController.java    From MKVideoPlayer with MIT License votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 18
Source File: IMediaController.java    From ShareBox with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 19
Source File: IMediaController.java    From HeroVideo-master with Apache License 2.0 votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player); 
Example 20
Source File: IMediaController.java    From DanDanPlayForAndroid with MIT License votes vote down vote up
void setMediaPlayer(MediaController.MediaPlayerControl player);