/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_BView.h | 40 xoff = yoff = 0; 50 yoff = y; 54 y = yoff; 58 y = (float)yoff; 86 if(xoff || yoff) { 88 dest.top = updateRect.top + yoff; 90 dest.bottom = updateRect.bottom + yoff; 99 if(xoff || yoff) { 101 dest.top = updateRect.top + yoff; 103 dest.bottom = updateRect.bottom + yoff; 113 int xoff, yoff; member in class:SDL_BView [all...] |
/frameworks/rs/cpp/ |
Allocation.cpp | 225 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { 229 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { 235 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 237 validate2DRange(xoff, yoff, w, h); 239 yoff, mSelectedLOD, mSelectedFace, 244 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 246 validate2DRange(xoff, yoff, w, h); 247 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), xoff, yoff, 253 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 255 validate2DRange(xoff, yoff, w, h) [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Allocation.java | 838 private void validate2DRange(int xoff, int yoff, int w, int h) { 843 if (xoff < 0 || yoff < 0) { 849 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { 855 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, byte[] data) { 857 validate2DRange(xoff, yoff, w, h); 858 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 862 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, short[] data) { 864 validate2DRange(xoff, yoff, w, h); 865 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 869 void copy2DRangeFromUnchecked(int xoff, int yoff, int w, int h, int[] data) 872 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 879 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 960 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, local 986 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, data); local 1013 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1024 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1035 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1046 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1116 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local [all...] |
RenderScript.java | 342 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); 343 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { 345 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 347 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); 348 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { 350 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 352 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes); 353 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) { 355 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 357 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) [all...] |
AllocationThunker.java | 290 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) { 292 mN.copy2DRangeFrom(xoff, yoff, w, h, data); 297 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { 299 mN.copy2DRangeFrom(xoff, yoff, w, h, data); 304 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) { 306 mN.copy2DRangeFrom(xoff, yoff, w, h, data); 311 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, float[] data) { 313 mN.copy2DRangeFrom(xoff, yoff, w, h, data); 319 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, 323 mN.copy2DRangeFrom(xoff, yoff, w, h, at.mN, dataXoff, dataYoff) [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
Allocation.java | 966 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 975 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 984 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 993 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 1083 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, local 1111 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, data); local 1139 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1150 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1161 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1172 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local 1242 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local [all...] |
AllocationAdapter.java | 78 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { 79 super.copy2DRangeFrom(xoff, yoff, w, h, d); 84 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { 85 super.copy2DRangeFrom(xoff, yoff, w, h, d);
|
RenderScript.java | 464 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); 465 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { 467 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 469 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes); 470 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { 472 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 474 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes); 475 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) { 477 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 479 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodemb.c | 356 int xoff, yoff; local 365 yoff = 32 * (block >> twl); 366 src_diff = p->src_diff + 4 * bw * yoff + xoff; 380 yoff = 16 * (block >> twl); 381 src_diff = p->src_diff + 4 * bw * yoff + xoff; 392 yoff = 8 * (block >> twl); 393 src_diff = p->src_diff + 4 * bw * yoff + xoff; 403 yoff = 4 * (block >> twl); 404 src_diff = p->src_diff + 4 * bw * yoff + xoff; 537 int xoff, yoff; local [all...] |
/frameworks/base/core/java/android/widget/ |
PopupWindow.java | 880 * @param yoff A vertical offset from the anchor in pixels 884 public void showAsDropDown(View anchor, int xoff, int yoff) { 885 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY); 900 * @param yoff A vertical offset from the anchor in pixels 905 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { 910 registerForScrollChanged(anchor, xoff, yoff, gravity); 918 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff, gravity)); [all...] |
/external/jdiff/src/jdiff/ |
DiffMyers.java | 109 private int diag (int xoff, int xlim, int yoff, int ylim) 116 final int dmax = xlim - yoff; // Maximum valid diagonal. 117 final int fmid = xoff - yoff; // Center diagonal of top-down search. 184 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1]) { 217 && fd[fdiagoff + d] - d - yoff > 20) 288 private void compareseq (int xoff, int xlim, int yoff, int ylim) { 290 while (xoff < xlim && yoff < ylim && xvec[xoff] == yvec[yoff]) { 291 ++xoff; ++yoff; 294 while (xlim > xoff && ylim > yoff && xvec[xlim - 1] == yvec[ylim - 1]) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkAAClip.cpp | 101 YOffset* yoff = head->yoffsets(); local 102 yoff->fY = bounds.height() - 1; 103 yoff->fOffset = 0; 200 const YOffset* yoff = head->yoffsets(); local 201 const YOffset* ystop = yoff + head->fRowCount; 207 while (yoff < ystop) { 208 SkASSERT(prevY < yoff->fY); 209 SkASSERT(yoff->fY <= lastY); 210 prevY = yoff->fY; 211 SkASSERT(prevOffset < (int32_t)yoff->fOffset) 407 YOffset* yoff = head->yoffsets(); local 483 YOffset* yoff = head->yoffsets(); local 563 const YOffset* yoff = head->yoffsets(); local 808 const YOffset* yoff = fRunHead->yoffsets(); local [all...] |
/external/skia/src/core/ |
SkAAClip.cpp | 101 YOffset* yoff = head->yoffsets(); local 102 yoff->fY = bounds.height() - 1; 103 yoff->fOffset = 0; 200 const YOffset* yoff = head->yoffsets(); local 201 const YOffset* ystop = yoff + head->fRowCount; 207 while (yoff < ystop) { 208 SkASSERT(prevY < yoff->fY); 209 SkASSERT(yoff->fY <= lastY); 210 prevY = yoff->fY; 211 SkASSERT(prevOffset < (int32_t)yoff->fOffset) 407 YOffset* yoff = head->yoffsets(); local 483 YOffset* yoff = head->yoffsets(); local 563 const YOffset* yoff = head->yoffsets(); local 808 const YOffset* yoff = fRunHead->yoffsets(); local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPopupWindow.java | 152 public void showAsDropDown(View anchor, int xoff, int yoff) { 154 yOffset = yoff;
|
/frameworks/rs/driver/ |
rsdAllocation.h | 108 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 113 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 123 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 128 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
rsdAllocation.cpp | 93 uint32_t xoff, uint32_t yoff, uint32_t zoff, 98 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; 105 uint32_t xoff, uint32_t yoff, uint32_t lod, 117 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr); 799 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 811 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); 819 for (uint32_t line=yoff; line < (yoff+h); line++) { 841 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); 843 for (uint32_t line=(yoff >> 1); line < ((yoff+h)>>1); line++) [all...] |
/frameworks/rs/ |
rsAllocation.h | 115 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 117 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 121 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 123 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
rsAllocation.cpp | 112 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 114 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 118 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, 121 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 139 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 153 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 156 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 164 rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 559 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 562 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride) [all...] |
rsAdapter.h | 79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
rs.spec | 153 param uint32_t yoff 165 param uint32_t yoff 195 param uint32_t yoff
|
rs_hal.h | 171 uint32_t xoff, uint32_t yoff, uint32_t lod, 175 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 183 uint32_t xoff, uint32_t yoff, uint32_t lod, 187 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/prebuilts/sdk/renderscript/lib/ |
javalib.jar | |
/frameworks/support/v8/renderscript/jni/ |
android_renderscript_RenderScript.cpp | 490 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, 494 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); 496 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0); 501 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, 505 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); 507 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0); 512 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, 516 LOG_API("nAllocation2DData_i, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len) [all...] |
/frameworks/base/graphics/jni/ |
android_renderscript_RenderScript.cpp | 659 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, 663 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); 665 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0); 670 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, 674 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); 676 rsAllocation2DData(con, (RsAllocation)alloc, xoff, yoff, lod, (RsAllocationCubemapFace)face, w, h, ptr, sizeBytes, 0); 681 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, 685 LOG_API("nAllocation2DData_i, con(%p), adapter(%p), xoff(%i), yoff(%i), w(%i), h(%i), len(%i)", con, (RsAllocation)alloc, xoff, yoff, w, h, len) [all...] |
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
viewrtree.tcl | 140 set yoff [expr {10.0 - $ymin*$yscale}] 147 set y1 [expr {$y1*$yscale + $yoff}] 148 set y2 [expr {$y2*$yscale + $yoff}]
|