Searched defs:format (Results 1 - 25 of 246) sorted by last modified time

12345678910

/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c95 PCM *format; local
98 for (format = formats; format->numChannels; ++format) {
100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels,
101 format->milliHz / 1000, format->bitsPerSample);
109 format_pcm.numChannels = format->numChannels;
110 format_pcm.samplesPerSec = format->milliHz;
111 format_pcm.bitsPerSample = format
[all...]
/frameworks/support/volley/src/com/android/volley/
H A DVolleyLog.java32 public static void v(String format, Object... args) { argument
34 Log.v(TAG, buildMessage(format, args));
38 public static void d(String format, Object... args) { argument
39 Log.d(TAG, buildMessage(format, args));
42 public static void e(String format, Object... args) { argument
43 Log.e(TAG, buildMessage(format, args));
46 public static void wtf(String format, Object... args) { argument
47 Log.wtf(TAG, buildMessage(format, args));
50 public static void wtf(Throwable tr, String format, Object... args) { argument
51 Log.wtf(TAG, buildMessage(format, arg
58 buildMessage(String format, Object... args) argument
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java253 return String.format("family: %s, given: %s, middle: %s, prefix: %s, suffix: %s",
369 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mNumber,
459 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mAddress,
678 return String.format("type: %d, label: %s, isPrimary: %s, pobox: %s, "
835 return String.format(
938 return String.format(
984 public PhotoData(String format, byte[] photoBytes, boolean isPrimary) { argument
985 mFormat = format;
1044 return String.format("format
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResponseData.java36 public abstract void format(ByteArrayOutputStream buf); method in class:ResponseData
59 public void format(ByteArrayOutputStream buf) { method in class:SelectItemResponseData
98 public void format(ByteArrayOutputStream buf) { method in class:GetInkeyInputResponseData
114 // ETSI TS 102 223 8.15, should use the same format as in SMS messages
171 public void format(ByteArrayOutputStream buf) { method in class:LanguageResponseData
209 public void format(ByteArrayOutputStream buf) { method in class:DTTZResponseData
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsCbHeader.java42 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1
47 * UMTS pdu format, as defined in 3gpp TS 23.041, section 9.4.2
52 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1.3
85 private final int format; field in class:SmsCbHeader
99 // can be ETWS or GSM format.
100 // Per TS23.041 9.4.1.2 and 9.4.1.3.2, GSM and ETWS format both
107 format = FORMAT_ETWS_PRIMARY;
127 format = FORMAT_GSM;
145 format = FORMAT_UMTS;
240 return format
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java82 * Indicates a 3GPP format SMS message.
88 * Indicates a 3GPP2 format SMS message.
130 * intent <b>must</b> now pass the new {@code format} String extra from the intent
132 * extra format parameter. This is required in order to correctly decode the PDU on
138 String format = (PHONE_TYPE_CDMA == activePhone) ?
140 return createFromPdu(pdu, format);
144 * Create an SmsMessage from a raw PDU with the specified message format. The
145 * message format is passed in the {@code SMS_RECEIVED_ACTION} as the {@code format}
146 * String extra, and will be either "3gpp" for GSM/UMTS/LTE messages in 3GPP format
153 createFromPdu(byte[] pdu, String format) argument
[all...]
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselView.java170 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
171 super.surfaceChanged(holder, format, w, h);
/frameworks/native/include/android/
H A Dbitmap.h44 int32_t format; member in struct:__anon1312
H A Dnative_window.h49 // 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/include/gui/
H A DCpuConsumer.h49 PixelFormat format; member in struct:android::CpuConsumer::LockedBuffer
H A DSurface.h117 PixelFormat format; member in struct:android::Surface::SurfaceInfo
/frameworks/native/include/media/openmax/
H A DOMX_Component.h100 } format; member in struct:OMX_PARAM_PORTDEFINITIONTYPE
/frameworks/native/include/ui/
H A DANativeObjectBase.h36 uint8_t format; member in struct:egl_native_pixmap_t
H A DGraphicBufferAllocator.h65 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage,
78 PixelFormat format; member in struct:android::GraphicBufferAllocator::alloc_rec_t
H A DPixelFormat.h38 // in graphics/PixelFormat.java & pixelflinger/format.h
45 // Custom pixel-format described by a PixelFormatInfo structure
48 // System chooses a format that supports translucency (many alpha bits)
51 // System chooses a format that supports transparency
55 // System chooses an opaque format (no alpha bits required)
99 PixelFormat format; member in struct:android::PixelFormatInfo
122 ssize_t bytesPerPixel(PixelFormat format);
123 ssize_t bitsPerPixel(PixelFormat format);
124 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info);
/frameworks/native/libs/gui/
H A DBufferQueue.cpp85 mConsumerName = String8::format("unnamed-%d-%d", getpid(), createProcessUniqueId());
259 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
261 ST_LOGV("dequeueBuffer: w=%d h=%d fmt=%#x usage=%#x", w, h, format, usage);
275 if (format == 0) {
276 format = mDefaultBufferFormat;
385 (uint32_t(buffer->format) != format) ||
409 w, h, format, usage, &error));
730 "default-format=%d, transform-hint=%02x, FIFO(%d)={%s}\n",
768 buf->format);
258 dequeueBuffer(int *outBuf, sp<Fence>& outFence, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
[all...]
H A DIGraphicBufferAlloc.cpp46 PixelFormat format, uint32_t usage, status_t* error) {
51 data.writeInt32(format);
93 PixelFormat format = data.readInt32(); local
97 createGraphicBuffer(w, h, format, usage, &error);
45 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
H A DISurfaceComposer.cpp107 uint32_t* width, uint32_t* height, PixelFormat* format,
122 *format = reply.readInt32();
105 captureScreen( const sp<IBinder>& display, sp<IMemoryHeap>* heap, uint32_t* width, uint32_t* height, PixelFormat* format, uint32_t reqWidth, uint32_t reqHeight, uint32_t minLayerZ, uint32_t maxLayerZ) argument
H A DISurfaceComposerClient.cpp57 PixelFormat format,
65 data.writeInt32(format);
96 PixelFormat format = data.readInt32(); local
99 format, flags);
53 createSurface( surface_data_t* params, const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
H A DISurfaceTexture.cpp85 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
90 data.writeInt32(format);
216 uint32_t format = data.readInt32(); local
220 int result = dequeueBuffer(&buf, fence, w, h, format, usage);
84 dequeueBuffer(int *buf, sp<Fence>& fence, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
H A DSurfaceComposerClient.cpp448 PixelFormat format,
455 w, h, format, flags);
444 createSurface( const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
H A DSurfaceTexture.cpp529 bool SurfaceTexture::isExternalFormat(uint32_t format) argument
531 switch (format) {
541 // Any OEM format needs to be considered
542 if (format>=0x100 && format<=0x1FF)
637 // If we don't recognize the format, we must assume the
H A DSurfaceTextureClient.cpp621 int SurfaceTextureClient::setBuffersFormat(int format) argument
625 if (format<0)
629 mReqFormat = format;
684 // src and dst with, height and format must be identical. no verification
698 const size_t bpp = bytesPerPixel(src->format);
779 backBuffer->format == frontBuffer->format);
828 outBuffer->format = backBuffer->format;
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp44 PixelFormat format; member in struct:android::CpuConsumerTestParams
50 << ::std::hex << p.format << "]";
63 params.maxLockedBuffers, params.format);
162 switch(buf.format) {
183 ADD_FAILURE() << "Unknown format for check:" << buf.format;
275 params.width, params.height, params.format);
296 // Produce one frame of image data; assumes format and resolution configuration
318 switch (params.format) {
326 FAIL() << "Unknown pixel format unde
[all...]
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp54 ANativeWindowBuffer::format = f; member in class:android::NativeBuffer::ANativeWindowBuffer
106 * This does not actually change the framebuffer format. It merely
107 * fakes this format to surfaceflinger so that when it creates
108 * framebuffer surfaces it will use this format. It's really a giant
114 *((uint32_t *)&fbDev->format) = FRAMEBUFFER_FORCE_FORMAT;
120 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB);
126 fbDev->width, fbDev->height, fbDev->format,
307 *value = fb->format;

Completed in 3345 milliseconds

12345678910