HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 1201 - 1225 of 11127) sorted by null

<<41424344454647484950>>

  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
GpuVideoTrackDecoder.java 68 int trackIndex, MediaFormat format, Listener listener) {
69 super(trackIndex, format, listener);
82 mOutputWidth = format.getInteger(MediaFormat.KEY_WIDTH);
83 mOutputHeight = format.getInteger(MediaFormat.KEY_HEIGHT);
89 protected MediaCodec initMediaCodec(MediaFormat format) {
93 format.getString(MediaFormat.KEY_MIME));
97 + format.getString(MediaFormat.KEY_MIME), e);
100 mediaCodec.configure(format, surface, null, 0);
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DateUtils.java 32 * Returns timestamp given by param in KML format ie yyyy-mm-ddThh:mm:ssZ,
42 return String.format("%tY-%tm-%tdT%tH:%tM:%tSZ", c, c, c, c, c, c);
54 * Returns timestamp in following format: yyyy-mm-dd-hh-mm-ss
59 return String.format("%tY-%tm-%td-%tH-%tM-%tS", c, c, c, c, c, c);
  /frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
SysTrace.java 67 Log.v(TAG, String.format("beginSection[%d] %s", sNestingLevel, sectionName));
86 Log.v(TAG, String.format("endSection[%d]", sNestingLevel));
  /frameworks/native/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
103 int32_t width, int32_t height, int32_t format);
  /frameworks/native/libs/gui/
GraphicBufferAlloc.cpp 35 PixelFormat format, uint32_t usage, status_t* error) {
36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage));
  /frameworks/native/libs/ui/
GraphicBufferAllocator.cpp 69 rec.w, rec.s, rec.h, rec.format, rec.usage);
73 rec.w, rec.s, rec.h, rec.format, rec.usage);
93 status_t GraphicBufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format,
105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
108 w, h, format, usage, err, strerror(-err));
113 int bpp = bytesPerPixel(format);
115 // probably a HAL custom format. in any case, we don't know
123 rec.format = format;
  /hardware/libhardware_legacy/include/hardware_legacy/
AudioHardwareInterface.h 64 * return audio format in 8bit or 16bit PCM format -
67 virtual int format() const = 0;
73 ((format()==AUDIO_FORMAT_PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
146 * return audio format in 8bit or 16bit PCM format -
149 virtual int format() const = 0;
155 ((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
251 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0;
256 int *format=0
    [all...]
  /hardware/ti/omap4-aah/camera/
CameraHalCommon.cpp 123 unsigned int CameraHal::getBPP(const char* format) {
126 // Calculate bytes per pixel based on the pixel format
127 if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_YUV422I) == 0) {
129 } else if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_RGB565) == 0 ||
130 strcmp(format, android::CameraParameters::PIXEL_FORMAT_BAYER_RGGB) == 0) {
132 } else if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) {
143 const char* format)
145 CAMHAL_ASSERT( x && y && format && (0U < stride) );
147 *x = (offset % stride) / getBPP(format);
157 CAMHAL_LOGVA("CbYCrY format selected")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
Support_MessageFormat.java 49 MessageFormat format = new MessageFormat(pattern, Locale.US); local
59 t_FormatWithField(1, format, objects, null, Field.ARGUMENT, 3, 15);
61 // test other format fields that are included in the formatted text
62 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0,
64 t_FormatWithField(3, format, objects, null,
68 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0);
69 t_FormatWithField(5, format, objects, null,
75 MessageFormat format = new MessageFormat(pattern, Locale.US); local
81 t_Format(1, objects, format, getMessageVector1());
  /libcore/luni/src/main/java/java/util/logging/
Formatter.java 24 * {@code Formatter} objects are used to format {@link LogRecord} objects into a
46 public abstract String format(LogRecord r); method in class:Formatter
78 * format the string
82 pattern = MessageFormat.format(pattern, params);
  /libcore/luni/src/main/java/libcore/net/http/
HttpDate.java 32 * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such
45 * If we fail to parse a date in a non-standard format, try each of these formats in sequence.
63 /* RI bug 6641315 claims a cookie of this format was once served by www.yahoo.com */
88 public static String format(Date value) { method in class:HttpDate
89 return STANDARD_DATE_FORMAT.get().format(value);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
AlgorithmParametersSpiTest.java 45 algParSpi.engineInit(bt, "Format");
48 algParSpi.engineGetEncoded("Format");
57 protected void engineInit(byte[] params, String format){
65 protected byte[] engineGetEncoded(String format){
  /libcore/support/src/test/java/tests/support/
Support_MessageFormat.java 48 MessageFormat format = new MessageFormat(pattern, Locale.US); local
58 t_FormatWithField(1, format, objects, null, Field.ARGUMENT, 3, 15);
60 // test other format fields that are included in the formatted text
61 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0,
63 t_FormatWithField(3, format, objects, null,
67 t_FormatWithField(4, format, objects, null, DateFormat.Field.ERA, 0, 0);
68 t_FormatWithField(5, format, objects, null,
75 MessageFormat format = new MessageFormat(pattern, Locale.US); local
82 t_Format(1, objects, format, getMessageVector1());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/win32/
locale_win32.cpp 83 int snprintf_l(char *ret, size_t n, locale_t loc, const char *format, ...)
87 va_start( ap, format );
88 int result = vsnprintf( ret, n, format, ap );
93 int asprintf_l( char **ret, locale_t loc, const char *format, ... )
96 va_start( ap, format );
97 int result = vasprintf_l( ret, loc, format, ap );
101 int vasprintf_l( char **ret, locale_t loc, const char *format, va_list ap )
104 return vasprintf( ret, format, ap );
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
TextTime.java 12 import android.text.format.DateFormat;
23 * format specifiers. {@link android.widget.TextClock} Doesn't support a non ticking clock.
84 public void setFormat12Hour(CharSequence format) {
85 mFormat12 = format;
97 public void setFormat24Hour(CharSequence format) {
98 mFormat24 = format;
158 setText(DateFormat.format(mFormat, calendar));
160 setContentDescription(DateFormat.format(mContentDescriptionFormat, calendar));
162 setContentDescription(DateFormat.format(mFormat, calendar));
  /packages/wallpapers/NoiseField/src/com/android/noisefield/
NoiseFieldView.java 19 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {
20 super.surfaceChanged(holder, format, w, h);
  /packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
PhaseBeamView.java 19 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {
20 super.surfaceChanged(holder, format, w, h);
  /prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
  /prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
  /prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
  /prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
  /prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
  /prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
  /prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
  /prebuilts/ndk/8/platforms/android-14/arch-arm/usr/include/android/
native_window.h 49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
99 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);

Completed in 523 milliseconds

<<41424344454647484950>>