what-the-bank/sources/com/kofax/kmc/kui/uicontrols/captureanimations/CaptureExperienceData.java

174 lines
4.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.kmc.kui.uicontrols.captureanimations;
import com.kofax.kmc.ken.engines.data.DetectionResult;
import com.kofax.kmc.kui.uicontrols.ImageCapturedEvent;
import com.kofax.kmc.kui.uicontrols.PageDetectionEvent;
/* loaded from: classes3.dex */
class CaptureExperienceData {
private boolean _sdkCaptureRequested;
private boolean mA;
private boolean mB;
private boolean mC;
private boolean mD;
private DetectionResult mE;
private boolean mF;
private PageDetectionEvent mG;
private int mH;
private int mI;
private int mJ;
private int mg;
private int lU = -1;
private int lV = -1;
private boolean mK = true;
private ImageCapturedEvent mL = null;
public CaptureExperienceData() {
}
public CaptureExperienceData(CaptureExperienceData captureExperienceData) {
setCheckCaptureExperience(captureExperienceData.isCheckCaptureExperience());
setPageDetectOrientationFlag(captureExperienceData.isPageDetectOrientationFlag());
setShowNoDocumentFoundMessage(captureExperienceData.isShowNoDocumentFoundMessage());
setPageAreaThreshold(captureExperienceData.getPageAreaThreshold());
setPageLongEdgeThreshold(captureExperienceData.getPageLongEdgeThreshold());
setPageShortEdgeThreshold(captureExperienceData.getPageShortEdgeThreshold());
setFocused(captureExperienceData.isFocused());
setStability(captureExperienceData.getStability());
setPitch(captureExperienceData.getPitch());
setRoll(captureExperienceData.getRoll());
}
public void setStability(int i) {
this.mg = i;
}
public void setShowNoDocumentFoundMessage(boolean z) {
this.mF = z;
}
public void setSdkCaptureRequested(boolean z) {
this._sdkCaptureRequested = z;
}
public void setRoll(int i) {
this.lV = i;
}
public void setPitch(int i) {
this.lU = i;
}
public void setPageShortEdgeThreshold(int i) {
this.mJ = i;
}
public void setPageLongEdgeThreshold(int i) {
this.mI = i;
}
public void setPageDetectionEvent(PageDetectionEvent pageDetectionEvent) {
this.mG = pageDetectionEvent;
}
public void setPageDetected(boolean z) {
this.mC = z;
}
public void setPageDetectOrientationFlag(boolean z) {
this.mK = z;
}
public void setPageAreaThreshold(int i) {
this.mH = i;
}
public void setImageCapturedEvent(ImageCapturedEvent imageCapturedEvent) {
this.mL = imageCapturedEvent;
}
public void setFocused(boolean z) {
this.mB = z;
}
public void setDocumentDetectionGuidanceList(DetectionResult detectionResult) {
this.mE = detectionResult;
}
public void setCriteriaMet(boolean z) {
this.mA = z;
}
public void setCheckCaptureExperience(boolean z) {
this.mD = z;
}
public boolean isShowNoDocumentFoundMessage() {
return this.mF;
}
public boolean isSdkCaptureRequested() {
return this._sdkCaptureRequested;
}
public boolean isPageDetected() {
return this.mC;
}
public boolean isPageDetectOrientationFlag() {
return this.mK;
}
public boolean isMICRFound() {
return this.mE != null;
}
public boolean isFocused() {
return this.mB;
}
public boolean isCriteriaMet() {
return this.mA;
}
public boolean isCheckCaptureExperience() {
return this.mD;
}
public int getStability() {
return this.mg;
}
public int getRoll() {
return this.lV;
}
public int getPitch() {
return this.lU;
}
public int getPageShortEdgeThreshold() {
return this.mJ;
}
public int getPageLongEdgeThreshold() {
return this.mI;
}
public PageDetectionEvent getPageDetectionEvent() {
return this.mG;
}
public int getPageAreaThreshold() {
return this.mH;
}
public ImageCapturedEvent getImageCapturedEvent() {
return this.mL;
}
public DetectionResult getDocumentDetectionGuidanceList() {
return this.mE;
}
}