package ῲ.䀟.K;

import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
import ῲ.䀟.K.C2319;

/* renamed from: ῲ.䀟.K.䀟  reason: contains not printable characters */
/* compiled from: SimpleItemAnimator */
public abstract class AbstractC2343 extends RecyclerView.AbstractC0250 {

    /* renamed from: ⁱ  reason: contains not printable characters */
    public boolean f8108 = true;

    @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0250
    /* renamed from: ʬ  reason: contains not printable characters */
    public boolean m6133(RecyclerView.AbstractC0269 r7, RecyclerView.AbstractC0250.C0251 r8, RecyclerView.AbstractC0250.C0251 r9) {
        if (r8.f1519 != r9.f1519 || r8.f1518 != r9.f1518) {
            return m6138(r7, r8.f1519, r8.f1518, r9.f1519, r9.f1518);
        }
        m833(r7);
        return false;
    }

    /* renamed from: ඓ  reason: contains not printable characters */
    public final void m6134(RecyclerView.AbstractC0269 r1) {
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public final void m6135(RecyclerView.AbstractC0269 r1, boolean z) {
    }

    @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0250
    /* renamed from: ῲ  reason: contains not printable characters */
    public boolean m6136(RecyclerView.AbstractC0269 r7, RecyclerView.AbstractC0250.C0251 r8, RecyclerView.AbstractC0250.C0251 r9) {
        int i = r8.f1519;
        int i2 = r8.f1518;
        View view = r7.itemView;
        int left = r9 == null ? view.getLeft() : r9.f1519;
        int top2 = r9 == null ? view.getTop() : r9.f1518;
        if (r7.isRemoved() || (i == left && i2 == top2)) {
            C2319 r82 = (C2319) this;
            r82.m6078(r7);
            r82.f8014.add(r7);
            return true;
        }
        view.layout(left, top2, view.getWidth() + left, view.getHeight() + top2);
        return m6138(r7, i, i2, left, top2);
    }

    /* renamed from: K  reason: contains not printable characters */
    public abstract boolean m6138(RecyclerView.AbstractC0269 v, int i, int i2, int i3, int i4);

    @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0250
    /* renamed from: K  reason: contains not printable characters */
    public boolean m6139(RecyclerView.AbstractC0269 r9, RecyclerView.AbstractC0250.C0251 r10, RecyclerView.AbstractC0250.C0251 r11) {
        if (r10 != null && (r10.f1519 != r11.f1519 || r10.f1518 != r11.f1518)) {
            return m6138(r9, r10.f1519, r10.f1518, r11.f1519, r11.f1518);
        }
        C2319 r102 = (C2319) this;
        r102.m6078(r9);
        r9.itemView.setAlpha(0.0f);
        r102.f8009.add(r9);
        return true;
    }

    /* renamed from: 㴹  reason: contains not printable characters */
    public final void m6141(RecyclerView.AbstractC0269 r1) {
    }

    /* renamed from: 㸾  reason: contains not printable characters */
    public final void m6142(RecyclerView.AbstractC0269 r1) {
    }

    @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0250
    /* renamed from: K  reason: contains not printable characters */
    public boolean m6140(RecyclerView.AbstractC0269 r10, RecyclerView.AbstractC0269 r11, RecyclerView.AbstractC0250.C0251 r12, RecyclerView.AbstractC0250.C0251 r13) {
        int i;
        int i2;
        int i3 = r12.f1519;
        int i4 = r12.f1518;
        if (r11.shouldIgnore()) {
            int i5 = r12.f1519;
            i = r12.f1518;
            i2 = i5;
        } else {
            i2 = r13.f1519;
            i = r13.f1518;
        }
        C2319 r0 = (C2319) this;
        if (r10 == r11) {
            return r0.m6073(r10, i3, i4, i2, i);
        }
        float translationX = r10.itemView.getTranslationX();
        float translationY = r10.itemView.getTranslationY();
        float alpha = r10.itemView.getAlpha();
        r0.m6078(r10);
        r10.itemView.setTranslationX(translationX);
        r10.itemView.setTranslationY(translationY);
        r10.itemView.setAlpha(alpha);
        r0.m6078(r11);
        r11.itemView.setTranslationX((float) (-((int) (((float) (i2 - i3)) - translationX))));
        r11.itemView.setTranslationY((float) (-((int) (((float) (i - i4)) - translationY))));
        r11.itemView.setAlpha(0.0f);
        r0.f8008.add(new C2319.C2321(r10, r11, i3, i4, i2, i));
        return true;
    }

    /* renamed from: K  reason: contains not printable characters */
    public final void m6137(RecyclerView.AbstractC0269 r1, boolean z) {
        RecyclerView.AbstractC0250.AbstractC0252 r2 = this.f1515;
        if (r2 != null) {
            ((RecyclerView.C0268) r2).m879(r1);
        }
    }
}
