Home
last modified time | relevance | path

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

12

/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/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/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/ContactsCommon/src/com/android/contacts/common/
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/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()
DImageSavingTask.java32 static class SaveRequest implements Request {
84 public Result doInBackground(Request message) { in doInBackground()
/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/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/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()
DRequestBuilder.java79 private static class RequestImpl implements Request {
183 public Request build() { in build()
DRequest.java29 public interface Request { interface
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogAdapterTest.java387 TestContactInfoCache.Request request = mAdapter.getContactInfoCache().requests.get(0); in testBindView_NoCallLogCacheNorMemoryCache_EnqueueRequest()
407 TestContactInfoCache.Request request = mAdapter.getContactInfoCache().requests.get(0); in testBindView_CallLogCacheButNoMemoryCache_EnqueueRequest()
427 TestContactInfoCache.Request request = mAdapter.getContactInfoCache().requests.get(0); in testBindView_NoCallLogButMemoryCache_EnqueueRequest()
460 TestContactInfoCache.Request request = mAdapter.getContactInfoCache().requests.get(0); in testBindView_MismatchBetweenCallLogAndMemoryCache_EnqueueRequest()
866 public static class Request { class in CallLogAdapterTest.TestContactInfoCache
872 public Request(String number, String countryIso, ContactInfo callLogInfo, in Request() method in CallLogAdapterTest.TestContactInfoCache.Request
881 public final List<Request> requests = Lists.newArrayList();
915 requests.add(new Request(number, countryIso, callLogInfo, immediate)); in enqueueRequest()
/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/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()
DDownloadManagerWrapper.java21 import android.app.DownloadManager.Request;
98 public long enqueue(final Request request) { in enqueue()
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()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java20 import android.app.DownloadManager.Request;
115 Request request = new Request(Uri.parse(info.mPackageDownloadInfo.location)); in run()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java29 import android.app.DownloadManager.Request;
800 Request.VISIBILITY_HIDDEN, in checkInsertPermissions()
801 Request.VISIBILITY_VISIBLE, in checkInsertPermissions()
802 Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED, in checkInsertPermissions()
803 Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION); in checkInsertPermissions()
806 Request.VISIBILITY_VISIBLE, in checkInsertPermissions()
807 Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED, in checkInsertPermissions()
808 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;
DDownloadReceiver.java19 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
20 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLocationFragment.java107 List<RecentLocationApps.Request> recentLocationRequests = in onCreatePreferences()
110 for (final RecentLocationApps.Request request : recentLocationRequests) { in onCreatePreferences()

12