/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 | 452 * @param xoff 455 public void setFromFieldPacker(int xoff, FieldPacker fp) { argument 464 copy1DRangeFromUnchecked(xoff, count, data); 471 * @param xoff 475 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { argument 479 if(xoff < 0) { 491 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, 655 private void validate2DRange(int xoff, int yoff, int w, int h) { argument 660 if (xoff < 0 || yoff < 0) { 666 if (((xoff 682 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument 689 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument 696 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument 703 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument 722 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument 741 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument [all...] |
H A D | RenderScript.java | 302 native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); argument 303 synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument 305 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); 328 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); argument 329 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { argument 331 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 333 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); argument 334 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { argument 336 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 338 native void rsnAllocationData2D(int con, int id, int xoff, in argument 339 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) argument 343 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument 344 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument 348 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, Bitmap b) argument 349 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, Bitmap b) argument [all...] |
/frameworks/base/libs/rs/ |
H A D | rsAdapter.cpp | 48 void Adapter1D::subData(uint32_t xoff, uint32_t count, const void *data) { argument 50 void *ptr = getElement(xoff); 108 void rsi_Adapter1DSubData(Context *rsc, RsAdapter1D va, uint32_t xoff, uint32_t count, const void *data) { argument 110 a->subData(xoff, count, data); 158 void Adapter2D::subData(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data) { argument 168 memcpy(getElement(xoff, line), src, lineSize); 231 void rsi_Adapter2DSubData(Context *rsc, RsAdapter2D va, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data) { argument 233 a->subData(xoff, yoff, w, h, data);
|
H A D | rsAllocation.cpp | 73 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, argument 84 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 88 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 93 //LOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes); 101 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); 105 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument 425 void rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, argument 428 a->data(rsc, xoff, lod, count, data, sizeBytes); 443 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument 446 a->data(rsc, xoff, yof [all...] |
/frameworks/base/libs/rs/driver/ |
H A D | rsdAllocation.cpp | 77 uint32_t xoff, uint32_t yoff, uint32_t lod, 88 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); 374 uint32_t xoff, uint32_t lod, uint32_t count, 380 ptr += eSize * xoff; 393 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 404 dst += alloc->mHal.state.type->getLODFaceOffset(lod, face, xoff, yoff); 417 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); 422 uint32_t xoff, uint32_t yoff, uint32_t zoff, 436 uint32_t xoff, uint32_t yoff, uint32_t lod, 439 ptr += alloc->getType()->getLODOffset(lod, xoff, yof 76 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 373 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, uint32_t sizeBytes) argument 392 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, uint32_t sizeBytes) argument 421 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 435 getOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 877 public void showAsDropDown(View anchor, int xoff, int yoff) { argument 882 registerForScrollChanged(anchor, xoff, yoff); 890 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff)); 1094 int xoff, int yoff) { 1098 p.x = mDrawingLocation[0] + xoff; 1120 Rect r = new Rect(scrollX, scrollY, scrollX + mPopupWidth + xoff, 1128 p.x = mDrawingLocation[0] + xoff; 1436 * @param xoff x offset from the view's left edge 1441 public void update(View anchor, int xoff, int yoff, int width, int height) { argument 1442 update(anchor, true, xoff, yof 1093 findDropDownPosition(View anchor, WindowManager.LayoutParams p, int xoff, int yoff) argument 1445 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height) argument 1512 registerForScrollChanged(View anchor, int xoff, int yoff) argument [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 564 // native void rsnAllocationElementData1D(int con, int id, int xoff, int compIdx, byte[] d, int sizeBytes); 575 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument 579 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); 581 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes); 586 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument 590 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); 592 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes); 597 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jin argument 608 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...] |