Searched defs:yoff (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
H A DAllocationAdapter.java77 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 DAllocation.java780 private void validate2DRange(int xoff, int yoff, int w, int h) { argument
785 if (xoff < 0 || yoff < 0) {
791 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
802 * @param yoff Y offset of the region to update
807 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { argument
809 validate2DRange(xoff, yoff, w, h);
810 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID,
814 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { argument
816 validate2DRange(xoff, yoff, w, h);
817 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLO
821 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument
828 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument
847 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument
866 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument
[all...]
H A DRenderScript.java378 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); argument
379 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { argument
381 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
383 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); argument
384 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { argument
386 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
388 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes); argument
389 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) { argument
391 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
393 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, in argument
394 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument
398 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, Bitmap b) argument
399 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, Bitmap b) argument
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocationAdapter.java77 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 DAllocation.java672 private void validate2DRange(int xoff, int yoff, int w, int h) { argument
677 if (xoff < 0 || yoff < 0) {
683 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
694 * @param yoff Y offset of the region to update
699 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { argument
701 validate2DRange(xoff, yoff, w, h);
702 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID,
706 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { argument
708 validate2DRange(xoff, yoff, w, h);
709 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLO
713 copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) argument
720 copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) argument
739 copy2DRangeFrom(int xoff, int yoff, int w, int h, Allocation data, int dataXoff, int dataYoff) argument
758 copy2DRangeFrom(int xoff, int yoff, Bitmap data) argument
[all...]
H A DRenderScript.java284 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); argument
285 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { argument
287 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
289 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); argument
290 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { argument
292 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
294 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes); argument
295 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) { argument
297 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
299 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, in argument
300 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument
304 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, Bitmap b) argument
305 nAllocationData2D(int id, int xoff, int yoff, int mip, int face, Bitmap b) argument
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp275 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { argument
279 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
285 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument
287 validate2DRange(xoff, yoff, w, h);
288 rsAllocation2DData(mRS->mContext, getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace,
292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument
294 validate2DRange(xoff, yoff, w, h);
295 rsAllocation2DData(mRS->mContext, getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace,
299 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, argument
301 validate2DRange(xoff, yoff,
306 copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const float *data, size_t dataLen) argument
313 copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const Allocation *data, size_t dataLen, uint32_t dataXoff, uint32_t dataYoff) argument
[all...]
/frameworks/rs/driver/
H A DrsdAllocation.cpp81 uint32_t xoff, uint32_t yoff, uint32_t lod,
86 ptr += yoff * drv->lod[lod].stride;
93 uint32_t xoff, uint32_t yoff, uint32_t lod,
104 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr);
593 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
602 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face);
604 for (uint32_t line=yoff; line < (yoff+h); line++) {
615 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h);
620 uint32_t xoff, uint32_t yoff, uint32_
80 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face) argument
92 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
592 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) argument
619 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
636 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) argument
658 rsdAllocationRead3D(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, void *data, uint32_t sizeBytes) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdAllocation.cpp41 uint32_t xoff, uint32_t yoff, uint32_t lod,
46 ptr += yoff * drv->lod[lod].stride;
53 uint32_t xoff, uint32_t yoff, uint32_t lod,
286 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
295 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face);
297 for (uint32_t line=yoff; line < (yoff+h); line++) {
308 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h);
313 uint32_t xoff, uint32_t yoff, uint32_t zoff,
330 uint32_t xoff, uint32_t yoff, uint32_
40 GetOffsetPtr(const android::renderscript::Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face) argument
52 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
285 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) argument
312 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
329 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) argument
351 rsdAllocationRead3D(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, void *data, uint32_t sizeBytes) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java879 public void showAsDropDown(View anchor, int xoff, int yoff) { argument
884 registerForScrollChanged(anchor, xoff, yoff);
892 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff));
1108 int xoff, int yoff) {
1113 p.y = mDrawingLocation[1] + anchorHeight + yoff;
1123 int screenY = mScreenLocation[1] + anchorHeight + yoff;
1135 scrollY + mPopupHeight + anchor.getHeight() + yoff);
1143 p.y = mDrawingLocation[1] + anchor.getHeight() + yoff;
1148 onTop = (displayFrame.bottom - mScreenLocation[1] - anchor.getHeight() - yoff) <
1149 (mScreenLocation[1] - yoff
1107 findDropDownPosition(View anchor, WindowManager.LayoutParams p, int xoff, int yoff) argument
1457 update(View anchor, int xoff, int yoff, int width, int height) argument
1461 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height) argument
1528 registerForScrollChanged(View anchor, int xoff, int yoff) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp91 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
96 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes);
104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
108 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
127 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
138 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
141 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
522 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
525 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes);
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.cpp86 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
91 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes);
99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
103 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
122 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
133 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
136 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
460 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
463 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes);
/frameworks/support/renderscript/v8/jni/
H A Dandroid_renderscript_RenderScript.cpp471 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
475 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);
477 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
482 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
486 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);
488 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
493 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
497 LOG_API("nAllocation2DData_i, con(%p), adapter(%p), xoff(%i), yoff(
504 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/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp647 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
651 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);
653 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
658 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
662 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);
664 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes);
669 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, argument
673 LOG_API("nAllocation2DData_i, con(%p), adapter(%p), xoff(%i), yoff(
680 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 DViewRootImpl.java1424 int yoff;
1428 yoff = mScroller.getCurrY();
1431 yoff = mScrollY;
1434 layerCanvas.translate(0, -yoff);
2104 int yoff;
2107 yoff = mScroller.getCurrY();
2109 yoff = mScrollY;
2111 if (mCurScrollY != yoff) {
2112 mCurScrollY = yoff;
2165 mHardwareYOffset = yoff;
2191 drawSoftware(Surface surface, AttachInfo attachInfo, int yoff, boolean scalingRequired, Rect dirty) argument
[all...]

Completed in 305 milliseconds