package android.support.v7.widget;

import android.support.v7.widget.RecyclerView.LayoutParams;
import android.support.v7.widget.RecyclerView.i;
import android.support.v7.widget.bi.b;
import android.view.View;

class RecyclerView$i$2 implements b {
    final /* synthetic */ i aoL;

    RecyclerView$i$2(i iVar) {
        this.aoL = iVar;
    }

    public final View getChildAt(int i) {
        return this.aoL.getChildAt(i);
    }

    public final int jY() {
        return this.aoL.getPaddingTop();
    }

    public final int jZ() {
        return this.aoL.mHeight - this.aoL.getPaddingBottom();
    }

    public final int bF(View view) {
        return i.by(view) - ((LayoutParams) view.getLayoutParams()).topMargin;
    }

    public final int bG(View view) {
        LayoutParams layoutParams = (LayoutParams) view.getLayoutParams();
        return layoutParams.bottomMargin + i.bA(view);
    }
}
