63 lines
2.0 KiB
Java
63 lines
2.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.animation.ObjectAnimator;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.ImageView;
|
||
|
import android.widget.LinearLayout;
|
||
|
import androidx.recyclerview.widget.RecyclerView;
|
||
|
import com.scb.phone.view.fragment.landingpage.LandingFragment;
|
||
|
import java.lang.ref.WeakReference;
|
||
|
|
||
|
/* renamed from: o.fmu, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C14107fmu extends AbstractRunnableC14102fmp {
|
||
|
private WeakReference<ImageView> d;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public C14107fmu(LandingFragment landingFragment, RecyclerView recyclerView, ImageView imageView) {
|
||
|
super(landingFragment, recyclerView);
|
||
|
C14957gcv.e(landingFragment, "");
|
||
|
C14957gcv.e(recyclerView, "");
|
||
|
C14957gcv.e(imageView, "");
|
||
|
this.d = new WeakReference<>(imageView);
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.fmu$Sts */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class Sts {
|
||
|
private Sts() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ Sts(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractRunnableC14102fmp
|
||
|
public final boolean e() {
|
||
|
return super.e() && this.d.get() != null;
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.Runnable
|
||
|
public final void run() {
|
||
|
ImageView imageView;
|
||
|
if (!super.e() || this.d.get() == null || (imageView = this.d.get()) == null) {
|
||
|
return;
|
||
|
}
|
||
|
ViewGroup.LayoutParams layoutParams = imageView.getLayoutParams();
|
||
|
C14957gcv.d(layoutParams, "");
|
||
|
LinearLayout.LayoutParams layoutParams2 = (LinearLayout.LayoutParams) layoutParams;
|
||
|
((ViewGroup.LayoutParams) layoutParams2).height = a();
|
||
|
imageView.setLayoutParams(layoutParams2);
|
||
|
imageView.setVisibility(0);
|
||
|
ObjectAnimator ofFloat = ObjectAnimator.ofFloat(imageView, "alpha", 0.3f, 1.0f, 0.3f);
|
||
|
ofFloat.setDuration(1500L);
|
||
|
ofFloat.setRepeatCount(-1);
|
||
|
ofFloat.start();
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new Sts((byte) 0);
|
||
|
}
|
||
|
}
|