package o;

import android.view.View;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import java.util.WeakHashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.jk0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC1603jk0 extends AbstractC0375Om {
    public C0710aO a;

    @Override // o.AbstractC0375Om
    public boolean g(CoordinatorLayout coordinatorLayout, View view, int i) {
        r(coordinatorLayout, view, i);
        if (this.a == null) {
            this.a = new C0710aO(view);
        }
        C0710aO c0710aO = this.a;
        View view2 = c0710aO.l;
        c0710aO.m = view2.getTop();
        c0710aO.n = view2.getLeft();
        C0710aO c0710aO2 = this.a;
        View view3 = c0710aO2.l;
        int top = 0 - (view3.getTop() - c0710aO2.m);
        WeakHashMap weakHashMap = Oj0.a;
        view3.offsetTopAndBottom(top);
        view3.offsetLeftAndRight(0 - (view3.getLeft() - c0710aO2.n));
        return true;
    }

    public void r(CoordinatorLayout coordinatorLayout, View view, int i) {
        coordinatorLayout.p(view, i);
    }
}
