Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 109) sorted by relevance

12345

/development/tools/emulator/opengl/system/GLESv2_enc/
DGL2EncoderUtils.cpp21 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pac… in pixelDataSize() argument
25 return ctx->state()->pixelDataSize(width, height, format, type, pack); in pixelDataSize()
28 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLe… in pixelDataSize3D() argument
30 size_t layerSize = pixelDataSize(self, width, height, format, type, pack); in pixelDataSize3D()
DGL2EncoderUtils.h20 …size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pa…
21 …size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GL…
/development/tools/emulator/system/camera/fake-pipeline2/
DBase.h39 uint32_t format; member
49 int32_t format; member
56 int32_t format; member
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DOutput.java51 public void write(String format, Object... args) { in write() argument
53 mWriter.write(String.format(format, args)); in write()
/development/ndk/platforms/android-3/include/linux/
Ddevice.h207 #define dev_printk(level, dev, format, arg...) printk(level "%s %s: " format , dev_driver_string(… argument
210 #define dev_dbg(dev, format, arg...) dev_printk(KERN_DEBUG , dev , format , ## arg) argument
212 #define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0) argument
215 #define dev_err(dev, format, arg...) dev_printk(KERN_ERR , dev , format , ## arg) argument
216 #define dev_info(dev, format, arg...) dev_printk(KERN_INFO , dev , format , ## arg) argument
217 #define dev_warn(dev, format, arg...) dev_printk(KERN_WARNING , dev , format , ## arg) argument
218 #define dev_notice(dev, format, arg...) dev_printk(KERN_NOTICE , dev , format , ## arg) argument
/development/tools/emulator/opengl/system/egl/
DeglDisplay.cpp195 PixelFormat format; in processConfigs() local
196 if (getConfigNativePixelFormat(config, &format)) { in processConfigs()
197 setConfigAttrib(config, EGL_NATIVE_VISUAL_ID, format); in processConfigs()
451 EGLBoolean eglDisplay::getConfigNativePixelFormat(EGLConfig config, PixelFormat * format) in getConfigNativePixelFormat() argument
465 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888;… in getConfigNativePixelFormat()
466 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_… in getConfigNativePixelFormat()
467 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_5… in getConfigNativePixelFormat()
468 …else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
469 …else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
475 EGLBoolean eglDisplay::getConfigGLPixelFormat(EGLConfig config, GLenum * format) in getConfigGLPixelFormat() argument
[all …]
DeglDisplay.h53 EGLBoolean getConfigGLPixelFormat(EGLConfig config, GLenum * format);
54 EGLBoolean getConfigNativePixelFormat(EGLConfig config, PixelFormat * format);
/development/tools/emulator/opengl/system/GLESv1_enc/
DGLEncoderUtils.cpp20 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pac… in pixelDataSize() argument
23 return ctx->pixelDataSize(width, height, format, type, pack); in pixelDataSize()
DGLEncoderUtils.h20 …size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pa…
/development/samples/BrowserPlugin/src/com/android/sampleplugin/
DPaintSurface.java53 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in PaintSurface()
56 nativeSurfaceChanged(npp, format, width, height); in PaintSurface()
93 private native void nativeSurfaceChanged(int npp, int format, int width, int height); in nativeSurfaceChanged() argument
/development/ndk/platforms/android-3/include/android/
Dlog.h101 __attribute__ ((format(printf, 3, 4)))
120 __attribute__ ((format(printf, 3, 4)))
/development/ndk/platforms/android-9/include/android/
Dnative_window.h50 int32_t format; member
99 …iveWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
Dbitmap.h43 int32_t format; member
/development/tools/emulator/opengl/system/renderControl_enc/
DrenderControl.attrib36 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
40 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
DrenderControl_entry.cpp32 …int32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void…
33 …int32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void…
181 …int32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void… in rcReadColorBuffer() argument
184 ctx->rcReadColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); in rcReadColorBuffer()
187 …int32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void… in rcUpdateColorBuffer() argument
190 return ctx->rcUpdateColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); in rcUpdateColorBuffer()
/development/tools/emulator/opengl/system/OpenglSystemCommon/
Dgralloc_cb.h40 format(p_format), in cb_handle_t()
92 int format; // real internal pixel format format member
/development/tools/emulator/system/camera/
DEmulatedCamera2.h105 int format,
123 uint32_t format,
181 int format,
199 uint32_t format,
DEmulatedCamera2.cpp131 int format, in allocateStream() argument
157 uint32_t format, in allocateReprocessStream() argument
259 int format, in allocate_stream() argument
266 return ec->allocateStream(width, height, format, stream_ops, in allocate_stream()
288 uint32_t format, in allocate_reprocess_stream() argument
294 return ec->allocateReprocessStream(width, height, format, in allocate_reprocess_stream()
DEmulatedFakeCamera2.cpp261 int format, in allocateStream() argument
270 if (format == CAMERA2_HAL_PIXEL_FORMAT_ZSL) { in allocateStream()
271 format = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in allocateStream()
274 if (format != HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in allocateStream()
279 if (format == (int)kAvailableFormats[formatIdx]) break; in allocateStream()
282 ALOGE("%s: Format 0x%x is not supported", __FUNCTION__, format); in allocateStream()
289 switch (format) { in allocateStream()
312 ALOGE("%s: Unknown format 0x%x", __FUNCTION__, format); in allocateStream()
323 format, width, height); in allocateStream()
327 switch (format) { in allocateStream()
[all …]
/development/tools/mkstubs/src/com/android/mkstubs/
DFilterClassAdapter.java76 String filterName = String.format("%s#%s", mClassName, name); in visitField()
108 String filterName = String.format("%s#%s%s", mClassName, name, desc); in visitMethod()
117 filterName = String.format("%s#%s%s", mClassName, name, signature); in visitMethod()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyUtils.java38 return DATE_FORMATTER.format(DATE); in toCalendarTime()
DMonkeyGetAppFrameRateEvent.java95 writer.write(String.format("%s:%.2f\n", sTestCaseName, avgFrameRate)); in writeAverageFrameRate()
126 String cmd = String.format(GET_APP_FRAMERATE_TMPL, sActivityName); in injectEvent()
131 System.err.println(String.format("// Shell command %s status was %s", in injectEvent()
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DTestHelper.java34 … String.format("Source comparison failure: expected:<%s> but was:<%s>", expected, actual), in assertSourceEquals()
/development/apps/BuildWidget/src/com/android/buildwidget/
DBuildWidget.java29 import android.text.format.DateUtils;
30 import android.text.format.Time;
/development/ndk/platforms/android-8/include/android/
Dbitmap.h44 int32_t format; member

12345