Home
last modified time | relevance | path

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

/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/src/com/android/tv/settings/device/sound/
DSoundFormatPreferenceController.java49 Map<Integer, Boolean> formats, in SoundFormatPreferenceController() argument
53 mFormats = formats; in SoundFormatPreferenceController()
110 HashSet<Integer> formats = new HashSet<>(); in getFormatsEnabledInManualMode() local
116 formats.addAll(mFormats.keySet()); in getFormatsEnabledInManualMode()
120 .forEach(formats::add); in getFormatsEnabledInManualMode()
125 return formats; in getFormatsEnabledInManualMode()
132 HashSet<Integer> formats = getFormatsEnabledInManualMode(); in setSurroundManualFormatsSetting() local
134 formats.add(mFormatId); in setSurroundManualFormatsSetting()
136 formats.remove(mFormatId); in setSurroundManualFormatsSetting()
140 TextUtils.join(",", formats)); in setSurroundManualFormatsSetting()
/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()
DAlarmUtils.java65 final String[] formats = context.getResources().getStringArray(R.array.alarm_set); in formatElapsedTimeUntilAlarm() local
67 return formats[0]; in formatElapsedTimeUntilAlarm()
92 return String.format(formats[index], daySeq, hourSeq, minSeq); in formatElapsedTimeUntilAlarm()
/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/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiSlice.java384 final String[] formats = mContext.getResources().getStringArray( in getSummary() local
387 return String.format(formats[index], accessPoint.getTitle()); in getSummary()
/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/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto11 // Enum that specifies supported audio formats.
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...