/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 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 | 660 private void validate2DRange(int xoff, int yoff, int w, int h) { argument 665 if (xoff < 0 || yoff < 0) { 671 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { 682 * @param yoff Y offset of the region to update 687 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { argument 689 validate2DRange(xoff, yoff, w, h); 690 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, 694 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { argument 696 validate2DRange(xoff, yoff, w, h); 697 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLO 701 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument 708 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument 727 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument 746 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument [all...] |
H A D | RenderScript.java | 331 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); argument 332 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { argument 334 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 336 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); argument 337 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { argument 339 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 341 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes); argument 342 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) { argument 344 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 346 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, in argument 347 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument 351 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, Bitmap b) argument 352 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, Bitmap b) 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) { 1099 p.y = mDrawingLocation[1] + anchorHeight + yoff; 1109 int screenY = mScreenLocation[1] + anchorHeight + yoff; 1121 scrollY + mPopupHeight + anchor.getHeight() + yoff); 1129 p.y = mDrawingLocation[1] + anchor.getHeight() + yoff; 1134 onTop = (displayFrame.bottom - mScreenLocation[1] - anchor.getHeight() - yoff) < 1135 (mScreenLocation[1] - yoff 1093 findDropDownPosition(View anchor, WindowManager.LayoutParams p, int xoff, int yoff) argument 1441 update(View anchor, int xoff, int yoff, int width, int height) 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/libs/rs/ |
H A D | rsAdapter.cpp | 158 void Adapter2D::subData(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data) { argument 167 for (uint32_t line=yoff; line < (yoff+h); line++) { 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.h | 84 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 86 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
|
H A D | rsAdapter.h | 85 void subData(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data);
|
H A D | rs_hal.h | 122 uint32_t xoff, uint32_t yoff, uint32_t lod, 126 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
H A D | rsAllocation.cpp | 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 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, yoff, lod, face, w, h, data, sizeBytes);
|
H A D | rs.spec | 171 param uint32_t yoff
|
/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); 393 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 404 dst += alloc->mHal.state.type->getLODFaceOffset(lod, face, xoff, yoff); 406 for (uint32_t line=yoff; line < (yoff+h); line++) { 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, yoff); 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 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...] |
H A D | rsdAllocation.h | 77 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 82 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 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, jint yoff, jint lod, jint face, argument 601 LOG_API("nAllocation2DData_i, con(%p), adapter(%p), xoff(%i), yoff( 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...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 1236 int yoff; 1240 yoff = mScroller.getCurrY(); 1243 yoff = mScrollY; 1246 layerCanvas.translate(0, -yoff); 1849 int yoff; 1852 yoff = mScroller.getCurrY(); 1854 yoff = mScrollY; 1856 if (mCurScrollY != yoff) { 1857 mCurScrollY = yoff; 1897 mHardwareYOffset = yoff; [all...] |