package com.ss.android.ugc.aweme.feed.widget;

import X.C31353cl;
import X.OQZ;
import android.animation.ValueAnimator;
import com.bytedance.covode.number.Covode;

public class LoadMoreFrameLayout$4 implements ValueAnimator.AnimatorUpdateListener {
    public final /* synthetic */ int LIZ;
    public final /* synthetic */ C31353cl LIZIZ;

    static {
        Covode.recordClassIndex(80023);
    }

    public final void onAnimationUpdate(ValueAnimator valueAnimator) {
        int intValue = ((Integer) valueAnimator.getAnimatedValue()).intValue();
        int i = this.LIZ * (intValue - this.LIZIZ.LJFF);
        this.LIZIZ.LJFF = intValue;
        OQZ LIZ2 = this.LIZIZ.LIZ(true);
        if (LIZ2.LJ()) {
            LIZ2.LJFF();
        } else {
            this.LIZIZ.LJ();
        }
        this.LIZIZ.setViewPagerMarginTopByDelta(-i);
    }

    public LoadMoreFrameLayout$4(C31353cl r1, int i) {
        this.LIZIZ = r1;
        this.LIZ = i;
    }
}
