Lines Matching defs:Callback
80 * through the {@link Callback} interface. All clients should support this
123 private WeakReference<Callback> mCallback = null;
258 * {@link Drawable#setCallback(android.graphics.drawable.Drawable.Callback)}
262 public static interface Callback {
300 * Bind a {@link Callback} object to this Drawable. Required for clients
303 * @param cb The client's Callback implementation.
307 public final void setCallback(Callback cb) {
308 mCallback = new WeakReference<Callback>(cb);
312 * Return the current {@link Callback} implementation attached to this
315 * @return A {@link Callback} instance or null if no callback was set.
317 * @see #setCallback(android.graphics.drawable.Drawable.Callback)
319 public Callback getCallback() {
327 * Use the current {@link Callback} implementation to have this Drawable
328 * redrawn. Does nothing if there is no Callback attached to the
331 * @see Callback#invalidateDrawable
333 * @see #setCallback(android.graphics.drawable.Drawable.Callback)
336 final Callback callback = getCallback();
343 * Use the current {@link Callback} implementation to have this Drawable
344 * scheduled. Does nothing if there is no Callback attached to the
350 * @see Callback#scheduleDrawable
353 final Callback callback = getCallback();
360 * Use the current {@link Callback} implementation to have this Drawable
361 * unscheduled. Does nothing if there is no Callback attached to the
366 * @see Callback#unscheduleDrawable
369 final Callback callback = getCallback();