package defpackage;

import android.graphics.Rect;
import android.view.View;
import android.view.ViewGroup;

/* renamed from: ᵫˀ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3932 extends ˁـᵛ {

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final /* synthetic */ C2494 f14849;

    public C3932(C2494 c2494) {
        this.f14849 = c2494;
    }

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public final float m8727(C2494 c2494, ViewGroup viewGroup, View view, int[] iArr) {
        int iCenterY;
        int height = (view.getHeight() / 2) + iArr[1];
        viewGroup.getLocationOnScreen(iArr);
        Rect epicenter = this.f14849.getEpicenter();
        if (epicenter == null) {
            iCenterY = (viewGroup.getHeight() / 2) + iArr[1];
        } else {
            iCenterY = epicenter.centerY();
        }
        if (height < iCenterY) {
            return view.getTranslationY() - c2494.m6337(viewGroup);
        }
        return c2494.m6337(viewGroup) + view.getTranslationY();
    }
}
