本文整理了Java中android.widget.SeekBar.getSecondaryProgress()
方法的一些代码示例,展示了SeekBar.getSecondaryProgress()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SeekBar.getSecondaryProgress()
方法的具体详情如下:
包路径:android.widget.SeekBar
类名称: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();
内容来源于网络,如有侵权,请联系作者删除!