List of usage examples for android.os Parcel readInt
public final int readInt()
From source file:com.vk.sdk.api.model.VKApiAudio.java
/** * Creates an Audio instance from Parcel. *//*from w w w.j a va2 s . c o m*/ public VKApiAudio(Parcel in) { this.id = in.readInt(); this.owner_id = in.readInt(); this.artist = in.readString(); this.title = in.readString(); this.duration = in.readInt(); this.url = in.readString(); this.lyrics_id = in.readInt(); this.album_id = in.readInt(); this.genre = in.readInt(); this.access_key = in.readString(); }
From source file:com.vk.sdk.api.model.VKApiWikiPage.java
/** * Creates a WikiPage instance from Parcel. */// ww w . j av a 2 s . c o m public VKApiWikiPage(Parcel in) { this.id = in.readInt(); this.group_id = in.readInt(); this.creator_id = in.readInt(); this.title = in.readString(); this.source = in.readString(); this.current_user_can_edit = in.readByte() != 0; this.current_user_can_edit_access = in.readByte() != 0; this.who_can_view = in.readInt(); this.who_can_edit = in.readInt(); this.editor_id = in.readInt(); this.edited = in.readLong(); this.created = in.readLong(); this.parent = in.readString(); this.parent2 = in.readString(); }
From source file:com.artemchep.horario.database.models.Absence.java
public Absence(Parcel source) { key = source.readString(); subject = source.readString(); reason = source.readString(); date = source.readInt(); time = source.readInt(); }
From source file:edu.pdx.its.portal.routelandia.entities.TrafficStat.java
public TrafficStat(Parcel parcel) { this.hour = parcel.readInt(); this.minutes = parcel.readInt(); this.speed = parcel.readDouble(); this.travelTime = parcel.readDouble(); this.accuracy = parcel.readDouble(); this.distance = parcel.readDouble(); }
From source file:fr.cph.chicago.entity.BikeStation.java
private void readFromParcel(@NonNull final Parcel in) { id = in.readInt(); name = in.readString();//from w w w .j av a 2 s .com availableDocks = in.readInt(); totalDocks = in.readInt(); latitude = in.readDouble(); longitude = in.readDouble(); statusValue = in.readString(); statusKey = in.readString(); availableBikes = in.readInt(); stAddress1 = in.readString(); stAddress2 = in.readString(); city = in.readString(); postalCode = in.readString(); location = in.readString(); altitude = in.readString(); testStation = Boolean.valueOf(in.readString()); lastCommunicationTime = in.readString(); landMark = in.readString(); }
From source file:com.kevinquan.google.activityrecoginition.model.Motion.java
public Motion(Parcel in) { mType = MotionType.fromGoogleId(in.readInt()); mConfidence = in.readInt(); mTimestamp = in.readLong(); mMillisSinceBoot = in.readLong(); }
From source file:com.richtodd.android.quiltdesign.block.Theme.java
public Theme(Parcel in) { int swatchCount = in.readInt(); for (int idx = 0; idx < swatchCount; ++idx) { int color = in.readInt(); m_swatches.get(idx).setColor(color); }// www . j a v a2s .co m }
From source file:com.vk.sdk.api.model.VKApiPoll.java
/** * Creates a Poll instance from Parcel./*from w w w . j a v a2 s .c om*/ */ public VKApiPoll(Parcel in) { this.id = in.readInt(); this.owner_id = in.readInt(); this.created = in.readLong(); this.question = in.readString(); this.votes = in.readInt(); this.answer_id = in.readInt(); this.answers = in.readParcelable(VKList.class.getClassLoader()); }
From source file:com.vk.sdk.api.model.VKApiPhotoAlbum.java
/** * Creates a PhotoAlbum instance from Parcel. *//* ww w.j a v a 2 s . co m*/ public VKApiPhotoAlbum(Parcel in) { this.id = in.readInt(); this.title = in.readString(); this.size = in.readInt(); this.privacy = in.readInt(); this.description = in.readString(); this.owner_id = in.readInt(); this.can_upload = in.readByte() != 0; this.updated = in.readLong(); this.created = in.readLong(); this.thumb_id = in.readInt(); this.thumb_src = in.readString(); this.photo = in.readParcelable(VKPhotoSizes.class.getClassLoader()); }
From source file:com.csipsimple.models.RemoteLibInfo.java
public void readFromParcel(Parcel in) { PrimaryKey = in.readInt(); fileName = in.readString();//w w w.ja va 2 s. co m filePath = new File(in.readString()); uri = URI.create(in.readString()); version = in.readString(); label = in.readString(); changelog = in.readString(); description = in.readString(); id = in.readString(); }