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

1 2 3 4

  /frameworks/support/compat/kitkat/android/support/v4/widget/
PopupWindowCompatKitKat.java 28 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
30 popup.showAsDropDown(anchor, xoff, yoff, gravity);
  /external/opencv3/modules/cudawarping/src/cuda/
remap.cu 90 static void call(PtrStepSz<T> src, PtrStepSz<T> srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy, PtrStepSz<T> dst, const float* borderValue, bool)
93 (void)xoff;
117 int xoff, yoff; \
118 tex_remap_ ## type ## _reader (int xoff_, int yoff_) : xoff(xoff_), yoff(yoff_) {} \
121 return tex2D(tex_remap_ ## type , x + xoff, y + yoff); \
126 static void call(PtrStepSz< type > src, PtrStepSz< type > srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy, \
133 tex_remap_ ## type ##_reader texSrc(xoff, yoff); \
144 static void call(PtrStepSz< type > src, PtrStepSz< type > srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy, \
150 tex_remap_ ## type ##_reader texSrc(xoff, yoff); \
196 static void call(PtrStepSz<T> src, PtrStepSz<T> srcWhole, int xoff, int yoff, PtrStepSzf mapx, PtrStepSzf mapy
    [all...]
warp.cu 161 static void call(PtrStepSz<T> src, PtrStepSz<T> srcWhole, int xoff, int yoff, PtrStepSz<T> dst, const float* borderValue, bool)
163 (void)xoff;
189 int xoff, yoff; \
190 tex_warp_ ## type ## _reader (int xoff_, int yoff_) : xoff(xoff_), yoff(yoff_) {} \
193 return tex2D(tex_warp_ ## type , x + xoff, y + yoff); \
198 static void call(PtrStepSz< type > src, PtrStepSz< type > srcWhole, int xoff, int yoff, PtrStepSz< type > dst, const float* borderValue, bool cc20) \
204 tex_warp_ ## type ##_reader texSrc(xoff, yoff); \
215 static void call(PtrStepSz< type > src, PtrStepSz< type > srcWhole, int xoff, int yoff, PtrStepSz< type > dst, const float*, bool) \
220 tex_warp_ ## type ##_reader texSrc(xoff, yoff); \
266 static void call(PtrStepSz<T> src, PtrStepSz<T> srcWhole, int xoff, int yoff, PtrStepSz<T> dst, const float* borderValue, cudaStream_t stream, bool cc20
    [all...]
resize.cu 143 int xoff; \
147 return tex2D(tex_resize_##type, x + xoff, y + yoff); \
170 TextureAccessor<T> texAccessor(const PtrStepSz<T>& mat, int yoff, int xoff)
175 t.xoff = xoff;
197 void call_resize_nearest_tex(const PtrStepSz<T>& /*src*/, const PtrStepSz<T>& srcWhole, int yoff, int xoff, const PtrStepSz<T>& dst, float fy, float fx)
202 resize<<<grid, block>>>(texAccessor(srcWhole, yoff, xoff), dst, fy, fx);
224 void call_resize_linear_tex(const PtrStepSz<T>& src, const PtrStepSz<T>& srcWhole, int yoff, int xoff, const PtrStepSz<T>& dst, float fy, float fx)
238 TextureAccessor<T> texSrc = texAccessor(srcWhole, yoff, xoff);
272 void call_resize_cubic_tex(const PtrStepSz<T>& src, const PtrStepSz<T>& srcWhole, int yoff, int xoff, const PtrStepSz<T>& dst, float fy, float fx
    [all...]
  /frameworks/support/compat/java/android/support/v4/widget/
PopupWindowCompat.java 37 void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity);
54 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
61 xoff -= (popup.getWidth() - anchor.getWidth());
63 popup.showAsDropDown(anchor, xoff, yoff);
127 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
129 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity);
200 * @param xoff A horizontal offset from the anchor in pixels
204 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
206 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCopyToTest.java 224 int xoff = random.nextInt(width); local
226 int xcount = width - xoff;
237 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
238 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
255 int xoff = random.nextInt(width); local
257 int xcount = width - xoff;
272 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
273 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
275 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, (Object) inArray);
276 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, (Object) outArray)
300 int xoff = random.nextInt(width); local
334 int xoff = random.nextInt(width); local
368 int xoff = random.nextInt(width); local
404 int xoff = random.nextInt(width); local
441 int xoff = random.nextInt(width); local
486 int xoff = random.nextInt(width); local
526 int xoff = random.nextInt(width); local
566 int xoff = random.nextInt(width); local
606 int xoff = random.nextInt(width); local
    [all...]
AllocationCopyPaddedTest.java 782 int xoff = random.nextInt(width); local
784 int xcount = width - xoff;
796 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
797 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
814 int xoff = random.nextInt(width); local
816 int xcount = width - xoff;
831 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
832 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
854 int xoff = random.nextInt(width); local
856 int xcount = width - xoff;
889 int xoff = random.nextInt(width); local
924 int xoff = random.nextInt(width); local
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Allocation.java 1036 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, local
1463 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, local
1648 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, local
1674 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, data); local
1720 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local
1778 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local
2305 mRS.nAllocationRead2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, local
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatPopupWindow.java 90 public void showAsDropDown(View anchor, int xoff, int yoff) {
95 super.showAsDropDown(anchor, xoff, yoff);
100 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) {
105 super.showAsDropDown(anchor, xoff, yoff, gravity);
109 public void update(View anchor, int xoff, int yoff, int width, int height) {
114 super.update(anchor, xoff, yoff, width, height);
  /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,
  /frameworks/base/rs/java/android/renderscript/
Allocation.java 1096 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local
1490 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, local
1685 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, local
1716 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, data); local
1767 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local
1833 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local
2053 mRS.nAllocationElementRead(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local
2409 mRS.nAllocationRead2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, local
2606 mRS.nAllocationRead3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local
    [all...]
  /frameworks/rs/cpp/
Allocation.cpp 282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) {
286 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
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,
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_t yoff, uint32_t w, uint32_t h
    [all...]
  /external/opencv3/modules/cudafilters/src/cuda/
filter2d.cu 85 const int xoff; \
87 tex_filter2D_ ## type ## _reader (int xoff_, int yoff_) : xoff(xoff_), yoff(yoff_) {} \
90 return tex2D(tex_filter2D_ ## type , x + xoff, y + yoff); \
95 static void call(const PtrStepSz< type > srcWhole, int xoff, int yoff, PtrStepSz<D> dst, const float* kernel, \
102 tex_filter2D_ ## type ##_reader texSrc(xoff, yoff); \
128 typedef void (*func_t)(const PtrStepSz<T> srcWhole, int xoff, int yoff, PtrStepSz<D> dst, const float* kernel,
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicResize.cpp 351 int xoff = (xf16 >> 16) - 1; local
352 int xclip = rsMax(0, xoff) - xoff;
359 xoff += xclip;
364 yp0 + xoff, yp1 + xoff, yp2 + xoff, yp3 + xoff,
365 xclip, srcWidth - xoff + xclip,
418 int xoff = (xf16 >> 16) - 1 local
485 int xoff = (xf16 >> 16) - 1; local
    [all...]
  /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...]
  /external/libmicrohttpd/src/microhttpd/
postprocessor.c 349 size_t xoff; local
392 xoff = pp->xbuf_pos;
410 if (delta > XBUF_SIZE - xoff)
411 delta = XBUF_SIZE - xoff;
414 memcpy (&xbuf[xoff], &post_data[poff], delta);
415 xoff += delta;
421 delta = xoff;
429 if (delta < xoff)
431 memcpy (pp->xbuf, &xbuf[delta], xoff - delta);
432 pp->xbuf_pos = xoff - delta
    [all...]
  /frameworks/rs/driver/
rsdAllocation.h 114 uint32_t xoff, uint32_t lod, size_t count,
118 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
123 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
129 uint32_t xoff, uint32_t lod, size_t count,
133 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
138 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
UT_alloc_copy.java 268 int xoff = random.nextInt(width); local
270 int xcount = width - xoff;
281 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
282 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
303 int xoff = random.nextInt(width); local
305 int xcount = width - xoff;
319 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
320 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
341 int xoff = random.nextInt(width); local
343 int xcount = width - xoff;
379 int xoff = random.nextInt(width); local
417 int xoff = random.nextInt(width); local
    [all...]
  /frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
UT_alloc_copy.java 268 int xoff = random.nextInt(width); local
270 int xcount = width - xoff;
281 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
282 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
303 int xoff = random.nextInt(width); local
305 int xcount = width - xoff;
319 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
320 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
341 int xoff = random.nextInt(width); local
343 int xcount = width - xoff;
379 int xoff = random.nextInt(width); local
417 int xoff = random.nextInt(width); local
    [all...]
  /frameworks/rs/
rsAllocation.h 136 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
137 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
139 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
142 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
143 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
145 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
rsAllocation.cpp 192 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod,
205 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
209 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
211 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
215 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff,
218 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
222 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod,
235 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
238 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
253 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride)
    [all...]
  /external/opencv3/modules/cudawarping/src/
remap.cpp 56 void remap_gpu(PtrStepSzb src, PtrStepSzb srcWhole, int xoff, int yoff, PtrStepSzf xmap, PtrStepSzf ymap, PtrStepSzb dst,
65 typedef void (*func_t)(PtrStepSzb src, PtrStepSzb srcWhole, int xoff, int yoff, PtrStepSzf xmap, PtrStepSzf ymap, PtrStepSzb dst, int interpolation,
resize.cpp 54 void resize(const PtrStepSzb& src, const PtrStepSzb& srcWhole, int yoff, int xoff, const PtrStepSzb& dst, float fy, float fx, int interpolation, cudaStream_t stream);
61 typedef void (*func_t)(const PtrStepSzb& src, const PtrStepSzb& srcWhole, int yoff, int xoff, const PtrStepSzb& dst, float fy, float fx, int interpolation, cudaStream_t stream);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPopupWindow.java 152 public void showAsDropDown(View anchor, int xoff, int yoff) {
153 xOffset = xoff;
  /external/skia/src/utils/
SkTextureCompressor_Blitter.h 192 const int xoff = x - startBlockX; variable
193 SkASSERT((xoff + width) <= BlockDim);
199 memset(mask + (j + yoff)*BlockDim + xoff, 0xFF, width);
651 const int xoff = x - blockX; local
652 memset(mask + (j + yoff)*BlockDim + xoff, 0xFF, BlockDim - xoff);
676 const int xoff = (x+width-blockX); local
677 memset(mask + (j+yoff)*BlockDim, 0xFF, xoff);

Completed in 5627 milliseconds

1 2 3 4