package ඓ.㿎.K.K;

import android.animation.ValueAnimator;
import com.scwang.smartrefresh.header.DropboxHeader;

/* renamed from: ඓ.㿎.K.K.㸾  reason: contains not printable characters */
public final /* synthetic */ class C1455 implements ValueAnimator.AnimatorUpdateListener {

    /* renamed from: K  reason: contains not printable characters */
    public final DropboxHeader f5457;

    public C1455(DropboxHeader dropboxHeader) {
        this.f5457 = dropboxHeader;
    }

    public void onAnimationUpdate(ValueAnimator valueAnimator) {
        DropboxHeader dropboxHeader = this.f5457;
        float f = dropboxHeader.f2977;
        if (f < 1.0f || f >= 3.0f) {
            dropboxHeader.f2977 = ((Float) valueAnimator.getAnimatedValue()).floatValue();
        } else if (f < 2.0f) {
            dropboxHeader.f2977 = ((Float) valueAnimator.getAnimatedValue()).floatValue() + 1.0f;
        } else if (f < 3.0f) {
            dropboxHeader.f2977 = ((Float) valueAnimator.getAnimatedValue()).floatValue() + 2.0f;
            if (dropboxHeader.f2977 == 3.0f) {
                dropboxHeader.f2980 = true;
            }
        }
        dropboxHeader.invalidate();
    }
}
