package p138.p176.p177.p190.p226;

import android.annotation.TargetApi;
import android.graphics.Typeface;
import android.view.accessibility.CaptioningManager;
import p138.p176.p177.p190.p239.C4150;

/* JADX INFO: renamed from: ދ.ހ.֏.ؠ.ໟ.֏, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C3945 {

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public static final C3945 f12367 = new C3945(-1, -16777216, 0, 0, -1, null);

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final int f12368;

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public final int f12369;

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public final int f12370;

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public final int f12371;

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public final int f12372;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final Typeface f12373;

    public C3945(int i, int i2, int i3, int i4, int i5, Typeface typeface) {
        this.f12368 = i;
        this.f12369 = i2;
        this.f12370 = i3;
        this.f12371 = i4;
        this.f12372 = i5;
        this.f12373 = typeface;
    }

    @TargetApi(19)
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static C3945 m6371(CaptioningManager.CaptionStyle captionStyle) {
        if (C4150.f13259 >= 21) {
            return new C3945(captionStyle.hasForegroundColor() ? captionStyle.foregroundColor : f12367.f12368, captionStyle.hasBackgroundColor() ? captionStyle.backgroundColor : f12367.f12369, captionStyle.hasWindowColor() ? captionStyle.windowColor : f12367.f12370, captionStyle.hasEdgeType() ? captionStyle.edgeType : f12367.f12371, captionStyle.hasEdgeColor() ? captionStyle.edgeColor : f12367.f12372, captionStyle.getTypeface());
        }
        return new C3945(captionStyle.foregroundColor, captionStyle.backgroundColor, 0, captionStyle.edgeType, captionStyle.edgeColor, captionStyle.getTypeface());
    }
}
