@Override protected void onPause() { // for back // overridePendingTransition(R.anim.anim_leave, // R.anim.anim_enter); super.onPause(); super.onPause(); }
@Override protected void onPause() { super.onPause(); if (isFinishing()) { overridePendingTransition(0, 0); } }
@Override public void onPause() { unregisterReceiver(receiver); super.onPause(); }
// If we're stopping, kill GPS updates @Override public void onPause() { super.onPause(); // If we were listening for locations, stop if (locationListener != null) locationManager.removeUpdates(locationListener); if (nmeaListener != null) locationManager.removeNmeaListener(nmeaListener); }
@Override protected void onPause() { super.onPause(); if (mAlertDialog != null && mAlertDialog.isShowing()) { mAlertDialog.dismiss(); } }
@Override protected void onPause() { super.onPause(); if (debug) { Log.i(TAG, "onPause"); } }
@Override protected void onPause() { // TODO Auto-generated method stub super.onPause(); proDialog.dismiss(); _onPause = true; }
@Override protected void onPause() { super.onPause(); getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); // Stop RTSP server if it is running getApplicationContext().stopService(new Intent(this, RtspServer.class)); }
@Override protected void onPause() { Log.d(TAG, "Pausing..."); super.onPause(); gameView.gameLoop.pauseThread(); gameSong.release(); }
@Override protected void onPause() { super.onPause(); sensorMan.unregisterListener(this); // Stop animation video setVideo(-1); }
@Override protected void onPause() { // TODO Auto-generated method stub super.onPause(); mMapView.onPause(); mLocationClient.stop(); }
@Override protected void onPause() { Log.i(TAG, "[ACTIVITY] onPause"); if (mIsRunning) {} if (mQuitting) { // mPedometerSettings.saveServiceRunningWithNullTimestamp(mIsRunning); } else { // mPedometerSettings.saveServiceRunningWithTimestamp(mIsRunning); } super.onPause(); stateEditor.putInt("parentStepCountKey", mStepValue); stateEditor.putInt("parentCoinsKey", parentcoinsValue); stateEditor.putInt("childStepCountKey", childstepcount); stateEditor.putInt("childCoinsKey", childcoinValue); stateEditor.commit(); // savePaceSetting(); Log.i( "INSIDEONPAUSE", "VALUES ==> " + mStepValue + " " + parentcoinsValue + " " + childstepcount + " " + childcoinValue); // Dheera: Added to resolve the memory leak issue if (mDataLogReceiver != null) { unregisterReceiver(mDataLogReceiver); mDataLogReceiver = null; } }
@Override protected void onPause() { super.onPause(); /// M: Code analyze 008, fix bug ALPS00236567, hide the mediaControl when activity paused /// so onTouchEvent excute show @{ if (mMediaController != null) { /// M: Must do this so we don't leak a window. mMediaController.hide(); } /// @} if (mSmilDoc != null) { ((EventTarget) mSmilDoc) .removeEventListener(SmilDocumentImpl.SMIL_DOCUMENT_END_EVENT, this, false); } /// M: Code analyze 002, fix bug ALPS00111374, whether need resume @{ if ((null != mSmilPlayer)) { if (mSmilPlayer.isPlayingState()) { mSmilPlayer.pause(); bNeedResume = true; } else if (mSmilPlayer.isPausedState()) { bNeedResume = false; } } /// @} }
@Override public void onPause() { super.onPause(); // 在activity执行onPause时执行mMapView. onPause (),实现地图生命周期管理 mMapView.onPause(); MobclickAgent.onPause(this); }
@Override protected void onPause() { Log.d(TAG, "onPause()"); super.onPause(); Cocos2dxHelper.onPause(); mGLSurfaceView.onPause(); }
@Override protected void onPause() { super.onPause(); // removeWindow(); kl.reenableKeyguard(); unregisterReceiver(mWifiReceiver); unregisterReceiver(mPowerBroadcastReceiver); sensorManager.unregisterListener(lsn); mWifiHandler.removeMessages(WIFI_MSG_SCAN); Log.d(TAG, " __________________---------- oldBrightness = " + oldBrightness); switch (mRecorder.state()) { case Recorder.IDLE_STATE: mRecorder.delete(); break; case Recorder.PLAYING_STATE: mRecorder.stop(); mRecorder.delete(); break; case Recorder.RECORDING_STATE: mRecorder.stop(); mRecorder.clear(); break; } mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, mOldVolume, 0); if (mSpeakerOn) { mAudioManager.setSpeakerphoneOn(false); } // unregisterReceiver(mPowerBroadcastReceiver); }
@Override protected void onPause() { super.onPause(); if (Log.DEBUG) Log.v("SMSPopupActivity: onPause()"); // Hide the soft keyboard in case it was shown via quick reply hideSoftKeyboard(); // Shutdown eyes-free TTS if (eyesFreeTts != null) { eyesFreeTts.shutdown(); } // Shutdown Android TTS if (androidTextToSpeechAvailable) { if (androidTts != null) { androidTts.shutdown(); } } // Dismiss loading dialog if (mProgressDialog != null) { mProgressDialog.dismiss(); } if (wasVisible) { // Cancel the receiver that will clear our locks ClearAllReceiver.removeCancel(getApplicationContext()); ClearAllReceiver.clearAll(!exitingKeyguardSecurely); } mDbAdapter.close(); }
@Override protected void onPause() { super.onPause(); Cocos2dxHelper.onPause(); this.mGLSurfaceView.onPause(); }
@Override protected void onPause() { super.onPause(); if (client != null) { client.disconnect(); } }
// Save preferences: scroll position, selected tab, expanded buildings @Override public void onPause() { super.onPause(); SharedPreferences settings = getPreferences(MODE_PRIVATE); SharedPreferences.Editor editor = settings.edit(); // Save last tab editor.putInt("lastTab", curTab); // Save current expanded buildings to be retrieved later editor.putStringSet("lastNearbyExpandedBuildings", nearbyExpandedBldgs); editor.putStringSet("lastAllExpandedBuildings", allExpandedBldgs); // Save list position (index & top) in each tab int curPos[] = sm.getCurPos(); int nearPos[] = sm.getNearPos(); int allPos[] = sm.getAllPos(); editor.putInt("curPosIndex", curPos[0]); editor.putInt("nearPosIndex", nearPos[0]); editor.putInt("allPosIndex", allPos[0]); editor.putInt("curPosTop", curPos[1]); editor.putInt("nearPosTop", nearPos[1]); editor.putInt("allPosTop", allPos[1]); // Note: Only those buildings still nearby should become expanded // Since the fragments all call getBuildings before re-populating. // So only those still in the getBuildings list will be able to be // re-expanded! editor.commit(); }
@Override protected void onPause() { // Ideally a game should implement onResume() and onPause() // to take appropriate action when the activity looses focus super.onPause(); mGLSurfaceView.onPause(); }
@Override public void onPause() { super.onPause(); // Unregister receivers on pause unregisterReceivers(); }
@Override protected void onPause() { super.onPause(); setSip1(ip1.getText().toString()); setSip2(ip2.getText().toString()); setSip3(ip3.getText().toString()); setSip4(ip4.getText().toString()); setSport(port.getText().toString()); setIport(Integer.parseInt(port.getText().toString())); // setIp(getSip1() + "." + getSip2() + "." + getSip3() + "." + getSip4()); SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0); SharedPreferences.Editor editor = settings.edit(); editor.putString("ip1", getSip1()); editor.putString("ip2", getSip2()); editor.putString("ip3", getSip3()); editor.putString("ip4", getSip4()); editor.putString("port", getSport()); // editor.putString("ip",getIp()); editor.putString("ip", getSip1() + "." + getSip2() + "." + getSip3() + "." + getSip4()); editor.commit(); }
@Override protected void onPause() { super.onPause(); spawnerToggle = false; mp.pause(); // openGLRenderer.onPause(); }
@Override public void onPause() { this.mLocationManager.removeGpsStatusListener(this); this.mLocationManager.removeUpdates(this); this.mSensorManager.unregisterListener(this); super.onPause(); }
@Override protected void onPause() { super.onPause(); hasResumed = false; stopComputerUpdates(false); }
@Override protected void onPause() { // TODO Auto-generated method stub super.onPause(); AnalyticsUtils.onPageEnd(this); AnalyticsUtils.onPause(this); }
@Override public void onPause() { super.onPause(); if (mCameraView != null) { mCameraView.disableView(); } }
/** {@inheritDoc} */ @Override protected void onPause() { Debug.print(tag, "pause"); { super.onPause(); } }
@Override protected void onPause() { Utilities.LogDebug("GpsMainActivity.onPause"); StopAndUnbindServiceIfRequired(); super.onPause(); }