Searched refs:imageStream (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/ |
D | ImageDistributorImpl.java | 45 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/ |
D | EditUserPhotoController.java | 294 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/ |
D | BurstCaptureCommand.java | 119 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/ |
D | ManagedImageReader.java | 100 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()
|
D | ImageStreamImpl.java | 41 public ImageStreamImpl(BufferQueue<ImageProxy> imageStream, in ImageStreamImpl() argument 44 super(imageStream); in ImageStreamImpl() 49 mLifetime.add(imageStream); in ImageStreamImpl()
|
D | AllocatingImageStream.java | 56 BufferQueue<ImageProxy> imageStream, in AllocatingImageStream() argument 59 super(imageStream, imageStreamController, imageDistributor, surface); in AllocatingImageStream()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | ConvergedImageCaptureCommand.java | 154 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()
|
D | SimpleImageCaptureCommand.java | 64 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/ |
D | ContactPhotoUtils.java | 96 final InputStream imageStream = context.getContentResolver().openInputStream(uri); in getBitmapFromUri() local 98 return BitmapFactory.decodeStream(imageStream); in getBitmapFromUri() 100 Closeables.closeQuietly(imageStream); in getBitmapFromUri()
|