use of moe.codeest.enviews.ENDownloadView in project GSYVideoPlayer by CarGuo.
the class StandardGSYVideoPlayer method changeUiToPlayingBufferingClear.
private void changeUiToPlayingBufferingClear() {
Debuger.printfLog("changeUiToPlayingBufferingClear");
mTopContainer.setVisibility(View.INVISIBLE);
mBottomContainer.setVisibility(View.INVISIBLE);
mStartButton.setVisibility(View.INVISIBLE);
mLoadingProgressBar.setVisibility(View.VISIBLE);
if (mLoadingProgressBar instanceof ENDownloadView) {
ENDownloadView enDownloadView = (ENDownloadView) mLoadingProgressBar;
if (enDownloadView.getCurrentState() == ENDownloadView.STATE_PRE) {
((ENDownloadView) mLoadingProgressBar).start();
}
}
mThumbImageViewLayout.setVisibility(View.INVISIBLE);
mCoverImageView.setVisibility(View.INVISIBLE);
mBottomProgressBar.setVisibility(View.VISIBLE);
mLockScreen.setVisibility(GONE);
updateStartImage();
}
use of moe.codeest.enviews.ENDownloadView in project GSYVideoPlayer by CarGuo.
the class StandardGSYVideoPlayer method changeUiToPlayingBufferingShow.
private void changeUiToPlayingBufferingShow() {
Debuger.printfLog("changeUiToPlayingBufferingShow");
mTopContainer.setVisibility(View.VISIBLE);
mBottomContainer.setVisibility(View.VISIBLE);
mStartButton.setVisibility(View.INVISIBLE);
mLoadingProgressBar.setVisibility(View.VISIBLE);
if (mLoadingProgressBar instanceof ENDownloadView) {
ENDownloadView enDownloadView = (ENDownloadView) mLoadingProgressBar;
if (enDownloadView.getCurrentState() == ENDownloadView.STATE_PRE) {
((ENDownloadView) mLoadingProgressBar).start();
}
}
mThumbImageViewLayout.setVisibility(View.INVISIBLE);
mCoverImageView.setVisibility(View.INVISIBLE);
mBottomProgressBar.setVisibility(View.INVISIBLE);
mLockScreen.setVisibility(GONE);
}
use of moe.codeest.enviews.ENDownloadView in project GSYVideoPlayer by CarGuo.
the class StandardGSYVideoPlayer method changeUiToPrepareingShow.
private void changeUiToPrepareingShow() {
Debuger.printfLog("changeUiToPrepareingShow");
mTopContainer.setVisibility(View.VISIBLE);
mBottomContainer.setVisibility(View.VISIBLE);
mStartButton.setVisibility(View.INVISIBLE);
mLoadingProgressBar.setVisibility(View.VISIBLE);
if (mLoadingProgressBar instanceof ENDownloadView) {
ENDownloadView enDownloadView = (ENDownloadView) mLoadingProgressBar;
if (enDownloadView.getCurrentState() == ENDownloadView.STATE_PRE) {
((ENDownloadView) mLoadingProgressBar).start();
}
}
mThumbImageViewLayout.setVisibility(View.INVISIBLE);
mCoverImageView.setVisibility(View.VISIBLE);
mBottomProgressBar.setVisibility(View.INVISIBLE);
mLockScreen.setVisibility(GONE);
}
Aggregations