package com.bytedance.android.live.liveinteract.cohost.ui.view;

import X.C16060km;
import android.view.animation.Animation;
import android.view.animation.Transformation;
import com.bytedance.covode.number.Covode;

public class PkInviteUserListRefreshLayout$1 extends Animation {
    public final /* synthetic */ C16060km LIZ;

    static {
        Covode.recordClassIndex(6984);
    }

    public PkInviteUserListRefreshLayout$1(C16060km r1) {
        this.LIZ = r1;
    }

    public final void applyTransformation(float f, Transformation transformation) {
        int i;
        if (this.LIZ.LIZLLL != this.LIZ.LIZIZ) {
            i = this.LIZ.LIZLLL + ((int) (((float) (this.LIZ.LIZIZ - this.LIZ.LIZLLL)) * f));
        } else {
            i = 0;
        }
        int top = i - this.LIZ.LIZ.getTop();
        int top2 = this.LIZ.LIZ.getTop();
        if (top + top2 < 0) {
            top = 0 - top2;
        }
        this.LIZ.setTargetOffsetTopAndBottom(top);
    }
}
