Codota Logo
MediaPlayerManager.cancelProgressTimer
Code IndexAdd Codota to your IDE (free)

How to use
cancelProgressTimer
method
in
org.salient.artplayer.MediaPlayerManager

Best Java code snippets using org.salient.artplayer.MediaPlayerManager.cancelProgressTimer (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: maiwenchang/ArtPlayer

public void startProgressTimer() {
  Log.i(TAG, "startProgressTimer: " + " [" + this.hashCode() + "] ");
  cancelProgressTimer();
  mProgressTimer = new Timer();
  mProgressTimerTask = new ProgressTimerTask();
  mProgressTimer.schedule(mProgressTimerTask, 0, 300);
}
origin: moyokoo/YoutubeVideoSample

@Override
public void onStartTrackingTouch(SeekBar seekBar) {
  Log.i(TAG, "bottomProgress onStartTrackingTouch [" + this.hashCode() + "] ");
  MediaPlayerManager.instance().cancelProgressTimer();
  ViewParent vpdown = getParent();
  while (vpdown != null) {
    vpdown.requestDisallowInterceptTouchEvent(true);
    vpdown = vpdown.getParent();
  }
}
origin: maiwenchang/ArtPlayer

@Override
public void onStartTrackingTouch(SeekBar seekBar) {
  Log.i(TAG, "bottomProgress onStartTrackingTouch [" + this.hashCode() + "] ");
  MediaPlayerManager.instance().cancelProgressTimer();
  cancelDismissTask();
  ViewParent vpdown = getParent();
  while (vpdown != null) {
    vpdown.requestDisallowInterceptTouchEvent(true);
    vpdown = vpdown.getParent();
  }
}
origin: moyokoo/Diooto

@Override
public void onStartTrackingTouch(SeekBar seekBar) {
  MediaPlayerManager.instance().cancelProgressTimer();
  ViewParent vpdown = getParent();
  while (vpdown != null) {
    vpdown.requestDisallowInterceptTouchEvent(true);
    vpdown = vpdown.getParent();
  }
}
origin: maiwenchang/ArtPlayer

public void releaseMediaPlayer() {
  cancelProgressTimer();
  mediaPlayer.release();
  mediaPlayer.setHeaders(null);
  mediaPlayer.setDataSource(null);
  mCurrentData = null;
  updateState(MediaPlayerManager.PlayerState.IDLE);
}
origin: maiwenchang/ArtPlayer

public void updateState(PlayerState playerState) {
  Log.i(TAG, "updateState [" + playerState.name() + "] ");
  mPlayerState = playerState;
  switch (mPlayerState) {
    case PLAYING:
    case PAUSED:
      startProgressTimer();
      break;
    case ERROR:
    case IDLE:
    case PLAYBACK_COMPLETED:
      cancelProgressTimer();
      break;
  }
  VideoView currentFloor = getCurrentVideoView();
  if (currentFloor != null && currentFloor.isCurrentPlaying()) {
    AbsControlPanel controlPanel = currentFloor.getControlPanel();
    if (controlPanel != null) {
      controlPanel.notifyStateChange();//通知当前的控制面板改变布局
    }
  }
}
org.salient.artplayerMediaPlayerManagercancelProgressTimer

Popular methods of MediaPlayerManager

  • instance
  • getCurrentVideoView
    获得 MediaPlayer 绑定的 VideoView
  • getPlayerState
  • getDuration
  • isMute
  • pause
  • releasePlayerAndView
  • seekTo
  • startProgressTimer
  • getCurrentControlPanel
  • isLooping
  • isPlaying
  • isLooping,
  • isPlaying,
  • onVideoSizeChanged,
  • setScreenScale,
  • updateState,
  • backPress,
  • start,
  • addTextureView,
  • bindAudioFocus

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now