Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
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()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java294 InputStream imageStream = null; in onPhotoCropped() local
296 imageStream = mContext.getContentResolver() in onPhotoCropped()
298 return imageStream != null ? BitmapFactory.decodeStream(imageStream) : null; in onPhotoCropped()
303 if (imageStream != null) { in onPhotoCropped()
305 imageStream.close(); in onPhotoCropped()
315 InputStream imageStream = mContext.getContentResolver() in onPhotoCropped() local
317 fullImage = imageStream != null ? BitmapFactory.decodeStream(imageStream) in onPhotoCropped()
/packages/apps/Camera2/src/com/android/camera/burst/
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()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
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()
DImageStreamImpl.java41 public ImageStreamImpl(BufferQueue<ImageProxy> imageStream, in ImageStreamImpl() argument
44 super(imageStream); in ImageStreamImpl()
49 mLifetime.add(imageStream); in ImageStreamImpl()
DAllocatingImageStream.java56 BufferQueue<ImageProxy> imageStream, in AllocatingImageStream() argument
59 super(imageStream, imageStreamController, imageDistributor, surface); in AllocatingImageStream()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
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()
DSimpleImageCaptureCommand.java64 ImageStream imageStream = mImageReader.createStream(1)) { in run()
68 photoRequest.addStream(imageStream); in run()
81 ImageProxy image = imageStream.getNext(); in run()
/packages/apps/Contacts/src/com/android/contacts/util/
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()