Home
last modified time | relevance | path

Searched refs:formats (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInfoCache.java81 int[] formats = map.getOutputFormats(); in CameraInfoCache() local
83 for (int i = 0; i < formats.length; i++) { in CameraInfoCache()
84 if (formats[i] == ImageFormat.YUV_420_888) { in CameraInfoCache()
85 mLargestYuvSize = returnLargestSize(map.getOutputSizes(formats[i])); in CameraInfoCache()
87 if (formats[i] == ImageFormat.JPEG) { in CameraInfoCache()
88 mLargestJpegSize = returnLargestSize(map.getOutputSizes(formats[i])); in CameraInfoCache()
90 … if (formats[i] == ImageFormat.RAW10 || formats[i] == ImageFormat.RAW_SENSOR) { // TODO: Add RAW12 in CameraInfoCache()
91 Size size = returnLargestSize(map.getOutputSizes(formats[i])); in CameraInfoCache()
92 long stall = map.getOutputStallDuration(formats[i], size); in CameraInfoCache()
94 mRawFormat = formats[i]; in CameraInfoCache()
[all …]
DCameraDeviceReport.java162 int[] formats = map.getOutputFormats(); in printCameraInfo() local
163 Log.v(TAG, "number of output formats: " + formats.length); in printCameraInfo()
164 for (int i = 0; i < formats.length; i++) { in printCameraInfo()
165 Log.v(TAG, "output sizes for format " + formats[i] + in printCameraInfo()
166 " = ImageFormat." + getFormatName(formats[i]) + " = " + in printCameraInfo()
167 ImageFormat.getBitsPerPixel(formats[i]) + " bits per pixel."); in printCameraInfo()
168 Size[] sizes = map.getOutputSizes(formats[i]); in printCameraInfo()
174 map.getOutputStallDuration(formats[i], sizes[j]) / 1000000, in printCameraInfo()
175 map.getOutputMinFrameDuration(formats[i], sizes[j]) / 1000000 in printCameraInfo()
183 int[] formats = map.getInputFormats(); in printCameraInfo() local
[all …]
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/
DAdvancedVolumeFragmentTest.java110 Map<Integer, Boolean> formats = ImmutableMap.of( in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager() local
118 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager()
138 Map<Integer, Boolean> formats = ImmutableMap.of( in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager() local
146 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager()
166 Map<Integer, Boolean> formats = ImmutableMap.of( in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager() local
177 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager()
213 Map<Integer, Boolean> formats = ImmutableMap.of( in testOnPreferenceTreeClick_withDTSFormatsEnabled_enablesFormatInAudioManager() local
224 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testOnPreferenceTreeClick_withDTSFormatsEnabled_enablesFormatInAudioManager()
260 Map<Integer, Boolean> formats = ImmutableMap.of( in testGetPreferenceScreen_whenManual_returnsFormatsInCorrectPreferenceGroup() local
265 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testGetPreferenceScreen_whenManual_returnsFormatsInCorrectPreferenceGroup()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DSoundFormatPreferenceController.java56 @NonNull Map<Integer, Boolean> formats, in SoundFormatPreferenceController() argument
61 mFormats = formats; in SoundFormatPreferenceController()
115 HashSet<Integer> formats = new HashSet<>(); in getEnabledFormats() local
121 formats.addAll(mFormats.keySet()); in getEnabledFormats()
125 .forEach(formats::add); in getEnabledFormats()
130 return formats; in getEnabledFormats()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DSoundFormatPreferenceController.java63 @NonNull Map<Integer, Boolean> formats, in SoundFormatPreferenceController() argument
68 mFormats = formats; in SoundFormatPreferenceController()
151 HashSet<Integer> formats = new HashSet<>(); in getEnabledFormats() local
158 formats.addAll(mFormats.keySet()); in getEnabledFormats()
162 .forEach(formats::add); in getEnabledFormats()
167 return formats; in getEnabledFormats()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmUtils.kt69 val formats = context.resources.getStringArray(R.array.alarm_set) in formatElapsedTimeUntilAlarm() constant
71 return formats[0] in formatElapsedTimeUntilAlarm()
97 return String.format(formats[index], daySeq, hourSeq, minSeq) in formatElapsedTimeUntilAlarm()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java396 int[] formats = info.getEncodings(); in getEncodingFormat() local
398 if (formats == null) { in getEncodingFormat()
402 for (int c = 0; c < formats.length; c++) { in getEncodingFormat()
404 if (isEncodingLinearPcm(formats[c])) { in getEncodingFormat()
405 return formats[c]; in getEncodingFormat()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleExtractor.java129 List<MediaFormat> formats = mSampleExtractor.getTrackFormats(); in prepare() local
130 int trackCount = formats.size(); in prepare()
135 mTrackFormats.add(formats.get(i)); in prepare()
137 String mime = formats.get(i).mimeType; in prepare()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DFileSampleExtractor.java114 List<Format> formats = ImmutableList.copyOf( in handlePrepare() local
116 Format videoFormat = Iterables.find(formats, f -> MimeTypes.isVideo(f.sampleMimeType)); in handlePrepare()
128 Iterables.concat(Iterables.transform(formats, TrackGroup::new), captionTrackGroups); in handlePrepare()
136 mSampleBuffer.init(Lists.transform(trackFormatList, tf -> tf.trackId), formats); in handlePrepare() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DRecordingSampleBuffer.java142 public void init(@NonNull List<String> ids, @NonNull List<Format> formats) in init() argument
152 ids, formats, mBufferReason, mBufferManager, mInputBufferPool, mIoCallback); in init()
DSampleChunkIoHelper.java128 List<Format> formats, in create() argument
148 List<Format> formats, in SampleChunkIoHelper() argument
155 mFormats = formats; in SampleChunkIoHelper()
DMemorySampleBuffer.java48 public synchronized void init(@NonNull List<String> ids, @NonNull List<Format> formats) { in init() argument
DBufferManager.java112 @NonNull List<Format> formats) in init() argument
/packages/services/DeviceAsWebcam/jni/
DUVCProvider.cpp298 ret->streaming.formats = getFormats(); in parseUvcProperties()
474 uint8_t chosenFormatIndex = req->formatIndex > mUVCProperties->streaming.formats.size() in setStreamingControl()
475 ? mUVCProperties->streaming.formats.size() in setStreamingControl()
480 const ConfigFormat& chosenFormat = mUVCProperties->streaming.formats[chosenFormatIndex - 1]; in setStreamingControl()
527 const ConfigFormat& commitFormat = mUVCProperties->streaming.formats[mCommit.bFormatIndex - 1]; in commitControls()
DUVCProvider.h72 std::vector<ConfigFormat> formats; member
/packages/modules/AdServices/adservices/tests/unittest/ui/
DAndroid.bp83 // can not load compressed flat buffer formats. (*appt compresses all
156 // can not load compressed flat buffer formats. (*appt compresses all
/packages/services/DeviceAsWebcam/tests/
Dmac_webcam_test.py77 supported_formats = device.formats()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/modules/NeuralNetworks/tools/api/
DOperationTypes.t66 * the block dimensions) of the sparsity parameters. Currently, the only formats supported are
67 * DENSE and SPARSE_CSR, but additional sparsity formats may be added in later versions of this
/packages/modules/StatsD/lib/libkll/proto/
Daggregator.proto22 // merge data with different serialization formats.
/packages/modules/AdServices/adservices/tests/unittest/service-core/
DAndroid.bp77 // can not load compressed flat buffer formats. (*appt compresses all
246 // can not load compressed flat buffer formats. (*appt compresses all
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto11 // Enum that specifies supported audio formats.
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/data/
DLICENSE12 Alternative formats:
195 exercised in all media and formats whether now known or created in the
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/input_polygons/
DLICENSE12 Alternative formats:
195 exercised in all media and formats whether now known or created in the
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/
DLICENSE12 Alternative formats:
195 exercised in all media and formats whether now known or created in the

12