package androidx.leanback.transition;

import android.view.View;

/* JADX INFO: loaded from: classes.dex */
public final class d extends W.b {

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final /* synthetic */ int f11764j;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ d(int i6) {
        super(14);
        this.f11764j = i6;
    }

    @Override // androidx.leanback.transition.e
    public final float o(View view) {
        switch (this.f11764j) {
            case 0:
                return view.getTranslationY() - view.getHeight();
            default:
                return view.getTranslationY() + view.getHeight();
        }
    }
}
