Home
last modified time | relevance | path

Searched refs:Request (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
DPhotoManager.java72 protected void onImageDrawn(final Request request, final boolean success) { in onImageDrawn()
80 protected void onImageLoadStarted(final Request request) { in onImageLoadStarted()
236 private final Map<Integer, Request> mPendingRequests = Collections.synchronizedMap(
237 new HashMap<Integer, Request>());
279 final Request request = new Request(id, defaultProvider, view, dimensions); in loadThumbnail()
296 private void loadPhoto(int hashCode, Request request) { in loadPhoto()
327 Request r = mPendingRequests.remove(hashcode); in removePhoto()
349 private boolean loadCachedPhoto(final Request request, in loadCachedPhoto()
475 final Request request = mPendingRequests.get(hashcode); in handleMessage()
491 final Request request = mPendingRequests.get(hash); in processLoadedImages()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactPhotoManager.java529 private final ConcurrentHashMap<ImageView, Request> mPendingRequests =
530 new ConcurrentHashMap<ImageView, Request>();
679 loadPhotoByIdOrUri(view, Request.createFromThumbnailId(photoId, darkTheme, in loadThumbnail()
699 loadPhotoByIdOrUri(view, Request.createFromUri(photoUri, requestedExtent, in loadPhoto()
711 private void loadPhotoByIdOrUri(ImageView view, Request request) { in loadPhotoByIdOrUri()
748 private boolean loadCachedPhoto(ImageView view, Request request, boolean fadeIn) { in loadCachedPhoto()
939 Request key = mPendingRequests.get(view); in processLoadedImages()
998 Request request = Request.createFromUri(photoUri, smallerExtent, false, DEFAULT_AVATAR); in cacheBitmap()
1011 Set<String> photoIdsAsStrings, Set<Request> uris) { in obtainPhotoIdsAndUrisToLoad()
1026 Iterator<Request> iterator = mPendingRequests.values().iterator(); in obtainPhotoIdsAndUrisToLoad()
[all …]
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogAdapterTest.java92 TestCallLogAdapter.Request request = mAdapter.requests.get(0); in testBindView_NoCallLogCacheNorMemoryCache_EnqueueRequest()
110 TestCallLogAdapter.Request request = mAdapter.requests.get(0); in testBindView_CallLogCacheButNoMemoryCache_EnqueueRequest()
128 TestCallLogAdapter.Request request = mAdapter.requests.get(0); in testBindView_NoCallLogButMemoryCache_EnqueueRequest()
158 TestCallLogAdapter.Request request = mAdapter.requests.get(0); in testBindView_MismatchBetwenCallLogAndMemoryCache_EnqueueRequest()
196 public static class Request { class in CallLogAdapterTest.TestCallLogAdapter
202 public Request(String number, String countryIso, ContactInfo callLogInfo, in Request() method in CallLogAdapterTest.TestCallLogAdapter.Request
211 public final List<Request> requests = Lists.newArrayList();
221 requests.add(new Request(number, countryIso, callLogInfo, immediate)); in enqueueRequest()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterDeleteSet.java38 private static class Request { class in FilterDeleteSet
42 public Request(int type, Path path, int indexHint) { in Request() method in FilterDeleteSet.Request
62 private ArrayList<Request> mRequests = new ArrayList<Request>();
153 Request r = mRequests.get(i); in reload()
227 Request r = new Request(type, path, indexHint); in sendRequest()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DAttachmentDrawable.java23 import com.android.bitmap.DecodeTask.Request;
111 public DecodeTask.Request getKey() { in getKey()
271 public void onDecodeBegin(final Request key) { in onDecodeBegin()
280 public void onBecomeFirstExpected(final Request key) { in onBecomeFirstExpected()
297 public void onDecodeComplete(final Request key, final ReusableBitmap result) { in onDecodeComplete()
315 private void onDecodeCompleteImpl(final Request key, final ReusableBitmap result) { in onDecodeCompleteImpl()
328 public void onDecodeCancel(final Request key) { in onDecodeCancel()
/packages/apps/UnifiedEmail/src/com/android/bitmap/
DDecodeTask.java31 private final Request mKey;
54 public interface Request { interface in DecodeTask
71 void onDecodeBegin(Request key); in onDecodeBegin()
72 void onDecodeComplete(Request key, ReusableBitmap result); in onDecodeComplete()
73 void onDecodeCancel(Request key); in onDecodeCancel()
76 public DecodeTask(Request key, int w, int h, int bufferW, int bufferH, BitmapView view, in DecodeTask()
DDecodeAggregator.java19 import com.android.bitmap.DecodeTask.Request;
21 public class DecodeAggregator extends ContiguousFIFOAggregator<Request> {
23 public interface Callback extends ContiguousFIFOAggregator.Callback<Request> {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DDownloadManagerCompatUtils.java27 DownloadManager.Request.class, "setAllowedOverMetered", Boolean.TYPE);
29 public static DownloadManager.Request setAllowedOverMetered( in setAllowedOverMetered()
30 final DownloadManager.Request request, final boolean allowOverMetered) { in setAllowedOverMetered()
31 return (DownloadManager.Request)CompatUtils.invoke(request, in setAllowedOverMetered()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingTask.java30 static interface Request {} interface in ProcessingTask
34 public boolean postRequest(Request message) { in postRequest()
60 public void processRequest(Request message) { in processRequest()
83 public abstract Result doInBackground(Request message); in doInBackground()
DFullresRenderingRequestTask.java15 static class Render implements Request {
47 public Result doInBackground(Request message) { in doInBackground()
DRenderingRequestTask.java31 static class Render implements Request {
63 public Result doInBackground(Request message) { in doInBackground()
DHighresRenderingRequestTask.java35 static class Render implements Request {
70 public Result doInBackground(Request message) { in doInBackground()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DActionBatch.java20 import android.app.DownloadManager.Request;
149 final Request request = new Request(uri); in execute()
170 request.setAllowedNetworkTypes(Request.NETWORK_WIFI); in execute()
177 ? Request.VISIBILITY_VISIBLE : Request.VISIBILITY_HIDDEN); in execute()
DUpdateHandler.java21 import android.app.DownloadManager.Request;
226 final Request metadataRequest = new Request(Uri.parse(metadataUri + disambiguator)); in updateClientsWithMetadataUri()
238 metadataRequest.setAllowedNetworkTypes(Request.NETWORK_WIFI); in updateClientsWithMetadataUri()
248 ? Request.VISIBILITY_VISIBLE : Request.VISIBILITY_HIDDEN); in updateClientsWithMetadataUri()
333 public static long registerDownloadRequest(final DownloadManager manager, final Request request, in registerDownloadRequest()
/packages/apps/Email/emailsync/src/com/android/emailsync/
DAbstractSyncService.java70 protected LinkedBlockingQueue<Request> mRequestQueue = new LinkedBlockingQueue<Request>();
283 public void addRequest(Request req) { in addRequest()
289 public void removeRequest(Request req) { in removeRequest()
DRequest.java24 public abstract class Request { class
28 public Request(long messageId) { in Request() method in Request
DMessageMoveRequest.java19 import com.android.emailsync.Request;
24 public class MessageMoveRequest extends Request {
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java216 protected DownloadManager.Request getRequest() in getRequest()
221 protected DownloadManager.Request getRequest(String path) { in getRequest()
222 return new DownloadManager.Request(Uri.parse(path)); in getRequest()
225 protected Download enqueueRequest(DownloadManager.Request request) { in enqueueRequest()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java20 import android.app.DownloadManager.Request;
767 Request.VISIBILITY_HIDDEN, in checkInsertPermissions()
768 Request.VISIBILITY_VISIBLE, in checkInsertPermissions()
769 Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED, in checkInsertPermissions()
770 Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION); in checkInsertPermissions()
773 Request.VISIBILITY_VISIBLE, in checkInsertPermissions()
774 Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED, in checkInsertPermissions()
775 Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION); in checkInsertPermissions()
DDownloadNotifier.java19 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE;
20 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
21 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION;
DDownloadInfo.java413 return DownloadManager.Request.NETWORK_MOBILE; in translateNetworkTypeToApiFlag()
416 return DownloadManager.Request.NETWORK_WIFI; in translateNetworkTypeToApiFlag()
419 return DownloadManager.Request.NETWORK_BLUETOOTH; in translateNetworkTypeToApiFlag()
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/
DPublicApiAccessTest.java144 … DownloadManager.Request request = new DownloadManager.Request(Uri.parse("http://localhost/path")); in testDownloadManagerRequest()
148 request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI); in testDownloadManagerRequest()
/packages/apps/Browser/src/com/android/browser/
DDownloadHandler.java188 final DownloadManager.Request request; in onDownloadStartNoStream()
190 request = new DownloadManager.Request(uri); in onDownloadStartNoStream()
210 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in onDownloadStartNoStream()
/packages/apps/Exchange/src/com/android/exchange/
DMeetingResponseRequest.java19 import com.android.emailsync.Request;
24 public class MeetingResponseRequest extends Request {
DMessageMoveRequest.java19 import com.android.emailsync.Request;
24 public class MessageMoveRequest extends Request {

12