49 lines
1.5 KiB
Java
49 lines
1.5 KiB
Java
|
package o;
|
||
|
|
||
|
import android.view.View;
|
||
|
import o.C14930gcM;
|
||
|
|
||
|
/* renamed from: o.eEo, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C10454eEo {
|
||
|
public static final void d(View view, final InterfaceC14890gbN<C14866gag> interfaceC14890gbN) {
|
||
|
C14957gcv.e(view, "");
|
||
|
C14957gcv.e(interfaceC14890gbN, "");
|
||
|
final C14930gcM.LWm lWm = new C14930gcM.LWm();
|
||
|
view.setOnClickListener(new View.OnClickListener(lWm, interfaceC14890gbN) { // from class: o.eEn
|
||
|
private C14930gcM.LWm a;
|
||
|
private int b = 750;
|
||
|
private InterfaceC14890gbN e;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view2) {
|
||
|
C14930gcM.LWm lWm2 = this.a;
|
||
|
int i = this.b;
|
||
|
InterfaceC14890gbN interfaceC14890gbN2 = this.e;
|
||
|
C14957gcv.e(lWm2, "");
|
||
|
C14957gcv.e(interfaceC14890gbN2, "");
|
||
|
if (System.currentTimeMillis() > lWm2.a + i) {
|
||
|
interfaceC14890gbN2.invoke();
|
||
|
}
|
||
|
lWm2.a = System.currentTimeMillis();
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = lWm;
|
||
|
this.e = interfaceC14890gbN;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
public static final void a(View view, boolean z) {
|
||
|
C14957gcv.e(view, "");
|
||
|
if (z) {
|
||
|
C14957gcv.e(view, "");
|
||
|
view.setVisibility(0);
|
||
|
} else {
|
||
|
C14957gcv.e(view, "");
|
||
|
view.setVisibility(8);
|
||
|
}
|
||
|
}
|
||
|
}
|