75 lines
1.8 KiB
Java
75 lines
1.8 KiB
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.View;
|
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class JFA<V extends View> extends CoordinatorLayout.Sts<V> {
|
|
private C1007TnW a;
|
|
private int c;
|
|
private int d;
|
|
|
|
public JFA() {
|
|
this.d = 0;
|
|
this.c = 0;
|
|
}
|
|
|
|
public JFA(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
this.d = 0;
|
|
this.c = 0;
|
|
}
|
|
|
|
@Override // androidx.coordinatorlayout.widget.CoordinatorLayout.Sts
|
|
public boolean c(CoordinatorLayout coordinatorLayout, V v, int i) {
|
|
b(coordinatorLayout, v, i);
|
|
if (this.a == null) {
|
|
this.a = new C1007TnW(v);
|
|
}
|
|
C1007TnW c1007TnW = this.a;
|
|
c1007TnW.c = c1007TnW.b.getTop();
|
|
c1007TnW.d = c1007TnW.b.getLeft();
|
|
this.a.d();
|
|
int i2 = this.d;
|
|
if (i2 == 0) {
|
|
return true;
|
|
}
|
|
C1007TnW c1007TnW2 = this.a;
|
|
if (c1007TnW2.a && c1007TnW2.e != i2) {
|
|
c1007TnW2.e = i2;
|
|
c1007TnW2.d();
|
|
}
|
|
this.d = 0;
|
|
return true;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
public void b(CoordinatorLayout coordinatorLayout, V v, int i) {
|
|
coordinatorLayout.c(v, i);
|
|
}
|
|
|
|
public boolean e(int i) {
|
|
C1007TnW c1007TnW = this.a;
|
|
if (c1007TnW != null) {
|
|
if (!c1007TnW.a || c1007TnW.e == i) {
|
|
return false;
|
|
}
|
|
c1007TnW.e = i;
|
|
c1007TnW.d();
|
|
return true;
|
|
}
|
|
this.d = i;
|
|
return false;
|
|
}
|
|
|
|
public int c() {
|
|
C1007TnW c1007TnW = this.a;
|
|
if (c1007TnW != null) {
|
|
return c1007TnW.e;
|
|
}
|
|
return 0;
|
|
}
|
|
}
|