Java Code Examples for com.shuyu.gsyvideoplayer.gsyvideomanager#backFromWindowFull()

The following examples show how to use com.shuyu.gsyvideoplayer.gsyvideomanager#backFromWindowFull() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InputUrlDetailActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {

    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 2
Source File: DetailDownloadPlayer.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {

    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 3
Source File: AudioDetailPlayer.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {

    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 4
Source File: SimpleDetailActivityMode2.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }
    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 5
Source File: SimpleListVideoActivityMode1.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 6
Source File: DetailNormalActivityPlayer.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {

    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 7
Source File: RecyclerViewActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 8
Source File: ScrollingActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {

    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 9
Source File: DetailPlayer.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {

    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 10
Source File: DetailMoreTypeActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {

    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 11
Source File: ListADVideoActivity2.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    if (GSYVideoADManager.backFromWindowFull(this)) {
        return;
    }
    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 12
Source File: AutoPlayRecyclerViewActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 13
Source File: DanmkuVideoActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {

    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 14
Source File: ListVideoActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    //为了支持重力旋转
    onBackPressAdapter();

    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 15
Source File: SwitchDetailActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    if (orientationUtils != null) {
        orientationUtils.backToProtVideo();
    }
    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 16
Source File: SwitchListVideoActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 17
Source File: ListADVideoActivity.java    From GSYVideoPlayer with Apache License 2.0 5 votes vote down vote up
@Override
public void onBackPressed() {
    if (GSYVideoADManager.backFromWindowFull(this)) {
        return;
    }
    if (GSYVideoManager.backFromWindowFull(this)) {
        return;
    }
    super.onBackPressed();
}
 
Example 18
Source File: VideoFragment.java    From GSYVideoPlayer with Apache License 2.0 4 votes vote down vote up
public boolean onBackPressed() {
    if (GSYVideoManager.backFromWindowFull(getActivity())) {
        return true;
    }
    return false;
}
 
Example 19
Source File: GSYVideoPlayer.java    From GSYVideoPlayer with Apache License 2.0 4 votes vote down vote up
@Override
protected boolean backFromFull(Context context) {
    return GSYVideoManager.backFromWindowFull(context);
}