Home
last modified time | relevance | path

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

12

/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidImageProxy.java106 mFormat = mImage.getFormat(); in AndroidImageProxy()
159 public int getFormat() { in getFormat() method in AndroidImageProxy
208 .add("format", getFormat()) in toString()
224 return otherImage.getFormat() == getFormat() && in equals()
232 return Objects.hashCode(getFormat(), getWidth(), getHeight(), getTimestamp()); in hashCode()
DForwardingImageProxy.java60 public int getFormat() { in getFormat() method in ForwardingImageProxy
61 return mImpl.getFormat(); in getFormat()
122 return otherImage.getFormat() == getFormat() && in equals()
130 return Objects.hashCode(getFormat(), getWidth(), getHeight(), getTimestamp()); in hashCode()
DImageProxy.java79 public int getFormat(); in getFormat() method
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DCea708TextTrackRenderer.java89 MediaFormat trackFormat = mSource.getFormat(i); in doPrepare()
138 protected MediaFormat getFormat(int track) { in getFormat() method in Cea708TextTrackRenderer
140 return mSource.getFormat(mTrackIndex); in getFormat()
230 return mSource.getFormat(mTrackIndex).durationUs; in getDurationUs()
DMpegTsSampleSource.java96 public MediaFormat getFormat(int track) { in getFormat() method in MpegTsSampleSource
DExoPlayerSampleExtractor.java272 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/providers/MediaProvider/tests/src/com/android/providers/media/
DXmpInterfaceTest.java62 assertNull(xmp.getFormat()); in testContainer_Empty()
74 assertEquals("image/dng", xmp.getFormat()); in testContainer_ValidAttrs()
86 assertEquals("image/dng", xmp.getFormat()); in testContainer_ValidTags()
DIsoInterfaceTest.java71 assertEquals("image/dng", xmp.getFormat()); in testXmp()
/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/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMpegTsDefaultAudioTrackRenderer.java172 String mimeType = mSource.getFormat(i).mimeType; in doPrepare()
191 protected MediaFormat getFormat(int track) { in getFormat() method in MpegTsDefaultAudioTrackRenderer
193 return mSource.getFormat(mTracksIndex.get(track)); in getFormat()
563 return mSource.getFormat(mTrackIndex).durationUs; in getDurationUs()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsPlayerV2.java172 trackGroupArray.get(i).getFormat(0).accessibilityChannel; in setCaptionServiceNumber()
345 trackGroupArray.get(i).getFormat(0).accessibilityChannel; in onTracksChanged()
442 return trackGroup.getFormat(0); in getTrackFormat()
DExoPlayerSampleExtractor.java227 Format format = trackGroupArray.get(i).getFormat(0); in onPrepared()
453 outMediaFormatHolder.format = mTrackGroupArray.get(track).getFormat(0); in getTrackMediaFormat()
DFileSampleExtractor.java227 outMediaFormatHolder.format = mTrackGroupArray.get(track).getFormat(0); in getTrackMediaFormat()
DMpegTsSampleExtractor.java250 Format format = mSampleExtractor.getTrackGroups().get(i).getFormat(0); in onPrepared()
/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.java826 if (image.getFormat() == ImageFormat.JPEG) { in acquireJpegBytesAndClose()
829 } else if (image.getFormat() == ImageFormat.YUV_420_888) { in acquireJpegBytesAndClose()
DOneCameraZslImpl.java1017 if (img.getFormat() == ImageFormat.JPEG) { in acquireJpegBytes()
1025 } else if (img.getFormat() == ImageFormat.YUV_420_888) { in acquireJpegBytes()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpInterface.java213 public @Nullable String getFormat() { in getFormat() method in XmpInterface
/packages/apps/DevCamera/src/com/android/devcamera/
DApi2Camera.java722 + " format=" + CameraDeviceReport.getFormatName(img.getFormat())

12