Home
last modified time | relevance | path

Searched refs:imageStream (Results 1 – 10 of 10) 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/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/Settings/src/com/android/settings/users/
DEditUserPhotoController.java289 InputStream imageStream = null; in onPhotoCropped() local
291 imageStream = mContext.getContentResolver() in onPhotoCropped()
293 return BitmapFactory.decodeStream(imageStream); in onPhotoCropped()
298 if (imageStream != null) { in onPhotoCropped()
300 imageStream.close(); in onPhotoCropped()
313 InputStream imageStream = mContext.getContentResolver() in onPhotoCropped() local
315 fullImage = BitmapFactory.decodeStream(imageStream); in onPhotoCropped()
/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.java120 try (ImageStream imageStream = mImageReader.createPreallocatedStream(mBurst.size())) { in run() argument
127 captureBurst(session, imageStream, imageExposureUpdatable, imageSaver); in run()
186 private void captureBurst(FrameServer.Session session, ImageStream imageStream, Updatable<Void> in captureBurst() argument
210 builder.addStream(imageStream); in captureBurst()
219 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()
/packages/apps/Calendar/src/com/android/calendar/event/
DEventLocationAdapter.java234 InputStream imageStream = Contacts.openContactPhotoInputStream( in asyncLoadPhotoAndUpdateView()
236 if (imageStream != null) { in asyncLoadPhotoAndUpdateView()
237 photo = BitmapFactory.decodeStream(imageStream); in asyncLoadPhotoAndUpdateView()