/**
  * バックグランド時に呼ばれるサイクル
  *
  * @param outState 保管設定値
  */
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   Log.d("DEBUG", "Search onSaveInstanceState Start");
   super.onSaveInstanceState(outState);
   outState.putString("calym", tvTargetDate.getText().toString());
   Log.d("DEBUG", "Search onSaveInstanceState End");
 }
 protected void onSaveInstanceState(Bundle bundle) {
   super.onSaveInstanceState(bundle);
   Parcelable h = this.f111b.m153h();
   if (h != null) {
     bundle.putParcelable("android:support:fragments", h);
   }
 }
 @Override
 public void onSaveInstanceState(Bundle savedInstanceState) {
   savedInstanceState.putInt(KEY_TRIM_START, mTrimStartTime);
   savedInstanceState.putInt(KEY_TRIM_END, mTrimEndTime);
   savedInstanceState.putInt(KEY_VIDEO_POSITION, mVideoPosition);
   super.onSaveInstanceState(savedInstanceState);
 }
Exemple #4
0
  @Override
  protected void onSaveInstanceState(Bundle bundle) {
    super.onSaveInstanceState(bundle);

    bundle.putBoolean("searching", searchingPaused);
    bundle.putSerializable("bridges", bridges);
  }
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   if (this.activityResultCallback != null) {
     String cClass = this.activityResultCallback.getClass().getName();
     outState.putString("callbackClass", cClass);
   }
 }
 /**
  * Notification that something is about to happen, to give the Activity a chance to save state.
  *
  * @param outState a Bundle into which this Activity should save its state
  */
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   // just have the View's thread save its state into our Bundle
   super.onSaveInstanceState(outState);
   mLunarThread.saveState(outState);
   Log.w(this.getClass().getName(), "SIS called");
 }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putParcelable(EXTRA_PRINT_ORDER, printOrder);
   outState.putString(EXTRA_PRINT_API_KEY, apiKey);
   outState.putSerializable(EXTRA_PRINT_ENVIRONMENT, printEnvironment);
 }
Exemple #8
0
 /**
  * *******************************************************************************************
  *
  * <p>Saving and recalling state
  */
 @Override
 public void onSaveInstanceState(Bundle savedInstanceState) {
   super.onSaveInstanceState(savedInstanceState);
   savedInstanceState.putCharSequence("irbOutput", irbOutput.getText());
   irbInput.onSaveInstanceState(savedInstanceState);
   savedInstanceState.putInt("tab", tabs.getCurrentTab());
 }
 @Override
 public void onSaveInstanceState(Bundle savedInstanceState) {
   super.onSaveInstanceState(savedInstanceState);
   Log.i(TAG, "onSaveInstanceState");
   savedInstanceState.putInt(KEY_INDEX, mCurrentIndex);
   savedInstanceState.putBooleanArray(CHEATED_VALUES, mCheatedQuestionsBank);
 }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   if (webView != null) {
     webView.saveState(outState);
   }
 }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   if (mOverrideConfig != null) {
     outState.putParcelable(KEY_CONFIGURATION, mOverrideConfig);
   }
 }
Exemple #12
0
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    outState.putDouble(BILL_TOTAL, currentBillTotal);
    outState.putInt(CUSTOM_PERCENT, currentCustomPercent);
  }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   if (mCallbacks != null) {
     mCallbacks.onActivitySaveInstanceState(outState);
   }
   super.onSaveInstanceState(outState);
 }
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    int count = lv.getChildCount();
    for (int i = 0; i < count; i++) {
      LinearLayout linearLayout = (LinearLayout) lv.getChildAt(i);
      LinearLayout linearLayoutChild = (LinearLayout) linearLayout.getChildAt(0);
      EditText editText = (EditText) linearLayoutChild.getChildAt(1);
      if (editText.isShown()) {
        String value = editText.getText().toString();
        EnterCompanyListAdapter.ViewHolder viewHolder = (ViewHolder) linearLayout.getTag();
        viewHolder.fieldAndAnswer.set(1, value);
      }
    }

    @SuppressWarnings("unused")
    int count2 = epla.getCount();
    for (int i = 0; i < epla.getCount(); i++) {
      @SuppressWarnings("unchecked")
      ArrayList<String> fieldAndAnswer = (ArrayList<String>) epla.getItem(i);
      String fieldName = fieldAndAnswer.get(0);
      String value = fieldAndAnswer.get(1);
      company.set(fieldName, value);
    }

    outState.putSerializable("company", company);
    outState.putSerializable("person", person);
    outState.putBoolean("personLinked", personLinked);
  }
Exemple #15
0
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   if (m_ProgressDialog != null) {
     m_ProgressDialog.dismiss();
   }
 }
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    // TODO: uncomment this code when it's ready
    // mThread.saveStateToBundle(outState);
  }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   // TODO Auto-generated method stub
   super.onSaveInstanceState(outState);
   String content = user.getText().toString();
   outState.putString("content", content);
 }
 /**
  * We only save the "source" data items. e.g. the dice and target counts. All other values such as
  * probabilities and distribution curves are recalculated.
  */
 @Override
 public void onSaveInstanceState(Bundle savedInstanceState) {
   super.onSaveInstanceState(savedInstanceState);
   diceSet1.saveInstanceState(savedInstanceState, "1");
   diceSet2.saveInstanceState(savedInstanceState, "2");
   savedInstanceState.putBoolean("verbosity", getVerbose());
 }
 @Override
 public void onSaveInstanceState(Bundle outState) {
   isRecreating = true;
   transcript.add("onSaveInstanceState");
   outState.putString("TestActivityKey", "TestActivityValue");
   super.onSaveInstanceState(outState);
 }
Exemple #20
0
 @Override
 protected void onSaveInstanceState(final Bundle outState) {
   super.onSaveInstanceState(outState);
   if (uriToDisplay != null) {
     outState.putSerializable(STORE_URI, uriToDisplay.toString());
   }
 }
  @Override
  public void onSaveInstanceState(Bundle outState) {
    CatLog.d(LOGTAG, "onSaveInstanceState");

    super.onSaveInstanceState(outState);
    outState.putParcelable(TEXT, mDialogInstance.mTextMsg);
  }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   outState.putSerializable("captcha", _captcha);
   outState.putString("solution", _tvSolution.getText().toString());
   outState.putBoolean("isSolving", _isSolving);
   super.onSaveInstanceState(outState);
 }
 protected void onSaveInstanceState(Bundle paramBundle)
 {
   super.onSaveInstanceState(paramBundle);
   if (isShowingSurvey()) {
     onSaveInstanceStateSurvey(paramBundle);
   }
 }
 @Override
 protected void onSaveInstanceState(@NonNull Bundle outState) {
   if (isViewPagerActive()) {
     outState.putBoolean(ISLOCKED_ARG, ((HackyViewPager) mViewPager).isLocked());
   }
   super.onSaveInstanceState(outState);
 }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   // TODO Auto-generated method stub
   super.onSaveInstanceState(outState);
   // 保存构建参数
   outState.putSerializable(PARAM, getCreateParam());
 }
Exemple #26
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   // Save current list
   outState.putLong(CURRENT_LIST_ID, currentListId);
   outState.putInt(CURRENT_LIST_POS, currentListPos);
 }
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    outState.putInt(SLIDE_INDEX, mPosition);
    outState.putParcelable(MESSAGE_URI, mUri);
  }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   if (mBefore != null) {
     outState.putString("lastview", mBefore.getClass().getName());
   }
 }
 /** {@inheritDoc} */
 @Override
 protected void onSaveInstanceState(final Bundle instanceState) {
   {
     Debug.print(tag, "saveInstanceState");
   }
   super.onSaveInstanceState(instanceState);
 }
Exemple #30
0
 @Override
 protected void onSaveInstanceState(final Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putString(ARG_ACCOUNT_ID, getSelectedAccount().getId());
   this.enabledPostToAccounts.addToBundle(outState);
   outState.putParcelable(ARG_ATTACHMENT, this.attachment);
 }