Lines Matching refs:listener
79 private final WeakReference<Listener> mListener;
120 Listener listener) {
121 this(context, contentResolver, listener, -1);
124 public CallLogQueryHandler(Context context, ContentResolver contentResolver, Listener listener,
128 mListener = new WeakReference<Listener>(listener);
294 * Returns true if the listener took ownership of the cursor.
297 final Listener listener = mListener.get();
298 if (listener != null) {
299 return listener.onCallsFetched(cursor);
317 final Listener listener = mListener.get();
318 if (listener != null) {
319 listener.onVoicemailStatusFetched(statusCursor);
324 final Listener listener = mListener.get();
325 if (listener != null) {
326 listener.onVoicemailUnreadCountFetched(statusCursor);
331 final Listener listener = mListener.get();
332 if (listener != null) {
333 listener.onMissedCallsUnreadCountFetched(statusCursor);
337 /** Listener to completion of various queries. */
338 public interface Listener {