本文整理了Java中android.view.SurfaceView.onDetachedFromWindow()
方法的一些代码示例,展示了SurfaceView.onDetachedFromWindow()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SurfaceView.onDetachedFromWindow()
方法的具体详情如下:
包路径:android.view.SurfaceView
类名称:SurfaceView
方法名:onDetachedFromWindow
暂无
代码示例来源:origin: libgdx/libgdx
/**
* This method is used as part of the View class and is not normally
* called or subclassed by clients of GLSurfaceView.
* Must not be called before a renderer has been set.
*/
@Override
protected void onDetachedFromWindow() {
if (LOG_ATTACH_DETACH) {
Log.d(TAG, "onDetachedFromWindow");
}
if (mGLThread != null) {
mGLThread.requestExitAndWait();
}
mDetached = true;
super.onDetachedFromWindow();
}
代码示例来源:origin: libgdx/libgdx
/**
* This method is used as part of the View class and is not normally
* called or subclassed by clients of GLSurfaceView.
* Must not be called before a renderer has been set.
*/
@Override
protected void onDetachedFromWindow() {
if (LOG_ATTACH_DETACH) {
Log.d(TAG, "onDetachedFromWindow");
}
if (mGLThread != null) {
mGLThread.requestExitAndWait();
}
mDetached = true;
super.onDetachedFromWindow();
}
代码示例来源:origin: jiajunhui/PlayerBase
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
PLog.d(TAG,"onSurfaceViewDetachedFromWindow");
}
代码示例来源:origin: derry/delion
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
mPreviousWindowTop = -1;
}
代码示例来源:origin: mrmaffen/vlc-android-sdk
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
}
代码示例来源:origin: wobiancao/RtspServerAndVlcPlay
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
}
代码示例来源:origin: ymcao/YaPlayer
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
}
代码示例来源:origin: pedroSG94/vlc-example-streamplayer
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
}
代码示例来源:origin: lizhifeng-sky/VideoEdit
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
if (mPlayer != null)
mPlayer.release();
}
代码示例来源:origin: hidaron/HiFrameAnimation
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
stopUpdate();
}
代码示例来源:origin: Unity-Technologies/unity-ads-android
@Override
protected void onDetachedFromWindow() {
if (LOG_ATTACH_DETACH) {
Log.d(TAG, "onDetachedFromWindow");
}
if (mGLThread != null) {
mGLThread.requestExitAndWait();
}
mDetached = true;
super.onDetachedFromWindow();
}
代码示例来源:origin: IvanVolosyuk/diskusage
@Override
protected void onDetachedFromWindow() {
Log.d("diskusage", "FileSystemViewGPU.onDetachedFromWindow");
super.onDetachedFromWindow();
thread.addEvent(thread.new ExitEvent());
}
代码示例来源:origin: AlexMofer/ZxingScanView
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
mAmbientLightManager.release();
mScanFeedbackManager.release();
}
代码示例来源:origin: hidaron/HiPraiseAnimation
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
mIsAttached = false;
mDrawTask.stop();
stop();
}
代码示例来源:origin: AlexMofer/ProjectX
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
mAmbientLightManager.release();
mScanFeedbackManager.release();
}
代码示例来源:origin: Catrobat/Paintroid
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
getHolder().removeCallback(this);
}
内容来源于网络,如有侵权,请联系作者删除!