Java Code Examples for android.os.Parcel#readString()
The following examples show how to use
android.os.Parcel#readString() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: NotificationChannelGroup.java From android_9.0.0_r45 with Apache License 2.0 | 6 votes |
/** * @hide */ protected NotificationChannelGroup(Parcel in) { if (in.readByte() != 0) { mId = in.readString(); } else { mId = null; } mName = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); if (in.readByte() != 0) { mDescription = in.readString(); } else { mDescription = null; } in.readParcelableList(mChannels, NotificationChannel.class.getClassLoader()); mBlocked = in.readBoolean(); }
Example 2
Source File: Tool.java From auid2 with Apache License 2.0 | 5 votes |
private Tool(Parcel in) { mName = in.readString(); mPrice = in.readString(); mDetails = in.createStringArray(); mDescription = in.readString(); mImageResourceId = in.readInt(); mThumbnailResourceId = in.readInt(); }
Example 3
Source File: Media.java From Klyph with MIT License | 5 votes |
private Media(Parcel in) { alt = in.readString(); href = in.readString(); photo= in.readParcelable(Photo.class.getClassLoader()); src= in.readString(); swf = in.readParcelable(Swf.class.getClassLoader()); type = in.readString(); video = in.readParcelable(Video.class.getClassLoader()); }
Example 4
Source File: ImageInfo.java From star-zone-android with Apache License 2.0 | 5 votes |
protected ImageInfo(Parcel in) { imagePath = in.readString(); thumbnailPath = in.readString(); albumName = in.readString(); time = in.readLong(); orientation = in.readInt(); }
Example 5
Source File: PeriodicSync.java From android_9.0.0_r45 with Apache License 2.0 | 5 votes |
private PeriodicSync(Parcel in) { this.account = in.readParcelable(null); this.authority = in.readString(); this.extras = in.readBundle(); this.period = in.readLong(); this.flexTime = in.readLong(); }
Example 6
Source File: UserItem.java From materialistic with Apache License 2.0 | 5 votes |
@Synthetic UserItem(Parcel source) { id = source.readString(); delay = source.readLong(); created = source.readLong(); karma = source.readLong(); about = source.readString(); submitted = source.createIntArray(); submittedItems = source.createTypedArray(HackerNewsItem.CREATOR); }
Example 7
Source File: BackStackRecord.java From adt-leanback-support with Apache License 2.0 | 5 votes |
public BackStackState(Parcel in) { mOps = in.createIntArray(); mTransition = in.readInt(); mTransitionStyle = in.readInt(); mName = in.readString(); mIndex = in.readInt(); mBreadCrumbTitleRes = in.readInt(); mBreadCrumbTitleText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); mBreadCrumbShortTitleRes = in.readInt(); mBreadCrumbShortTitleText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); mSharedElementSourceNames = in.createStringArrayList(); mSharedElementTargetNames = in.createStringArrayList(); }
Example 8
Source File: ShareModel.java From letv with Apache License 2.0 | 5 votes |
public ShareModel a(Parcel parcel) { ShareModel shareModel = new ShareModel(); shareModel.a = parcel.readString(); shareModel.b = parcel.readString(); shareModel.c = parcel.readString(); shareModel.d = parcel.readString(); return shareModel; }
Example 9
Source File: Format.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
@SuppressWarnings("ResourceType") /* package */ Format(Parcel in) { id = in.readString(); label = in.readString(); containerMimeType = in.readString(); sampleMimeType = in.readString(); codecs = in.readString(); bitrate = in.readInt(); maxInputSize = in.readInt(); width = in.readInt(); height = in.readInt(); frameRate = in.readFloat(); rotationDegrees = in.readInt(); pixelWidthHeightRatio = in.readFloat(); boolean hasProjectionData = Util.readBoolean(in); projectionData = hasProjectionData ? in.createByteArray() : null; stereoMode = in.readInt(); colorInfo = in.readParcelable(ColorInfo.class.getClassLoader()); channelCount = in.readInt(); sampleRate = in.readInt(); pcmEncoding = in.readInt(); encoderDelay = in.readInt(); encoderPadding = in.readInt(); selectionFlags = in.readInt(); language = in.readString(); accessibilityChannel = in.readInt(); subsampleOffsetUs = in.readLong(); int initializationDataSize = in.readInt(); initializationData = new ArrayList<>(initializationDataSize); for (int i = 0; i < initializationDataSize; i++) { initializationData.add(in.createByteArray()); } drmInitData = in.readParcelable(DrmInitData.class.getClassLoader()); metadata = in.readParcelable(Metadata.class.getClassLoader()); }
Example 10
Source File: Artist.java From SweetMusicPlayer with Apache License 2.0 | 5 votes |
protected Artist(Parcel in) { this.artist_id = in.readString(); this.author = in.readString(); this.ting_uid = in.readString(); this.avatar_middle = in.readString(); this.album_num = in.readInt(); this.song_num = in.readInt(); this.country = in.readString(); this.artist_desc = in.readString(); this.artist_source = in.readString(); }
Example 11
Source File: Response.java From Flora with MIT License | 5 votes |
protected Response(Parcel in) { this.is_history = in.readByte() != 0; this.counts = in.readInt(); this.message = in.readString(); this.more = in.readByte() != 0; this.result = in.readString(); this.feedList = in.createTypedArrayList(Feed.CREATOR); }
Example 12
Source File: NoteAllArray.java From nono-android with GNU General Public License v3.0 | 5 votes |
protected NoteAllArray(Parcel in) { this.title = in.readString(); this.content = in.readString(); this.group = in.readString(); this.date = in.readString(); this.time = in.readString(); this.sdfId = in.readLong(); this.isOnCloud = in.readString(); this.uuid = in.readString(); }
Example 13
Source File: BusRouteModel.java From BmapLite with Apache License 2.0 | 5 votes |
protected BusRouteModel(Parcel in) { this.duration = in.readInt(); this.distance = in.readInt(); this.price = in.readDouble(); this.name = in.readString(); this.isTexi = in.readByte() != 0; this.isSameCity = in.readByte() != 0; this.line = in.readParcelable(MassTransitRouteLine.class.getClassLoader()); this.destinationCity = in.readString(); this.originCity = in.readString(); }
Example 14
Source File: SdpMnsRecord.java From android_9.0.0_r45 with Apache License 2.0 | 5 votes |
public SdpMnsRecord(Parcel in) { mRfcommChannelNumber = in.readInt(); mL2capPsm = in.readInt(); mServiceName = in.readString(); mSupportedFeatures = in.readInt(); mProfileVersion = in.readInt(); }
Example 15
Source File: MetricData.java From hawkular-android-client with Apache License 2.0 | 4 votes |
private MetricData(Parcel parcel) { this.value = parcel.readString(); this.timestamp = parcel.readLong(); }
Example 16
Source File: ProfileUpdateEventBean.java From FamilyChat with Apache License 2.0 | 4 votes |
protected ProfileUpdateEventBean(Parcel in) { this.userBean = in.readParcelable(UserBean.class.getClassLoader()); this.phone = in.readString(); this.flag = in.readInt(); }
Example 17
Source File: Alert.java From bridgefy-android-samples with MIT License | 4 votes |
protected Alert(Parcel in) { this.id = in.readString(); this.count = in.readInt(); this.name = in.readString(); this.date = in.readLong(); }
Example 18
Source File: DownloadVideo.java From letv with Apache License 2.0 | 4 votes |
private DownloadVideo(Parcel in) { boolean z; boolean z2 = true; this.vid = 0; this.isNew = true; this.isWatch = false; this.state = 0; this.mDownloader = null; this.isVideoNormal = true; this.isVipDownload = false; this.hasSubtitle = false; this.isMultipleAudio = false; this.aid = in.readLong(); this.cid = in.readLong(); this.ord = in.readInt(); this.type = in.readInt(); this.vid = in.readLong(); this.name = in.readString(); this.picUrl = in.readString(); this.totalsize = in.readLong(); this.length = in.readLong(); this.videoTypeKey = in.readString(); this.filePath = in.readString(); this.streamType = in.readInt(); this.isNew = in.readByte() != (byte) 0; this.btime = in.readLong(); this.etime = in.readLong(); if (in.readByte() != (byte) 0) { z = true; } else { z = false; } this.isWatch = z; this.duration = in.readLong(); this.downloadUrl = in.readString(); this.downloaded = in.readLong(); this.threadNum = in.readInt(); this.state = in.readInt(); this.mmsid = in.readString(); this.pcode = in.readString(); this.version = in.readString(); this.mDownloadAlbum = (DownloadAlbum) in.readParcelable(DownloadAlbum.class.getClassLoader()); this.rowID = in.readLong(); this.timestamp = in.readLong(); this.speed = in.readString(); this.pid = in.readLong(); this.isVideoNormal = in.readByte() != (byte) 0; if (in.readByte() != (byte) 0) { z = true; } else { z = false; } this.isVipDownload = z; if (in.readByte() == (byte) 0) { z2 = false; } this.hasSubtitle = z2; this.subtitleUrl = in.readString(); }
Example 19
Source File: SmsOperationData.java From Easer with GNU General Public License v3.0 | 4 votes |
private SmsOperationData(Parcel in) { destination = in.readString(); content = in.readString(); }
Example 20
Source File: RoomKickOffMessage.java From sealrtc-android with MIT License | 4 votes |
public RoomKickOffMessage(Parcel parcel) { userId = parcel.readString(); }