List of usage examples for android.os Parcel readInt
public final int readInt()
From source file:com.jbirdvegas.mgerrit.objects.GooFileObject.java
public GooFileObject(Parcel parcel) { mId = parcel.readInt(); mFileName = parcel.readString();/*w w w. j ava 2s .c o m*/ mPath = parcel.readString(); mFolder = parcel.readString(); mMd5 = parcel.readString(); mType = parcel.readString(); mDescription = parcel.readString(); mIsFlashable = Boolean.valueOf(parcel.readString()); mModified = parcel.readLong(); mDownloads = parcel.readLong(); mStatus = parcel.readInt(); mAdditionalInfo = parcel.readString(); mShortUrl = parcel.readString(); mDeveloperId = parcel.readInt(); mRO_DeveloperId = parcel.readString(); mRO_Board = parcel.readString(); mRO_Rom = parcel.readString(); mRO_Version = parcel.readInt(); mGappsPackage = parcel.readLong(); mIncrementalFile = parcel.readInt(); mGappsLink = parcel.readString(); mGappsMd5 = parcel.readString(); }
From source file:com.auth0.android.lock.internal.configuration.Theme.java
protected Theme(Parcel in) { headerTitle = in.readInt(); headerLogo = in.readInt();//from w w w . j a va 2 s . c o m headerColor = in.readInt(); headerTitleColor = in.readInt(); primaryColor = in.readInt(); darkPrimaryColor = in.readInt(); }
From source file:ch.gianulli.trelloapi.Board.java
private Board(Parcel in) { this(in.readString(), in.readString(), in.readInt()); }
From source file:org.immopoly.android.model.Flat.java
public Flat(Parcel in) { uid = in.readInt(); name = in.readString();/*from w ww . jav a2 s . c om*/ description = in.readString(); city = in.readString(); titlePictureSmall = in.readString(); priceValue = in.readString(); currency = in.readString(); priceIntervaleType = in.readString(); lat = in.readDouble(); lng = in.readDouble(); creationDate = in.readLong(); long ageMs = System.currentTimeMillis() - creationDate; age = ageMs < Const.EXPOSE_THRESHOLD_NEW ? AGE_NEW : ageMs < Const.EXPOSE_THRESHOLD_OLD ? AGE_NORMAL : AGE_OLD; }
From source file:br.ufrj.ppgi.jemf.mobile.bean.TextMessage.java
/** * TextMessage Parcelable Constructor./*from www . java 2 s. c om*/ * Parcelable to get passed among activities through Intent (similar to Serialization). * Attention to class members order an this use FIFO method. */ private TextMessage(Parcel in) { setId(in.readInt()); setCreationDateString(in.readString()); setLastModificationDateString(in.readString()); setPriorityString(in.readString()); setSubject(in.readString()); setContent(in.readString()); }
From source file:com.irateam.vkplayer.models.Audio.java
public Audio(Parcel in) { this.id = in.readInt(); this.ownerId = in.readInt(); this.artist = in.readString(); this.title = in.readString(); this.duration = in.readInt(); this.url = in.readString(); this.lyricsId = in.readInt(); this.albumId = in.readInt(); this.genre = in.readInt(); this.accessKey = in.readString(); this.setCacheFile(in.readString()); }
From source file:com.jetradar.multibackstack.BackStackEntry.java
private BackStackEntry(Parcel in) { final ClassLoader loader = getClass().getClassLoader(); fname = in.readString();/*from w ww.ja va 2s. c o m*/ args = in.readBundle(loader); switch (in.readInt()) { case NO_STATE: state = null; break; case SAVED_STATE: state = SavedState.CREATOR.createFromParcel(in); break; case PARCELABLE_STATE: state = in.readParcelable(loader); break; default: throw new IllegalStateException(); } }
From source file:com.aokyu.dev.pocket.content.Image.java
private Image(Parcel in) { super(in.readString()); setId(in.readLong());// w w w . jav a 2 s . c o m setSource(in.readString()); setWidth(in.readInt()); setHeight(in.readInt()); mCredit = in.readString(); mCaption = in.readString(); }
From source file:com.aokyu.dev.pocket.content.Video.java
private Video(Parcel in) { super(in.readString()); setId(in.readLong());//from ww w . j av a2 s. c om setSource(in.readString()); setWidth(in.readInt()); setHeight(in.readInt()); mType = in.readString(); mVid = in.readString(); }
From source file:org.ale.scanner.zotero.data.BibItem.java
public BibItem(Parcel p) throws JSONException { this(p.readInt(), // _ID p.readLong(), // Creation Date p.readInt(), // Type new JSONObject(p.readString()), //JSON String p.readInt()); // Account ID mSelected = p.readInt();/* ww w.ja v a2 s . com*/ }