List of usage examples for android.os Parcel writeString
public final void writeString(String val)
From source file:com.vk.sdk.api.model.VKApiPhoto.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.album_id); dest.writeInt(this.owner_id); dest.writeInt(this.width); dest.writeInt(this.height); dest.writeString(this.text); dest.writeLong(this.date); dest.writeParcelable(this.src, flags); dest.writeString(this.photo_75); dest.writeString(this.photo_130); dest.writeString(this.photo_604); dest.writeString(this.photo_807); dest.writeString(this.photo_1280); dest.writeString(this.photo_2560); dest.writeByte(user_likes ? (byte) 1 : (byte) 0); dest.writeByte(can_comment ? (byte) 1 : (byte) 0); dest.writeInt(this.likes); dest.writeInt(this.comments); dest.writeInt(this.tags); dest.writeString(this.access_key); }
From source file:com.rubengees.introduction.entity.Slide.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.position); dest.writeString(this.title); dest.writeValue(this.titleResource); dest.writeValue(this.titleSize); dest.writeString(this.description); dest.writeValue(this.descriptionResource); dest.writeValue(this.descriptionSize); dest.writeValue(this.imageResource); dest.writeValue(this.color); dest.writeValue(this.colorResource); dest.writeParcelable(this.option, flags); dest.writeSerializable(this.customViewBuilder); }
From source file:com.paranoid.gerrit.objects.JSONCommit.java
@Override public void writeToParcel(Parcel parcel, int i) { parcel.writeString(mKind); parcel.writeString(mId);/* ww w . j a va 2 s.c o m*/ parcel.writeString(mProject); parcel.writeString(mBranch); parcel.writeString(mChangeId); parcel.writeString(mSubject); parcel.writeString(mStatus.name()); parcel.writeString(mCreatedDate); parcel.writeString(mLastUpdatedDate); parcel.writeByte((byte) (mIsMergeable ? 1 : 0)); parcel.writeString(mSortKey); parcel.writeInt(mCommitNumber); parcel.writeString(mCurrentRevision); parcel.writeParcelable(mOwnerObject, 0); parcel.writeParcelable(mPatchSet, 0); parcel.writeParcelable(mFileInfos, 0); parcel.writeString(mWebAddress); parcel.writeParcelable(mReviewers, 0); parcel.writeInt(mPatchSetNumber); parcel.writeTypedList(mMessagesList); }
From source file:cl.smartcities.isci.transportinspector.backend.Bus.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(valid);//from www. j av a 2 s. c om dest.writeString(service); dest.writeString(licensePlate); dest.writeString(time); dest.writeString(distance); dest.writeDouble(latitude); dest.writeDouble(longitude); dest.writeInt(passengerNumber); dest.writeInt(busIcon); dest.writeInt(defaultMapBusIcon); dest.writeInt(activeMapBusIcon); dest.writeString(direction); dest.writeString(descriptionError); dest.writeString(destination); dest.writeString(origin); dest.writeInt(color); dest.writeInt(realDistance); }
From source file:com.fanfou.app.opensource.api.bean.Status.java
@Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeString(this.id); dest.writeString(this.ownerId); dest.writeLong(this.createdAt.getTime()); dest.writeInt(this.type); dest.writeString(this.text); dest.writeString(this.simpleText); dest.writeString(this.source); dest.writeString(this.inReplyToStatusId); dest.writeString(this.inReplyToUserId); dest.writeString(this.inReplyToScreenName); dest.writeString(this.photoImageUrl); dest.writeString(this.photoLargeUrl); dest.writeString(this.photoThumbUrl); dest.writeString(this.userId); dest.writeString(this.userScreenName); dest.writeString(this.userProfileImageUrl); dest.writeInt(this.truncated ? 1 : 0); dest.writeInt(this.favorited ? 1 : 0); dest.writeInt(this.self ? 1 : 0); dest.writeInt(this.isRead ? 1 : 0); dest.writeInt(this.isThread ? 1 : 0); dest.writeInt(this.hasPhoto ? 1 : 0); dest.writeInt(this.special ? 1 : 0); }
From source file:edu.vuum.mocca.orm.StoryData.java
@Override /**//w w w.java 2 s .c om * Used for writing a copy of this object to a Parcel, do not manually call. */ public void writeToParcel(Parcel dest, int flags) { dest.writeLong(KEY_ID); dest.writeLong(loginId); dest.writeLong(storyId); dest.writeString(title); dest.writeString(body); dest.writeString(audioLink); dest.writeString(videoLink); dest.writeString(imageName); dest.writeString(imageLink); dest.writeString(tags); dest.writeLong(creationTime); dest.writeLong(storyTime); dest.writeDouble(latitude); dest.writeDouble(longitude); dest.writeString(key); dest.writeString(href); }
From source file:com.aokyu.dev.pocket.content.Page.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(getUID()); dest.writeString(mResolvedId);/*from w ww . ja v a 2s. c o m*/ dest.writeString(mGivenUrl); dest.writeString(mResolvedUrl); dest.writeString(mGivenTitle); dest.writeString(mResolvedTitle); dest.writeInt(mIsFavorited ? 1 : 0); dest.writeInt(mState.intValue()); dest.writeString(mExcerpt); dest.writeInt(mIsArticle ? 1 : 0); dest.writeInt(mImageState.intValue()); dest.writeInt(mVideoState.intValue()); dest.writeInt(mWordCount); dest.writeStringArray(mTags); dest.writeStringArray(mAuthors); dest.writeParcelableArray(mImages, 0); dest.writeParcelableArray(mVideos, 0); }
From source file:com.nestapi.lib.API.Structure.java
/** {@inheritDoc} */ @Override/* w w w . ja v a 2 s . c om*/ public void writeToParcel(Parcel dest, int flags) { dest.writeString(mStructureID); dest.writeStringList(mThermostatIDs); dest.writeStringList(mSmokeCOAlarms); dest.writeString(mName); dest.writeString(mCountryCode); dest.writeString(mPeakPeriodStartTime); dest.writeString(mPeakPeriodEndTime); dest.writeString(mTimeZone); dest.writeSerializable(mAwayState); dest.writeParcelable(mETA, 0); }
From source file:com.nestlabs.sdk.Structure.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(mStructureId); dest.writeStringList(mThermostats);//from w w w . j a v a 2s . c o m dest.writeStringList(mSmokeCoAlarms); dest.writeStringList(mCameras); dest.writeMap(mDevices); dest.writeString(mAway); dest.writeString(mName); dest.writeString(mCountryCode); dest.writeString(mPostalCode); dest.writeString(mPeakPeriodStartTime); dest.writeString(mPeakPeriodEndTime); dest.writeString(mTimeZone); dest.writeParcelable(mEta, flags); Utils.writeBoolean(dest, mRhrEnrollment); dest.writeMap(mWheres); }
From source file:com.yanzhenjie.album.api.widget.Widget.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mUiStyle);//from w w w . j a va 2s. c om dest.writeInt(mStatusBarColor); dest.writeInt(mToolBarColor); dest.writeInt(mNavigationBarColor); dest.writeString(mTitle); dest.writeParcelable(mMediaItemCheckSelector, flags); dest.writeParcelable(mBucketItemCheckSelector, flags); dest.writeParcelable(mButtonStyle, flags); }