Lines Matching defs:response

46     /** Amount of time to wait after first response arrives before delivering all responses. */
66 /** Runnable for in-flight response delivery. */
91 * of showing a default image until the network response is received, at which point
108 public void onResponse(ImageContainer response, boolean isImmediate) {
109 if (response.getBitmap() != null) {
110 view.setImageBitmap(response.getBitmap());
119 * Interface for the response handlers on image requests.
122 * 1. Upon being attached to a request, onResponse(response, true) will
124 * data was available, response.getBitmap() will be non-null.
126 * 2. After a network response returns, only one of the following cases will happen:
127 * - onResponse(response, false) will be called if the image was loaded.
135 * @param response Holds all information pertaining to the request, as well
142 public void onResponse(ImageContainer response, boolean isImmediate);
254 public void onResponse(Bitmap response) {
255 onGetImageSuccess(cacheKey, response);
266 * Sets the amount of time to wait after the first response arrives before delivering all
277 * @param response The bitmap that was returned from the network.
279 protected void onGetImageSuccess(String cacheKey, Bitmap response) {
281 mCache.putBitmap(cacheKey, response);
287 // Update the response bitmap.
288 request.mResponseBitmap = response;
290 // Send the batched response
308 // Send the batched response
397 /** Error if one occurred for this response */
414 * Set the error for this response
421 * Get the error for this response
453 * @param cacheKey The cacheKey of the response being delivered.
467 // after the response was received but before it was delivered,