Home
last modified time | relevance | path

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

12

/frameworks/rs/cpp/
DAllocation.cpp275 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 …]
DAllocation.h66 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/
DAllocation.java672 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()
702 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFrom() local
706 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFrom() argument
708 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
709 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFrom() local
713 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFrom() argument
[all …]
DRenderScript.java284 …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
295 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
297 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
299 …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/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/base/graphics/java/android/renderscript/
DAllocation.java780 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()
810 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFrom() local
814 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { in copy2DRangeFrom() argument
816 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
817 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, in copy2DRangeFrom() local
821 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { in copy2DRangeFrom() 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()
DRenderScript.java378 …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
389 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
391 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
393 …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/driver/
DrsdAllocation.cpp41 uint32_t xoff, uint32_t yoff, uint32_t lod, in GetOffsetPtr() argument
46 ptr += yoff * drv->lod[lod].stride; in GetOffsetPtr()
53 uint32_t xoff, uint32_t yoff, uint32_t lod, in Update2DTexture() argument
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()
297 for (uint32_t line=yoff; line < (yoff+h); line++) { 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
330 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationRead2D() argument
339 const uint8_t *src = GetOffsetPtr(alloc, xoff, yoff, lod, face); in rsdAllocationRead2D()
[all …]
DrsdAllocation.h89 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
94 uint32_t xoff, uint32_t yoff, uint32_t zoff,
104 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
109 uint32_t xoff, uint32_t yoff, uint32_t zoff,
/frameworks/support/renderscript/v8/rs_support/
DrsAllocation.h93 … 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…
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…
Drs_hal.h157 uint32_t xoff, uint32_t yoff, uint32_t lod,
161 uint32_t xoff, uint32_t yoff, uint32_t zoff,
169 uint32_t xoff, uint32_t yoff, uint32_t lod,
173 uint32_t xoff, uint32_t yoff, uint32_t zoff,
DrsAllocation.cpp86 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
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
460 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument
463 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes); in rsi_Allocation2DData()
DrsAdapter.h79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
Drs.spec135 param uint32_t yoff
/frameworks/rs/
DrsAllocation.h96 … 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…
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…
Drs_hal.h158 uint32_t xoff, uint32_t yoff, uint32_t lod,
162 uint32_t xoff, uint32_t yoff, uint32_t zoff,
170 uint32_t xoff, uint32_t yoff, uint32_t lod,
174 uint32_t xoff, uint32_t yoff, uint32_t zoff,
DrsAllocation.cpp91 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
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
522 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument
525 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes); in rsi_Allocation2DData()
DrsAdapter.h79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
/frameworks/rs/driver/
DrsdAllocation.cpp81 uint32_t xoff, uint32_t yoff, uint32_t lod, in GetOffsetPtr() argument
86 ptr += yoff * drv->lod[lod].stride; 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()
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()
604 for (uint32_t line=yoff; line < (yoff+h); line++) { 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
637 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationRead2D() argument
[all …]
DrsdAllocation.h100 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
105 uint32_t xoff, uint32_t yoff, uint32_t zoff,
115 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
120 uint32_t xoff, uint32_t yoff, uint32_t zoff,
/frameworks/support/renderscript/v8/jni/
Dandroid_renderscript_RenderScript.cpp471 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/
Dandroid_renderscript_RenderScript.cpp647 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 …]
/frameworks/base/core/java/android/view/
DViewRootImpl.java1424 int yoff; in performTraversals() local
1428 yoff = mScroller.getCurrY(); in performTraversals()
1431 yoff = mScrollY; in performTraversals()
1434 layerCanvas.translate(0, -yoff); in performTraversals()
2104 int yoff; in draw() local
2107 yoff = mScroller.getCurrY(); in draw()
2109 yoff = mScrollY; in draw()
2111 if (mCurScrollY != yoff) { in draw()
2112 mCurScrollY = yoff; in draw()
2165 mHardwareYOffset = yoff; in draw()
[all …]

12