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

72 lines
2.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.l;
import com.kofax.kmc.ken.engines.data.DetectionResult;
import com.kofax.kmc.ken.engines.data.HorizontalGuidance;
import com.kofax.kmc.ken.engines.data.OrientationGuidance;
import com.kofax.kmc.ken.engines.data.TurnGuidance;
import com.kofax.kmc.ken.engines.data.VerticalGuidance;
import com.kofax.kmc.ken.engines.data.ZoomGuidance;
import com.kofax.mobile.sdk._internal.impl.detection.data.EdgeGuidance;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public class k implements com.kofax.mobile.sdk._internal.capture.d {
private final DetectionResult GY;
private final com.kofax.mobile.sdk.k.a GZ;
@Override // com.kofax.mobile.sdk._internal.capture.d
public EdgeGuidance getEdgesGuidance() {
return null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public k(DetectionResult detectionResult, com.kofax.mobile.sdk.k.a aVar) {
this.GY = detectionResult;
this.GZ = aVar;
}
@Override // com.kofax.mobile.sdk._internal.capture.d
public boolean bu() {
return !lJ();
}
@Override // com.kofax.mobile.sdk._internal.capture.d
public boolean bw() {
return this.GY.getZoomGuidance() == ZoomGuidance.ZOOM_OUT;
}
@Override // com.kofax.mobile.sdk._internal.capture.d
public boolean bv() {
return this.GY.getZoomGuidance() == ZoomGuidance.ZOOM_IN;
}
@Override // com.kofax.mobile.sdk._internal.capture.d
public boolean bx() {
return this.GY.getTurnGuidance() != TurnGuidance.TURN_OK;
}
@Override // com.kofax.mobile.sdk._internal.capture.d
public boolean by() {
return this.GY.getOrientationGuidance() != OrientationGuidance.ORIENTATION_OK;
}
@Override // com.kofax.mobile.sdk._internal.capture.d
public boolean l(boolean z) {
return h.a(this, z);
}
@Override // com.kofax.mobile.sdk._internal.capture.d
public boolean bz() {
return bA().bs() != null;
}
private boolean lJ() {
return this.GY.getHorizontalMovementGuidance() == HorizontalGuidance.HORIZONTAL_MOVE_OK && this.GY.getVerticalMovementGuidance() == VerticalGuidance.VERTICAL_MOVE_OK;
}
@Override // com.kofax.mobile.sdk._internal.capture.d
public com.kofax.mobile.sdk._internal.capture.b bA() {
return this.GZ;
}
}