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

import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import com.tencent.matrix.trace.core.AppMethodBeat;

class VoipSmallIconButton$1 implements OnTouchListener {
    final /* synthetic */ VoipSmallIconButton sWR;

    VoipSmallIconButton$1(VoipSmallIconButton voipSmallIconButton) {
        this.sWR = voipSmallIconButton;
    }

    public final boolean onTouch(View view, MotionEvent motionEvent) {
        AppMethodBeat.i(4866);
        switch (motionEvent.getAction()) {
            case 0:
                VoipSmallIconButton.b(this.sWR).setImageDrawable(VoipSmallIconButton.a(this.sWR));
                VoipSmallIconButton.c(this.sWR).setTextColor(-855638017);
                break;
            case 1:
                VoipSmallIconButton.b(this.sWR).setImageDrawable(VoipSmallIconButton.d(this.sWR));
                VoipSmallIconButton.c(this.sWR).setTextColor(-1);
                break;
        }
        AppMethodBeat.o(4866);
        return false;
    }
}
