Home
last modified time | relevance | path

Searched refs:yoff (Results 1 – 19 of 19) sorted by relevance

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java828 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange() argument
833 if (xoff < 0 || yoff < 0) { in validate2DRange()
839 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange()
845 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFromUnchecked() argument
847 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked()
848 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFromUnchecked() local
852 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFromUnchecked() argument
854 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked()
855 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFromUnchecked() local
859 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFromUnchecked() argument
[all …]
DAllocationThunker.java178 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFrom() argument
179 mN.copy2DRangeFrom(xoff, yoff, w, h, data); in copy2DRangeFrom()
181 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFrom() argument
182 mN.copy2DRangeFrom(xoff, yoff, w, h, data); in copy2DRangeFrom()
184 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFrom() argument
185 mN.copy2DRangeFrom(xoff, yoff, w, h, data); in copy2DRangeFrom()
187 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) { in copy2DRangeFrom() argument
188 mN.copy2DRangeFrom(xoff, yoff, w, h, data); in copy2DRangeFrom()
191 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, in copy2DRangeFrom() argument
194 mN.copy2DRangeFrom(xoff, yoff, w, h, at.mN, dataXoff, dataYoff); in copy2DRangeFrom()
[all …]
DRenderScript.java298 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
299 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument
301 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
303 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
304 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument
306 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
308 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
309 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
311 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
313 …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/
DAllocation.java885 private void validate2DRange(int xoff, int yoff, int w, int h) { in validate2DRange() argument
890 if (xoff < 0 || yoff < 0) { in validate2DRange()
896 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange()
902 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, byte[] data) { in copy2DRangeFromUnchecked() argument
904 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked()
905 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFromUnchecked() local
909 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFromUnchecked() argument
911 validate2DRange(xoff, yoff, w, h); in copy2DRangeFromUnchecked()
912 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFromUnchecked() local
916 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFromUnchecked() argument
[all …]
DRenderScript.java414 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
415 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument
417 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
419 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
420 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument
422 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
424 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
425 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
427 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
429 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
[all …]
DAllocationAdapter.java77 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()
/frameworks/rs/cpp/
DAllocation.cpp216 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument
220 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange()
226 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
228 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
229 rsAllocation2DData(mRS->getContext(), getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace, in copy2DRangeFrom()
233 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
235 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
236 rsAllocationCopy2DRange(mRS->getContext(), getIDSafe(), xoff, yoff, in copy2DRangeFrom()
242 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo() argument
244 validate2DRange(xoff, yoff, w, h); in copy2DRangeTo()
[all …]
DrsCppStructs.h215 void validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h);
236 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
239 void copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
242 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
245 void copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
249 void copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
/frameworks/base/core/java/android/widget/
DPopupWindow.java879 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
1113 p.y = mDrawingLocation[1] + anchorHeight + yoff; in findDropDownPosition()
1123 int screenY = mScreenLocation[1] + anchorHeight + yoff; in findDropDownPosition()
1135 scrollY + mPopupHeight + anchor.getHeight() + yoff); in findDropDownPosition()
1143 p.y = mDrawingLocation[1] + anchor.getHeight() + yoff; in findDropDownPosition()
1148 onTop = (displayFrame.bottom - mScreenLocation[1] - anchor.getHeight() - yoff) < in findDropDownPosition()
1149 (mScreenLocation[1] - yoff - displayFrame.top); in findDropDownPosition()
[all …]
/frameworks/rs/driver/
DrsdAllocation.cpp91 uint32_t xoff, uint32_t yoff, uint32_t zoff, in GetOffsetPtr() argument
96 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr()
103 uint32_t xoff, uint32_t yoff, uint32_t lod, in Update2DTexture() argument
115 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture()
847 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
859 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
867 for (uint32_t line=yoff; line < (yoff+h); line++) { in rsdAllocationData2D()
880 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
882 for (uint32_t line=(yoff >> 1); line < ((yoff+h)>>1); line++) { in rsdAllocationData2D()
893 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D()
[all …]
DrsdAllocation.h121 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
126 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
136 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
141 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
/frameworks/rs/
DrsAllocation.h101 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
103 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
107 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
109 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
DrsAllocation.cpp105 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in data() argument
107 …rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in data()
111 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() argument
114 …rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in data()
132 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemap… in read() argument
146 …rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in read()
149 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, in read() argument
157 …rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stri… in read()
517 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument
520 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); in rsi_Allocation2DData()
[all …]
Drs_hal.h163 uint32_t xoff, uint32_t yoff, uint32_t lod,
167 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
175 uint32_t xoff, uint32_t yoff, uint32_t lod,
179 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
Drs.spec152 param uint32_t yoff
164 param uint32_t yoff
204 param uint32_t yoff
DrsAdapter.h79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp510 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_s() argument
514 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_s()
516 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_s()
521 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_b() argument
525 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_b()
527 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_b()
532 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_i() argument
536 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_i()
538 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_i()
543 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_f() argument
[all …]
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp660 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_s() argument
664 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_s()
666 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_s()
671 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_b() argument
675 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_b()
677 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_b()
682 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_i() argument
686 …(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len); in nAllocationData2D_i()
688 …rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h,… in nAllocationData2D_i()
693 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, j… in nAllocationData2D_f() argument
[all …]
/frameworks/base/core/java/android/view/
DViewRootImpl.java1452 int yoff; in performTraversals() local
1456 yoff = mScroller.getCurrY(); in performTraversals()
1459 yoff = mScrollY; in performTraversals()
1462 layerCanvas.translate(0, -yoff); in performTraversals()
2298 int yoff; in draw() local
2301 yoff = mScroller.getCurrY(); in draw()
2303 yoff = mScrollY; in draw()
2305 if (mCurScrollY != yoff) { in draw()
2306 mCurScrollY = yoff; in draw()
2361 mHardwareYOffset = yoff; in draw()
[all …]