/frameworks/base/tools/aidl/ |
H A D | options.cpp | 9 usage() function 12 "usage: aidl OPTIONS INPUT [OUTPUT]\n" 41 return usage(); 67 return usage(); 75 return usage(); 86 return usage(); 94 return usage(); 103 return usage(); 108 return usage(); 123 return usage(); [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | GraphicBufferAlloc.cpp | 35 PixelFormat format, uint32_t usage, status_t* error) { 36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage)); 34 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
|
H A D | GraphicBufferAlloc.h | 37 PixelFormat format, uint32_t usage, status_t* error);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 45 usage = 0; 58 usage = 0; 74 usage = inUsage; 87 usage = buffer->usage; 132 if (handle && w==width && h==height && f==format && reqUsage==usage) 152 this->usage = reqUsage; 157 status_t GraphicBuffer::lock(uint32_t usage, void** vaddr) argument 160 status_t res = lock(usage, lockBounds, vaddr); 164 status_t GraphicBuffer::lock(uint32_t usage, cons argument [all...] |
H A D | GraphicBufferAllocator.cpp | 69 rec.w, rec.s, rec.h, rec.format, rec.usage); 73 rec.w, rec.s, rec.h, rec.format, rec.usage); 94 int usage, buffer_handle_t* handle, int32_t* stride) 105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride); 108 w, h, format, usage, err, strerror(-err)); 124 rec.usage = usage; 93 alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride) argument
|
H A D | GraphicBufferMapper.cpp | 74 int usage, const Rect& bounds, void** vaddr) 79 err = mAllocMod->lock(mAllocMod, handle, usage, 73 lock(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebStorage.java | 71 protected Origin(String origin, long quota, long usage) { argument 74 mUsage = usage;
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferAlloc.cpp | 46 PixelFormat format, uint32_t usage, status_t* error) { 52 data.writeInt32(usage); 94 uint32_t usage = 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
|
/frameworks/native/opengl/libagl/ |
H A D | BufferObjectManager.cpp | 62 bo->usage = GL_STATIC_DRAW; 70 GLsizeiptr size, GLenum usage) 81 bo->usage = usage; 69 allocateStore(buffer_t* bo, GLsizeiptr size, GLenum usage) argument
|
H A D | BufferObjectManager.h | 44 GLenum usage; member in struct:android::gl::buffer_t 63 int allocateStore(gl::buffer_t* bo, GLsizeiptr size, GLenum usage);
|
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 50 Allocation::Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage) : argument 53 if ((usage & ~(RS_ALLOCATION_USAGE_SCRIPT | 60 ALOGE("Unknown usage specified."); 63 if ((usage & RS_ALLOCATION_USAGE_IO_INPUT) != 0) { 65 if ((usage & ~(RS_ALLOCATION_USAGE_IO_INPUT | 68 ALOGE("Invalid usage combination."); 73 mUsage = usage; 150 ALOGE("Source must be exactly one usage type."); 157 ALOGE("Can only send buffer if IO_OUTPUT usage specified."); 164 ALOGE("Can only send buffer if IO_OUTPUT usage specifie 381 createTyped(RenderScript *rs, sp<const Type> type, RsAllocationMipmapControl mips, uint32_t usage) argument 391 createTyped(RenderScript *rs, sp<const Type> type, RsAllocationMipmapControl mips, uint32_t usage, void *pointer) argument 400 createTyped(RenderScript *rs, sp<const Type> type, uint32_t usage) argument 405 createSized(RenderScript *rs, sp<const Element> e, size_t count, uint32_t usage) argument [all...] |
H A D | Allocation.h | 56 Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage); 116 RsAllocationMipmapControl mips, uint32_t usage); 118 RsAllocationMipmapControl mips, uint32_t usage, void * pointer); 121 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT); 123 uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
|
/frameworks/native/include/ui/ |
H A D | GraphicBuffer.h | 73 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage); 76 GraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, 88 uint32_t getUsage() const { return usage; } 92 status_t reallocate(uint32_t w, uint32_t h, PixelFormat f, uint32_t usage); 94 status_t lock(uint32_t usage, void** vaddr); 95 status_t lock(uint32_t usage, const Rect& rect, void** vaddr); 134 uint32_t usage);
|
H A D | GraphicBufferAllocator.h | 65 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, 79 uint32_t usage; member in struct:android::GraphicBufferAllocator::alloc_rec_t
|
H A D | GraphicBufferMapper.h | 46 int usage, const Rect& bounds, void** vaddr);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | wfd.cpp | 34 static void usage(const char *me) { function 36 "usage:\n" 87 usage(argv[0]);
|
/frameworks/base/cmds/backup/ |
H A D | backup.cpp | 29 usage(int argc, const char** argv) function 35 "usage: %s\n" 38 "usage: %s list FILE\n" 41 "usage: %s print NAME FILE\n" 116 return usage(argc, argv);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Allocation.java | 97 * The usage of the allocation. These signal to renderscript 136 * consumer. This usage will cause the allocation to be created 203 * Get the usage flags of the Allocation. 205 * @return usage flags associated with the allocation. e.g. 236 Allocation(int id, RenderScript rs, Type t, int usage) { argument 238 if ((usage & ~(USAGE_SCRIPT | 245 throw new RSIllegalArgumentException("Unknown usage specified."); 248 if ((usage & USAGE_IO_INPUT) != 0) { 251 if ((usage & ~(USAGE_IO_INPUT | 254 throw new RSIllegalArgumentException("Invalid usage combinatio 1013 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument 1036 createTyped(RenderScript rs, Type type, int usage) argument 1066 createSized(RenderScript rs, Element e, int count, int usage) argument 1134 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1233 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1304 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument 1397 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument 1439 createFromString(RenderScript rs, String str, int usage) argument [all...] |
/frameworks/base/tools/obbtool/ |
H A D | mkobb.sh | 148 usage() { function 156 echo " -h Help; this usage screen" 170 -h) usage; exit 1;; 183 usage 190 usage
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferAlloc.h | 40 PixelFormat format, uint32_t usage, status_t* error) = 0;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FullscreenBlur.java | 62 int usage = Allocation.USAGE_GRAPHICS_TEXTURE | Allocation.USAGE_GRAPHICS_RENDER_TARGET;
63 sRenderTargetBlur0Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
64 sRenderTargetBlur1Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
65 sRenderTargetBlur2Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
70 usage = Allocation.USAGE_GRAPHICS_RENDER_TARGET;
71 sRenderTargetBlur0Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
72 sRenderTargetBlur1Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
73 sRenderTargetBlur2Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
|
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 40 static void usage() { function 130 usage();
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
H A D | AMRWB_E_SAMPLE.c | 35 void usage (void) { function 285 usage(); 313 usage(); 328 usage(); 348 usage ();
|
/frameworks/base/tests/RenderScriptTests/SampleTest/src/com/android/rs/sample/ |
H A D | SampleRSActivity.java | 108 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_OUTPUT; 114 Allocation outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage); 120 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage); 126 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage); 132 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 95 * The usage of the allocation. These signal to renderscript 163 * Get the usage flags of the Allocation. 165 * @return usage flags associated with the allocation. e.g. 196 Allocation(int id, RenderScript rs, Type t, int usage) { argument 198 if ((usage & ~(USAGE_SCRIPT | USAGE_GRAPHICS_TEXTURE)) != 0) { 199 throw new RSIllegalArgumentException("Unknown usage specified."); 203 mUsage = usage; 268 * Propagate changes from one usage of the allocation to the 278 throw new RSIllegalArgumentException("Source must be exactly one usage type."); 902 * @param usage bi 905 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument 928 createTyped(RenderScript rs, Type type, int usage) argument 958 createSized(RenderScript rs, Element e, int count, int usage) argument 1026 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1068 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1139 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument [all...] |