package com.ss.android.ttvecamera;

import android.graphics.Rect;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;

public class TEFocusParameters implements Parcelable {
    public static final Parcelable.Creator<TEFocusParameters> CREATOR = new Parcelable.Creator<TEFocusParameters>() {
        static {
            Covode.recordClassIndex(49521);
        }

        public final /* bridge */ /* synthetic */ Object[] newArray(int i) {
            return new TEFocusParameters[i];
        }

        public final /* synthetic */ Object createFromParcel(Parcel parcel) {
            return new TEFocusParameters(parcel);
        }
    };
    public Rect LIZ;
    public Rect LIZIZ;
    public int LIZJ;
    public int LIZLLL;

    public int describeContents() {
        return 0;
    }

    public TEFocusParameters() {
    }

    static {
        Covode.recordClassIndex(49520);
    }

    public String toString() {
        return "active size is:" + this.LIZ.toString() + " crop size is: " + this.LIZIZ.toString() + "  max AF regions is: " + this.LIZJ + "  max AE regions is: " + this.LIZLLL;
    }

    public TEFocusParameters(Parcel parcel) {
        this.LIZ = (Rect) parcel.readParcelable(Rect.class.getClassLoader());
        this.LIZJ = parcel.readInt();
        this.LIZLLL = parcel.readInt();
        this.LIZIZ = (Rect) parcel.readParcelable(Rect.class.getClassLoader());
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeParcelable(this.LIZ, i);
        parcel.writeInt(this.LIZJ);
        parcel.writeInt(this.LIZLLL);
        parcel.writeParcelable(this.LIZIZ, i);
    }
}
