package com.ss.android.ugc.aweme.image.model;

import X.2HN;
import X.C23585vg;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;

public final class ImageSurfaceData implements Parcelable, Serializable {
    public static final Parcelable.Creator<ImageSurfaceData> CREATOR = new C23585vg();
    @c(LIZ = "init_offset_y")
    public float initOffsetY;
    @c(LIZ = "no_full_screen_surface_view_height")
    public int noFullScreenSurfaceViewHeight;
    @c(LIZ = "surface_view_height")
    public int surfaceViewHeight;
    @c(LIZ = "surface_view_width")
    public int surfaceViewWidth;

    static {
        Covode.recordClassIndex(87513);
    }

    public ImageSurfaceData() {
        this(0, 0, 0, 0.0f, 15, (2HN) null);
    }

    public final int describeContents() {
        return 0;
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeInt(this.surfaceViewWidth);
        parcel.writeInt(this.surfaceViewHeight);
        parcel.writeInt(this.noFullScreenSurfaceViewHeight);
        parcel.writeFloat(this.initOffsetY);
    }

    public final float getInitOffsetY() {
        return this.initOffsetY;
    }

    public final int getNoFullScreenSurfaceViewHeight() {
        return this.noFullScreenSurfaceViewHeight;
    }

    public final int getSurfaceViewHeight() {
        return this.surfaceViewHeight;
    }

    public final int getSurfaceViewWidth() {
        return this.surfaceViewWidth;
    }

    public final void setInitOffsetY(float f) {
        this.initOffsetY = f;
    }

    public final void setNoFullScreenSurfaceViewHeight(int i) {
        this.noFullScreenSurfaceViewHeight = i;
    }

    public final void setSurfaceViewHeight(int i) {
        this.surfaceViewHeight = i;
    }

    public final void setSurfaceViewWidth(int i) {
        this.surfaceViewWidth = i;
    }

    public ImageSurfaceData(int i, int i2, int i3, float f) {
        this.surfaceViewWidth = i;
        this.surfaceViewHeight = i2;
        this.noFullScreenSurfaceViewHeight = i3;
        this.initOffsetY = f;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ ImageSurfaceData(int i, int i2, int i3, float f, int i4, 2HN r8) {
        this((i4 & 1) != 0 ? 0 : i, (i4 & 2) != 0 ? 0 : i2, (i4 & 4) != 0 ? 0 : i3, (i4 & 8) != 0 ? 0.0f : f);
    }
}
