Home
last modified time | relevance | path

Searched refs:getFormat (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidImageProxy.java105 mFormat = mImage.getFormat(); in AndroidImageProxy()
158 public int getFormat() { in getFormat() method in AndroidImageProxy
207 .add("format", getFormat()) in toString()
223 return otherImage.getFormat() == getFormat() && in equals()
231 return Objects.hashCode(getFormat(), getWidth(), getHeight(), getTimestamp()); in hashCode()
DForwardingImageProxy.java59 public int getFormat() { in getFormat() method in ForwardingImageProxy
60 return mImpl.getFormat(); in getFormat()
121 return otherImage.getFormat() == getFormat() && in equals()
129 return Objects.hashCode(getFormat(), getWidth(), getHeight(), getTimestamp()); in hashCode()
DImageProxy.java79 public int getFormat(); in getFormat() method
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
DCea708TextTrackRenderer.java91 MediaFormat trackFormat = mSource.getFormat(i); in doPrepare()
140 protected MediaFormat getFormat(int track) { in getFormat() method in Cea708TextTrackRenderer
142 return mSource.getFormat(mTrackIndex); in getFormat()
227 return mSource.getFormat(mTrackIndex).durationUs; in getDurationUs()
DMpegTsSampleSource.java97 public MediaFormat getFormat(int track) { in getFormat() method in MpegTsSampleSource
DExoPlayerSampleExtractor.java235 Format format = trackGroupArray.get(i).getFormat(0); in onPrepared()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java123 switch (img.proxy.getFormat()) { in run()
204 img.proxy.getFormat(), safeCrop); in run()
212 img.proxy.getFormat(), null); in run()
241 img.proxy.getFormat(), safeCrop); in run()
DTaskChainedCompressImageToJpeg.java56 img.proxy.getHeight(), img.proxy.getFormat(), safeCrop); in run()
DTaskConvertImageToRGBPreview.java808 img.proxy.getFormat(), cropApplied); in calculateInputImage()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsDefaultAudioTrackRenderer.java181 String mimeType = mSource.getFormat(i).mimeType; in doPrepare()
200 protected MediaFormat getFormat(int track) { in getFormat() method in MpegTsDefaultAudioTrackRenderer
202 return mSource.getFormat(mTracksIndex.get(track)); in getFormat()
584 return mSource.getFormat(mTrackIndex).durationUs; in getDurationUs()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DIngestObjectInfo.java22 mFormat = mtpObjectInfo.getFormat(); in IngestObjectInfo()
37 public int getFormat() { in getFormat() method in IngestObjectInfo
DMtpDeviceIndexRunnable.java174 if (mtpObjectInfo.getFormat() == MtpConstants.FORMAT_ASSOCIATION) { in addAllObjects()
DMtpDeviceIndex.java142 final int format = mtpObjectInfo.getFormat(); in isFormatSupported()
/packages/apps/Camera2/src/com/android/camera/util/
DJpegUtilNative.java222 Preconditions.checkState(img.getFormat() == ImageFormat.YUV_420_888, "Only " + in compressJpegFromYUV420Image()
223 "ImageFormat.YUV_420_888 is supported, found " + img.getFormat()); in compressJpegFromYUV420Image()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpImageView.java93 mShowOverlayIcon = MtpDeviceIndex.SUPPORTED_VIDEO_FORMATS.contains(object.getFormat()); in setMtpDeviceAndObjectInfo()
112 && MtpDeviceIndex.SUPPORTED_IMAGE_FORMATS.contains(info.getFormat())) { in fetchMtpImageDataFromDevice()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java824 if (image.getFormat() == ImageFormat.JPEG) { in acquireJpegBytesAndClose()
827 } else if (image.getFormat() == ImageFormat.YUV_420_888) { in acquireJpegBytesAndClose()
DOneCameraZslImpl.java1016 if (img.getFormat() == ImageFormat.JPEG) { in acquireJpegBytes()
1024 } else if (img.getFormat() == ImageFormat.YUV_420_888) { in acquireJpegBytes()
/packages/apps/DevCamera/src/com/android/devcamera/
DApi2Camera.java722 + " format=" + CameraDeviceReport.getFormatName(img.getFormat())