@Override public void onPause() { if (orientationSensor != null) { sensorManager.unregisterListener(phoneOrientationListener); } super.onPause(); }
public void onPauseGLSurfaceView () { if (view != null) { if (view instanceof GLSurfaceViewAPI18) ((GLSurfaceViewAPI18)view).onPause(); if (view instanceof GLSurfaceView) ((GLSurfaceView)view).onPause(); } }
public void onPauseGLSurfaceView () { if (view != null) { if (view instanceof GLSurfaceViewAPI18) ((GLSurfaceViewAPI18)view).onPause(); if (view instanceof GLSurfaceView) ((GLSurfaceView)view).onPause(); } }
/** * Pauses the Surface. */ public void onPause() { if (surfaceView instanceof GLSurfaceView) { ((GLSurfaceView) surfaceView).onPause(); } else if (surfaceView instanceof GLTextureView) { ((GLTextureView) surfaceView).onPause(); } }
@Override public void onPause() { super.onPause(); if (mRendererDelegate != null) { mRendererDelegate.mRenderer.onPause(); } }
@Override public void loseFocus() { logger.fine("loseFocus"); if (app != null) { app.loseFocus(); } if (view != null) { view.onPause(); } if (app != null) { //pause the audio AudioRenderer audioRenderer = app.getAudioRenderer(); if (audioRenderer != null) { audioRenderer.pauseAll(); } //pause the sensors (aka joysticks) if (app.getContext() != null) { JoyInput joyInput = app.getContext().getJoyInput(); if (joyInput != null) { if (joyInput instanceof AndroidSensorJoyInput) { AndroidSensorJoyInput androidJoyInput = (AndroidSensorJoyInput) joyInput; androidJoyInput.pauseSensors(); } } } } }
public void loseFocus() { logger.fine("loseFocus"); if (app != null) { app.loseFocus(); } if (view != null) { view.onPause(); } if (app != null) { //pause the audio AudioRenderer audioRenderer = app.getAudioRenderer(); if (audioRenderer != null) { audioRenderer.pauseAll(); } //pause the sensors (aka joysticks) if (app.getContext() != null) { JoyInput joyInput = app.getContext().getJoyInput(); if (joyInput != null) { if (joyInput instanceof AndroidSensorJoyInput) { AndroidSensorJoyInput androidJoyInput = (AndroidSensorJoyInput) joyInput; androidJoyInput.pauseSensors(); } } } } isGLThreadPaused = true; } }
@Override protected void onPause() { super.onPause(); mGLView.onPause(); }
@Override protected void onPause() { super.onPause(); mGLView.onPause(); }
@Override protected void onPause() { super.onPause(); mSensorManager.unregisterListener(this); mGLView.onPause(); }
@Override public void onPause() { if (dbmHandler != null) { dbmHandler.onPause(); } super.onPause(); }
@Override protected void onPause() { super.onPause(); mGLView.onPause(); } }
@Override public void onPause() { super.onPause(); mCamera2.close(); } }
@Override public void onPause() { super.onPause(); vsv.onPause(); if (client != null) { client.onPause(); } }
public class ClearActivity extends Activity { ... snip ... @Override protected void onPause() { super.onPause(); mGLView.onPause(); } @Override protected void onResume() { super.onResume(); mGLView.onResume(); } private GLSurfaceView mGLView; }
@Override protected void onPause() { // The activity must call the GL surface view's onPause() on activity onPause(). super.onPause(); mGLSurfaceView.onPause(); } }
@Override protected void onPause() { // The activity must call the GL surface view's onPause() on activity onPause(). super.onPause(); mGLSurfaceView.onPause(); } }
@Override protected void onPause() { // The activity must call the GL surface view's onPause() on activity onPause(). super.onPause(); mGLSurfaceView.onPause(); } }
@Override public void onPause() { Log.i(LOGTAG, "onPause"); mRenderer.onPause(); super.onPause(); }
@Override public void onPause() { if (DEBUG) Log.v(TAG, "onPause:"); if (mCameraHandler != null) { // just request stop prviewing mCameraHandler.stopPreview(false); } super.onPause(); }