package ῲ.㳳.K;

import android.database.Cursor;
import android.widget.Filter;
import ῲ.ῲ.㴹.View$OnClickListenerC2038;

/* renamed from: ῲ.㳳.K.ῲ  reason: contains not printable characters */
/* compiled from: CursorFilter */
public class C2248 extends Filter {

    /* renamed from: K  reason: contains not printable characters */
    public AbstractC2249 f7749;

    /* renamed from: ῲ.㳳.K.ῲ$K  reason: contains not printable characters */
    /* compiled from: CursorFilter */
    public interface AbstractC2249 {
    }

    public C2248(AbstractC2249 k) {
        this.f7749 = k;
    }

    public CharSequence convertResultToString(Object obj) {
        return ((View$OnClickListenerC2038) this.f7749).m5282((Cursor) obj);
    }

    public Filter.FilterResults performFiltering(CharSequence charSequence) {
        Cursor r3 = ((View$OnClickListenerC2038) this.f7749).m5284(charSequence);
        Filter.FilterResults filterResults = new Filter.FilterResults();
        if (r3 != null) {
            filterResults.count = r3.getCount();
            filterResults.values = r3;
        } else {
            filterResults.count = 0;
            filterResults.values = null;
        }
        return filterResults;
    }

    public void publishResults(CharSequence charSequence, Filter.FilterResults filterResults) {
        AbstractC2249 k = this.f7749;
        Cursor cursor = ((AbstractC2250) k).f7756;
        Object obj = filterResults.values;
        if (obj != null && obj != cursor) {
            ((View$OnClickListenerC2038) k).m5289((Cursor) obj);
        }
    }
}
