예제 #1
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeInt(mYear);
   dest.writeInt(mMonth);
   dest.writeInt(mDay);
 }
예제 #2
0
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeFloat(mScale);
   out.writeInt(mSavedCenterX);
   out.writeInt(mSavedCenterY);
 }
 @Override
 public void writeToParcel(Parcel outcoming, int flags) {
   super.writeToParcel(outcoming, flags);
   outcoming.writeInt(progress);
   outcoming.writeInt(max);
   outcoming.writeInt(min);
 }
 @Override
 public void writeToParcel(@NonNull Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeInt(isFlashing ? 1 : 0);
   dest.writeInt(isConfigurationChanged ? 1 : 0);
   dest.writeLongArray(mmCurrentPlayTime);
 }
예제 #5
0
 @Override
 public void writeToParcel(@NonNull Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeValue(yearMin);
   out.writeValue(yearMax);
   out.writeValue(year);
 }
 @Override
 public void writeToParcel(Parcel destination, int flags) {
   super.writeToParcel(destination, flags);
   destination.writeInt(number1);
   destination.writeInt(number2);
   destination.writeInt(number3);
 }
예제 #7
0
    @Override
    public void writeToParcel(Parcel dest, int flags) {
      super.writeToParcel(dest, flags);

      // save profileId
      dest.writeString(profileId);
    }
예제 #8
0
    @Override
    public void writeToParcel(Parcel dest, int flags) {
      super.writeToParcel(dest, flags);

      // Save the click counter
      dest.writeInt(clickCounter);
    }
예제 #9
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeInt(DateUtils.getYear(date));
   dest.writeInt(DateUtils.getMonth(date));
   dest.writeInt(DateUtils.getDay(date));
 }
    @Override
    public void writeToParcel(Parcel dest, int flags) {
      super.writeToParcel(dest, flags);

      dest.writeInt(minValue);
      dest.writeInt(maxValue);
      dest.writeInt(value);
    }
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeInt(automatic ? 1 : 0);
   dest.writeInt(progress);
   dest.writeInt(oldAutomatic ? 1 : 0);
   dest.writeInt(oldProgress);
 }
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   Bundle bundle = new Bundle();
   bundle.putString(SAVED_STATE_DECIMAL, decimalPart);
   bundle.putString(SAVED_STATE_FLOATING, floatingPart);
   out.writeBundle(bundle);
 }
예제 #13
0
 @Override
 public void writeToParcel(@NonNull Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeValue(mode);
   out.writeValue(hour);
   out.writeValue(minute);
   out.writeValue(is24Hour ? 1 : 0);
 }
예제 #14
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeString(mSerializedPattern);
   dest.writeInt(mDisplayMode);
   dest.writeValue(mInputEnabled);
   dest.writeValue(mInStealthMode);
   dest.writeValue(mTactileFeedbackEnabled);
 }
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeString(prefix);
   out.writeInt(allowDuplicates ? 1 : 0);
   out.writeInt(tokenClickStyle.ordinal());
   out.writeInt(tokenDeleteStyle.ordinal());
   out.writeSerializable(baseObjects);
 }
예제 #16
0
    @Override
    public void writeToParcel(Parcel out, int flags) {
      super.writeToParcel(out, flags);

      Bundle state = new Bundle();
      state.putString(MESSAGE_KEY, message);
      state.putBoolean(REFRESHING_KEY, refreshing);
      state.putBoolean(LOADING_KEY, loading);
      state.putSerializable(RESOURCES_KEY, resources);

      out.writeBundle(state);
    }
예제 #17
0
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeByte((byte) (inActionMode ? 1 : 0));
   out.writeInt(checkedItemCount);
   out.writeSparseBooleanArray(checkState);
   final int N = checkIdState != null ? checkIdState.size() : 0;
   out.writeInt(N);
   for (int i = 0; i < N; i++) {
     out.writeLong(checkIdState.keyAt(i));
     out.writeInt(checkIdState.valueAt(i));
   }
 }
예제 #18
0
    @Override
    public void writeToParcel(final Parcel out, final int flags) {
      super.writeToParcel(out, flags);

      out.writeInt(mIsRightPaneShown ? 1 : 0);
      out.writeInt(mSpacing);
      out.writeInt(mLeftPaneSpacing);
      out.writeInt(mIsShadowVisible ? 1 : 0);
      out.writeInt(mShadowWidth);
      out.writeInt(mFlingDuration);
      out.writeInt(mFadeType);
      out.writeInt(mFadeValue);
    }
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeString(text);
   out.writeString(hint);
   out.writeInt(inputType);
   out.writeInt(imeOptions);
   out.writeInt(imeActionId);
   out.writeString(imeActionLabel);
   out.writeInt(singleLine ? 1 : 0);
   out.writeParcelable(hintColor, flags);
   out.writeParcelable(textColor, flags);
 }
    @Override
    public void writeToParcel(Parcel out, int flags) {
      super.writeToParcel(out, flags);
      out.writeInt(isSearchBarVisible);
      out.writeInt(suggestionsVisible);
      out.writeInt(speechMode);

      out.writeInt(iconRightResId);
      out.writeInt(iconLefttResId);
      out.writeString(hint);
      out.writeList(suggestions);
      out.writeInt(maxSuggestions);
    }
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeInt(color);
   out.writeInt(dateTextAppearance);
   out.writeInt(weekDayTextAppearance);
   out.writeInt(showOtherDates ? 1 : 0);
   out.writeParcelable(minDate, 0);
   out.writeParcelable(maxDate, 0);
   out.writeParcelable(selectedDate, 0);
   out.writeInt(firstDayOfWeek);
   out.writeInt(tileSizePx);
   out.writeInt(topbarVisible ? 1 : 0);
 }
    @Override
    public void writeToParcel(final Parcel dest, final int flags) {
      super.writeToParcel(dest, flags);

      dest.writeInt(numColumns);
      dest.writeInt(requestedColumnWidth);
      dest.writeInt(requestedColumnCount);
      dest.writeInt(requestedVerticalSpacing);
      dest.writeInt(requestedHorizontalSpacing);
      dest.writeInt(defaultPadding);
      dest.writeByte((byte) (debugging ? 1 : 0));
      dest.writeByte((byte) (allowReordering ? 1 : 0));
      dest.writeParcelable(adapterState, flags);
    }
예제 #23
0
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeFloat(this.mProgress);
   out.writeFloat(this.mTargetProgress);
   out.writeByte((byte) (isSpinning ? 1 : 0));
   out.writeFloat(this.spinSpeed);
   out.writeInt(this.barWidth);
   out.writeInt(this.barColor);
   out.writeInt(this.rimWidth);
   out.writeInt(this.rimColor);
   out.writeInt(this.circleRadius);
   out.writeByte((byte) (linearProgress ? 1 : 0));
   out.writeByte((byte) (fillRadius ? 1 : 0));
 }
예제 #24
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeInt(position);
   dest.writeInt(backgroundColorPressed);
   dest.writeInt(textColor);
   dest.writeInt(textColorCenter);
   dest.writeInt(lineColorCenter);
   dest.writeInt(lineHeight);
   dest.writeInt(tabPaddingLeft);
   dest.writeInt(tabPaddingTop);
   dest.writeInt(tabPaddingRight);
   dest.writeInt(tabPaddingBottom);
   dest.writeFloat(textSize);
 }
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeFloat(this.mCurrentProgress);
   out.writeFloat(this.mTargetProgress);
   out.writeInt((mProgressBarEnabled ? 1 : 0));
   out.writeFloat(this.mSpinSpeed);
   out.writeInt(this.mProgress);
   out.writeInt(this.mProgressWidth);
   out.writeInt(this.mProgressColor);
   out.writeInt(this.mProgressBackgroundColor);
   out.writeInt(this.mProgressBarVisibilityChanged ? 1 : 0);
   out.writeInt(this.mProgressIndeterminate ? 1 : 0);
   out.writeInt(this.mShouldProgressIndeterminate ? 1 : 0);
   out.writeInt(this.mShouldSetProgress ? 1 : 0);
   out.writeInt(this.mAnimateProgress ? 1 : 0);
   out.writeInt(this.mShowProgressBackground ? 1 : 0);
 }
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   dest.writeInt(currentPage);
 }
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeByte((byte) (areHeadersSticky ? 1 : 0));
 }
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   super.writeToParcel(dest, flags);
   // Write the preference's value
   dest.writeLong(this.stateToSave);
 }
예제 #29
0
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeString(query);
   out.writeInt(isSearchOpen ? 1 : 0);
 }
예제 #30
0
 @Override
 public void writeToParcel(Parcel out, int flags) {
   super.writeToParcel(out, flags);
   out.writeBooleanArray(new boolean[] {isStarting});
   out.writeFloat(step);
 }