package defpackage;

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

/* JADX INFO: renamed from: ᵮˈᵙ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C4207 extends ᵻᵕᵭ {

    /* JADX INFO: renamed from: ᵻʽᵯ, reason: contains not printable characters */
    public final /* synthetic */ C0901 f16016;

    public C4207(C0901 c0901) {
        this.f16016 = c0901;
    }

    /* JADX INFO: renamed from: ˏːˆ, reason: contains not printable characters */
    public final float m9126(C0901 c0901, ViewGroup viewGroup, View view, int[] iArr) {
        int iCenterY;
        int height = (view.getHeight() / 2) + iArr[1];
        viewGroup.getLocationOnScreen(iArr);
        Rect epicenter = this.f16016.getEpicenter();
        if (epicenter == null) {
            iCenterY = (viewGroup.getHeight() / 2) + iArr[1];
        } else {
            iCenterY = epicenter.centerY();
        }
        if (height < iCenterY) {
            return view.getTranslationY() - c0901.m3137(viewGroup);
        }
        return c0901.m3137(viewGroup) + view.getTranslationY();
    }
}
