下面列出了android.os.Parcel#createDoubleArray ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
private SavedState(Parcel in) {
super(in);
freqAxisAlongX = in.readInt();
cFreqSpum = in.readDouble();
cFreqSpam = in.readDouble();
cDb = in.readDouble();
xZ = in.readDouble();
xS = in.readDouble();
yZ = in.readDouble();
yS = in.readDouble();
SpumXZ = in.readDouble();
SpumXS = in.readDouble();
SpumYZ = in.readDouble();
SpumYS = in.readDouble();
SpamFZ = in.readDouble();
SpamFS = in.readDouble();
SpamTZ = in.readDouble();
SpamTS = in.readDouble();
tmpS = in.createDoubleArray();
nFreq = in.readInt();
nTime = in.readInt();
iTimePinter = in.readInt();
}
protected LivePhoto(Parcel in) {
this.id = in.readInt();
this.width = in.readInt();
this.height = in.readInt();
this.groupPoints = in.createDoubleArray();
this.groupType = in.createDoubleArray();
this.groupPointsStr = in.readString();
this.groupTypeStr = in.readString();
this.templateImagePath = in.readString();
this.stickerImagePathStr = in.readString();
this.transformMatrixStr = in.readString();
this.adjustedPointsStr = in.readString();
}
protected MagicPhotoEntity(Parcel in) {
this.id = (Long) in.readValue(Long.class.getClassLoader());
this.width = in.readInt();
this.height = in.readInt();
this.groupPoints = in.createDoubleArray();
this.groupType = in.createDoubleArray();
this.groupPointsStr = in.readString();
this.groupTypeStr = in.readString();
this.imagePath = in.readString();
}
protected PrimitiveArrayParcelable(Parcel in) {
this.a = in.createIntArray();
this.b = in.createDoubleArray();
this.c = in.createStringArray();
this.e = in.createFloatArray();
this.f = in.createBooleanArray();
this.g = in.createByteArray();
}
@Nullable @Override public double[] readFromParcel(@NonNull Parcel source) {
return source.createDoubleArray();
}
protected HotGeoBean(Parcel in) {
type = in.readString();
coordinates = in.createDoubleArray();
}
private Position(Parcel parcel) {
this(parcel.createDoubleArray());
}
protected HotGeoBean(Parcel in) {
type = in.readString();
coordinates = in.createDoubleArray();
}