package X6FRs_4.JZJr_16;

import android.animation.TypeEvaluator;
import android.graphics.Rect;
/* compiled from: RectEvaluator.java */
/* loaded from: classes.dex */
public class YghfZG_14 implements TypeEvaluator<Rect> {
    public Rect KQgRr5e_0;

    public YghfZG_14() {
    }

    @Override // android.animation.TypeEvaluator
    /* renamed from: KQgRr5e_0 */
    public Rect evaluate(float f, Rect rect, Rect rect2) {
        int i = rect.left;
        int i2 = i + ((int) ((rect2.left - i) * f));
        int i3 = rect.top;
        int i4 = i3 + ((int) ((rect2.top - i3) * f));
        int i5 = rect.right;
        int i6 = i5 + ((int) ((rect2.right - i5) * f));
        int i7 = rect.bottom;
        int i8 = i7 + ((int) ((rect2.bottom - i7) * f));
        Rect rect3 = this.KQgRr5e_0;
        if (rect3 == null) {
            return new Rect(i2, i4, i6, i8);
        }
        rect3.set(i2, i4, i6, i8);
        return this.KQgRr5e_0;
    }

    public YghfZG_14(Rect rect) {
        this.KQgRr5e_0 = rect;
    }
}
