Home
last modified time | relevance | path

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

12

/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
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()
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()
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
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBlockingPrefWithSliceController.java171 if (sliceItem.getFormat().equals(FORMAT_SLICE)) { in parseSliceToPreferenceList()
274 if (item.getFormat().equals(FORMAT_TEXT) in extractTextFromSlice()
285 if (item.getFormat().equals(FORMAT_SLICE)) { in extractActionFromSlice()
295 if (item.getFormat().equals(FORMAT_ACTION)) { in extractActionFromSlice()
313 if (item.getFormat().equals(FORMAT_IMAGE)) { in extractIconFromSlice()
/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()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java124 switch (img.proxy.getFormat()) { in run()
205 img.proxy.getFormat(), safeCrop); in run()
213 img.proxy.getFormat(), null); in run()
242 img.proxy.getFormat(), safeCrop); in run()
DTaskChainedCompressImageToJpeg.java56 img.proxy.getHeight(), img.proxy.getFormat(), safeCrop); in run()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DXmpDataParserTest.java49 assertThat(xmp.getFormat()).isNull(); in testContainer_Empty()
62 assertThat(xmp.getFormat()).isEqualTo("image/dng"); in testContainer_ValidAttrs()
77 assertThat(xmp.getFormat()).isEqualTo("image/dng"); in testContainer_ValidTags()
DIsoInterfaceTest.java94 assertThat(xmp.getFormat()).isEqualTo("image/dng"); in testXmp()
/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/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/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()
/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/providers/MediaProvider/src/com/android/providers/media/util/
DXmpInterface.java101 public @Nullable String getFormat() { in getFormat() method in XmpInterface
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthDigitalSignPayloadTest.java185 doReturn(rsaPrivateKey.getFormat()).when(mMockKey).getFormat(); in testSignAndEncodeWithRSATypePrivateKey()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSlicePreferencesUtil.java300 String format = possibleStartItems.get(0).getFormat(); in extract()
332 } else if (FORMAT_TEXT.equals(item.getFormat()) && (item.getSubType() == null)) { in extract()
556 if (FORMAT_IMAGE.equals(iconItem.getFormat())) { in getIcon()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/
DRemotePreviewSession.java313 mSurfaceController.onSurfaceChanged(mSurfaceId, mSurfaceChangeData.getFormat(), in notifySurfaceChanged()
511 int getFormat() { in getFormat() method in RemotePreviewSession.SurfaceChangeData
/packages/apps/Settings/src/com/android/settings/panel/
DPanelSlicesAdapter.java234 if (item.getFormat().equals(FORMAT_SLICE)) { in isValidSlice()
/packages/services/Mtp/tests/src/com/android/mtp/
DTestMtpManager.java165 if (objectInfo.getFormat() != 0x3001) { in createDocument()
/packages/services/Mtp/src/com/android/mtp/
DMtpManager.java205 if (objectInfo.getFormat() != MtpConstants.FORMAT_ASSOCIATION) { in createDocument()

12