List of usage examples for android.os Parcel readLong
public final long readLong()
From source file:com.example.testmoodle.util.Document.java
private Document(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.sortedOrder = in.readInt(); this.userID = in.readInt(); this.author = in.readString(); this.license = in.readString(); }
From source file:com.vk.sdk.api.model.VKApiPhotoAlbum.java
/** * Creates a PhotoAlbum instance from Parcel. *///from w ww . j a v a2 s.com 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:moodle.android.moodle.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(); }
From source file:com.nextgis.firereporter.ScanexNotificationItem.java
private ScanexNotificationItem(Parcel in) { dt = (Date) in.readSerializable(); X = in.readDouble();// w ww . ja v a 2 s .c om Y = in.readDouble(); nIconId = in.readInt(); nID = in.readLong(); nConfidence = in.readInt(); nPower = in.readInt(); sURL1 = in.readString(); sURL2 = in.readString(); sType = in.readString(); sPlace = in.readString(); sMap = in.readString(); mbWatched = in.readInt() == 1 ? true : false; // nFormat = in.readInt(); sCoordLat = in.readString(); sCoordLon = in.readString(); sN = in.readString(); sS = in.readString(); sW = in.readString(); sE = in.readString(); }
From source file:com.vk.sdk.api.model.VKApiPhoto.java
/** * Creates a Photo instance from Parcel. */// w w w . ja v a2 s. com public VKApiPhoto(Parcel in) { this.id = in.readInt(); this.album_id = in.readInt(); this.owner_id = in.readInt(); this.width = in.readInt(); this.height = in.readInt(); this.text = in.readString(); this.date = in.readLong(); this.src = in.readParcelable(VKPhotoSizes.class.getClassLoader()); this.photo_75 = in.readString(); this.photo_130 = in.readString(); this.photo_604 = in.readString(); this.photo_807 = in.readString(); this.photo_1280 = in.readString(); this.photo_2560 = in.readString(); this.user_likes = in.readByte() != 0; this.can_comment = in.readByte() != 0; this.likes = in.readInt(); this.comments = in.readInt(); this.tags = in.readInt(); this.access_key = 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:cx.ring.model.CallContact.java
private void readFromParcel(Parcel in) { id = in.readLong(); key = in.readString();/*from ww w. j a v a 2s.c o m*/ mDisplayName = in.readString(); photo_id = in.readLong(); phones.clear(); in.readTypedList(phones, Phone.CREATOR); mEmail = in.readString(); isUser = in.readByte() != 0; stared = in.readByte() != 0; }
From source file:com.facebook.AccessToken.java
AccessToken(Parcel parcel) { this.expires = new Date(parcel.readLong()); ArrayList<String> permissionsList = new ArrayList<>(); parcel.readStringList(permissionsList); this.permissions = Collections.unmodifiableSet(new HashSet<String>(permissionsList)); permissionsList.clear();//from ww w. ja v a 2 s .co m parcel.readStringList(permissionsList); this.declinedPermissions = Collections.unmodifiableSet(new HashSet<String>(permissionsList)); this.token = parcel.readString(); this.source = AccessTokenSource.valueOf(parcel.readString()); this.lastRefresh = new Date(parcel.readLong()); this.applicationId = parcel.readString(); this.userId = parcel.readString(); }
From source file:com.jbirdvegas.mgerrit.objects.GooFileObject.java
public GooFileObject(Parcel parcel) { mId = parcel.readInt();//w w w.ja va 2s.c o m mFileName = parcel.readString(); 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.harlie.android.sunshine.app.ItemChoiceManager.java
public void onRestoreInstanceState(Bundle savedInstanceState) { byte[] states = savedInstanceState.getByteArray(SELECTED_ITEMS_KEY); if (null != states) { Parcel inParcel = Parcel.obtain(); inParcel.unmarshall(states, 0, states.length); inParcel.setDataPosition(0);/* w w w . j av a2 s . c o m*/ mCheckStates = inParcel.readSparseBooleanArray(); final int numStates = inParcel.readInt(); mCheckedIdStates.clear(); for (int i = 0; i < numStates; i++) { final long key = inParcel.readLong(); final int value = inParcel.readInt(); mCheckedIdStates.put(key, value); } inParcel.recycle(); } }