Lines Matching refs:listener
75 * Create a new task drainer; {@code onDrained} callbacks will be posted to the listener
79 * @param listener a non-{@code null} listener where {@code onDrained} will be called
81 public TaskDrainer(Handler handler, DrainListener listener) {
83 mListener = checkNotNull(listener, "listener must not be null");
88 * Create a new task drainer; {@code onDrained} callbacks will be posted to the listener
92 * @param listener a non-{@code null} listener where {@code onDrained} will be called
95 public TaskDrainer(Handler handler, DrainListener listener, String name) {
98 mListener = checkNotNull(listener, "listener must not be null");