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

The following examples show how to use android.os.Parcel#createDoubleArray() . 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: AnalyzerGraphic.java    From audio-analyzer-for-android with Apache License 2.0 6 votes vote down vote up
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 File: LivePhoto.java    From sealrtc-android with 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
Source File: MagicPhotoEntity.java    From PLDroidShortVideo with Apache License 2.0 5 votes vote down vote up
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
Source File: PrimitiveArrayParcelable.java    From android-parcelable-intellij-plugin with Apache License 2.0 5 votes vote down vote up
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 File: StaticAdapters.java    From paperparcel with Apache License 2.0 4 votes vote down vote up
@Nullable @Override public double[] readFromParcel(@NonNull Parcel source) {
  return source.createDoubleArray();
}
 
Example 6
Source File: HotGeoBean.java    From iBeebo with GNU General Public License v3.0 4 votes vote down vote up
protected HotGeoBean(Parcel in) {
    type = in.readString();
    coordinates = in.createDoubleArray();
}
 
Example 7
Source File: Position.java    From OpenMapKitAndroid with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
private Position(Parcel parcel) {
    this(parcel.createDoubleArray());
}
 
Example 8
Source File: HotGeoBean.java    From iBeebo with GNU General Public License v3.0 4 votes vote down vote up
protected HotGeoBean(Parcel in) {
    type = in.readString();
    coordinates = in.createDoubleArray();
}