Java Code Examples for android.os.Parcel#createDoubleArray()

The following examples show how to use android.os.Parcel#createDoubleArray() . These examples are extracted from open source projects. 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 want to check out the right sidebar which shows the related API usage.
Example 1
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();
}
 
Example 2
Source Project: sealrtc-android   File: LivePhoto.java    License: MIT License 5 votes vote down vote up
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();
}
 
Example 3
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();
}
 
Example 4
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();
}
 
Example 5
Source Project: paperparcel   File: StaticAdapters.java    License: Apache License 2.0 4 votes vote down vote up
@Nullable @Override public double[] readFromParcel(@NonNull Parcel source) {
  return source.createDoubleArray();
}
 
Example 6
Source Project: iBeebo   File: HotGeoBean.java    License: GNU General Public License v3.0 4 votes vote down vote up
protected HotGeoBean(Parcel in) {
    type = in.readString();
    coordinates = in.createDoubleArray();
}
 
Example 7
private Position(Parcel parcel) {
    this(parcel.createDoubleArray());
}
 
Example 8
Source Project: iBeebo   File: HotGeoBean.java    License: GNU General Public License v3.0 4 votes vote down vote up
protected HotGeoBean(Parcel in) {
    type = in.readString();
    coordinates = in.createDoubleArray();
}