/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 | 275 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { 279 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { 285 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 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, 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, 301 validate2DRange(xoff, yoff, w, h) [all...] |
Allocation.h | 66 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/ |
AllocationAdapter.java | 77 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { 78 super.copy2DRangeFrom(xoff, yoff, w, h, d); 83 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { 84 super.copy2DRangeFrom(xoff, yoff, w, h, d);
|
Allocation.java | 780 private void validate2DRange(int xoff, int yoff, int w, int h) { 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) { 809 validate2DRange(xoff, yoff, w, h); 810 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 814 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { 816 validate2DRange(xoff, yoff, w, h); 817 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID local 824 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 831 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 851 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, local 870 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, data); local [all...] |
RenderScript.java | 378 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); 379 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { 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); 384 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { 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); 389 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) { 391 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 393 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) [all...] |
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
AllocationAdapter.java | 77 public void subData2D(int xoff, int yoff, int w, int h, int[] d) { 78 super.copy2DRangeFrom(xoff, yoff, w, h, d); 83 public void subData2D(int xoff, int yoff, int w, int h, float[] d) { 84 super.copy2DRangeFrom(xoff, yoff, w, h, d);
|
Allocation.java | 672 private void validate2DRange(int xoff, int yoff, int w, int h) { 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) { 701 validate2DRange(xoff, yoff, w, h); 702 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 706 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) { 708 validate2DRange(xoff, yoff, w, h); 709 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID local 716 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 723 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local 743 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, local 762 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, data); local [all...] |
RenderScript.java | 284 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes); 285 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) { 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); 290 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) { 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); 295 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) { 297 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); 299 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/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...] |
/frameworks/base/core/java/android/widget/ |
PopupWindow.java | 879 public void showAsDropDown(View anchor, int xoff, int yoff) { 884 registerForScrollChanged(anchor, xoff, yoff); 892 updateAboveAnchor(findDropDownPosition(anchor, p, xoff, yoff)); [all...] |
/external/skia/src/core/ |
SkAAClip.cpp | 99 YOffset* yoff = head->yoffsets(); local 100 yoff->fY = bounds.height() - 1; 101 yoff->fOffset = 0; 197 const YOffset* yoff = head->yoffsets(); local 198 const YOffset* ystop = yoff + head->fRowCount; 204 while (yoff < ystop) { 205 SkASSERT(prevY < yoff->fY); 206 SkASSERT(yoff->fY <= lastY); 207 prevY = yoff->fY; 208 SkASSERT(prevOffset < (int32_t)yoff->fOffset) 396 YOffset* yoff = head->yoffsets(); local 467 YOffset* yoff = head->yoffsets(); local 547 const YOffset* yoff = head->yoffsets(); local 792 const YOffset* yoff = fRunHead->yoffsets(); local [all...] |
/frameworks/rs/driver/ |
rsdAllocation.h | 100 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,
|
rsdAllocation.cpp | 81 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_t zoff [all...] |
/frameworks/rs/ |
rsAllocation.h | 96 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, RsAllocationCubemapFace face, 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, RsAllocationCubemapFace face,
|
rsAdapter.h | 79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
rs_hal.h | 157 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,
|
rsAllocation.cpp | 91 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 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, 127 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 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, 522 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 525 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes);
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
rsdAllocation.h | 89 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,
|
rsdAllocation.cpp | 41 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_t lod, RsAllocationCubemapFace face [all...] |
/frameworks/support/renderscript/v8/rs_support/ |
rsAllocation.h | 93 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, RsAllocationCubemapFace face, 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, RsAllocationCubemapFace face,
|
rsAdapter.h | 79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
rs_hal.h | 157 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,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageGeometry.java | 412 float yoff = getHeight() / 2; local 416 return mLocalGeometry.buildGeometryMatrix(w, h, scale, xoff, yoff, onlyRotate); 427 float yoff = getHeight() / 2; local 429 Matrix m = mLocalGeometry.buildGeometryUIMatrix(scale, xoff, yoff); 452 float yoff = getHeight() / 2; local 455 xoff, yoff, 0);
|
/frameworks/support/renderscript/v8/jni/ |
android_renderscript_RenderScript.cpp | 471 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, 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, 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, 497 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...] |