@Override public Parcelable onSaveInstanceState() { Parcelable superState = super.onSaveInstanceState(); SwitchIconSavedState savedState = new SwitchIconSavedState(superState); savedState.iconEnabled = enabled; return savedState; }
@Override public Parcelable onSaveInstanceState() { return superManager.onSaveInstanceState(super.onSaveInstanceState()); }
@Override public Parcelable onSaveInstanceState() { return mRadiusUtils.onSaveInstanceState(super.onSaveInstanceState()); }
@Override public Parcelable onSaveInstanceState() { Bundle bundle = new Bundle(); bundle.putParcelable("instanceState", super.onSaveInstanceState()); bundle.putFloat("saveScale", normalizedScale); bundle.putFloat("matchViewHeight", matchViewHeight); bundle.putFloat("matchViewWidth", matchViewWidth); bundle.putInt("viewWidth", viewWidth); bundle.putInt("viewHeight", viewHeight); matrix.getValues(m); bundle.putFloatArray("matrix", m); bundle.putBoolean("imageRendered", imageRenderedAtLeastOnce); return bundle; }
@Override public Parcelable onSaveInstanceState() { Bundle bundle = new Bundle(); bundle.putParcelable("instanceState", super.onSaveInstanceState()); bundle.putFloat("saveScale", normalizedScale); bundle.putFloat("matchViewHeight", matchViewHeight); bundle.putFloat("matchViewWidth", matchViewWidth); bundle.putInt("viewWidth", viewWidth); bundle.putInt("viewHeight", viewHeight); matrix.getValues(m); bundle.putFloatArray("matrix", m); bundle.putBoolean("imageRendered", imageRenderedAtLeastOnce); return bundle; }
@Override public Parcelable onSaveInstanceState() { Bundle bundle = new Bundle(); bundle.putParcelable("instanceState", super.onSaveInstanceState()); bundle.putFloat("saveScale", normalizedScale); bundle.putFloat("matchViewHeight", matchViewHeight); bundle.putFloat("matchViewWidth", matchViewWidth); bundle.putInt("viewWidth", viewWidth); bundle.putInt("viewHeight", viewHeight); matrix.getValues(m); bundle.putFloatArray("matrix", m); bundle.putBoolean("imageRendered", imageRenderedAtLeastOnce); return bundle; }
@Override public Parcelable onSaveInstanceState() { Bundle bundle = new Bundle(); bundle.putParcelable("instanceState", super.onSaveInstanceState()); bundle.putFloat("saveScale", normalizedScale); bundle.putFloat("matchViewHeight", matchViewHeight); bundle.putFloat("matchViewWidth", matchViewWidth); bundle.putInt("viewWidth", viewWidth); bundle.putInt("viewHeight", viewHeight); matrix.getValues(m); bundle.putFloatArray("matrix", m); bundle.putBoolean("imageRendered", imageRenderedAtLeastOnce); return bundle; }
@Override public Parcelable onSaveInstanceState() { Bundle bundle = new Bundle(); bundle.putParcelable("instanceState", super.onSaveInstanceState()); bundle.putFloat("saveScale", normalizedScale); bundle.putFloat("matchViewHeight", matchViewHeight); bundle.putFloat("matchViewWidth", matchViewWidth); bundle.putInt("viewWidth", viewWidth); bundle.putInt("viewHeight", viewHeight); matrix.getValues(m); bundle.putFloatArray("matrix", m); bundle.putBoolean("imageRendered", imageRenderedAtLeastOnce); return bundle; }
@Override public Parcelable onSaveInstanceState() { Parcelable superState = super.onSaveInstanceState(); SavedState ss = new SavedState(superState); ss.image = this.mBitmap; ss.mode = this.mCropMode; ss.backgroundColor = this.mBackgroundColor; ss.overlayColor = this.mOverlayColor; ss.frameColor = this.mFrameColor; ss.guideShowMode = this.mGuideShowMode; ss.handleShowMode = this.mHandleShowMode; ss.showGuide = this.mShowGuide; ss.showHandle = this.mShowHandle; ss.handleSize = this.mHandleSize; ss.touchPadding = this.mTouchPadding; ss.minFrameSize = this.mMinFrameSize; ss.customRatioX = this.mCustomRatio.x; ss.customRatioY = this.mCustomRatio.y; ss.frameStrokeWeight = this.mFrameStrokeWeight; ss.guideStrokeWeight = this.mGuideStrokeWeight; ss.isCropEnabled = this.mIsCropEnabled; ss.handleColor = this.mHandleColor; ss.guideColor = this.mGuideColor; return ss; }