Searched refs:format (Results 401 - 425 of 1129) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DFileRotatorTest.java19 import static android.text.format.DateUtils.DAY_IN_MILLIS;
20 import static android.text.format.DateUtils.HOUR_IN_MILLIS;
21 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
22 import static android.text.format.DateUtils.SECOND_IN_MILLIS;
23 import static android.text.format.DateUtils.WEEK_IN_MILLIS;
24 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java31 import android.filterfw.format.ImageFormat;
320 String temp = String.format("SetSourceRegion: %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f",
474 throw new RuntimeException(String.format("Unable to set MediaPlayer to URL %s!", mSourceUrl), e);
476 throw new RuntimeException(String.format("Unable to set MediaPlayer to asset %s!", mSourceAsset), e);
482 throw new RuntimeException(String.format("Unable to set MediaPlayer to URL %s!", mSourceUrl), e);
484 throw new RuntimeException(String.format("Unable to set MediaPlayer to asset %s!", mSourceAsset), e);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDatePicker.java24 import android.text.format.DateFormat;
189 // re-order the number pickers to match the current date format
206 java.text.DateFormat format;
210 * If the user is in a locale where the medium date format is
212 * the date format order setting. Otherwise, use the order
217 format = DateFormat.getDateFormat(getContext());
219 format = DateFormat.getMediumDateFormat(getContext());
222 if (format instanceof SimpleDateFormat) {
223 order = ((SimpleDateFormat) format).toPattern();
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp366 static status_t selectEGLConfig(EGLDisplay display, EGLint format, argument
388 wantedAttributeValue = format;
402 EGLConfig RenderEngine::chooseEglConfig(EGLDisplay display, int format) { argument
407 err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config);
410 err = selectEGLConfig(display, format, EGL_OPENGL_ES_BIT, &config);
415 err = selectEGLConfig(display, format, 0, &config);
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp407 const sp<AMessage> &format,
414 format->findInt32("width", &mVideoWidth);
415 format->findInt32("height", &mVideoHeight);
416 if (!format->findInt32("rotation-degrees", &mRotationDegrees)) {
421 msg->setMessage("format", format);
754 status_t MediaCodec::getOutputFormat(sp<AMessage> *format) const {
763 CHECK(response->findMessage("format", format));
768 status_t MediaCodec::getInputFormat(sp<AMessage> *format) cons
406 configure( const sp<AMessage> &format, const sp<Surface> &surface, const sp<ICrypto> &crypto, uint32_t flags) argument
825 sp<AMessage> format; local
829 getOutputFormat(size_t index, sp<AMessage> *format) argument
835 sp<AMessage> format; local
843 getBufferAndFormat( size_t portIndex, size_t index, sp<ABuffer> *buffer, sp<AMessage> *format) argument
1547 sp<AMessage> format = new AMessage; local
1614 sp<AMessage> format; local
2073 sp<AMessage> format = local
2146 extractCSD(const sp<AMessage> &format) argument
[all...]
H A DNuMediaExtractor.cpp216 size_t index, sp<AMessage> *format) const {
219 *format = NULL;
230 return convertMetaDataToMessage(meta, format);
233 status_t NuMediaExtractor::getFileFormat(sp<AMessage> *format) const {
236 *format = NULL;
246 *format = new AMessage();
247 (*format)->setString("mime", mime);
255 (*format)->setBuffer("pssh", buf);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp173 disp.format = mFbDev->format;
405 // FIXME: what should we set the format to?
406 mDisplayData[disp].format = HAL_PIXEL_FORMAT_RGBA_8888;
412 uint32_t w, uint32_t h, uint32_t format) {
418 mDisplayData[id].format = format;
470 return mDisplayData[disp].format;
833 return mFbDev->format;
1132 static String8 getFormatStr(PixelFormat format) {
411 setVirtualDisplayProperties(int32_t id, uint32_t w, uint32_t h, uint32_t format) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java275 final String format;
276 if (power < .00001) format = "%.8f";
277 else if (power < .0001) format = "%.7f";
278 else if (power < .001) format = "%.6f";
279 else if (power < .01) format = "%.5f";
280 else if (power < .1) format = "%.4f";
281 else if (power < 1) format = "%.3f";
282 else if (power < 10) format = "%.2f";
283 else if (power < 100) format = "%.1f";
284 else format
[all...]
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp584 audio_format_t format,
605 format, NULL /*updatedFormat*/,
629 audio_format_t format,
636 ALOGV("getOutput() device %d, stream %d, samplingRate %d, format %x, channelMask %x, flags %x",
637 device, stream, samplingRate, format, channelMask, flags);
640 stream, samplingRate,format, channelMask,
650 audio_format_t format,
675 if (!audio_is_linear_pcm(format)) {
712 ALOGV("getOutputForAttr() device 0x%x, samplingRate %d, format %x, channelMask %x, flags %x",
713 device, samplingRate, format, channelMas
581 getProfileForDirectOutput( audio_devices_t device, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
627 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
644 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument
726 getOutputForDevice( audio_devices_t device, audio_session_t session __unused, audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
948 selectOutput(const SortedVector<audio_io_handle_t>& outputs, audio_output_flags_t flags, audio_format_t format) argument
1284 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId, input_type_t *inputType) argument
2997 int format = AUDIO_FORMAT_INVALID; local
4446 getInputProfile(audio_devices_t device, String8 address, uint32_t& samplingRate, audio_format_t& format, audio_channel_mask_t& channelMask, audio_input_flags_t flags) argument
[all...]
/frameworks/av/include/media/nbaio/
H A DNBLog.h126 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
160 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder2.cpp84 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
85 def.format.audio.pNativeRender = NULL;
86 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
87 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
102 def.format.audio.cMIMEType = const_cast<char *>("audio/aac");
103 def.format.audio.pNativeRender = NULL;
104 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
105 def.format.audio.eEncoding = OMX_AUDIO_CodingAAC;
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.cpp132 config->format,
138 mHalFormatIsLinearPcm = audio_is_linear_pcm(config->format);
H A DTrackBase.h61 audio_format_t format,
103 audio_format_t format() const { return mFormat; } function in class:TrackBase
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraManager.java223 throw new IllegalArgumentException(String.format("Camera id %s does not match any" +
1007 String.format("Camera id %s has status changed to 0x%x", id, status));
1011 Log.e(TAG, String.format("Ignoring invalid device %s status 0x%x", id,
1020 Log.v(TAG, String.format(
1043 String.format(
1072 String.format("Camera id %s has torch status changed to 0x%x", id, status));
1076 Log.e(TAG, String.format("Ignoring invalid device %s torch status 0x%x", id,
1084 Log.v(TAG, String.format(
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DGLThreadManager.java142 TAG = String.format("CameraDeviceGLThread-%d", cameraId);
179 Log.e(TAG, String.format("Thread %s (%d) interrupted while quitting.",
H A DLegacyFocusStateMapper.java218 Log.d(TAG, String.format("onAutoFocus - ignoring AF callback " +
292 Log.v(TAG, String.format("mapResultTriggers - afState changed from %s to %s",
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableEnum.java66 throw new UnsupportedOperationException(String.format(
211 String.format(
/frameworks/base/core/java/android/hardware/location/
H A DActivityRecognitionHardware.java169 String message = String.format(
196 String message = String.format(
/frameworks/base/core/java/com/android/internal/app/
H A DNetInitiatedActivity.java92 p.mPositiveButtonText = String.format(context.getString(R.string.gpsVerifYes));
94 p.mNegativeButtonText = String.format(context.getString(R.string.gpsVerifNo));
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp165 int format, android_dataspace dataSpace) {
166 switch(format) {
176 return static_cast<PublicFormat>(format);
272 static inline SkColorType convertPixelFormat(PixelFormat format) { argument
278 switch (format) {
317 convertPixelFormat(outBuffer.format),
319 if (outBuffer.format == PIXEL_FORMAT_RGBX_8888) {
324 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
164 android_view_Surface_mapHalFormatDataspaceToPublicFormat( int format, android_dataspace dataSpace) argument
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java84 request.setTitle(String.format("%s--%d", DEFAULT_FILENAME + i, i));
103 String errorString = String.format(
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchVerticalSpacingStackFromBottomTest.java130 assertTrue(String.format("Too many children created: %d expected no more than %d",
148 assertTrue(String.format("Too many children created: %d expected no more than %d",
H A DGridTouchVerticalSpacingTest.java114 assertTrue(String.format("Too many children created: %d expected no more than %d",
133 assertTrue(String.format("Too many children created: %d expected no more than %d",
/frameworks/base/libs/usb/tests/accessorytest/
H A Daudio.c135 config.format = PCM_FORMAT_S16_LE;
209 config.format = PCM_FORMAT_S16_LE;
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp101 || readInfo.stride != targetInfo.stride || readInfo.format != targetInfo.format

Completed in 697 milliseconds

<<11121314151617181920>>