提交 22eaaaa7 编写于 作者: S shuyu

1.3.8 将一些控件移植到base

上级 c20b1c21
......@@ -67,18 +67,9 @@ public abstract class GSYVideoPlayer extends GSYBaseVideoPlayer implements View.
public static boolean WIFI_TIP_DIALOG_SHOWED = false;
protected Timer UPDATE_PROGRESS_TIMER;
protected View mStartButton;
protected SeekBar mProgressBar;
protected ImageView mFullscreenButton;
protected TextView mCurrentTimeTextView, mTotalTimeTextView;
protected ViewGroup mTopContainer, mBottomContainer;
protected Surface mSurface;
protected ImageView mBackButton;
protected ProgressTimerTask mProgressTimerTask;
......
......@@ -14,6 +14,8 @@ import android.view.Window;
import android.view.WindowManager;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.SeekBar;
import android.widget.TextView;
import com.shuyu.gsyvideoplayer.GSYTextureView;
import com.shuyu.gsyvideoplayer.GSYVideoManager;
......@@ -103,8 +105,19 @@ public abstract class GSYBaseVideoPlayer extends FrameLayout implements GSYMedia
protected ImageView mCoverImageView; //内部使用,请勿操作哟~
protected Bitmap mFullPauseBitmap = null;//暂停时的全屏图片;
protected View mStartButton;
protected SeekBar mProgressBar;
protected ImageView mFullscreenButton;
protected TextView mCurrentTimeTextView, mTotalTimeTextView;
protected ViewGroup mTopContainer, mBottomContainer;
protected ImageView mBackButton;
protected Bitmap mFullPauseBitmap = null;//暂停时的全屏图片;
private OrientationUtils mOrientationUtils; //旋转工具类
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册