/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 41 public void subData(int xoff, FieldPacker fp) { argument 42 super.setFromFieldPacker(xoff, fp); 47 public void subElementData(int xoff, int component_number, FieldPacker fp) { argument 48 super.setFromFieldPacker(xoff, component_number, fp); 77 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { argument 78 super.copy2DRangeFrom(xoff, yoff, w, h, d); 83 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { argument 84 super.copy2DRangeFrom(xoff, yoff, w, h, d);
|
H A D | Allocation.java | 574 * @param xoff 577 public void setFromFieldPacker(int xoff, FieldPacker fp) { argument 587 copy1DRangeFromUnchecked(xoff, count, data); 594 * @param xoff 598 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { argument 603 if(xoff < 0) { 616 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, 780 private void validate2DRange(int xoff, int yoff, int w, int h) { argument 785 if (xoff < 0 || yoff < 0) { 791 if (((xoff 807 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument 814 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument 821 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument 828 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument 847 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument 866 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument [all...] |
H A D | RenderScript.java | 352 native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); argument 353 synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument 355 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); 378 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); argument 379 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { argument 381 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 383 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); argument 384 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { argument 386 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 388 native void rsnAllocationData2D(int con, int id, int xoff, in argument 389 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) argument 393 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument 394 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument 398 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, Bitmap b) argument 399 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, Bitmap b) argument [all...] |
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | AllocationAdapter.java | 41 public void subData(int xoff, FieldPacker fp) { argument 42 super.setFromFieldPacker(xoff, fp); 47 public void subElementData(int xoff, int component_number, FieldPacker fp) { argument 48 super.setFromFieldPacker(xoff, component_number, fp); 77 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { argument 78 super.copy2DRangeFrom(xoff, yoff, w, h, d); 83 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { argument 84 super.copy2DRangeFrom(xoff, yoff, w, h, d);
|
H A D | Allocation.java | 466 * @param xoff 469 public void setFromFieldPacker(int xoff, FieldPacker fp) { argument 479 copy1DRangeFromUnchecked(xoff, count, data); 486 * @param xoff 490 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { argument 495 if(xoff < 0) { 508 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, 672 private void validate2DRange(int xoff, int yoff, int w, int h) { argument 677 if (xoff < 0 || yoff < 0) { 683 if (((xoff 699 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument 706 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument 713 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument 720 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument 739 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument 758 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument [all...] |
H A D | RenderScript.java | 258 native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); argument 259 synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument 261 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); 284 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); argument 285 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { argument 287 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 289 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); argument 290 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { argument 292 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 294 native void rsnAllocationData2D(int con, int id, int xoff, in argument 295 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) argument 299 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument 300 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument 304 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, Bitmap b) argument 305 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, Bitmap b) argument [all...] |
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 187 void Allocation::setFromFieldPacker(int xoff, FieldPacker fp) { 197 copy1DRangeFromUnchecked(xoff, count, data); 200 void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { 205 if(xoff < 0) { 218 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, 275 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { argument 279 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { 285 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument 287 validate2DRange(xoff, yoff, w, h); 288 rsAllocation2DData(mRS->mContext, getIDSafe(), xoff, yof 292 copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const int16_t *data, size_t dataLen) argument 299 copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const int32_t *data, size_t dataLen) argument 306 copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const float *data, size_t dataLen) argument 313 copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const Allocation *data, size_t dataLen, uint32_t dataXoff, uint32_t dataYoff) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 81 uint32_t xoff, uint32_t yoff, uint32_t lod, 87 ptr += xoff * alloc->mHal.state.elementSizeBytes; 93 uint32_t xoff, uint32_t yoff, uint32_t lod, 104 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); 575 uint32_t xoff, uint32_t lod, uint32_t count, 580 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); 593 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 602 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face); 615 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); 620 uint32_t xoff, uint32_ 80 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face) argument 92 Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h) argument 574 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 592 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument 619 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) argument 626 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 636 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument 658 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdAllocation.cpp | 41 uint32_t xoff, uint32_t yoff, uint32_t lod, 47 ptr += xoff * alloc->mHal.state.elementSizeBytes; 53 uint32_t xoff, uint32_t yoff, uint32_t lod, 268 uint32_t xoff, uint32_t lod, uint32_t count, 273 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); 286 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 295 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face); 308 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); 313 uint32_t xoff, uint32_t yoff, uint32_t zoff, 320 uint32_t xoff, uint32_ 40 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face) argument 52 Update2DTexture(const Context *rsc, const Allocation *alloc, const void *ptr, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h) argument 267 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 285 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument 312 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, const void *data, uint32_t sizeBytes) argument 319 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 329 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument 351 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, uint32_t sizeBytes) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 879 public void showAsDropDown(View anchor, int xoff, int yoff) { argument 884 registerForScrollChanged(anchor, xoff, yoff); 892 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff)); 1108 int xoff, int yoff) { 1112 p.x = mDrawingLocation[0] + xoff; 1134 Rect r = new Rect(scrollX, scrollY, scrollX + mPopupWidth + xoff, 1142 p.x = mDrawingLocation[0] + xoff; 1452 * @param xoff x offset from the view's left edge 1457 public void update(View anchor, int xoff, int yoff, int width, int height) { argument 1458 update(anchor, true, xoff, yof 1107 findDropDownPosition(View anchor, WindowManager.LayoutParams p, int xoff, int yoff) argument 1461 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height) argument 1528 registerForScrollChanged(View anchor, int xoff, int yoff) argument [all...] |
/frameworks/rs/ |
H A D | rsAllocation.cpp | 76 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, argument 87 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 91 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 96 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes); 104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); 108 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 113 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, argument 124 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); 127 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 138 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yof 141 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument 504 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 522 rsi_Allocation2DData(Context *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 sizeBytes) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsAllocation.cpp | 71 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, argument 82 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 86 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 91 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes); 99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); 103 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 108 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, argument 119 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); 122 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 133 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yof 136 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument 442 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 460 rsi_Allocation2DData(Context *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 sizeBytes) argument [all...] |
/frameworks/support/renderscript/v8/jni/ |
H A D | android_renderscript_RenderScript.cpp | 460 // native void rsnAllocationElementData1D(int con, int id, int xoff, int compIdx, byte[] d, int sizeBytes); 471 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument 475 LOG_API("nAllocation2DData_s, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); 477 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes); 482 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument 486 LOG_API("nAllocation2DData_b, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); 488 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes); 493 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jin argument 504 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 636 // native void rsnAllocationElementData1D(int con, int id, int xoff, int compIdx, byte[] d, int sizeBytes); 647 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument 651 LOG_API("nAllocation2DData_s, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); 653 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes); 658 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument 662 LOG_API("nAllocation2DData_b, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); 664 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes); 669 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jin argument 680 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument [all...] |