Home
last modified time | relevance | path

Searched refs:getFormat (Results 1 – 22 of 22) 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/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.java324 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()
561 return mSource.getFormat(mTrackIndex).durationUs; in getDurationUs()
/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/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())
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java542 maybeOverrideMimeType(mimeType, xmp.getFormat())); in withXmpValues()