List of usage examples for android.os Parcel writeString
public final void writeString(String val)
From source file:com.vk.sdk.api.model.VKApiPhotoSize.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.src); dest.writeInt(this.width); dest.writeInt(this.height); dest.writeInt((int) this.type); }
From source file:com.vk.sdk.api.model.VKPhotoSizes.java
@Override public void writeToParcel(Parcel dest, int flags) { super.writeToParcel(dest, flags); dest.writeInt(this.mOriginalWidth); dest.writeInt(this.mOriginalHeight); dest.writeString(this.mWidthThumb); dest.writeInt(this.mLastWidth); }
From source file:com.eTilbudsavis.etasdk.model.Share.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.mName); dest.writeString(this.mEmail); dest.writeString(this.mAccess); dest.writeString(this.mShoppinglistId); dest.writeByte(mAccepted ? (byte) 1 : (byte) 0); dest.writeString(this.mAcceptUrl); dest.writeInt(this.mSyncState); }
From source file:fr.free.nrw.commons.contributions.Contribution.java
@Override public void writeToParcel(Parcel parcel, int flags) { super.writeToParcel(parcel, flags); parcel.writeParcelable(contentUri, flags); parcel.writeString(source); parcel.writeInt(state);/*from w w w .j a va 2 s . co m*/ parcel.writeLong(transferred); parcel.writeInt(isMultiple ? 1 : 0); }
From source file:com.eTilbudsavis.etasdk.model.User.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.mErn); dest.writeString(this.mGender); dest.writeInt(this.mBirthYear); dest.writeString(this.mName); dest.writeString(this.mEmail); dest.writeParcelable(this.mPermissions, flags); }
From source file:com.zyz.mobile.book.UserSpan.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mStart);/* w w w.j a v a 2 s .co m*/ dest.writeInt(mEnd); dest.writeInt(mType.toValue()); dest.writeInt(mColor); dest.writeString(mNote); dest.writeString(mDescription); }
From source file:org.mozilla.mozstumbler.service.scanners.cellscanner.CellInfo.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(mRadio); dest.writeString(mCellRadio);//from w w w .j a va 2 s. c om dest.writeInt(mMcc); dest.writeInt(mMnc); dest.writeInt(mCid); dest.writeInt(mLac); dest.writeInt(mSignal); dest.writeInt(mAsu); dest.writeInt(mTa); dest.writeInt(mPsc); }
From source file:com.danlvse.weebo.model.User.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.id); dest.writeString(this.idstr); dest.writeString(this.screen_name); dest.writeString(this.name); dest.writeInt(this.province); dest.writeInt(this.city); dest.writeString(this.location); dest.writeString(this.description); dest.writeString(this.url); dest.writeString(this.profile_image_url); dest.writeString(this.profile_url); dest.writeString(this.cover_image_phone); dest.writeString(this.cover_image); dest.writeString(this.domain); dest.writeString(this.weihao); dest.writeString(this.gender); dest.writeInt(this.followers_count); dest.writeInt(this.friends_count); dest.writeInt(this.statuses_count); dest.writeInt(this.favourites_count); dest.writeString(this.created_at); dest.writeByte(following ? (byte) 1 : (byte) 0); dest.writeByte(allow_all_act_msg ? (byte) 1 : (byte) 0); dest.writeByte(geo_enabled ? (byte) 1 : (byte) 0); dest.writeByte(verified ? (byte) 1 : (byte) 0); dest.writeInt(this.verified_type); dest.writeString(this.remark); dest.writeParcelable(this.status, flags); dest.writeByte(allow_all_comment ? (byte) 1 : (byte) 0); dest.writeString(this.avatar_large); dest.writeString(this.avatar_hd); dest.writeString(this.verified_reason); dest.writeByte(follow_me ? (byte) 1 : (byte) 0); dest.writeInt(this.online_status); dest.writeInt(this.bi_followers_count); dest.writeString(this.lang); dest.writeString(this.star); dest.writeString(this.mbtype); dest.writeString(this.mbrank); dest.writeString(this.block_word); }
From source file:com.philliphsu.clock2.alarms.Alarm.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(hour());//from ww w . j av a2 s . co m dest.writeInt(minutes()); dest.writeString(label()); dest.writeString(ringtone()); dest.writeInt(vibrates() ? 1 : 0); // Mutable fields must be written after the immutable fields, // because when we recreate the object, we can't initialize // those mutable fields until after we call build(). Values // in the parcel are read in the order they were written. dest.writeLong(getId()); dest.writeLong(snoozingUntilMillis); dest.writeInt(enabled ? 1 : 0); dest.writeBooleanArray(recurringDays); dest.writeInt(ignoreUpcomingRingTime ? 1 : 0); }
From source file:com.vk.sdk.api.model.VKApiMessage.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.user_id); dest.writeLong(this.date); dest.writeByte(read_state ? (byte) 1 : (byte) 0); dest.writeByte(out ? (byte) 1 : (byte) 0); dest.writeString(this.title); dest.writeString(this.body); dest.writeParcelable(attachments, flags); dest.writeParcelable(this.fwd_messages, flags); dest.writeByte(emoji ? (byte) 1 : (byte) 0); dest.writeByte(deleted ? (byte) 1 : (byte) 0); }