@Override public void onResume() { super.onResume(); if (orientationSensor != null) { sensorManager.registerListener( phoneOrientationListener, orientationSensor, SensorManager.SENSOR_DELAY_FASTEST); } }
public void onResumeGLSurfaceView () { if (view != null) { if (view instanceof GLSurfaceViewAPI18) ((GLSurfaceViewAPI18)view).onResume(); if (view instanceof GLSurfaceView) ((GLSurfaceView)view).onResume(); } }
public void onResumeGLSurfaceView () { if (view != null) { if (view instanceof GLSurfaceViewAPI18) ((GLSurfaceViewAPI18)view).onResume(); if (view instanceof GLSurfaceView) ((GLSurfaceView)view).onResume(); } }
@Override public void onResume() { super.onResume(); if (mRenderer != null) { mRenderer.initRenderSize(); } }
/** * Resumes the Surface. */ public void onResume() { if (surfaceView instanceof GLSurfaceView) { ((GLSurfaceView) surfaceView).onResume(); } else if (surfaceView instanceof GLTextureView) { ((GLTextureView) surfaceView).onResume(); } }
@Override public void onResume() { super.onResume(); if (mRendererDelegate != null) { mRendererDelegate.mRenderer.onResume(); } }
public void gainFocus() { logger.fine("gainFocus"); if (view != null) { view.onResume(); } if (app != null) { //resume the audio AudioRenderer audioRenderer = app.getAudioRenderer(); if (audioRenderer != null) { audioRenderer.resumeAll(); } //resume 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.resumeSensors(); } } } } isGLThreadPaused = false; if (app != null) { app.gainFocus(); } }
@Override public void gainFocus() { logger.fine("gainFocus"); if (view != null) { view.onResume(); } if (app != null) { //resume the audio AudioRenderer audioRenderer = app.getAudioRenderer(); if (audioRenderer != null) { audioRenderer.resumeAll(); } //resume 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.resumeSensors(); } } } } if (app != null) { app.gainFocus(); } }
@Override protected void onResume() { super.onResume(); mGLView.onResume(); }
@Override public void onResume() { super.onResume(); if (dbmHandler != null) { dbmHandler.onResume(); } }
@Override protected void onResume() { super.onResume(); mSensorManager.registerListener(this,mRotation,SensorManager.SENSOR_DELAY_GAME); mGLView.onResume(); }
@Override protected void onResume() { super.onResume(); mGLView.onResume(); }
@Override protected void onResume() { super.onResume(); mGLView.onResume(); }
@Override public void onResume() { super.onResume(); vsv.onResume(); if (client != null) { client.onResume(); } }
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; }
/** * Resumes the GLSurfaceView. */ public void onResume() { mGLSurfaceView.onResume(); }
@Override protected void onResume() { // The activity must call the GL surface view's onResume() on activity onResume(). super.onResume(); mGLSurfaceView.onResume(); }
@Override protected void onResume() { super.onResume(); mGLView.onResume(); }
@Override public void onResume() { Log.i(LOGTAG, "onResume"); super.onResume(); mRenderer.onResume(); }
public void resumeGame(){ if (!paused) return; now = 0; paused = false; view.onResume(); Music.INSTANCE.resume(); Sample.INSTANCE.resume(); }