29 lines
1015 B
Java
29 lines
1015 B
Java
|
package com.kofax.mobile.sdk.k;
|
||
|
|
||
|
import com.kofax.mobile.sdk._internal.impl.detection.data.EdgeGuidance;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class g {
|
||
|
private static final int FU = 5;
|
||
|
private boolean[] FV = new boolean[EdgeGuidance.EdgeType.values().length];
|
||
|
private int[] FW = new int[EdgeGuidance.EdgeType.values().length];
|
||
|
|
||
|
public void a(EdgeGuidance edgeGuidance) {
|
||
|
if (edgeGuidance != null) {
|
||
|
for (EdgeGuidance.EdgeType edgeType : EdgeGuidance.EdgeType.values()) {
|
||
|
if (this.FV[edgeType.index()] != edgeGuidance.isEdgeFound(edgeType)) {
|
||
|
this.FW[edgeType.index()] = r4[r5] - 1;
|
||
|
if (this.FW[edgeType.index()] < 0) {
|
||
|
this.FV[edgeType.index()] = edgeGuidance.isEdgeFound(edgeType);
|
||
|
}
|
||
|
}
|
||
|
this.FW[edgeType.index()] = 5;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public EdgeGuidance getEdgesGuidance() {
|
||
|
return new EdgeGuidance(this.FV);
|
||
|
}
|
||
|
}
|