package o; import android.graphics.RectF; import android.graphics.drawable.Drawable; import android.view.View; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.android.material.tabs.TabLayout; /* renamed from: o.csv, reason: case insensitive filesystem */ /* loaded from: classes2.dex */ public final class C7684csv extends VTa { /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.VTa public final void LR_(TabLayout tabLayout, View view, View view2, float f, Drawable drawable) { float b; if (f >= 0.5f) { view = view2; } RectF LP_ = LP_(tabLayout, view); if (f < 0.5f) { b = C6217cMa.b(1.0f, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 0.5f, f); } else { b = C6217cMa.b(BitmapDescriptorFactory.HUE_RED, 1.0f, 0.5f, 1.0f, f); } drawable.setBounds((int) LP_.left, drawable.getBounds().top, (int) LP_.right, drawable.getBounds().bottom); drawable.setAlpha((int) (b * 255.0f)); } }