what-the-bank/sources/o/InterfaceC12929fLg.java

32 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.text.Spannable;
import android.text.SpannableStringBuilder;
import android.text.style.ForegroundColorSpan;
import android.text.style.MetricAffectingSpan;
/* renamed from: o.fLg, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public interface InterfaceC12929fLg {
static /* synthetic */ Spannable aAt_(InterfaceC12929fLg interfaceC12929fLg, String str, String str2, int i) {
return interfaceC12929fLg.aAu_(str, str2, i, null);
}
default Spannable aAu_(String str, String str2, int i, MetricAffectingSpan metricAffectingSpan) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
String str3 = str;
int e = gdZ.e((CharSequence) str3, str2, 0, true);
int length = str2.length() + e;
SpannableStringBuilder append = new SpannableStringBuilder().append((CharSequence) str3);
if (e >= 0) {
append.setSpan(new ForegroundColorSpan(i), e, length, 33);
}
if (metricAffectingSpan != null && e >= 0) {
append.setSpan(metricAffectingSpan, e, length, 33);
}
C14957gcv.c(append, "");
return append;
}
}