HomeSort by relevance Sort by last modified time
    Searched refs:xoff (Results 1 - 25 of 40) sorted by null

1 2

  /external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
SDL_BView.h 40 xoff = yoff = 0;
49 xoff = x;
53 x = xoff;
57 x = (float)xoff;
86 if(xoff || yoff) {
89 dest.left = updateRect.left + xoff;
91 dest.right = updateRect.right + xoff;
99 if(xoff || yoff) {
102 dest.left = updateRect.left + xoff;
104 dest.right = updateRect.right + xoff;;
113 int xoff, yoff; member in class:SDL_BView
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Allocation.java 636 * @param xoff
639 public void setFromFieldPacker(int xoff, FieldPacker fp) {
649 copy1DRangeFromUnchecked(xoff, count, data);
656 * @param xoff
660 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) {
665 if(xoff < 0) {
678 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, local
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))
858 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local
865 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, local
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...]
AllocationThunker.java 132 public void setFromFieldPacker(int xoff, FieldPacker fp) {
135 mN.setFromFieldPacker(xoff, nfp);
137 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) {
140 mN.setFromFieldPacker(xoff, component_number, nfp);
178 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, byte[] data) {
179 mN.copy2DRangeFrom(xoff, yoff, w, h, data);
181 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, short[] data) {
182 mN.copy2DRangeFrom(xoff, yoff, w, h, data);
184 public void copy2DRangeFrom(int xoff, int yoff, int w, int h, int[] data) {
185 mN.copy2DRangeFrom(xoff, yoff, w, h, data)
    [all...]
RenderScript.java 316 native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes);
317 synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) {
319 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes);
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)
    [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);
238 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff,
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...]
rsCppStructs.h 323 void validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h);
324 void validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff,
394 * @param[in] xoff X offset of region to update in this Allocation
400 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
406 * @param[in] xoff X offset of region to copy from this Allocation
412 void copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
417 * @param[in] xoff X offset of region to update in this Allocation
425 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
430 * @param[in] xoff X offset of region to update in this Allocation
437 void copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
AllocationAdapter.java 42 public void subData(int xoff, FieldPacker fp) {
43 super.setFromFieldPacker(xoff, fp);
48 public void subElementData(int xoff, int component_number, FieldPacker fp) {
49 super.setFromFieldPacker(xoff, component_number, fp);
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);
Allocation.java 724 * @param xoff
727 public void setFromFieldPacker(int xoff, FieldPacker fp) {
737 copy1DRangeFromUnchecked(xoff, count, data);
744 * @param xoff
748 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) {
753 if(xoff < 0) {
766 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, local
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...]
RenderScript.java 410 native void rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes);
411 synchronized void nAllocationElementData1D(int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) {
413 rsnAllocationElementData1D(mContext, id, xoff, mip, compIdx, d, sizeBytes);
436 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes);
437 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) {
439 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
441 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes);
442 synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) {
444 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes);
446 native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes)
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
LinearColorBar.java 213 final int xoff = 2; local
216 -xoff, midTopY,
217 -xoff, 0);
218 mColorPath.lineTo(width+xoff-1, 0);
219 mColorPath.cubicTo(width+xoff-1, midTopY,
224 mEdgePath.moveTo(-xoff+lineOffset, 0);
225 mEdgePath.cubicTo(-xoff+lineOffset, midTopY,
228 mEdgePath.moveTo(width+xoff-1-lineOffset, 0);
229 mEdgePath.cubicTo(width+xoff-1-lineOffset, midTopY,
  /external/jdiff/src/jdiff/
DiffMyers.java 109 private int diag (int xoff, int xlim, int yoff, int ylim)
115 final int dmin = xoff - ylim; // Minimum valid diagonal.
117 final int fmid = xoff - yoff; // Center diagonal of top-down search.
125 fd[fdiagoff + fmid] = xoff;
184 while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1]) {
213 if ((fd[fdiagoff + d] - xoff)*2 - dd > 12 * (c + (dd > 0 ? dd : -dd)))
216 && fd[fdiagoff + d] - xoff > 20
283 The subsequence of file 0 is [XOFF, XLIM) and likewise for file 1.
288 private void compareseq (int xoff, int xlim, int yoff, int ylim) {
290 while (xoff < xlim && yoff < ylim && xvec[xoff] == yvec[yoff])
    [all...]
  /frameworks/rs/
rsAdapter.h 47 void data(Context *rsc, uint32_t xoff, uint32_t count, const void *data, size_t sizeBytes);
79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
rsAllocation.h 114 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
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,
120 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
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 97 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod,
108 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
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);
125 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod,
136 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
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)
    [all...]
rs.spec 135 param uint32_t xoff
151 param uint32_t xoff
163 param uint32_t xoff
185 param uint32_t xoff
193 param uint32_t xoff
rs_hal.h 168 uint32_t xoff, uint32_t lod, size_t count,
171 uint32_t xoff, uint32_t yoff, uint32_t lod,
175 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
180 uint32_t xoff, uint32_t lod, size_t count,
183 uint32_t xoff, uint32_t yoff, uint32_t lod,
187 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
  /frameworks/rs/driver/
rsdAllocation.h 104 uint32_t xoff, uint32_t lod, size_t count,
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,
119 uint32_t xoff, uint32_t lod, size_t count,
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,
99 ptr += xoff * alloc->mHal.state.elementSizeBytes;
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);
779 uint32_t xoff, uint32_t lod, size_t count,
784 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X);
799 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
811 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
841 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
854 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h)
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_encodemb.c 436 int xoff, yoff; local
444 xoff = 32 * (block & twmask);
446 src_diff = p->src_diff + 4 * bw * yoff + xoff;
459 xoff = 16 * (block & twmask);
461 src_diff = p->src_diff + 4 * bw * yoff + xoff;
471 xoff = 8 * (block & twmask);
473 src_diff = p->src_diff + 4 * bw * yoff + xoff;
482 xoff = 4 * (block & twmask);
484 src_diff = p->src_diff + 4 * bw * yoff + xoff;
583 int xoff, yoff local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPopupWindow.java 152 public void showAsDropDown(View anchor, int xoff, int yoff) {
153 xOffset = xoff;
  /frameworks/base/core/java/android/widget/
PopupWindow.java 879 * @param xoff A horizontal offset from the anchor in pixels
884 public void showAsDropDown(View anchor, int xoff, int yoff) {
885 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY);
899 * @param xoff A horizontal 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...]
  /prebuilts/sdk/renderscript/lib/
javalib.jar 
  /frameworks/support/v8/renderscript/jni/
android_renderscript_RenderScript.cpp 479 // native void rsnAllocationElementData1D(int con, int id, int xoff, int compIdx, byte[] d, int sizeBytes);
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
    [all...]
  /frameworks/base/graphics/jni/
android_renderscript_RenderScript.cpp 648 // native void rsnAllocationElementData1D(int con, int id, int xoff, int compIdx, byte[] d, int sizeBytes);
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
    [all...]
  /external/chromium_org/third_party/sqlite/src/ext/rtree/
viewrtree.tcl 139 set xoff [expr {10.0 - $xmin*$xscale}]
145 set x1 [expr {$x1*$xscale + $xoff}]
146 set x2 [expr {$x2*$xscale + $xoff}]

Completed in 471 milliseconds

1 2