what-the-bank/sources/com/kofax/mobile/sdk/_internal/impl/q.java

102 lines
2.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk._internal.impl;
import android.graphics.Rect;
import com.kofax.kmc.ken.engines.data.Image;
import java.util.HashMap;
import java.util.Map;
import o.InterfaceC13391fZD;
/* loaded from: classes3.dex */
public class q implements com.kofax.mobile.sdk._internal.e {
private static final Map<String, a> wC = new HashMap();
/* loaded from: classes3.dex */
static class a {
Rect dC;
Image.ImageMimeType wD;
int wE;
Image.OutputColor wF;
private a() {
}
}
@InterfaceC13391fZD
public q() {
}
@Override // com.kofax.mobile.sdk._internal.e
public void a(String str, Image.ImageMimeType imageMimeType) {
Map<String, a> map = wC;
a aVar = map.get(str);
if (aVar == null) {
aVar = new a();
}
aVar.wD = imageMimeType;
map.put(str, aVar);
}
@Override // com.kofax.mobile.sdk._internal.e
public Image.ImageMimeType x(String str) {
a aVar = wC.get(str);
return aVar != null ? aVar.wD : Image.ImageMimeType.MIMETYPE_UNKNOWN;
}
@Override // com.kofax.mobile.sdk._internal.e
public void a(String str, int i) {
Map<String, a> map = wC;
a aVar = map.get(str);
if (aVar == null) {
aVar = new a();
}
aVar.wE = i;
map.put(str, aVar);
}
@Override // com.kofax.mobile.sdk._internal.e
public int y(String str) {
a aVar = wC.get(str);
if (aVar != null) {
return aVar.wE;
}
return 72;
}
@Override // com.kofax.mobile.sdk._internal.e
public Image.OutputColor z(String str) {
a aVar = wC.get(str);
return aVar != null ? aVar.wF : Image.OutputColor.BITDEPTH_COLOR;
}
@Override // com.kofax.mobile.sdk._internal.e
public void a(String str, Image.OutputColor outputColor) {
Map<String, a> map = wC;
a aVar = map.get(str);
if (aVar == null) {
aVar = new a();
}
aVar.wF = outputColor;
map.put(str, aVar);
}
@Override // com.kofax.mobile.sdk._internal.e
public Rect A(String str) {
a aVar = wC.get(str);
if (aVar != null) {
return aVar.dC;
}
return null;
}
@Override // com.kofax.mobile.sdk._internal.e
public void a(String str, Rect rect) {
Map<String, a> map = wC;
a aVar = map.get(str);
if (aVar == null) {
aVar = new a();
}
aVar.dC = rect;
map.put(str, aVar);
}
}