/frameworks/rs/cpp/ |
D | Allocation.cpp | 275 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument 279 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 285 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 287 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() 288 rsAllocation2DData(mRS->mContext, getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace, in copy2DRangeFrom() 292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 294 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() 295 rsAllocation2DData(mRS->mContext, getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace, in copy2DRangeFrom() 299 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument 301 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() [all …]
|
D | Allocation.h | 66 void validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h); 96 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 98 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 100 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 102 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 104 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | AllocationAdapter.java | 41 public void subData(int xoff, FieldPacker fp) { in subData() argument 42 super.setFromFieldPacker(xoff, fp); in subData() 47 public void subElementData(int xoff, int component_number, FieldPacker fp) { in subElementData() argument 48 super.setFromFieldPacker(xoff, component_number, fp); in subElementData() 77 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { in subData2D() argument 78 super.copy2DRangeFrom(xoff, yoff, w, h, d); in subData2D() 83 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { in subData2D() argument 84 super.copy2DRangeFrom(xoff, yoff, w, h, d); in subData2D()
|
D | Allocation.java | 469 public void setFromFieldPacker(int xoff, FieldPacker fp) { in setFromFieldPacker() argument 479 copy1DRangeFromUnchecked(xoff, count, data); in setFromFieldPacker() 490 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { in setFromFieldPacker() argument 495 if(xoff < 0) { in setFromFieldPacker() 508 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, in setFromFieldPacker() local 672 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange() argument 677 if (xoff < 0 || yoff < 0) { in validate2DRange() 683 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 699 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom() argument 701 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() [all …]
|
D | RenderScript.java | 258 …native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, … in rsnAllocationElementData1D() argument 259 …synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int s… in nAllocationElementData1D() argument 261 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); in nAllocationElementData1D() 284 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument 285 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument 287 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D() 289 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument 290 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument 292 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D() 294 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument [all …]
|
/frameworks/base/graphics/java/android/renderscript/ |
D | AllocationAdapter.java | 41 public void subData(int xoff, FieldPacker fp) { in subData() argument 42 super.setFromFieldPacker(xoff, fp); in subData() 47 public void subElementData(int xoff, int component_number, FieldPacker fp) { in subElementData() argument 48 super.setFromFieldPacker(xoff, component_number, fp); in subElementData() 77 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { in subData2D() argument 78 super.copy2DRangeFrom(xoff, yoff, w, h, d); in subData2D() 83 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { in subData2D() argument 84 super.copy2DRangeFrom(xoff, yoff, w, h, d); in subData2D()
|
D | Allocation.java | 577 public void setFromFieldPacker(int xoff, FieldPacker fp) { in setFromFieldPacker() argument 587 copy1DRangeFromUnchecked(xoff, count, data); in setFromFieldPacker() 598 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { in setFromFieldPacker() argument 603 if(xoff < 0) { in setFromFieldPacker() 616 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, in setFromFieldPacker() local 780 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange() argument 785 if (xoff < 0 || yoff < 0) { in validate2DRange() 791 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange() 807 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom() argument 809 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom() [all …]
|
D | RenderScript.java | 352 …native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, … in rsnAllocationElementData1D() argument 353 …synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int s… in nAllocationElementData1D() argument 355 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); in nAllocationElementData1D() 378 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument 379 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument 381 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D() 383 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument 384 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument 386 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D() 388 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument [all …]
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsAllocation.h | 92 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size… 93 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 95 …void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub… 98 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 99 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 101 …void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub…
|
D | rsAllocation.cpp | 71 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() argument 82 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data() 86 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() argument 99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data() 103 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() argument 108 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, in read() argument 119 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read() 122 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read() argument 133 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in read() 136 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in read() argument [all …]
|
D | rs_hal.h | 154 uint32_t xoff, uint32_t lod, uint32_t count, 157 uint32_t xoff, uint32_t yoff, uint32_t lod, 161 uint32_t xoff, uint32_t yoff, uint32_t zoff, 166 uint32_t xoff, uint32_t lod, uint32_t count, 169 uint32_t xoff, uint32_t yoff, uint32_t lod, 173 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
D | rsAdapter.h | 47 void data(Context *rsc, uint32_t xoff, uint32_t count, const void *data, size_t sizeBytes); 79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
D | rs.spec | 118 param uint32_t xoff 134 param uint32_t xoff
|
/frameworks/rs/ |
D | rsAllocation.h | 95 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size… 96 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 98 …void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub… 101 …void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 102 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 104 …void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub…
|
D | rsAllocation.cpp | 76 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() argument 87 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data() 91 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() argument 104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data() 108 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() argument 113 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, in read() argument 124 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); in read() 127 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read() argument 138 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in read() 141 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in read() argument [all …]
|
D | rs_hal.h | 155 uint32_t xoff, uint32_t lod, uint32_t count, 158 uint32_t xoff, uint32_t yoff, uint32_t lod, 162 uint32_t xoff, uint32_t yoff, uint32_t zoff, 167 uint32_t xoff, uint32_t lod, uint32_t count, 170 uint32_t xoff, uint32_t yoff, uint32_t lod, 174 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
D | rsAdapter.h | 47 void data(Context *rsc, uint32_t xoff, uint32_t count, const void *data, size_t sizeBytes); 79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
D | rs.spec | 180 param uint32_t xoff 196 param uint32_t xoff
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdAllocation.h | 85 uint32_t xoff, uint32_t lod, uint32_t count, 89 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 94 uint32_t xoff, uint32_t yoff, uint32_t zoff, 100 uint32_t xoff, uint32_t lod, uint32_t count, 104 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 109 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
D | rsdAllocation.cpp | 41 uint32_t xoff, uint32_t yoff, uint32_t lod, in GetOffsetPtr() argument 47 ptr += xoff * alloc->mHal.state.elementSizeBytes; in GetOffsetPtr() 53 uint32_t xoff, uint32_t yoff, uint32_t lod, in Update2DTexture() argument 268 uint32_t xoff, uint32_t lod, uint32_t count, in rsdAllocationData1D() argument 273 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); in rsdAllocationData1D() 286 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument 295 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face); in rsdAllocationData2D() 308 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D() 313 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationData3D() argument 320 uint32_t xoff, uint32_t lod, uint32_t count, in rsdAllocationRead1D() argument [all …]
|
/frameworks/rs/driver/ |
D | rsdAllocation.h | 96 uint32_t xoff, uint32_t lod, uint32_t count, 100 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 105 uint32_t xoff, uint32_t yoff, uint32_t zoff, 111 uint32_t xoff, uint32_t lod, uint32_t count, 115 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 120 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
D | rsdAllocation.cpp | 81 uint32_t xoff, uint32_t yoff, uint32_t lod, in GetOffsetPtr() argument 87 ptr += xoff * alloc->mHal.state.elementSizeBytes; in GetOffsetPtr() 93 uint32_t xoff, uint32_t yoff, uint32_t lod, in Update2DTexture() argument 104 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture() 575 uint32_t xoff, uint32_t lod, uint32_t count, in rsdAllocationData1D() argument 580 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); in rsdAllocationData1D() 593 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument 602 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face); in rsdAllocationData2D() 615 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D() 620 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationData3D() argument [all …]
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 879 public void showAsDropDown(View anchor, int xoff, int yoff) { in showAsDropDown() argument 884 registerForScrollChanged(anchor, xoff, yoff); in showAsDropDown() 892 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff)); in showAsDropDown() 1108 int xoff, int yoff) { in findDropDownPosition() argument 1112 p.x = mDrawingLocation[0] + xoff; in findDropDownPosition() 1134 Rect r = new Rect(scrollX, scrollY, scrollX + mPopupWidth + xoff, in findDropDownPosition() 1142 p.x = mDrawingLocation[0] + xoff; in findDropDownPosition() 1457 public void update(View anchor, int xoff, int yoff, int width, int height) { 1458 update(anchor, true, xoff, yoff, true, width, height); 1461 private void update(View anchor, boolean updateLocation, int xoff, int yoff, [all …]
|
/frameworks/support/renderscript/v8/jni/ |
D | android_renderscript_RenderScript.cpp | 471 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_s() argument 475 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_s() 477 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_s() 482 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_b() argument 486 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_b() 488 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_b() 493 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_i() argument 497 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_i() 499 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_i() 504 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_f() argument [all …]
|
/frameworks/base/graphics/jni/ |
D | android_renderscript_RenderScript.cpp | 647 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_s() argument 651 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_s() 653 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_s() 658 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_b() argument 662 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_b() 664 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_b() 669 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_i() argument 673 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_i() 675 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_i() 680 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_f() argument [all …]
|