android.widget.SeekBar.getSecondaryProgress()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中android.widget.SeekBar.getSecondaryProgress()方法的一些代码示例,展示了SeekBar.getSecondaryProgress()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SeekBar.getSecondaryProgress()方法的具体详情如下:
包路径:android.widget.SeekBar
类名称:SeekBar
方法名:getSecondaryProgress

SeekBar.getSecondaryProgress介绍

暂无

代码示例

代码示例来源:origin: CarGuo/GSYVideoPlayer

@Override
protected void cloneParams(GSYBaseVideoPlayer from, GSYBaseVideoPlayer to) {
  super.cloneParams(from, to);
  StandardGSYVideoPlayer sf = (StandardGSYVideoPlayer) from;
  StandardGSYVideoPlayer st = (StandardGSYVideoPlayer) to;
  if (st.mProgressBar != null && sf.mProgressBar != null) {
    st.mProgressBar.setProgress(sf.mProgressBar.getProgress());
    st.mProgressBar.setSecondaryProgress(sf.mProgressBar.getSecondaryProgress());
  }
  if (st.mTotalTimeTextView != null && sf.mTotalTimeTextView != null) {
    st.mTotalTimeTextView.setText(sf.mTotalTimeTextView.getText());
  }
  if (st.mCurrentTimeTextView != null && sf.mCurrentTimeTextView != null) {
    st.mCurrentTimeTextView.setText(sf.mCurrentTimeTextView.getText());
  }
}

代码示例来源:origin: lipangit/JiaoZiVideoPlayer

jzvd.progressBar.setSecondaryProgress(progressBar.getSecondaryProgress());
jzvd.startProgressTimer();
CLICK_QUIT_FULLSCREEN_TIME = System.currentTimeMillis();

代码示例来源:origin: stackoverflow.com

public void onProgressChanged(SeekBar seekBar, int progress,
        boolean fromUser) {
  int secondaryPosition = seekBar.getSecondaryProgress();
  if (progress > secondaryPosition)
    seekBar.setProgress(secondaryPosition);
}

代码示例来源:origin: hacknife/IPlayer

PlayerUtils.setRequestedOrientation(getContext(), orientationFullScreen);
onStateNormal();
iplayer.sb_bottom.setSecondaryProgress(sb_bottom.getSecondaryProgress());
iplayer.startProgressTimer();
CLICK_QUIT_FULLSCREEN_TIME = System.currentTimeMillis();

相关文章

SeekBar类方法