List of usage examples for android.os Parcel writeInt
public final void writeInt(int val)
From source file:br.ufrj.ppgi.jemf.mobile.bean.HealthCareUnit.java
/** * Write HealthCareUnit data to Parcelable. */// ww w . ja v a 2 s . c om @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getName()); dest.writeString(getDescription()); dest.writeString(getLevelString()); dest.writeInt(getCapacity()); }
From source file:com.eTilbudsavis.etasdk.model.Typeahead.java
public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.mLength); dest.writeInt(this.mOffset); dest.writeString(this.mSubject); }
From source file:de.azapps.mirakel.settings.custom_views.Settings.java
@Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeInt(this.titleResId); OptionalUtils.writeToParcel(dest, iconResId); }
From source file:com.nextgis.maplib.datasource.ngw.ResourceGroup.java
@Override public void writeToParcel(Parcel parcel, int i) { super.writeToParcel(parcel, i); parcel.writeByte(mChildrenLoaded ? (byte) 1 : (byte) 0); parcel.writeInt(mChildren.size()); for (Resource resource : mChildren) { parcel.writeInt(resource.getType()); parcel.writeParcelable(resource, i); }/*from w ww .ja v a 2 s . c o m*/ }
From source file:com.artemchep.horario.database.models.SubjectTask.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(key);/*from w w w.j a v a 2 s. c o m*/ dest.writeString(title); dest.writeString(description); dest.writeString(descriptionHtml); dest.writeInt(type); dest.writeInt(due); if (more != null) { dest.writeInt(1); more.writeToParcel(dest, flags); } else dest.writeInt(0); }
From source file:com.putlocker.upload.concurrency.PutlockerDownloadJob.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(_id); dest.writeString(_fileName);//w ww .ja v a2s.com dest.writeString(url); dest.writeLong(_fileSize); dest.writeInt(type.ordinal()); dest.writeInt(cookies.size()); for (Cookie cookie : cookies) { dest.writeString(cookie.getName()); dest.writeString(cookie.getValue()); dest.writeString(cookie.getDomain()); } dest.writeString(_fileLocation == null ? "" : _fileLocation); dest.writeString(_originalFileLocation); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Victim.java
/** * Write Victim data to Parcelable. /*from w ww .j av a2 s . co m*/ */ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getName()); dest.writeInt(getGender()); dest.writeString(getBirthDateString()); dest.writeInt(getAge()); dest.writeString(getStatusString()); }
From source file:com.artemchep.horario.database.models.SubjectGroupLesson.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(key);//from www . ja v a 2s . c om dest.writeString(subject); dest.writeString(teacher); dest.writeString(place); dest.writeString(info); dest.writeInt(timeStart); dest.writeInt(timeEnd); dest.writeInt(day); dest.writeInt(week); dest.writeInt(type); }
From source file:com.paranoid.gerrit.objects.CommitterObject.java
@Override public void writeToParcel(Parcel parcel, int i) { parcel.writeString(mName);/*from ww w . j a va 2 s . c o m*/ parcel.writeString(mEmail); parcel.writeString(mDate); parcel.writeString(mTimezone); parcel.writeInt(mAccountId); parcel.writeString(mState); }
From source file:com.facebook.notifications.internal.configuration.CardConfiguration.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeParcelable(cardSize, flags); dest.writeFloat(cornerRadius);/* w w w . j ava2 s .c o m*/ dest.writeFloat(contentInset); dest.writeInt(backdropColor); dest.writeParcelable(heroConfiguration, flags); dest.writeParcelable(bodyConfiguration, flags); dest.writeParcelable(actionsConfiguration, flags); }