/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/webview/chromium/plat_support/ |
H A D | graphic_buffer_impl.cpp | 78 int usage = 0; local 81 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN; 84 usage = android::GraphicBuffer::USAGE_SW_WRITE_OFTEN; 87 usage = android::GraphicBuffer::USAGE_SW_READ_OFTEN | 93 return mBuffer->lock(usage, vaddr);
|
/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); 97 status_t lockYCbCr(uint32_t usage, android_ycbcr *ycbcr); 98 status_t lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr); 139 uint32_t usage);
|
H A D | GraphicBufferMapper.h | 46 int usage, const Rect& bounds, void** vaddr); 49 int usage, const Rect& bounds, android_ycbcr *ycbcr);
|
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
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 44 usage = 0; 57 usage = 0; 73 usage = inUsage; 86 usage = buffer->usage; 131 if (handle && w==width && h==height && f==format && reqUsage==usage) 151 this->usage = reqUsage; 156 status_t GraphicBuffer::lock(uint32_t usage, void** vaddr) argument 159 status_t res = lock(usage, lockBounds, vaddr); 163 status_t GraphicBuffer::lock(uint32_t usage, cons argument 176 lockYCbCr(uint32_t usage, android_ycbcr *ycbcr) argument 183 lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr) 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, 88 int usage, const Rect& bounds, android_ycbcr *ycbcr) 93 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage, 73 lock(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr) argument 87 lockYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr) argument
|
/frameworks/av/media/mediaserver/ |
H A D | main_mediaserver.cpp | 48 // detailed information such as signal numbers, stop and continue, resource usage, etc. 94 struct rusage usage; local 95 getrusage(RUSAGE_CHILDREN, &usage); 98 usage.ru_utime.tv_sec, usage.ru_utime.tv_usec / 1000, 99 usage.ru_stime.tv_sec, usage.ru_stime.tv_usec / 1000);
|
/frameworks/base/core/java/android/view/ |
H A D | GraphicBuffer.java | 32 // Note: keep usage flags in sync with GraphicBuffer.h and gralloc.h 75 * @param usage Hint indicating how the buffer will be used 79 public static GraphicBuffer create(int width, int height, int format, int usage) { argument 80 int nativeObject = nCreateGraphicBuffer(width, height, format, usage); 82 return new GraphicBuffer(width, height, format, usage, nativeObject); 90 private GraphicBuffer(int width, int height, int format, int usage, int nativeObject) { argument 94 mUsage = usage; 121 * Returns the usage hint set on this buffer. 273 int usage = in.readInt(); 276 return new GraphicBuffer(width, height, format, usage, nativeObjec 286 nCreateGraphicBuffer(int width, int height, int format, int usage) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebStorage.java | 68 protected Origin(String origin, long quota, long usage) { argument 71 mUsage = usage;
|
/frameworks/native/libs/gui/ |
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 | 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 | 40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : argument 44 if ((usage & ~(RS_ALLOCATION_USAGE_SCRIPT | 52 ALOGE("Unknown usage specified."); 55 if ((usage & RS_ALLOCATION_USAGE_IO_INPUT) != 0) { 57 if ((usage & ~(RS_ALLOCATION_USAGE_IO_INPUT | 60 ALOGE("Invalid usage combination."); 65 mUsage = usage; 146 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Source must be exactly one usage type."); 155 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Can only send buffer if IO_OUTPUT usage specified."); 165 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Can only send buffer if IO_OUTPUT usage specifie 315 createTyped(sp<RS> rs, sp<const Type> type, RsAllocationMipmapControl mips, uint32_t usage) argument 328 createTyped(sp<RS> rs, sp<const Type> type, RsAllocationMipmapControl mips, uint32_t usage, void *pointer) argument 343 createTyped(sp<RS> rs, sp<const Type> type, uint32_t usage) argument 348 createSized(sp<RS> rs, sp<const Element> e, size_t count, uint32_t usage) argument 357 createSized2D(sp<RS> rs, sp<const Element> e, size_t x, size_t y, uint32_t usage) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | AllocationThunker.java | 75 AllocationThunker(RenderScript rs, Type t, int usage, android.renderscript.Allocation na) { argument 76 super(0, rs, t, usage); 79 mUsage = usage; 380 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument 388 usage); 389 return new AllocationThunker(rs, type, usage, a); 397 int usage) { 404 usage); 406 return new AllocationThunker(rs, tt, usage, a); 415 int usage) { 395 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 413 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 428 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument 450 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument 468 createFromString(RenderScript rs, String str, int usage) argument 483 createSized(RenderScript rs, Element e, int count, int usage) argument [all...] |
H A D | Allocation.java | 35 * <p>An Allocation also contains a set of usage flags that denote how the 36 * Allocation could be used. For example, an Allocation may have usage flags 83 * The usage of the Allocation. These signal to RenderScript where to place 102 * consumer. This usage will cause the Allocation to be created as 182 * Get the usage flags of the Allocation. 184 * @return usage this Allocation's set of the USAGE_* flags OR'd together 218 Allocation(int id, RenderScript rs, Type t, int usage) { argument 220 if ((usage & ~(USAGE_SCRIPT | 225 throw new RSIllegalArgumentException("Unknown usage specified."); 228 if ((usage 1204 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument 1231 createTyped(RenderScript rs, Type type, int usage) argument 1259 createSized(RenderScript rs, Element e, int count, int usage) argument 1330 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1407 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1478 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument 1574 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument 1621 createFromString(RenderScript rs, String str, int usage) argument [all...] |
/frameworks/native/include/gui/ |
H A D | GraphicBufferAlloc.h | 37 PixelFormat format, uint32_t usage, status_t* error);
|
H A D | IGraphicBufferAlloc.h | 40 PixelFormat format, uint32_t usage, status_t* error) = 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/av/services/camera/libcameraservice/device3/ |
H A D | Camera3InputStream.h | 75 virtual status_t getEndpointUsage(uint32_t *usage);
|
/frameworks/av/tools/resampler_tools/ |
H A D | fir.cpp | 58 static void usage(char* name) { function 60 "usage: %s [-h] [-d] [-s sample_rate] [-c cut-off_frequency] [-n half_zero_crossings] [-f {float|fixed}] [-b beta] [-v dBFS] [-l lerp]\n" 159 usage(argv[0]); 178 else usage(argv[0]); 188 usage(argv[0]);
|
/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/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));
|