package com.lynx.tasm.behavior.ui.scroll;

import X.C4373QmA;
import X.C4398QmZ;
import X.LC5;
import X.QNL;
import android.content.Context;
import android.view.View;
import com.bytedance.covode.number.Covode;
import com.lynx.react.bridge.ReadableType;
import com.lynx.tasm.behavior.ui.view.UISimpleView;

public class UIBounceView extends UISimpleView<C4373QmA> {
    public int LIZ;

    static {
        Covode.recordClassIndex(46738);
    }

    public UIBounceView(C4398QmZ qmZ) {
        super(qmZ);
    }

    public /* synthetic */ View createView(Context context) {
        return new C4373QmA(context);
    }

    @QNL(LIZ = "direction", LIZIZ = "right")
    public void setDirection(LC5 lc5) {
        if (lc5.LJIIIIZZ() == ReadableType.String) {
            String LJFF = lc5.LJFF();
            if (LJFF.equals("right")) {
                this.LIZ = 0;
            } else if (LJFF.equals("left")) {
                this.LIZ = 1;
            } else if (LJFF.equals("top")) {
                this.LIZ = 2;
            } else if (LJFF.equals("bottom")) {
                this.LIZ = 3;
            }
        }
    }
}
