package com.tencent.mm.plugin.appbrand.ui.collection;

import a.l;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.appusage.LocalUsageInfo;
import com.tencent.mm.ui.widget.sortlist.DragSortListView$h;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0005"}, dWq = {"<anonymous>", "", "from", "", "to", "drop"})
final class AppBrandCollectionVerticalSortList$b implements DragSortListView$h {
    final /* synthetic */ AppBrandCollectionVerticalSortList iLs;

    AppBrandCollectionVerticalSortList$b(AppBrandCollectionVerticalSortList appBrandCollectionVerticalSortList) {
        this.iLs = appBrandCollectionVerticalSortList;
    }

    public final void dm(int i, int i2) {
        AppMethodBeat.i(135040);
        c a = AppBrandCollectionVerticalSortList.a(this.iLs);
        if (a != null) {
            LocalUsageInfo pR = a.pR(i);
            if (pR != null) {
                c a2 = AppBrandCollectionVerticalSortList.a(this.iLs);
                if (a2 != null) {
                    a2.insert(pR, i2);
                    AppMethodBeat.o(135040);
                    return;
                }
                AppMethodBeat.o(135040);
                return;
            }
        }
        AppMethodBeat.o(135040);
    }
}
