Home
last modified time | relevance | path

Searched refs:xoff (Results 1 – 15 of 15) sorted by relevance

/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/base/graphics/java/android/renderscript/
DAllocationAdapter.java41 public void subData(int xoff, FieldPacker fp) { in subData() argument
42 super.setFromFieldPacker(xoff, fp); in subData()
47 public void subElementData(int xoff, int component_number, FieldPacker fp) { in subElementData() argument
48 super.setFromFieldPacker(xoff, component_number, fp); in subElementData()
77 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()
DAllocation.java577 public void setFromFieldPacker(int xoff, FieldPacker fp) { in setFromFieldPacker() argument
587 copy1DRangeFromUnchecked(xoff, count, data); in setFromFieldPacker()
598 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { in setFromFieldPacker() argument
603 if(xoff < 0) { in setFromFieldPacker()
616 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, in setFromFieldPacker() local
780 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()
[all …]
DRenderScript.java352 …native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, … in rsnAllocationElementData1D() argument
353 …synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int s… in nAllocationElementData1D() argument
355 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes); in nAllocationElementData1D()
378 …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
[all …]
/frameworks/rs/
DrsAdapter.cpp49 void Adapter1D::subData(uint32_t xoff, uint32_t count, const void *data) { in subData() argument
51 void *ptr = getElement(xoff); in subData()
109 void rsi_Adapter1DSubData(Context *rsc, RsAdapter1D va, uint32_t xoff, uint32_t count, const void *… in rsi_Adapter1DSubData() argument
111 a->subData(xoff, count, data); in rsi_Adapter1DSubData()
159 void Adapter2D::subData(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data) { in subData() argument
169 memcpy(getElement(xoff, line), src, lineSize); in subData()
232 void rsi_Adapter2DSubData(Context *rsc, RsAdapter2D va, uint32_t xoff, uint32_t yoff, uint32_t w, u… in rsi_Adapter2DSubData() argument
234 a->subData(xoff, yoff, w, h, data); in rsi_Adapter2DSubData()
DrsAllocation.h93 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size…
94 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
96 …void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCub…
DrsAdapter.h49 void subData(uint32_t xoff, uint32_t count, const void *data);
85 void subData(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data);
DrsAllocation.cpp79 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, in data() argument
90 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); in data()
94 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); in data()
111 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, in data() argument
544 void rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, in rsi_Allocation1DData() argument
547 a->data(rsc, xoff, lod, count, data, sizeBytes); in rsi_Allocation1DData()
562 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod… in rsi_Allocation2DData() argument
565 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes); in rsi_Allocation2DData()
Drs_hal.h134 uint32_t xoff, uint32_t lod, uint32_t count,
137 uint32_t xoff, uint32_t yoff, uint32_t lod,
141 uint32_t xoff, uint32_t yoff, uint32_t zoff,
Drs.spec180 param uint32_t xoff
196 param uint32_t xoff
/frameworks/base/core/java/android/widget/
DPopupWindow.java877 public void showAsDropDown(View anchor, int xoff, int yoff) { in showAsDropDown() argument
882 registerForScrollChanged(anchor, xoff, yoff); in showAsDropDown()
890 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff)); in showAsDropDown()
1094 int xoff, int yoff) { in findDropDownPosition() argument
1098 p.x = mDrawingLocation[0] + xoff; in findDropDownPosition()
1120 Rect r = new Rect(scrollX, scrollY, scrollX + mPopupWidth + xoff, in findDropDownPosition()
1128 p.x = mDrawingLocation[0] + xoff; in findDropDownPosition()
1441 public void update(View anchor, int xoff, int yoff, int width, int height) {
1442 update(anchor, true, xoff, yoff, true, width, height);
1445 private void update(View anchor, boolean updateLocation, int xoff, int yoff,
[all …]
/frameworks/rs/driver/
DrsdAllocation.h85 uint32_t xoff, uint32_t lod, uint32_t count,
89 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
94 uint32_t xoff, uint32_t yoff, uint32_t zoff,
DrsdAllocation.cpp83 uint32_t xoff, uint32_t yoff, uint32_t lod, in Update2DTexture() argument
94 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); in Update2DTexture()
512 uint32_t xoff, uint32_t lod, uint32_t count, in rsdAllocationData1D() argument
518 ptr += eSize * xoff; in rsdAllocationData1D()
531 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
541 dst += alloc->mHal.state.type->getLODFaceOffset(lod, face, xoff, yoff); in rsdAllocationData2D()
554 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D()
559 uint32_t xoff, uint32_t yoff, uint32_t zoff, in rsdAllocationData3D() argument
573 uint32_t xoff, uint32_t yoff, uint32_t lod, in getOffsetPtr() argument
576 ptr += alloc->getType()->getLODOffset(lod, xoff, yoff); in getOffsetPtr()
/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 …]