/packages/apps/Dialer/java/com/android/contacts/common/ |
D | ContactPhotoManagerImpl.java | 128 private final ConcurrentHashMap<ImageView, Request> mPendingRequests = 129 new ConcurrentHashMap<ImageView, Request>(); 400 view, Request.createFromThumbnailId(photoId, darkTheme, isCircular, defaultProvider)); in loadThumbnail() 427 Request.createFromUri( in loadPhoto() 445 private void loadPhotoByIdOrUri(ImageView view, Request request) { in loadPhotoByIdOrUri() 474 final Iterator<Entry<ImageView, Request>> iterator = mPendingRequests.entrySet().iterator(); in cancelPendingRequests() 510 private boolean loadCachedPhoto(ImageView view, Request request, boolean fadeIn) { in loadCachedPhoto() 565 private Drawable getDrawableForBitmap(Resources resources, Bitmap bitmap, Request request) { in getDrawableForBitmap() 653 final Iterator<Entry<ImageView, Request>> iterator = mPendingRequests.entrySet().iterator(); in processLoadedImages() 655 final Entry<ImageView, Request> entry = iterator.next(); in processLoadedImages() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 664 private final ConcurrentHashMap<ImageView, Request> mPendingRequests = 665 new ConcurrentHashMap<ImageView, Request>(); 832 loadPhotoByIdOrUri(view, Request.createFromThumbnailId(photoId, darkTheme, isCircular, in loadThumbnail() 852 loadPhotoByIdOrUri(view, Request.createFromUri(photoUri, requestedExtent, in loadPhoto() 865 private void loadPhotoByIdOrUri(ImageView view, Request request) { in loadPhotoByIdOrUri() 895 final Iterator<Entry<ImageView, Request>> iterator = mPendingRequests.entrySet().iterator(); in cancelPendingRequests() 932 private boolean loadCachedPhoto(ImageView view, Request request, boolean fadeIn) { in loadCachedPhoto() 997 private Drawable getDrawableForBitmap(Resources resources, Bitmap bitmap, Request request) { in getDrawableForBitmap() 1151 final Iterator<Entry<ImageView, Request>> iterator = mPendingRequests.entrySet().iterator(); in processLoadedImages() 1153 final Entry<ImageView, Request> entry = iterator.next(); in processLoadedImages() [all …]
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CapabilitiesCache.java | 52 private final Map<Uri, Request> mRequests = new HashMap<>(); 119 Request request = mRequests.get(printerUri); in request() 121 request = new Request(printer); in request() 141 final Request request = getNextRequest(); in startNextRequest() 187 private Request getNextRequest() { in getNextRequest() 188 Request found = null; in getNextRequest() 190 for (Request request : mRequests.values()) { in getNextRequest() 205 private class Request { class in CapabilitiesCache 211 Request(DiscoveredPrinter printer) { in Request() method in CapabilitiesCache.Request
|
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ |
D | ZslPreviewCommand.java | 24 import com.android.camera.one.v2.core.Request; 83 List<Request> previewWarming = createWarmupBurst(mPreviewWarmupRequestBuilder, in run() 89 List<Request> zslWarmingBurst = in run() 97 List<Request> zslAndPreviewRepeating = Arrays.asList(zslAndPreviewRequest.build()); in run() 104 private List<Request> createWarmupBurst(RequestBuilder.Factory builder, int type, int size) in createWarmupBurst() 107 Request zslWarmingRequest = zslRequest.build(); in createWarmupBurst() 108 List<Request> zslWarmingBurst = new ArrayList<>(size); in createWarmupBurst()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | FilterDeleteSet.java | 38 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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallerInfoAsyncQueryFactoryFixture.java | 39 static class Request { class in CallerInfoAsyncQueryFactoryFixture 56 Request r = new Request(); 65 final List<Request> mRequests = Collections.synchronizedList(new ArrayList<Request>());
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
D | Downloads.java | 551 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || in isNotificationToBeDisplayed() 552 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; in isNotificationToBeDisplayed() 757 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE; 764 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; 769 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ProcessingTask.java | 30 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()
|
D | FullresRenderingRequestTask.java | 15 static class Render implements Request { 47 public Result doInBackground(Request message) { in doInBackground()
|
D | HighresRenderingRequestTask.java | 35 static class Render implements Request { 70 public Result doInBackground(Request message) { in doInBackground()
|
D | RenderingRequestTask.java | 31 static class Render implements Request { 63 public Result doInBackground(Request message) { in doInBackground()
|
/packages/apps/RetailDemo/src/com/android/retaildemo/ |
D | DownloadVideoTask.java | 118 final DownloadManager.Request request = createDownloadRequest(); in startDownload() 125 private DownloadManager.Request createDownloadRequest() { in createDownloadRequest() 126 final DownloadManager.Request request = new DownloadManager.Request( in createDownloadRequest() 185 final DownloadManager.Request request = createDownloadRequest(); in handleMessage()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ActionBatch.java | 19 import android.app.DownloadManager.Request; 139 final Request request = new Request(uri); in execute() 142 request.setAllowedNetworkTypes(Request.NETWORK_WIFI | Request.NETWORK_MOBILE); in execute() 144 request.setNotificationVisibility(Request.VISIBILITY_HIDDEN); in execute()
|
D | UpdateHandler.java | 21 import android.app.DownloadManager.Request; 231 final Request metadataRequest = new Request(Uri.parse(metadataUri + disambiguator)); in updateClientsWithMetadataUri() 235 metadataRequest.setAllowedNetworkTypes(Request.NETWORK_WIFI | Request.NETWORK_MOBILE); in updateClientsWithMetadataUri() 238 metadataRequest.setNotificationVisibility(Request.VISIBILITY_HIDDEN); in updateClientsWithMetadataUri() 330 final Request request, final SQLiteDatabase db, final String id, final int version) { in registerDownloadRequest()
|
D | DownloadManagerWrapper.java | 21 import android.app.DownloadManager.Request; 98 public long enqueue(final Request request) { in enqueue()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 236 protected DownloadManager.Request getRequest() in getRequest() 241 protected DownloadManager.Request getRequest(String path) { in getRequest() 242 return new DownloadManager.Request(Uri.parse(path)); in getRequest() 245 protected Download enqueueRequest(DownloadManager.Request request) { in enqueueRequest()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | IntegratedDownloadsUiTest.java | 20 import android.app.DownloadManager.Request; 47 dm.enqueue(new Request(Uri.parse("http://hammychamp.toodles"))); in testDownload_Queued() 58 dm.enqueue(new Request(Uri.parse("http://www.google.com/hamfancy"))); in testDownload_RetryUnsuccessful()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
D | Vvm3Subscriber.java | 45 import com.android.volley.Request; 235 new StringRequest(Request.Method.POST, url, future, future) { in getSelfProvisionResponse() 264 new StringRequest(Request.Method.POST, subscribeLink, future, future); in clickSubscribeLink() 292 new StringRequest(Request.Method.POST, voicemailManagementGateway, future, future) { in vvm3XmlRequest()
|
/packages/apps/RetailDemo/tests/src/com/android/retaildemo/ |
D | DownloadVideoTaskTest.java | 111 when(mDownloadManager.enqueue(any(DownloadManager.Request.class))) in testDownloadVideo() 160 when(mDownloadManager.enqueue(any(DownloadManager.Request.class))) in testDownloadVideo_noNetwork() 187 when(mDownloadManager.enqueue(any(DownloadManager.Request.class))) in testDownloadVideo_downloadFailed() 225 verify(mDownloadManager).enqueue(any(DownloadManager.Request.class)); in testDownloadUpdatedVideo()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | TagDispatchCaptureSession.java | 133 public void submitRequest(List<Request> burstRequests, FrameServer.RequestType requestType) in submitRequest() 141 for (Request request : burstRequests) { in submitRequest() 159 for (Request r : burstRequests) { in submitRequest()
|
D | FrameServerImpl.java | 46 public void submitRequest(List<Request> burstRequests, RequestType type) in submitRequest() 57 for (Request r : burstRequests) { in submitRequest()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 23 import android.app.DownloadManager.Request; 117 Request request = new Request(Uri.parse(mPackageDownloadInfo.location)); in run()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MasClient.java | 141 private void executeRequest(Request request) { in executeRequest() 153 public boolean makeRequest(Request request) { in makeRequest() 199 inst.executeRequest((Request) msg.obj); in handleMessage()
|
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
D | PublicApiAccessTest.java | 144 … DownloadManager.Request request = new DownloadManager.Request(Uri.parse("http://localhost/path")); in testDownloadManagerRequest() 148 request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI); in testDownloadManagerRequest()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 28 import android.app.DownloadManager.Request; 855 Request.VISIBILITY_HIDDEN, in checkInsertPermissions() 856 Request.VISIBILITY_VISIBLE, in checkInsertPermissions() 857 Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED, in checkInsertPermissions() 858 Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION); in checkInsertPermissions() 861 Request.VISIBILITY_VISIBLE, in checkInsertPermissions() 862 Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED, in checkInsertPermissions() 863 Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION); in checkInsertPermissions()
|