39 lines
1.8 KiB
Java
39 lines
1.8 KiB
Java
package com.kofax.kmc.kui.uicontrols.captureanimations;
|
|
|
|
import com.kofax.kmc.ken.engines.data.FixedAspectRatioDetectionSettings;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class FixedAspectRatioExperienceCriteriaHolder extends DocumentBaseCaptureExperienceCriteriaHolder {
|
|
private FixedAspectRatioDetectionSettings ni;
|
|
|
|
@Override // com.kofax.kmc.kui.uicontrols.captureanimations.DocumentBaseCaptureExperienceCriteriaHolder, com.kofax.kmc.kui.uicontrols.captureanimations.CaptureExperienceCriteriaHolder
|
|
public void setOrientationEnabled(boolean z) {
|
|
}
|
|
|
|
public FixedAspectRatioExperienceCriteriaHolder() {
|
|
this.ni = new FixedAspectRatioDetectionSettings();
|
|
this.mV.setRollThresholdEnabled(false);
|
|
this.mV.setPitchThresholdEnabled(false);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public FixedAspectRatioExperienceCriteriaHolder(FixedAspectRatioExperienceCriteriaHolder fixedAspectRatioExperienceCriteriaHolder) {
|
|
super(fixedAspectRatioExperienceCriteriaHolder);
|
|
this.ni = new FixedAspectRatioDetectionSettings();
|
|
setDetectionSettings(new FixedAspectRatioDetectionSettings(fixedAspectRatioExperienceCriteriaHolder.getDetectionSettings()));
|
|
}
|
|
|
|
@Override // com.kofax.kmc.kui.uicontrols.captureanimations.DocumentBaseCaptureExperienceCriteriaHolder, com.kofax.kmc.kui.uicontrols.captureanimations.CaptureExperienceCriteriaHolder
|
|
public boolean isOrientationEnabled() {
|
|
return this.mV.isOrientationEnabled();
|
|
}
|
|
|
|
public void setDetectionSettings(FixedAspectRatioDetectionSettings fixedAspectRatioDetectionSettings) {
|
|
this.ni = fixedAspectRatioDetectionSettings;
|
|
}
|
|
|
|
public FixedAspectRatioDetectionSettings getDetectionSettings() {
|
|
return this.ni;
|
|
}
|
|
}
|