package defpackage;

import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.view.MotionEvent;

/* JADX INFO: loaded from: classes.dex */
public class l07 extends m07 {
    public int c;
    public boolean d;
    public boolean e;
    public float f;
    public float i;

    @Override // defpackage.m07
    public final void a(float f) {
        getHeight();
        throw null;
    }

    public boolean getDrawFullUnderline() {
        return this.d;
    }

    @Override // defpackage.m07
    public int getMinHeight() {
        return Math.max(super.getMinHeight(), 0);
    }

    @w51
    public int getTabIndicatorColor() {
        return this.c;
    }

    @Override // android.view.View
    public final void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        getHeight();
        throw null;
    }

    @Override // android.view.View
    public final boolean onTouchEvent(MotionEvent motionEvent) {
        int action = motionEvent.getAction();
        if (action != 0 && this.e) {
            return false;
        }
        float x = motionEvent.getX();
        float y = motionEvent.getY();
        if (action == 0) {
            this.f = x;
            this.i = y;
            this.e = false;
            return true;
        }
        if (action == 1) {
            throw null;
        }
        if (action == 2) {
            float f = 0;
            if (Math.abs(x - this.f) > f || Math.abs(y - this.i) > f) {
                this.e = true;
                return true;
            }
        }
        return true;
    }

    @Override // android.view.View
    public void setBackgroundColor(@w51 int i) {
        super.setBackgroundColor(i);
    }

    @Override // android.view.View
    public void setBackgroundDrawable(Drawable drawable) {
        super.setBackgroundDrawable(drawable);
    }

    @Override // android.view.View
    public void setBackgroundResource(@of2 int i) {
        super.setBackgroundResource(i);
    }

    public void setDrawFullUnderline(boolean z) {
        this.d = z;
        invalidate();
    }

    @Override // android.view.View
    public final void setPadding(int i, int i2, int i3, int i4) {
        if (i4 < 0) {
            i4 = 0;
        }
        super.setPadding(i, i2, i3, i4);
    }

    public void setTabIndicatorColor(@w51 int i) {
        this.c = i;
        throw null;
    }

    public void setTabIndicatorColorResource(@e61 int i) {
        setTabIndicatorColor(sf1.getColor(getContext(), i));
    }

    @Override // defpackage.m07
    public void setTextSpacing(int i) {
        if (i < 0) {
            i = 0;
        }
        super.setTextSpacing(i);
    }
}
