what-the-bank/sources/com/kofax/mobile/sdk/k/e.java

128 lines
4.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.k;
import android.content.Context;
import android.graphics.Rect;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.kofax.kmc.ken.engines.data.BoundingTetragon;
import java.util.List;
import o.InterfaceC13391fZD;
/* loaded from: classes3.dex */
public class e implements com.kofax.mobile.sdk._internal.capture.e {
private boolean FF;
private int FG;
private int FH;
private BoundingTetragon FI;
private int FJ;
private int FK;
private int FL;
private int FM;
private Rect FN;
private boolean FO;
private int FP;
private boolean FQ;
private int FR;
private int FS;
private List<Rect> kD;
private int lU;
private int lV;
private int ms;
@InterfaceC13391fZD
public e() {
}
@Override // com.kofax.mobile.sdk._internal.capture.e
public void a(com.kofax.mobile.sdk._internal.view.f fVar, boolean z) {
fVar.setVisible(z);
if (z) {
Context context = fVar.getView().getContext();
fVar.setBoundsData(this.FI, this.FJ, this.FK);
fVar.showFocusAreas(this.kD, this.FL, this.FM, this.FF);
fVar.showRect(this.FN);
StringBuilder sb = new StringBuilder();
sb.append(com.kofax.mobile.sdk.ak.e.b(context, "selected_camera_resolution"));
sb.append(this.FG);
sb.append(" x ");
sb.append(this.FH);
String obj = sb.toString();
StringBuilder sb2 = new StringBuilder();
sb2.append(com.kofax.mobile.sdk.ak.e.b(context, "level"));
sb2.append(this.FQ);
String obj2 = sb2.toString();
StringBuilder sb3 = new StringBuilder();
sb3.append(com.kofax.mobile.sdk.ak.e.b(context, "pitch"));
sb3.append(this.lU);
sb3.append(com.kofax.mobile.sdk.ak.e.b(context, "threshold_pitch"));
sb3.append(this.FS);
String obj3 = sb3.toString();
StringBuilder sb4 = new StringBuilder();
sb4.append(com.kofax.mobile.sdk.ak.e.b(context, "roll"));
sb4.append(this.lV);
sb4.append(com.kofax.mobile.sdk.ak.e.b(context, "threshold_roll"));
sb4.append(this.FR);
fVar.showDebugData(obj, obj2, obj3, sb4.toString());
boolean z2 = this.FF;
StringBuilder sb5 = new StringBuilder();
sb5.append(com.kofax.mobile.sdk.ak.e.b(context, "focused"));
sb5.append(this.FF);
String obj4 = sb5.toString();
boolean z3 = this.FO;
StringBuilder sb6 = new StringBuilder();
sb6.append(com.kofax.mobile.sdk.ak.e.b(context, "stability"));
sb6.append(this.FO);
sb6.append(com.kofax.mobile.sdk.ak.e.b(context, AppMeasurementSdk.ConditionalUserProperty.VALUE));
sb6.append(this.FP);
sb6.append(com.kofax.mobile.sdk.ak.e.b(context, "threshold"));
sb6.append(this.ms);
fVar.showIndicators(z2, obj4, z3, sb6.toString());
}
}
@Override // com.kofax.mobile.sdk._internal.capture.e
public void m(boolean z) {
this.FF = z;
}
@Override // com.kofax.mobile.sdk._internal.capture.e
public void d(int i, int i2) {
this.FG = i;
this.FH = i2;
}
@Override // com.kofax.mobile.sdk._internal.capture.e
public void b(List<Rect> list, int i, int i2) {
this.kD = list;
this.FL = i;
this.FM = i2;
}
@Override // com.kofax.mobile.sdk._internal.capture.e
public void a(boolean z, int i, int i2, int i3, int i4) {
this.FQ = z;
this.lU = i;
this.lV = i2;
this.FR = i3;
this.FS = i4;
}
@Override // com.kofax.mobile.sdk._internal.capture.e
public void a(boolean z, int i, int i2) {
this.FO = z;
this.FP = i;
this.ms = i2;
}
@Override // com.kofax.mobile.sdk._internal.capture.e
public void a(BoundingTetragon boundingTetragon, int i, int i2) {
this.FI = boundingTetragon;
this.FJ = i;
this.FK = i2;
}
@Override // com.kofax.mobile.sdk._internal.capture.e
public void a(Rect rect) {
this.FN = rect;
}
}