Home
last modified time | relevance | path

Searched refs:imageStream (Results 1 – 10 of 10) sorted by relevance

/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
H A DImageDistributorImpl.java45 public final BufferQueueController<ImageProxy> imageStream; field in ImageDistributorImpl.DispatchRecord
48 BufferQueueController<ImageProxy> imageStream) { in DispatchRecord() argument
50 this.imageStream = imageStream; in DispatchRecord()
135 dispatchRecord.imageStream.isClosed()) { in distributeImage()
169 streamsToReceiveImage.add(dispatchRecord.imageStream); in distributeImage()
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
H A DManagedImageReader.java100 ConcurrentBufferQueue<ImageProxy> imageStream = new ConcurrentBufferQueue<>(new in createUnallocatedStream() local
102 mLifetime.add(imageStream); in createUnallocatedStream()
105 TicketRequiredFilter(ticketPool, imageStream); in createUnallocatedStream()
109 ticketPool, imageStream, imageStreamController, mImageDistributor, mSurface); in createUnallocatedStream()
H A DImageStreamImpl.java41 public ImageStreamImpl(BufferQueue<ImageProxy> imageStream, in ImageStreamImpl() argument
44 super(imageStream); in ImageStreamImpl()
49 mLifetime.add(imageStream); in ImageStreamImpl()
H A DAllocatingImageStream.java56 BufferQueue<ImageProxy> imageStream, in AllocatingImageStream() argument
59 super(imageStream, imageStreamController, imageDistributor, surface); in AllocatingImageStream()
/aosp12/packages/apps/Camera2/src/com/android/camera/burst/
H A DBurstCaptureCommand.java119 try (ImageStream imageStream = in run() argument
121 mBurstLifetime.add(imageStream); in run()
130 photoRequest.addStream(imageStream); in run()
154 while (!imageStream.isClosed()) { in run()
159 ringBuffer.insertImage(new MetadataImage(imageStream.getNext(), in run()
/aosp12/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
H A DEditUserPhotoController.java309 InputStream imageStream = null; in onPhotoCropped() local
311 imageStream = mContext.getContentResolver() in onPhotoCropped()
313 return imageStream != null ? BitmapFactory.decodeStream(imageStream) : null; in onPhotoCropped()
318 if (imageStream != null) { in onPhotoCropped()
320 imageStream.close(); in onPhotoCropped()
330 InputStream imageStream = mContext.getContentResolver() in onPhotoCropped() local
332 fullImage = imageStream != null ? BitmapFactory.decodeStream(imageStream) in onPhotoCropped()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DEditUserPhotoController.java302 InputStream imageStream = null; in onPhotoCropped() local
304 imageStream = mActivity.getContentResolver() in onPhotoCropped()
306 return BitmapFactory.decodeStream(imageStream); in onPhotoCropped()
311 if (imageStream != null) { in onPhotoCropped()
313 imageStream.close(); in onPhotoCropped()
340 InputStream imageStream = mActivity.getContentResolver() in onPhotoNotCropped() local
342 fullImage = BitmapFactory.decodeStream(imageStream); in onPhotoNotCropped()
381 InputStream imageStream = context.getContentResolver().openInputStream(selectedImage); in getRotation() local
382 ExifInterface exif = new ExifInterface(imageStream); in getRotation()
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
H A DSimpleImageCaptureCommand.java64 ImageStream imageStream = mImageReader.createStream(1)) { in run()
68 photoRequest.addStream(imageStream); in run()
81 ImageProxy image = imageStream.getNext(); in run()
H A DConvergedImageCaptureCommand.java154 try (ImageStream imageStream = mImageReader.createPreallocatedStream(mBurst.size())) { in run() argument
161 captureBurst(session, imageStream, imageExposureUpdatable, imageSaver); in run()
220 private void captureBurst(FrameServer.Session session, ImageStream imageStream, Updatable<Void> in captureBurst() argument
246 builder.addStream(imageStream); in captureBurst()
255 ImageProxy image = imageStream.getNext(); in captureBurst()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DContactPhotoUtils.java96 final InputStream imageStream = context.getContentResolver().openInputStream(uri); in getBitmapFromUri() local
98 return BitmapFactory.decodeStream(imageStream); in getBitmapFromUri()
100 Closeables.closeQuietly(imageStream); in getBitmapFromUri()