Home
last modified time | relevance | path

Searched refs:mFormats (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunkIoHelper.java67 private final List<Format> mFormats; field in SampleChunkIoHelper
155 mFormats = formats; in SampleChunkIoHelper()
210 if (MimeTypes.isAudio(mFormats.get(i).sampleMimeType)) { in init()
211 MediaFormat mediaFormat = getAudioMediaFormat(mFormats.get(i)); in init()
214 } else if (MimeTypes.isVideo(mFormats.get(i).sampleMimeType)) { in init()
215 MediaFormat mediaFormat = getVideoMediaFormat(mFormats.get(i)); in init()
217 if (mFormats.get(i).pixelWidthHeightRatio != Format.NO_VALUE) { in init()
223 (mFormats.get(i).width in init()
224 * mFormats.get(i).pixelWidthHeightRatio)); in init()
369 if (MimeTypes.isAudio(mFormats.get(i).sampleMimeType)) { in release()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/
DSoundFragment.java62 private Map<Integer, Boolean> mFormats; field in SoundFragment
74 mFormats = mAudioManager.getSurroundFormats(); in onAttach()
104 mPreferenceControllers = new ArrayList<>(mFormats.size()); in onCreatePreferenceControllers()
105 for (Map.Entry<Integer, Boolean> format : mFormats.entrySet()) { in onCreatePreferenceControllers()
107 format.getKey() /*formatId*/, mFormats, mReportedFormats)); in onCreatePreferenceControllers()
114 for (Map.Entry<Integer, Boolean> format : mFormats.entrySet()) { in createFormatPreferences()
DSoundFormatPreferenceController.java43 private Map<Integer, Boolean> mFormats; field in SoundFormatPreferenceController
53 mFormats = formats; in SoundFormatPreferenceController()
116 formats.addAll(mFormats.keySet()); in getFormatsEnabledInManualMode()