Home
last modified time | relevance | path

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

123

/packages/apps/Dialer/java/com/android/contacts/common/
DContactPhotoManagerImpl.java128 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/
DContactPhotoManager.java664 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/
DCapabilitiesCache.java52 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/
DZslPreviewCommand.java24 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/
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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallerInfoAsyncQueryFactoryFixture.java39 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/
DDownloads.java551 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/
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()
DHighresRenderingRequestTask.java35 static class Render implements Request {
70 public Result doInBackground(Request message) { in doInBackground()
DRenderingRequestTask.java31 static class Render implements Request {
63 public Result doInBackground(Request message) { in doInBackground()
/packages/apps/RetailDemo/src/com/android/retaildemo/
DDownloadVideoTask.java118 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/
DActionBatch.java19 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()
DUpdateHandler.java21 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()
DDownloadManagerWrapper.java21 import android.app.DownloadManager.Request;
98 public long enqueue(final Request request) { in enqueue()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java236 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/
DIntegratedDownloadsUiTest.java20 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/
DVvm3Subscriber.java45 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/
DDownloadVideoTaskTest.java111 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/
DTagDispatchCaptureSession.java133 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()
DFrameServerImpl.java46 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/
DDownloadPackageTask.java23 import android.app.DownloadManager.Request;
117 Request request = new Request(Uri.parse(mPackageDownloadInfo.location)); in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMasClient.java141 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/
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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java28 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()

123