Home
last modified time | relevance | path

Searched refs:formats (Results 1 – 25 of 31) 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.java108 Map<Integer, Boolean> formats = ImmutableMap.of( in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager() local
116 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager()
136 Map<Integer, Boolean> formats = ImmutableMap.of( in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager() local
144 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager()
164 Map<Integer, Boolean> formats = ImmutableMap.of( in testGetPreferenceScreen_whenManual_returnsFormatsInCorrectPreferenceGroup() local
169 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testGetPreferenceScreen_whenManual_returnsFormatsInCorrectPreferenceGroup()
193 Map<Integer, Boolean> formats = ImmutableMap.of( in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference() local
198 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testGetPreferenceScreen_whenAuto_showsFormatInfoPreference()
217 Map<Integer, Boolean> formats = ImmutableMap.of( in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup() local
222 createAdvancedVolumeFragmentWithAudioManagerReturning(formats, reportedFormats); in testGetPreferenceScreen_whenAuto_returnsFormatsInCorrectPreferenceGroup()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DSoundFormatPreferenceController.java55 @NonNull Map<Integer, Boolean> formats, in SoundFormatPreferenceController() argument
60 mFormats = formats; in SoundFormatPreferenceController()
114 HashSet<Integer> formats = new HashSet<>(); in getEnabledFormats() local
120 formats.addAll(mFormats.keySet()); in getEnabledFormats()
124 .forEach(formats::add); in getEnabledFormats()
129 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/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/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/services/Iwlan/assets/
Ddefaultiwlanerrorconfig.json21 # Following are the currently supported formats of elements in the array:
22 # Note: Array can be a mix of number, range and string formats.
38 # Following formats are currently supported.
/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/modules/StatsD/lib/libkll/proto/
Daggregator.proto22 // merge data with different serialization formats.
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto11 // Enum that specifies supported audio formats.
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md226 RapidJSON supports conversion between Unicode formats (officially termed UCS Transformation Format)…
250 User may create custom handlers for transforming the DOM into other formats. For example, a handler…
/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
/packages/modules/GeoTZ/output_data/odbl/
DLICENSE12 Alternative formats:
195 exercised in all media and formats whether now known or created in the
/packages/modules/GeoTZ/tzbb_data/
DDATA_LICENSE12 Alternative formats:
195 exercised in all media and formats whether now known or created in the
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/output_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/createtzs2protodatafile/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/tzs2cellunions_to_tzs2ranges/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/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/mergetzs2ranges/data/
DLICENSE12 Alternative formats:
195 exercised in all media and formats whether now known or created in the

12