/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 95 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 D | VolleyLog.java | 32 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 D | VCardEntry.java | 253 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 D | ResponseData.java | 36 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 D | SmsCbHeader.java | 42 * 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 D | SmsMessage.java | 82 * 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 D | CarouselView.java | 170 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 D | bitmap.h | 44 int32_t format; member in struct:__anon1312
|
H A D | 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/include/gui/ |
H A D | CpuConsumer.h | 49 PixelFormat format; member in struct:android::CpuConsumer::LockedBuffer
|
H A D | Surface.h | 117 PixelFormat format; member in struct:android::Surface::SurfaceInfo
|
/frameworks/native/include/media/openmax/ |
H A D | OMX_Component.h | 100 } format; member in struct:OMX_PARAM_PORTDEFINITIONTYPE
|
/frameworks/native/include/ui/ |
H A D | ANativeObjectBase.h | 36 uint8_t format; member in struct:egl_native_pixmap_t
|
H A D | GraphicBufferAllocator.h | 65 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 D | PixelFormat.h | 38 // 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 D | BufferQueue.cpp | 85 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 D | IGraphicBufferAlloc.cpp | 46 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 D | ISurfaceComposer.cpp | 107 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 D | ISurfaceComposerClient.cpp | 57 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 D | ISurfaceTexture.cpp | 85 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 D | SurfaceComposerClient.cpp | 448 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 D | SurfaceTexture.cpp | 529 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 D | SurfaceTextureClient.cpp | 621 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 D | CpuConsumer_test.cpp | 44 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 D | FramebufferNativeWindow.cpp | 54 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;
|