69 lines
4.6 KiB
Java
69 lines
4.6 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import com.facetec.sdk.FaceTecCancelButtonCustomization;
|
||
|
import com.facetec.sdk.FaceTecCustomization;
|
||
|
import com.facetec.sdk.FaceTecSecurityWatermarkImage;
|
||
|
import com.facetec.sdk.FaceTecVocalGuidanceCustomization;
|
||
|
import o.C15715hv;
|
||
|
|
||
|
/* renamed from: o.gJ, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C14815gJ {
|
||
|
public static final FaceTecCustomization d = b();
|
||
|
public static final FaceTecCustomization b = b();
|
||
|
public static final FaceTecCustomization a = b();
|
||
|
|
||
|
private static FaceTecCustomization b() {
|
||
|
int parseColor = Color.parseColor("#ffffff");
|
||
|
int parseColor2 = Color.parseColor("#ffffff");
|
||
|
int parseColor3 = Color.parseColor("#00000000");
|
||
|
int parseColor4 = Color.parseColor("#7631C1");
|
||
|
int parseColor5 = Color.parseColor("#7631C1");
|
||
|
int parseColor6 = Color.parseColor("#417FB2");
|
||
|
int parseColor7 = Color.parseColor("#000000");
|
||
|
int parseColor8 = Color.parseColor("#7631C1");
|
||
|
int parseColor9 = Color.parseColor("#ffffff");
|
||
|
int parseColor10 = Color.parseColor("#7631C1");
|
||
|
int parseColor11 = Color.parseColor("#AEA1FF");
|
||
|
int i = C15715hv.IeS.ic_close_purple;
|
||
|
FaceTecCancelButtonCustomization.ButtonLocation buttonLocation = FaceTecCancelButtonCustomization.ButtonLocation.TOP_LEFT;
|
||
|
FaceTecCustomization faceTecCustomization = new FaceTecCustomization();
|
||
|
faceTecCustomization.getFrameCustomization().cornerRadius = 20;
|
||
|
faceTecCustomization.getFrameCustomization().backgroundColor = parseColor2;
|
||
|
faceTecCustomization.getFrameCustomization().borderColor = parseColor3;
|
||
|
faceTecCustomization.getOverlayCustomization().backgroundColor = parseColor;
|
||
|
faceTecCustomization.getOverlayCustomization().showBrandingImage = false;
|
||
|
faceTecCustomization.getGuidanceCustomization().backgroundColors = parseColor2;
|
||
|
faceTecCustomization.getGuidanceCustomization().foregroundColor = parseColor7;
|
||
|
faceTecCustomization.getGuidanceCustomization().buttonBackgroundNormalColor = parseColor8;
|
||
|
faceTecCustomization.getGuidanceCustomization().buttonBackgroundDisabledColor = parseColor11;
|
||
|
faceTecCustomization.getGuidanceCustomization().buttonBackgroundHighlightColor = parseColor10;
|
||
|
faceTecCustomization.getGuidanceCustomization().buttonTextNormalColor = parseColor9;
|
||
|
faceTecCustomization.getGuidanceCustomization().buttonTextDisabledColor = parseColor9;
|
||
|
faceTecCustomization.getGuidanceCustomization().buttonTextHighlightColor = parseColor9;
|
||
|
faceTecCustomization.getGuidanceCustomization().retryScreenImageBorderColor = parseColor4;
|
||
|
faceTecCustomization.getGuidanceCustomization().retryScreenOvalStrokeColor = parseColor4;
|
||
|
faceTecCustomization.getGuidanceCustomization().retryScreenHeaderTextColor = parseColor7;
|
||
|
faceTecCustomization.getGuidanceCustomization().retryScreenSubtextTextColor = parseColor7;
|
||
|
faceTecCustomization.getGuidanceCustomization().readyScreenHeaderTextColor = parseColor7;
|
||
|
faceTecCustomization.getGuidanceCustomization().readyScreenSubtextTextColor = parseColor7;
|
||
|
faceTecCustomization.getOvalCustomization().strokeColor = parseColor5;
|
||
|
faceTecCustomization.getOvalCustomization().progressColor1 = parseColor6;
|
||
|
faceTecCustomization.getOvalCustomization().progressColor2 = parseColor6;
|
||
|
faceTecCustomization.getFeedbackCustomization().backgroundColors = parseColor8;
|
||
|
faceTecCustomization.getFeedbackCustomization().textColor = parseColor9;
|
||
|
faceTecCustomization.getCancelButtonCustomization().customImage = i;
|
||
|
faceTecCustomization.getCancelButtonCustomization().setLocation(buttonLocation);
|
||
|
faceTecCustomization.getResultScreenCustomization().backgroundColors = parseColor2;
|
||
|
faceTecCustomization.getResultScreenCustomization().foregroundColor = parseColor7;
|
||
|
faceTecCustomization.getResultScreenCustomization().activityIndicatorColor = parseColor8;
|
||
|
faceTecCustomization.getResultScreenCustomization().resultAnimationBackgroundColor = parseColor8;
|
||
|
faceTecCustomization.getResultScreenCustomization().resultAnimationForegroundColor = parseColor9;
|
||
|
faceTecCustomization.getResultScreenCustomization().uploadProgressFillColor = parseColor8;
|
||
|
faceTecCustomization.securityWatermarkImage = FaceTecSecurityWatermarkImage.FACETEC_ZOOM;
|
||
|
faceTecCustomization.vocalGuidanceCustomization.mode = FaceTecVocalGuidanceCustomization.VocalGuidanceMode.NO_VOCAL_GUIDANCE;
|
||
|
return faceTecCustomization;
|
||
|
}
|
||
|
}
|