Lines Matching refs:callback
57 * passed in callback with the result. If a thumbnail is immediately available in the cache,
58 * the callback will be called immediately as well.
104 * @param callback the callback to call when the thumbnail is fully loaded
108 final ItemLoadedCallback<ImageLoaded> callback) {
109 return getThumbnail(uri, false, callback);
116 * @param callback the callback to call when the thumbnail is fully loaded
120 final ItemLoadedCallback<ImageLoaded> callback) {
121 return getThumbnail(uri, true, callback);
125 final ItemLoadedCallback<ImageLoaded> callback) {
135 final boolean callbackRequired = (callback != null);
139 thumbnail + " callback: " + callback + " thumbnailExists: " +
148 callback.onItemLoaded(imageLoaded, null);
154 addCallback(uri, callback);
165 cancelCallback(callback);
246 // Make a copy so that the callback can unregister itself
247 for (final ItemLoadedCallback<ImageLoaded> callback : asList(callbacks)) {
249 Log.d(TAG, "Invoking item loaded callback " + callback);
253 callback.onItemLoaded(imageLoaded, null);
258 Log.d(TAG, "No image callback!");
267 Log.v(TAG, "in callback runnable: bitmap uri: " + mUri +