package com.tencent.mm.plugin.downloader_app.ui;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.downloader_app.b.d;
import com.tencent.mm.plugin.downloader_app.b.d$c;

public class DeleteTaskFooterView extends LinearLayout {
    private boolean Sr = true;
    private LinearLayout kPU;
    ImageView kPV;
    LinearLayout kPW;
    TextView kPX;
    ImageView kPY;
    boolean kPZ = false;
    private d$c kQa = new 1(this);

    public DeleteTaskFooterView(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
        AppMethodBeat.i(136218);
        AppMethodBeat.o(136218);
    }

    /* Access modifiers changed, original: protected */
    public void onFinishInflate() {
        AppMethodBeat.i(136219);
        super.onFinishInflate();
        View inflate = LayoutInflater.from(getContext()).inflate(2130969270, this, true);
        this.kPU = (LinearLayout) inflate.findViewById(2131823255);
        this.kPV = (ImageView) inflate.findViewById(2131823256);
        this.kPU.setOnClickListener(new 2(this));
        this.kPW = (LinearLayout) inflate.findViewById(2131823257);
        this.kPW.setOnClickListener(new 3(this));
        this.kPW.setClickable(false);
        this.kPX = (TextView) inflate.findViewById(2131823259);
        this.kPY = (ImageView) inflate.findViewById(2131823258);
        AppMethodBeat.o(136219);
    }

    public void onAttachedToWindow() {
        AppMethodBeat.i(136220);
        super.onAttachedToWindow();
        d.a(this.kQa);
        AppMethodBeat.o(136220);
    }

    public void onDetachedFromWindow() {
        AppMethodBeat.i(136221);
        super.onDetachedFromWindow();
        d.b(this.kQa);
        AppMethodBeat.o(136221);
    }

    static /* synthetic */ void gi(boolean z) {
        AppMethodBeat.i(136222);
        d.ge(z);
        AppMethodBeat.o(136222);
    }

    static /* synthetic */ void biS() {
        AppMethodBeat.i(136223);
        d.biJ();
        AppMethodBeat.o(136223);
    }
}
