Searched refs:xoff (Results 1 - 25 of 32) sorted by path

12

/frameworks/base/core/java/android/view/
H A DViewRootImpl.java3022 private boolean drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, argument
3071 if (!canvas.isOpaque() || yoff != 0 || xoff != 0) {
3086 canvas.translate(-xoff, -yoff);
/frameworks/base/core/java/android/view/autofill/
H A DAutofillPopupWindow.java190 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { argument
192 Log.v(TAG, "showAsDropDown(): anchor=" + anchor + ", xoff=" + xoff + ", yoff=" + yoff
201 attachToAnchor(anchor, xoff, yoff, gravity);
204 final boolean aboveAnchor = findDropDownPosition(anchor, p, xoff, yoff,
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java1234 * @param xoff A horizontal offset from the anchor in pixels
1239 public void showAsDropDown(View anchor, int xoff, int yoff) { argument
1240 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY);
1257 * @param xoff A horizontal offset from the anchor in pixels
1263 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { argument
1270 attachToAnchor(anchor, xoff, yoff, gravity);
1279 final boolean aboveAnchor = findDropDownPosition(anchor, p, xoff, yoff,
2224 * @param xoff x offset from the view's left edge
2229 public void update(View anchor, int xoff, int yoff, int width, int height) { argument
2230 update(anchor, true, xoff, yof
2233 update(View anchor, boolean updateLocation, int xoff, int yoff, int width, int height) argument
2315 attachToAnchor(View anchor, int xoff, int yoff, int gravity) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java1031 * @param xoff
1034 public void setFromFieldPacker(int xoff, FieldPacker fp) { argument
1045 copy1DRangeFromUnchecked(xoff, count, data);
1053 * @param xoff
1057 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { argument
1058 setFromFieldPacker(xoff, 0, 0, component_number, fp);
1065 * @param xoff
1071 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) { argument
1076 if(xoff < 0) {
1096 mRS.nAllocationElementData(getIDSafe(), xoff, yof
1452 validate2DRange(int xoff, int yoff, int w, int h) argument
1469 copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, Element.DataType dt, int arrayLen) argument
1524 copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) argument
1562 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument
1595 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument
1628 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument
1661 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument
1679 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument
1703 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument
1722 validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) argument
1746 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, Object array, Element.DataType dt, int arrayLen) argument
1803 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) argument
1829 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Allocation data, int dataXoff, int dataYoff, int dataZoff) argument
2028 copyToFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) argument
2388 copy2DRangeToUnchecked(int xoff, int yoff, int w, int h, Object array, Element.DataType dt, int arrayLen) argument
2442 copy2DRangeTo(int xoff, int yoff, int w, int h, Object array) argument
2474 copy2DRangeTo(int xoff, int yoff, int w, int h, byte[] data) argument
2506 copy2DRangeTo(int xoff, int yoff, int w, int h, short[] data) argument
2538 copy2DRangeTo(int xoff, int yoff, int w, int h, int[] data) argument
2570 copy2DRangeTo(int xoff, int yoff, int w, int h, float[] data) argument
2585 copy3DRangeToUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, Object array, Element.DataType dt, int arrayLen) argument
2641 copy3DRangeTo(int xoff, int yoff, int zoff, int w, int h, int d, Object array) argument
[all...]
H A DRenderScript.java543 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes); argument
544 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument
546 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes);
569 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, argument
572 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, argument
576 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePadding);
579 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, Bitmap b); argument
580 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, Bitmap b) { argument
582 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b);
603 native void rsnAllocationData3D(long con, long id, int xoff, in argument
606 nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
628 rsnAllocationElementRead(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) argument
630 nAllocationElementRead(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) argument
636 rsnAllocationRead2D(long con, long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
639 nAllocationRead2D(long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
646 rsnAllocationRead3D(long con, long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
649 nAllocationRead3D(long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
[all...]
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1415 jint xoff, jint yoff, jint zoff,
1420 ALOGD("nAllocationElementData, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), comp(%i), len(%i), "
1421 "sizeBytes(%i)", (RsContext)con, (RsAllocation)alloc, xoff, yoff, zoff, compIdx, len,
1430 xoff, yoff, zoff,
1438 nAllocationData2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, argument
1445 ALOGD("nAllocation2DData, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i) "
1446 "type(%i)", (RsContext)con, alloc, xoff, yoff, w, h, sizeBytes, dataType);
1450 (RsContext)con, alloc, xoff, yoff, lod, face, w, h, ptr, sizeBytes, 0);
1483 nAllocationData3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, argument
1489 ALOGD("nAllocation3DData, con(%p), alloc(%p), xoff(
1414 nAllocationElementData(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument
1556 nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong alloc, jint xoff, jint yoff, jint zoff, jint lod, jint compIdx, jbyteArray data, jint sizeBytes) argument
1579 nAllocationRead2D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint lod, jint _face, jint w, jint h, jobject data, jint sizeBytes, jint dataType, jint mSize, jboolean usePadding) argument
1596 nAllocationRead3D(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, jint xoff, jint yoff, jint zoff, jint lod, jint w, jint h, jint d, jobject data, int sizeBytes, int dataType, jint mSize, jboolean usePadding) argument
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp983 float xoff = HBFixedToFloat(positions[i].x_offset); local
985 xoff += yoff * ctx->paint.skewX;
986 LayoutGlyph glyph = {font_ix, glyph_ix, x + xoff, y + yoff};
1006 glyphBounds.offset(x + xoff, y + yoff);
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dortho.h17 const T xoff = -(right + left) / (right - left); local
21 result.matrix() << a, 0, 0, xoff,
/frameworks/rs/cpp/
H A DAllocation.cpp282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { argument
286 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument
294 validate2DRange(xoff, yoff, w, h);
299 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff,
305 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff,
312 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument
314 validate2DRange(xoff, yoff, w, h);
315 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), xoff, yoff,
321 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_ argument
341 copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data, size_t stride) argument
353 copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, void *data, size_t stride) argument
365 validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d) argument
376 copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, const void* data) argument
396 copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, const sp<const Allocation>& data, uint32_t dataXoff, uint32_t dataYoff, uint32_t dataZoff) argument
404 copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d, void* data) argument
[all...]
H A DrsCppStructs.h611 void validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h);
612 void validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff,
719 * @param[in] xoff X offset of region to update in this Allocation
725 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
731 * @param[in] xoff X offset of region to copy from this Allocation
737 void copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
742 * @param[in] xoff X offset of region to update in this Allocation
750 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
755 * @param[in] xoff X offset of region to update in this Allocation
762 void copy2DStridedFrom(uint32_t xoff, uint32_
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp344 int xoff = (xf16 >> 16) - 1; local
345 int xclip = rsMax(0, xoff) - xoff;
352 xoff += xclip;
357 yp0 + xoff, yp1 + xoff, yp2 + xoff, yp3 + xoff,
358 xclip, srcWidth - xoff + xclip,
411 int xoff local
478 int xoff = (xf16 >> 16) - 1; local
[all...]
/frameworks/rs/driver/
H A DrsdAllocation.cpp85 uint32_t xoff, uint32_t yoff, uint32_t zoff,
91 ptr += xoff * alloc->mHal.state.elementSizeBytes;
97 uint32_t xoff, uint32_t yoff, uint32_t lod,
109 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr);
817 uint32_t xoff, uint32_t lod, size_t count,
822 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X);
837 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
849 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
879 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
894 Update2DTexture(rsc, alloc, data, xoff, yof
84 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face) argument
96 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
816 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
836 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, size_t sizeBytes, size_t stride) argument
898 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
937 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
949 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
978 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsdAllocation.h112 uint32_t xoff, uint32_t lod, size_t count,
116 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
121 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
127 uint32_t xoff, uint32_t lod, size_t count,
131 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
136 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
/frameworks/rs/
H A Drs.spec179 param uint32_t xoff
205 param uint32_t xoff
217 param uint32_t xoff
239 param uint32_t xoff
257 param uint32_t xoff
269 param uint32_t xoff
H A DrsAllocation.cpp194 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, argument
208 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
212 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
214 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
218 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
221 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
225 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, argument
239 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
242 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
258 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yof
261 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
683 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
701 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
707 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
897 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
909 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
916 rsi_Allocation3DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsAllocation.h132 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
133 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
135 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
138 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
139 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
141 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
H A DrsApiStubs.cpp402 extern "C" void rsAllocation1DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, argument
405 RS_DISPATCH(ctxWrapper, Allocation1DData, va, xoff, lod, count, data, data_length);
420 extern "C" void rsAllocation2DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, argument
424 RS_DISPATCH(ctxWrapper, Allocation2DData, va, xoff, yoff, lod, face, w, h, data, data_length, stride);
427 extern "C" void rsAllocation3DData (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
431 RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride);
444 extern "C" void rsAllocation1DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, argument
447 RS_DISPATCH(ctxWrapper, Allocation1DRead, va, xoff, lod, count, data, data_length);
456 extern "C" void rsAllocation2DRead (RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, argument
460 RS_DISPATCH(ctxWrapper, Allocation2DRead, va, xoff, yof
463 rsAllocation3DRead(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void * data, size_t data_length, size_t stride) argument
[all...]
H A DrsApiStubs.h71 extern "C" void rsAllocation1DData (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void * data, size_t data_length);
74 extern "C" void rsAllocation2DData (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void * data, size_t data_length, size_t stride);
75 extern "C" void rsAllocation3DData (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void * data, size_t data_length, size_t stride);
78 extern "C" void rsAllocation1DRead (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void * data, size_t data_length);
80 extern "C" void rsAllocation2DRead (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void * data, size_t data_length, size_t stride);
81 extern "C" void rsAllocation3DRead (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void * data, size_t data_length, size_t stride);
H A DrsHidlAdaptation.cpp556 void RsHidlAdaptation::Allocation1DData (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t lod, argument
564 GetIContextHandle(context)->allocation1DWrite(_allocation, xoff, lod, count, _data);
566 void RsHidlAdaptation::Allocation1DElementData (RsContext context, RsAllocation allocation, uint32_t xoff, argument
574 GetIContextHandle(context)->allocationElementWrite(_allocation, xoff, 0, 0, lod, _data, eoff);
588 void RsHidlAdaptation::Allocation2DData (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, argument
597 GetIContextHandle(context)->allocation2DWrite(_allocation, xoff, yoff, lod, (AllocationCubemapFace)face, w, h, _data, stride);
600 void RsHidlAdaptation::Allocation3DData (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, argument
608 GetIContextHandle(context)->allocation3DWrite(_allocation, xoff, yoff, zoff, lod, w, h, d, _data, stride);
625 void RsHidlAdaptation::Allocation1DRead (RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t lod, argument
630 GetIContextHandle(context)->allocation1DRead(_allocation, xoff, lo
641 Allocation2DRead(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
650 Allocation3DRead(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsScriptC_Lib.cpp248 const Allocation *alloc, uint32_t xoff, uint32_t yoff,
262 // Check both in case xoff + w overflows
263 if (xoff >= allocDimX || (xoff + w) > allocDimX) {
266 ss << "[" << xoff << ", " << xoff + w << ") outside ";
247 validateCopyArgs(Context *rsc, bool isSrc, uint32_t expectDim, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, uint32_t w, uint32_t h) argument
H A Drs_hal.h245 uint32_t xoff, uint32_t lod, size_t count,
248 uint32_t xoff, uint32_t yoff, uint32_t lod,
252 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
257 uint32_t xoff, uint32_t lod, size_t count,
260 uint32_t xoff, uint32_t yoff, uint32_t lod,
264 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
/frameworks/rs/rsov/driver/
H A DrsovAllocation.cpp147 uint8_t *GetOffsetPtr(const Allocation *alloc, uint32_t xoff, uint32_t yoff, argument
155 ptr += xoff * alloc->mHal.state.elementSizeBytes;
321 uint32_t xoff, uint32_t lod, size_t count,
325 GetOffsetPtr(alloc, xoff, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X);
339 uint32_t xoff, uint32_t yoff, uint32_t lod,
350 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
375 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
391 uint32_t xoff, uint32_t yoff, uint32_t zoff,
403 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, z, lod,
419 uint32_t xoff, uint32_
320 rsovAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument
338 rsovAllocationData2D(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, size_t sizeBytes, size_t stride) argument
390 rsovAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
418 rsovAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument
431 rsovAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
460 rsovAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsovAllocation.h90 uint32_t xoff, uint32_t lod, size_t count,
95 uint32_t xoff, uint32_t yoff, uint32_t lod,
102 uint32_t xoff, uint32_t yoff, uint32_t zoff,
109 uint32_t xoff, uint32_t lod, size_t count,
114 uint32_t xoff, uint32_t yoff, uint32_t lod,
121 uint32_t xoff, uint32_t yoff, uint32_t zoff,
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DAllocation.java992 * @param xoff
995 public void setFromFieldPacker(int xoff, FieldPacker fp) { argument
1006 copy1DRangeFromUnchecked(xoff, count, data);
1013 * @param xoff
1017 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) { argument
1022 if(xoff < 0) {
1036 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD,
1045 * @param xoff
1052 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) {
1057 if(xoff <
1427 validate2DRange(int xoff, int yoff, int w, int h) argument
1444 copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, Object array, Element.DataType dt, int arrayLen) argument
1494 copy2DRangeFrom(int xoff, int yoff, int w, int h, Object array) argument
1527 copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) argument
1560 copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) argument
1593 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument
1626 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument
1644 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument
1663 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument
1677 validate3DRange(int xoff, int yoff, int zoff, int w, int h, int d) argument
1701 copy3DRangeFromUnchecked(int xoff, int yoff, int zoff, int w, int h, int d, Object array, Element.DataType dt, int arrayLen) argument
1753 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Object array) argument
1774 copy3DRangeFrom(int xoff, int yoff, int zoff, int w, int h, int d, Allocation data, int dataXoff, int dataYoff, int dataZoff) argument
2286 copy2DRangeToUnchecked(int xoff, int yoff, int w, int h, Object array, Element.DataType dt, int arrayLen) argument
2335 copy2DRangeTo(int xoff, int yoff, int w, int h, Object array) argument
2367 copy2DRangeTo(int xoff, int yoff, int w, int h, byte[] data) argument
2399 copy2DRangeTo(int xoff, int yoff, int w, int h, short[] data) argument
2431 copy2DRangeTo(int xoff, int yoff, int w, int h, int[] data) argument
2463 copy2DRangeTo(int xoff, int yoff, int w, int h, float[] data) argument
[all...]
H A DRenderScript.java469 native void rsnAllocationElementData1D(long con,long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes); argument
470 synchronized void nAllocationElementData1D(long id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) { argument
472 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes);
475 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes);
476 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) {
478 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes);
502 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, argument
505 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, argument
509 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePadding);
512 native void rsnAllocationData2D(long con, long id, int xoff, in argument
513 nAllocationData2D(long id, int xoff, int yoff, int mip, int face, Bitmap b) argument
537 rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
540 nAllocationData3D(long id, int xoff, int yoff, int zoff, int mip, int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
572 rsnAllocationRead2D(long con, long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, int dt, int mSize, boolean usePadding) argument
575 nAllocationRead2D(long id, int xoff, int yoff, int mip, int face, int w, int h, Object d, int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) argument
[all...]

Completed in 419 milliseconds

12