/frameworks/base/rs/java/android/renderscript/ |
RenderScript.java | 543 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); 544 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { 546 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 569 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, 572 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, 576 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePadding); 579 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, Bitmap b); 580 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, Bitmap b) { 582 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b); 603 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip [all...] |
/frameworks/rs/ |
rsScriptC_Lib.cpp | 248 const Allocation *alloc, uint32_t xoff, uint32_t yoff, 262 // Check both in case xoff + w overflows 263 if (xoff >= allocDimX || (xoff + w) > allocDimX) { 266 ss << "[" << xoff << ", " << xoff + w << ") outside ";
|
rsApiStubs.h | 71 extern "C" void rsAllocation1DData (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void * data, size_t data_length); 74 extern "C" void rsAllocation2DData (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void * data, size_t data_length, size_t stride); 75 extern "C" void rsAllocation3DData (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void * data, size_t data_length, size_t stride); 78 extern "C" void rsAllocation1DRead (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void * data, size_t data_length); 80 extern "C" void rsAllocation2DRead (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void * data, size_t data_length, size_t stride); 81 extern "C" void rsAllocation3DRead (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void * data, size_t data_length, size_t stride);
|
rs_hal.h | 245 uint32_t xoff, uint32_t lod, size_t count, 248 uint32_t xoff, uint32_t yoff, uint32_t lod, 252 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 257 uint32_t xoff, uint32_t lod, size_t count, 260 uint32_t xoff, uint32_t yoff, uint32_t lod, 264 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
rsApiStubs.cpp | 397 extern "C" void rsAllocation1DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, 400 RS_DISPATCH(ctxWrapper, Allocation1DData, va, xoff, lod, count, data, data_length); 415 extern "C" void rsAllocation2DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, 419 RS_DISPATCH(ctxWrapper, Allocation2DData, va, xoff, yoff, lod, face, w, h, data, data_length, stride); 422 extern "C" void rsAllocation3DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, 426 RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride); 439 extern "C" void rsAllocation1DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, 442 RS_DISPATCH(ctxWrapper, Allocation1DRead, va, xoff, lod, count, data, data_length); 451 extern "C" void rsAllocation2DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, 455 RS_DISPATCH(ctxWrapper, Allocation2DRead, va, xoff, yoff, lod, face, w, h, data, data_length, stride) [all...] |
rsHidlAdaptation.cpp | 556 void RsHidlAdaptation::Allocation1DData (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t lod, 564 GetIContextHandle(context)->allocation1DWrite(_allocation, xoff, lod, count, _data); 566 void RsHidlAdaptation::Allocation1DElementData (RsContext context, RsAllocation allocation, uint32_t xoff, 574 GetIContextHandle(context)->allocationElementWrite(_allocation, xoff, 0, 0, lod, _data, eoff); 588 void RsHidlAdaptation::Allocation2DData (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, 597 GetIContextHandle(context)->allocation2DWrite(_allocation, xoff, yoff, lod, (AllocationCubemapFace)face, w, h, _data, stride); 600 void RsHidlAdaptation::Allocation3DData (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 608 GetIContextHandle(context)->allocation3DWrite(_allocation, xoff, yoff, zoff, lod, w, h, d, _data, stride); 625 void RsHidlAdaptation::Allocation1DRead (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t lod, 630 GetIContextHandle(context)->allocation1DRead(_allocation, xoff, lod, count, data, sizeBytes) [all...] |
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_alloc_copyPadded.java | 916 int xoff = random.nextInt(width); local 918 int xcount = width - xoff; 930 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 931 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 952 int xoff = random.nextInt(width); local 991 int xoff = random.nextInt(width); local 1030 int xoff = random.nextInt(width); local 1069 int xoff = random.nextInt(width); local [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_alloc_copyPadded.java | 917 int xoff = random.nextInt(width); local 919 int xcount = width - xoff; 931 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 932 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 953 int xoff = random.nextInt(width); local 992 int xoff = random.nextInt(width); local 1031 int xoff = random.nextInt(width); local 1070 int xoff = random.nextInt(width); local [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_alloc_copyPadded.java | 919 int xoff = random.nextInt(width); local 921 int xcount = width - xoff; 933 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 934 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 955 int xoff = random.nextInt(width); local 994 int xoff = random.nextInt(width); local 1033 int xoff = random.nextInt(width); local 1072 int xoff = random.nextInt(width); local [all...] |
/frameworks/rs/driver/ |
rsdAllocation.cpp | 87 uint32_t xoff, uint32_t yoff, uint32_t zoff, 93 ptr += xoff * alloc->mHal.state.elementSizeBytes; 99 uint32_t xoff, uint32_t yoff, uint32_t lod, 111 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); 819 uint32_t xoff, uint32_t lod, size_t count, 824 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); 839 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 851 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); [all...] |
/prebuilts/go/darwin-x86/src/image/draw/ |
draw_test.go | 297 for xoff := -2; xoff <= 2; xoff++ { 300 src := m.SubImage(image.Rect(5+xoff, 5+yoff, 10+xoff, 10+yoff)).(*image.RGBA) 305 t.Errorf("drawOverlap xoff=%d,yoff=%d: bounds %v versus %v", xoff, yoff, dst.Bounds(), golden.Bounds()) 314 t.Errorf("drawOverlap xoff=%d,yoff=%d: at (%d, %d), %v versus golden %v", xoff, yoff, x, y, dst.At(x, y), golden.At(x, y))
|
/prebuilts/go/linux-x86/src/image/draw/ |
draw_test.go | 297 for xoff := -2; xoff <= 2; xoff++ { 300 src := m.SubImage(image.Rect(5+xoff, 5+yoff, 10+xoff, 10+yoff)).(*image.RGBA) 305 t.Errorf("drawOverlap xoff=%d,yoff=%d: bounds %v versus %v", xoff, yoff, dst.Bounds(), golden.Bounds()) 314 t.Errorf("drawOverlap xoff=%d,yoff=%d: at (%d, %d), %v versus golden %v", xoff, yoff, x, y, dst.At(x, y), golden.At(x, y))
|
/hardware/interfaces/renderscript/1.0/ |
IContext.hal | 249 * @param xoff X offset of the region to update in this Allocation 261 allocation2DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, 274 * @param xoff X offset of the region to update in this Allocation 287 allocation3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, 335 * @param xoff X offset of the first element to be copied 342 allocation1DRead(Allocation allocation, uint32_t xoff, uint32_t lod, 377 * @param xoff X offset of the region to copy in this array 390 allocation2DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, 406 * @param xoff X offset of the region to copy in this array 420 allocation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
obj.go | 340 func dsymptr(s *Sym, off int, x *Sym, xoff int) int { 341 return dsymptrLSym(Linksym(s), off, Linksym(x), xoff) 344 func dsymptrLSym(s *obj.LSym, off int, x *obj.LSym, xoff int) int { 346 s.WriteAddr(Ctxt, int64(off), Widthptr, x, int64(xoff)) 351 func dsymptrOffLSym(s *obj.LSym, off int, x *obj.LSym, xoff int) int { 352 s.WriteOff(Ctxt, int64(off), x, int64(xoff))
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
obj.go | 340 func dsymptr(s *Sym, off int, x *Sym, xoff int) int { 341 return dsymptrLSym(Linksym(s), off, Linksym(x), xoff) 344 func dsymptrLSym(s *obj.LSym, off int, x *obj.LSym, xoff int) int { 346 s.WriteAddr(Ctxt, int64(off), Widthptr, x, int64(xoff)) 351 func dsymptrOffLSym(s *obj.LSym, off int, x *obj.LSym, xoff int) int { 352 s.WriteOff(Ctxt, int64(off), x, int64(xoff))
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_gmem.c | 160 OUT_RING(ring, A2XX_RB_COPY_DEST_OFFSET_X(tile->xoff) | 237 x0 = ((float)tile->xoff) / ((float)pfb->width); 238 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); 395 OUT_RING(ring, A2XX_PA_SC_WINDOW_OFFSET_X(-tile->xoff) |
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
RenderScript.java | 481 native void rsnAllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); 482 synchronized void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { 484 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); 487 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); 488 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { 490 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes); 514 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, 517 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, 521 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePadding); 524 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, Bitmap b) [all...] |
/hardware/interfaces/renderscript/1.0/default/ |
Context.h | 53 Return<void> allocation2DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, const hidl_vec<uint8_t>& data, Size stride) override; 54 Return<void> allocation3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const hidl_vec<uint8_t>& data, Size stride) override; 57 Return<void> allocation1DRead(Allocation allocation, uint32_t xoff, uint32_t lod, uint32_t count, Ptr data, Size sizeBytes) override; 59 Return<void> allocation2DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, Ptr data, Size sizeBytes, Size stride) override; 60 Return<void> allocation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, Ptr data, Size sizeBytes, Size stride) override;
|
Context.cpp | 174 Return<void> Context::allocation2DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, const hidl_vec<uint8_t>& data, Size stride) { 176 uint32_t _xoff = xoff; 189 Return<void> Context::allocation3DWrite(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const hidl_vec<uint8_t>& data, Size stride) { 191 uint32_t _xoff = xoff; 219 Return<void> Context::allocation1DRead(Allocation allocation, uint32_t xoff, uint32_t lod, uint32_t count, Ptr data, Size sizeBytes) { 221 uint32_t _xoff = xoff; 243 Return<void> Context::allocation2DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, AllocationCubemapFace face, uint32_t w, uint32_t h, Ptr data, Size sizeBytes, Size stride) { 245 uint32_t _xoff = xoff; 258 Return<void> Context::allocation3DRead(Allocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, Ptr data, Size sizeBytes, Size stride) { 260 uint32_t _xoff = xoff; [all...] |
/frameworks/base/core/java/android/widget/ |
PopupWindow.java | [all...] |
/prebuilts/sdk/renderscript/lib/ |
javalib.jar | |
/external/libvpx/libvpx/test/ |
variance_test.cc | 110 * and therefore upshift xoff and yoff by 1. Only every other calculated value 115 int l2w, int l2h, int xoff, int yoff, 123 xoff <<= 1; 134 const int a = a1 + (((a2 - a1) * xoff + 8) >> 4); 135 const int b = b1 + (((b2 - b1) * xoff + 8) >> 4); 148 const int a = a1 + (((a2 - a1) * xoff + 8) >> 4); 149 const int b = b1 + (((b2 - b1) * xoff + 8) >> 4); 166 int l2h, int xoff, int yoff, 175 xoff <<= 1; 186 const int a = a1 + (((a2 - a1) * xoff + 8) >> 4) [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipOutputStream.java | 600 long xoff = off; local 605 if (xoff >= ZIP64_MAGICVAL) { 606 xoff = ZIP64_MAGICVAL; 642 writeInt(xoff); // offset of central directory
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_gmem.c | 350 x0 = ((float)tile->xoff) / ((float)pfb->width); 351 x1 = ((float)tile->xoff + bin_w) / ((float)pfb->width); 763 uint32_t x1 = tile->xoff; 765 uint32_t x2 = tile->xoff + tile->bin_w - 1; 798 OUT_RING(ring, A4XX_RB_BIN_OFFSET_X(tile->xoff) |
|
/frameworks/base/rs/jni/ |
android_renderscript_RenderScript.cpp | [all...] |