package com.bytedance.sdk.component.adexpress.dynamic.animation.fm;

import android.animation.ObjectAnimator;
import android.view.View;
import java.util.ArrayList;
import java.util.List;

/* JADX INFO: loaded from: classes.dex */
public class fhx extends yz {
    public fhx(View view, com.bytedance.sdk.component.adexpress.dynamic.yz.fm fmVar) {
        super(view, fmVar);
    }

    @Override // com.bytedance.sdk.component.adexpress.dynamic.animation.fm.yz
    public List<ObjectAnimator> fm() {
        float f10;
        float fFm = com.bytedance.sdk.component.adexpress.yz.wsy.fm(com.bytedance.sdk.component.adexpress.yz.fm(), this.ro.ajl());
        float fFm2 = com.bytedance.sdk.component.adexpress.yz.wsy.fm(com.bytedance.sdk.component.adexpress.yz.fm(), this.ro.wsy());
        float f11 = 0.0f;
        if ("reverse".equals(this.ro.irt())) {
            f10 = fFm2;
            fFm2 = 0.0f;
            f11 = fFm;
            fFm = 0.0f;
        } else {
            f10 = 0.0f;
        }
        if (com.bytedance.sdk.component.adexpress.yz.ro.fm(this.f6463lb.getContext())) {
            fFm = -fFm;
            f11 = -f11;
        }
        this.f6463lb.setTranslationX(fFm);
        this.f6463lb.setTranslationY(fFm2);
        ObjectAnimator duration = ObjectAnimator.ofFloat(this.f6463lb, "translationX", fFm, f11).setDuration((int) (this.ro.vt() * 1000.0d));
        ObjectAnimator duration2 = ObjectAnimator.ofFloat(this.f6463lb, "translationY", fFm2, f10).setDuration((int) (this.ro.vt() * 1000.0d));
        ArrayList arrayList = new ArrayList();
        arrayList.add(fm(duration));
        arrayList.add(fm(duration2));
        return arrayList;
    }
}
