what-the-bank/sources/com/facetec/sdk/cz.java

27 lines
713 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.facetec.sdk;
import android.content.Context;
import android.content.res.Resources;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
/* loaded from: classes.dex */
class cz extends RelativeLayout {
private int a;
public cz(Context context) {
super(context);
this.a = (int) (Resources.getSystem().getDisplayMetrics().widthPixels * db.d());
}
public cz(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
this.a = (int) (Resources.getSystem().getDisplayMetrics().widthPixels * db.d());
}
public void setXFraction(float f) {
int i = this.a;
setX(i > 0 ? f * i : -9999.0f);
}
}