package X6FRs_4.KQgRr5e_0.LGe8pk_15;

import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Outline;
import android.graphics.drawable.Drawable;
import androidx.appcompat.widget.ActionBarContainer;
/* compiled from: ActionBarBackgroundDrawable.java */
/* loaded from: classes.dex */
public class QxJ9d_1 extends Drawable {
    public final ActionBarContainer KQgRr5e_0;

    public QxJ9d_1(ActionBarContainer actionBarContainer) {
        this.KQgRr5e_0 = actionBarContainer;
    }

    @Override // android.graphics.drawable.Drawable
    public void draw(Canvas canvas) {
        ActionBarContainer actionBarContainer = this.KQgRr5e_0;
        if (actionBarContainer.f1975PGPF6hQ_2) {
            Drawable drawable = actionBarContainer.PGPF6hQ_2;
            if (drawable != null) {
                drawable.draw(canvas);
                return;
            }
            return;
        }
        Drawable drawable2 = actionBarContainer.f1972KQgRr5e_0;
        if (drawable2 != null) {
            drawable2.draw(canvas);
        }
        ActionBarContainer actionBarContainer2 = this.KQgRr5e_0;
        Drawable drawable3 = actionBarContainer2.QxJ9d_1;
        if (drawable3 == null || !actionBarContainer2.f3451Mqv2r_3) {
            return;
        }
        drawable3.draw(canvas);
    }

    @Override // android.graphics.drawable.Drawable
    public int getOpacity() {
        return 0;
    }

    @Override // android.graphics.drawable.Drawable
    public void getOutline(Outline outline) {
        ActionBarContainer actionBarContainer = this.KQgRr5e_0;
        if (actionBarContainer.f1975PGPF6hQ_2) {
            Drawable drawable = actionBarContainer.PGPF6hQ_2;
            if (drawable != null) {
                drawable.getOutline(outline);
                return;
            }
            return;
        }
        Drawable drawable2 = actionBarContainer.f1972KQgRr5e_0;
        if (drawable2 != null) {
            drawable2.getOutline(outline);
        }
    }

    @Override // android.graphics.drawable.Drawable
    public void setAlpha(int i) {
    }

    @Override // android.graphics.drawable.Drawable
    public void setColorFilter(ColorFilter colorFilter) {
    }
}
