/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/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 70 * made and reported for each of the known graphic format. 171 uint32_t format; member in class:Rectangle 242 uint32_t format; member in struct:meas 278 uint32_t maxOverlays(uint32_t format, bool allowOverlap); 279 list<uint32_t> supportedTransforms(uint32_t format); 280 list<uint32_t> supportedBlends(uint32_t format); 281 uint32_t dfMinWidth(uint32_t format); 282 uint32_t dfMinHeight(uint32_t format); 283 uint32_t dfMaxWidth(uint32_t format); 284 uint32_t dfMaxHeight(uint32_t format); 435 const struct hwcTestGraphicFormat *format; local 638 maxOverlays(uint32_t format, bool allowOverlap) argument 674 supportedTransforms(uint32_t format) argument 699 supportedBlends(uint32_t format) argument 724 dfMinWidth(uint32_t format) argument 748 dfMinHeight(uint32_t format) argument 772 dfMaxWidth(uint32_t format) argument 796 dfMaxHeight(uint32_t format) argument 821 dfMinDim(uint32_t format) argument 862 dfMaxDim(uint32_t format) argument 911 scMinWidth(uint32_t format, const HwcTestDim& dfDim) argument 931 scMinHeight(uint32_t format, const HwcTestDim& dfDim) argument 950 scMaxWidth(uint32_t format, const HwcTestDim& dfDim) argument 969 scMaxHeight(uint32_t format, const HwcTestDim& dfDim) argument 993 scMinDim(uint32_t format, const HwcTestDim& dfDim) argument 1034 scMaxDim(uint32_t format, const HwcTestDim& dfDim) argument 1099 scHScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument 1198 scVScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument [all...] |
H A D | hwcRects.cpp | 68 * of the graphic format and then the display frame rectangle where 80 * a list of attributes and the format of their expected value. 146 Rectangle() : format(defaultFormat), transform(defaultTransform), 152 uint32_t format; member in class:Rectangle 367 const struct hwcTestGraphicFormat *format; local 374 testPrintE("Error parsing format from: %s", rectStr.c_str()); 377 format = hwcTestGraphicFormatLookup(str.c_str()); 378 if (format == NULL) { 379 testPrintE("Unknown graphic format in: %s", rectStr.c_str()); 382 rect.format [all...] |
H A D | hwcStress.cpp | 42 * row point to graphic buffers which use the same pixel format and 48 * in a particular row have the same pixel format and dimension, 545 * format and dimension. Each graphic buffer is uniformly filled with a 564 // All frames within a row have to have the same format and 569 int format = formatPtr->format; local 584 testPrintI(" frame %u width: %u height: %u format: %u %s", 585 row, w, h, format, hwcTestGraphicFormat2str(format)); 594 frames[row][col] = new GraphicBuffer(w, h, format, texUsag [all...] |
H A D | hwcTestLib.cpp | 354 // of the graphic format named by the desc parameter. Search failure 368 // of the graphic format specified by the id parameter. Search failure 373 if (id == hwcTestGraphicFormat[n1].format) { 382 // Given the integer ID of a graphic format, return a pointer to 383 // a string that describes the format. 384 const char *hwcTestGraphicFormat2str(uint32_t format) argument 389 if (format == hwcTestGraphicFormat[n1].format) { 541 // Returns a uint32_t that contains a format specific representation of a 543 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFrac argument 546 uint32_t format; member in struct:attrib 609 int format; member in struct:attrib 799 uint32_t format; member in struct:attrib [all...] |
H A D | hwcTestLib.h | 40 uint32_t format; member in struct:hwcTestGraphicFormat 113 const char *hwcTestGraphicFormat2str(uint32_t format); 122 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha);
|
/frameworks/native/opengl/tests/include/ |
H A D | EGLUtils.h | 42 int32_t format, 79 int32_t format, 105 if (nativeVisualId>0 && format == nativeVisualId) { 128 int format; local 133 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) { 137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig); 76 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, int32_t format, EGLConfig* outConfig) argument
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayHardware.cpp | 127 PixelFormat format, 138 if (nativeVisualId>0 && format == nativeVisualId) { 158 int format; local 160 window->query(window, NATIVE_WINDOW_FORMAT, &format); 250 err = selectConfigForPixelFormat(display, attribs, format, &config); 251 ALOGE_IF(err, "couldn't find an EGLConfig matching the screen format"); 302 mFormat = fbDev->format; 124 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, PixelFormat format, EGLConfig* outConfig) argument
|
H A D | HWComposer.cpp | 246 " type | handle | hints | flags | tr | blend | format | source crop | frame name \n" 252 int32_t format = -1; local 256 format = buffer->getPixelFormat(); 262 intptr_t(l.handle), l.hints, l.flags, l.transform, l.blending, format,
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 176 PixelFormat format, uint32_t flags) 178 // this surfaces pixel format 180 status_t err = getPixelFormatInfo(format, &info); 182 ALOGE("unsupported pixelformat %d", format); 186 // the display's pixel format 202 mFormat = format; 207 mCurrentOpacity = getOpacityForFormat(format); 210 mSurfaceTexture->setDefaultBufferFormat(format); 392 bool Layer::getOpacityForFormat(uint32_t format) argument 394 if (HARDWARE_IS_DEVICE_FORMAT(format)) { 175 setBuffers( uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) 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/base/voip/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 69 mFields.parse(String.format("o=- %d %d %s", sessionId, 96 for (String format : parts[3].split(" ")) { 97 media.setFormat(format, null); 287 * Returns the {@code fmtp} attribute of the given format or 290 public String getFmtp(String format) { argument 291 return super.get("a=fmtp:" + format, ' '); 295 * Sets a format and its {@code fmtp} attribute. If the attribute is 298 public void setFormat(String format, String fmtp) { argument 299 mFormats.remove(format); 300 mFormats.add(format); 308 removeFormat(String format) argument [all...] |
/frameworks/compile/libbcc/runtime/lib/ |
H A D | eprintf.c | 26 void __eprintf(const char* format, const char* assertion_expression, argument 29 fprintf(stderr, format, assertion_expression, line, file);
|
/frameworks/compile/mclinker/utils/gtest/src/ |
H A D | gtest-all.cpp | 766 // Returns the output format, or "" for normal printed output. 1525 "A format (currently must be \"xml\"), optionally followed " 1688 // Returns the output format, or "" for normal printed output. 2766 str[31] = '\0'; // Makes sure no change in the format to strncpy leaves 2994 // Formats a list of arguments to a String, using the same format 3001 // If 4096 characters are not enough to format the input, or if 3004 String String::Format(const char * format, ...) { argument 3006 va_start(args, format); 3017 const int size = vsnprintf(buffer, kBufferSize, format, args); 3021 const int size = vsnprintf(buffer, kBufferSize, format, arg [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:__anon1353
|
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 | Surface.h | 119 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/private/gui/ |
H A D | SharedBufferStack.h | 34 uint8_t format; member in struct:android::display_cblk_t
|
/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 | 105 mConsumerName = String8::format("unnamed-%d-%d", getpid(), createProcessUniqueId()); 293 uint32_t format, uint32_t usage) { 295 ST_LOGV("dequeueBuffer: w=%d h=%d fmt=%#x usage=%#x", w, h, format, usage); 309 if (format == 0) { 310 format = mDefaultBufferFormat; 448 const bool updateFormat = (format != 0); 450 // keep the current (or default) format 451 format = mPixelFormat; 462 (uint32_t(buffer->format) != format) || 292 dequeueBuffer(int *outBuf, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument [all...] |