package X6FRs_4.KQgRr5e_0.WwEq_13;

import android.content.Context;
import android.graphics.Rect;
import android.text.method.TransformationMethod;
import android.view.View;
import java.util.Locale;
/* compiled from: AllCapsTransformationMethod.java */
/* loaded from: classes.dex */
public class KQgRr5e_0 implements TransformationMethod {
    public Locale KQgRr5e_0;

    public KQgRr5e_0(Context context) {
        this.KQgRr5e_0 = context.getResources().getConfiguration().locale;
    }

    @Override // android.text.method.TransformationMethod
    public CharSequence getTransformation(CharSequence charSequence, View view) {
        if (charSequence != null) {
            return charSequence.toString().toUpperCase(this.KQgRr5e_0);
        }
        return null;
    }

    @Override // android.text.method.TransformationMethod
    public void onFocusChanged(View view, CharSequence charSequence, boolean z, int i, Rect rect) {
    }
}
