List of usage examples for android.os Parcel readInt
public final int readInt()
From source file:com.facebook.notifications.internal.configuration.CardConfiguration.java
private CardConfiguration(@NonNull Parcel source) { ClassLoader loader = getClass().getClassLoader(); cardSize = source.readParcelable(loader); cornerRadius = source.readFloat();/*from w w w. j a v a2 s . c o m*/ contentInset = source.readFloat(); backdropColor = source.readInt(); heroConfiguration = source.readParcelable(loader); bodyConfiguration = source.readParcelable(loader); actionsConfiguration = source.readParcelable(loader); }
From source file:com.vk.sdk.api.model.VKApiPhotoSize.java
private VKApiPhotoSize(Parcel in) { this.src = in.readString(); this.width = in.readInt(); this.height = in.readInt(); this.type = (char) in.readInt(); }
From source file:vandy.mooc.model.provider.Video.java
public Video(Parcel in) { id = in.readLong();// www.ja v a 2 s. co m title = in.readString(); duration = in.readLong(); location = in.readString(); subject = in.readString(); contentType = in.readString(); rating = in.readDouble(); count = in.readInt(); }
From source file:com.sayar.requests.Response.java
private Response(final Parcel bundle) { this.parsedAs = bundle.readString(); this.raw = bundle.readString(); this.statusMessage = bundle.readString(); this.code = bundle.readInt(); }
From source file:net.henriquerocha.android.codebits.api.Talk.java
private Talk(Parcel source) { this.id = source.readString(); this.title = source.readString(); this.author = source.readString(); this.description = source.readString(); this.proposed = source.readString(); this.upVotes = source.readInt(); this.downVotes = source.readInt(); this.rate = source.readString(); }
From source file:io.openkit.OKAchievement.java
private OKAchievement(Parcel in) { //private String name; name = in.readString();//from w w w .j ava2s .c o m //private int OKAPP_id; OKAPP_id = in.readInt(); //private int OKLeaderboard_id; achievementId = in.readInt(); //private boolean inDevelopment; inDevelopment = intToBool(in.readInt()); //private String unlockedIconUrl; unlockedIconUrl = in.readString(); //private String lockedIconUrl; lockedIconUrl = in.readString(); //private int points; points = in.readInt(); //private int goal; goal = in.readInt(); //private int progress; progress = in.readInt(); //private String description description = in.readString(); }
From source file:com.wellsandwhistles.android.redditsp.reddit.things.RedditComment.java
private RedditComment(final Parcel in) { body = in.readString();//w w w .ja va 2s . c o m body_html = in.readString(); author = in.readString(); subreddit = in.readString(); author_flair_text = in.readString(); archived = in.readInt() == 1; switch (in.readInt()) { case -1: likes = false; break; case 0: likes = null; break; case 1: likes = true; break; } replies = null; id = in.readString(); subreddit_id = in.readString(); link_id = in.readString(); parent_id = in.readString(); name = in.readString(); context = in.readString(); ups = in.readInt(); downs = in.readInt(); final long in_edited = in.readLong(); if (in_edited == -1) { edited = false; } else { edited = in_edited; } created = in.readLong(); created_utc = in.readLong(); saved = in.readInt() != 0; gilded = in.readInt(); distinguished = in.readString(); }
From source file:com.cas.model.Content.java
private Content(Parcel in) { this.type = in.readString(); this.filename = in.readString(); this.filepath = in.readString(); this.filesize = in.readInt(); this.fileurl = in.readString(); this.content = in.readString(); this.timecreated = in.readLong(); this.timemodified = in.readLong(); this.sortorder = in.readInt(); this.userid = in.readInt(); this.author = in.readString(); this.license = in.readString(); this.transition = in.readString(); this.mode = in.readString(); }
From source file:com.paranoid.gerrit.objects.CommitComment.java
public CommitComment(Parcel parcel) { try {//from w ww . j a v a2 s . c om mJsonObject = new JSONObject(parcel.readString()); mId = parcel.readString(); mAuthorObject = parcel.readParcelable(CommitterObject.class.getClassLoader()); mDate = parcel.readString(); mMessage = parcel.readString(); mRevisionNumber = parcel.readInt(); } catch (JSONException e) { Log.e(TAG, "Failed to create object from Parcel!", e); } }
From source file:vandy.mooc.model.provider.VideoClient.java
public VideoClient(Parcel in) { id = in.readLong();//from w w w. j a v a2 s . c o m title = in.readString(); duration = in.readLong(); location = in.readString(); subject = in.readString(); contentType = in.readString(); rating = in.readDouble(); count = in.readInt(); filepath = in.readString(); }