Searched defs:image (Results 1 - 25 of 79) sorted by relevance

1234

/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DMetadataImage.java34 * @param image The image.
35 * @param metadata The TotalCaptureResultProxy metadata associated with image.
37 public MetadataImage(ImageProxy image, ListenableFuture<TotalCaptureResultProxy> metadata) { argument
38 super(image);
43 * @return The TotalCaptureResultProxy metadata associated with image.
H A DYuvImageBackendImageSaver.java74 public void saveAndCloseImage(ImageProxy image, Optional<ImageProxy> thumbnail, argument
89 mImageBackend.receiveImage(new ImageToProcess(image, mImageRotation, metadata,
174 * @param imageRotationCalculator the image rotation calculator to determine
175 * @param imageBackend ImageBackend to run the image tasks
190 * @param imageRotationCalculator the image rotation calculator to determine
191 * @param imageBackend ImageBackend to run the image tasks
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
H A DTicketRequiredFilter.java29 * from a TicketPool. If no ticket can be acquired, the incoming image is
43 public void update(@Nonnull ImageProxy image) { argument
46 image.close();
48 mImageSequence.update(new TicketImageProxy(image, ticket));
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
H A DRefCountedImageProxy.java34 * @param image The image to wrap
37 public RefCountedImageProxy(ImageProxy image, int refCount) { argument
38 super(image);
39 mRefCount = new RefCountBase<ImageProxy>(image, refCount);
H A DSingleCloseImageProxy.java32 * @param image The image to wrap
34 public SingleCloseImageProxy(ImageProxy image) { argument
35 super(image);
H A DImageDistributorImpl.java40 * An input timestamp stream and an output image stream to receive images
85 * Distributes the image to all added routes according to timestamp. Note
87 * image has been captured to ensure that the timestamp streams for all
90 * If interrupted, this will close the image and return.
95 * @param image The image to distribute.
97 public void distributeImage(ImageProxy image) { argument
98 final long timestamp = image.getTimestamp();
101 // *next* image has been captured, or the stream has been closed. Both
103 // timestamp streams should have an entry for the *current* image'
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
H A DTicketImageProxy.java35 public TicketImageProxy(ImageProxy image, Ticket ticket) { argument
36 super(image);
46 // The ticket must be closed *after* the image is closed to avoid a race
47 // condition here in which another image is reserved before this one is
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DTaskChainedCompressImageToJpeg.java30 * Implements the conversion of a YUV_420_888 image to compressed JPEG byte
31 * array, as two separate tasks: the first to copy from the image to NV21 memory
32 * layout, and the second to convert the image into JPEG, using the built-in
40 TaskChainedCompressImageToJpeg(ImageToProcess image, Executor executor, argument
42 super(image, executor, imageTaskManager, ProcessingPriority.SLOW, captureSession);
76 // Release the image now that you have a usable copy
83 // This task drops the image reference.
88 // Image is closed by now. Do NOT reference image directly.
93 logWrapper("Finished off a chained task now that image is released.");
97 // Passed null, since the image ha
[all...]
H A DTaskPreviewChainedJpeg.java29 * Implements the conversion of a YUV_420_888 image to subsampled image
38 * @param image Image that the computation is dependent on
42 * @param captureSession Capture session that bound to this image
45 TaskPreviewChainedJpeg(ImageToProcess image, argument
51 super(image, executor, imageTaskManager, ProcessingPriority.AVERAGE, captureSession,
H A DImageProcessorProxyListener.java35 * specific image result.
38 * the image filter code with something more efficient.
93 * Register a listener filtered by a particular image object. If image is
94 * null, then events from all image processing will be sent to the
98 * @param image The specific image to filter the events to the listener. If
103 @Nullable ImageProxy image) {
112 if (image == null) {
115 mImageFilter.put(listener, image
102 registerListener(ImageProcessorListener listener, @Nullable ImageProxy image) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetUtils.java47 public static Bitmap createWidgetBitmap(MediaItem image) { argument
48 Bitmap bitmap = image.requestImage(MediaItem.TYPE_THUMBNAIL)
51 Log.w(TAG, "fail to get image of " + image.toString());
54 return createWidgetBitmap(bitmap, image.getRotation());
/packages/apps/Camera2/src/com/android/camera/burst/
H A DRingBuffer.java49 * Insert an image in the ring buffer, evicting any frames if necessary.
51 * @param image the image to be inserted.
53 public synchronized void insertImage(T image) { argument
54 long timestamp = image.getTimestamp();
56 image.close();
59 // Add image to ring buffer so it can be closed in case eviction
61 addImage(image);
98 private synchronized void addImage(T image) { argument
99 mImages.put(image
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DLoggingImageReader.java71 private ImageProxy decorateNewImage(@Nullable ImageProxy image) { argument
72 if (image == null) {
76 return new LoggingImageProxy(image);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DIImageList.java44 * The interface of all image collections used in gallery.
50 * Returns the count of image objects.
57 * @return true if the count of image objects is zero.
62 * Returns the image at the ith position.
65 * @return the image at the ith position
70 * Returns the image with a particular Uri.
73 * @return the image with a particular Uri. null if not found.
79 * @param image
80 * @return true if the image was removed.
82 public boolean removeImage(IImage image); argument
90 getImageIndex(IImage image) argument
[all...]
H A DSingleImageList.java26 * one image.
53 public int getImageIndex(IImage image) { argument
54 return image == mSingleImage ? 0 : -1;
61 public boolean removeImage(IImage image) { argument
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
H A DToken.java40 * The string image of the token.
42 public String image; field in class:Token
69 * Returns the image.
73 return image;
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A DMockImageList.java36 public int getImageIndex(IImage image) { argument
37 return mList.indexOf(image);
44 public boolean removeImage(IImage image) { argument
45 return mList.remove(image);
52 public void addImage(MockImage image) { argument
53 mList.add(image);
54 image.setContainer(this);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAddAdapter.java51 public final Drawable image; field in class:AddAdapter.ListItem
57 image = res.getDrawable(imageResourceId);
59 image = null;
87 textView.setCompoundDrawablesWithIntrinsicBounds(item.image, null, null, null);
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidImageProxy.java97 public AndroidImageProxy(android.media.Image image) { argument
100 mImage = image;
132 // If the image is closed, then just return the cached CropRect.
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
H A DDynamicRingBuffer.java84 public void update(@Nonnull ImageProxy image) { argument
85 // Try to acquire a ticket to expand the ring-buffer and save the image.
107 mQueue.update(new TicketImageProxy(image, ticket));
109 image.close();

Completed in 403 milliseconds

1234