package p037.p091.p094;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.transition.Transition;
import android.view.View;
import p037.p091.C2077;

/* JADX INFO: renamed from: މ.މ.ތ.ރ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C2110 extends AnimatorListenerAdapter implements Transition.TransitionListener {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final View f6858;

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public final View f6859;

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public final int f6860;

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public final int f6861;

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public int[] f6862;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public float f6863;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public float f6864;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final float f6865;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public final float f6866;

    public C2110(View view, View view2, int i, int i2, float f, float f2) {
        this.f6859 = view;
        this.f6858 = view2;
        this.f6860 = i - Math.round(view.getTranslationX());
        this.f6861 = i2 - Math.round(this.f6859.getTranslationY());
        this.f6865 = f;
        this.f6866 = f2;
        int[] iArr = (int[]) this.f6858.getTag(C2077.transitionPosition);
        this.f6862 = iArr;
        if (iArr != null) {
            this.f6858.setTag(C2077.transitionPosition, null);
        }
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public void onAnimationCancel(Animator animator) {
        if (this.f6862 == null) {
            this.f6862 = new int[2];
        }
        this.f6862[0] = Math.round(this.f6859.getTranslationX() + this.f6860);
        this.f6862[1] = Math.round(this.f6859.getTranslationY() + this.f6861);
        this.f6858.setTag(C2077.transitionPosition, this.f6862);
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener
    public void onAnimationEnd(Animator animator) {
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorPauseListener
    public void onAnimationPause(Animator animator) {
        this.f6863 = this.f6859.getTranslationX();
        this.f6864 = this.f6859.getTranslationY();
        this.f6859.setTranslationX(this.f6865);
        this.f6859.setTranslationY(this.f6866);
    }

    @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorPauseListener
    public void onAnimationResume(Animator animator) {
        this.f6859.setTranslationX(this.f6863);
        this.f6859.setTranslationY(this.f6864);
    }

    @Override // android.transition.Transition.TransitionListener
    public void onTransitionCancel(Transition transition) {
    }

    @Override // android.transition.Transition.TransitionListener
    public void onTransitionEnd(Transition transition) {
        this.f6859.setTranslationX(this.f6865);
        this.f6859.setTranslationY(this.f6866);
    }

    @Override // android.transition.Transition.TransitionListener
    public void onTransitionPause(Transition transition) {
    }

    @Override // android.transition.Transition.TransitionListener
    public void onTransitionResume(Transition transition) {
    }

    @Override // android.transition.Transition.TransitionListener
    public void onTransitionStart(Transition transition) {
    }
}
