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

1 2 3

  /frameworks/support/v4/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);
  /frameworks/support/v4/java/android/support/v4/widget/
PopupWindowCompat.java 32 void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity);
44 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
46 popup.showAsDropDown(anchor, xoff, yoff);
90 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
92 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity);
165 * @param xoff A horizontal offset from the anchor in pixels
169 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff,
171 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity);
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
AppCompatPopupWindow.java 63 public void showAsDropDown(View anchor, int xoff, int yoff) {
68 super.showAsDropDown(anchor, xoff, yoff);
73 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) {
78 super.showAsDropDown(anchor, xoff, yoff, gravity);
82 public void update(View anchor, int xoff, int yoff, int width, int height) {
87 super.update(anchor, xoff, yoff, width, height);
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCopyToTest.java 213 int xoff = random.nextInt(width); local
215 int xcount = width - xoff;
226 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
227 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
244 int xoff = random.nextInt(width); local
246 int xcount = width - xoff;
260 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
261 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
278 int xoff = random.nextInt(width); local
280 int xcount = width - xoff;
312 int xoff = random.nextInt(width); local
346 int xoff = random.nextInt(width); local
382 int xoff = random.nextInt(width); local
419 int xoff = random.nextInt(width); local
459 int xoff = random.nextInt(width); local
499 int xoff = random.nextInt(width); local
539 int xoff = random.nextInt(width); local
579 int xoff = random.nextInt(width); local
    [all...]
AllocationCopyPaddedTest.java 762 int xoff = random.nextInt(width); local
764 int xcount = width - xoff;
776 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
777 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
794 int xoff = random.nextInt(width); local
796 int xcount = width - xoff;
811 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
812 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
829 int xoff = random.nextInt(width); local
831 int xcount = width - xoff;
864 int xoff = random.nextInt(width); local
899 int xoff = random.nextInt(width); local
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
Allocation.java 742 * @param xoff
745 public void setFromFieldPacker(int xoff, FieldPacker fp) {
756 copy1DRangeFromUnchecked(xoff, count, data);
763 * @param xoff
767 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) {
772 if(xoff < 0) {
786 mRS.nAllocationElementData1D(getIDSafe(), xoff, mSelectedLOD, local
795 * @param xoff
802 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) {
807 if(xoff < 0)
1068 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, local
1169 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, local
1195 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, data); local
1235 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local
1277 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local
1586 mRS.nAllocationRead2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, local
    [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,
  /frameworks/base/rs/java/android/renderscript/
Allocation.java 813 * @param xoff
816 public void setFromFieldPacker(int xoff, FieldPacker fp) {
827 copy1DRangeFromUnchecked(xoff, count, data);
835 * @param xoff
839 public void setFromFieldPacker(int xoff, int component_number, FieldPacker fp) {
840 setFromFieldPacker(xoff, 0, 0, component_number, fp);
847 * @param xoff
853 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) {
858 if(xoff < 0) {
878 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD local
1127 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, local
1238 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, local
1269 mRS.nAllocationData2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, data); local
1320 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local
1370 mRS.nAllocationData3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local
1517 mRS.nAllocationElementRead(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, local
1726 mRS.nAllocationRead2D(getIDSafe(), xoff, yoff, mSelectedLOD, mSelectedFace.mID, w, h, local
1837 mRS.nAllocationRead3D(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, w, h, d, local
    [all...]
RenderScript.java 517 native void rsnAllocationElementData(long con,long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes);
518 synchronized void nAllocationElementData(long id, int xoff, int yoff, int zoff, int mip, int compIdx, byte[] d, int sizeBytes) {
520 rsnAllocationElementData(mContext, id, xoff, yoff, zoff, mip, compIdx, d, sizeBytes);
543 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face,
546 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face,
550 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes, dt.mID, mSize, usePadding);
553 native void rsnAllocationData2D(long con, long id, int xoff, int yoff, int mip, int face, Bitmap b);
554 synchronized void nAllocationData2D(long id, int xoff, int yoff, int mip, int face, Bitmap b) {
556 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, b);
577 native void rsnAllocationData3D(long con, long id, int xoff, int yoff, int zoff, int mip
    [all...]
  /frameworks/rs/cpp/
Allocation.cpp 283 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) {
287 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) {
293 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
295 validate2DRange(xoff, yoff, w, h);
300 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff,
306 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff,
313 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
315 validate2DRange(xoff, yoff, w, h);
316 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), xoff, yoff,
322 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h
    [all...]
  /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...]
  /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.cpp 182 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod,
195 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
199 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
201 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
205 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff,
208 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
212 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod,
225 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
228 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
243 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride)
    [all...]
rsAllocation.h 129 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
130 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
132 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
135 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
136 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
138 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
rs.spec 167 param uint32_t xoff
193 param uint32_t xoff
205 param uint32_t xoff
227 param uint32_t xoff
245 param uint32_t xoff
257 param uint32_t xoff
  /frameworks/rs/driver/
rsdAllocation.h 109 uint32_t xoff, uint32_t lod, size_t count,
113 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
118 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
124 uint32_t xoff, uint32_t lod, size_t count,
128 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
133 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
rsdAllocation.cpp 92 uint32_t xoff, uint32_t yoff, uint32_t zoff,
98 ptr += xoff * alloc->mHal.state.elementSizeBytes;
104 uint32_t xoff, uint32_t yoff, uint32_t lod,
116 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr);
844 uint32_t xoff, uint32_t lod, size_t count,
849 uint8_t * ptr = GetOffsetPtr(alloc, xoff, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X);
864 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
876 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
906 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
919 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h)
    [all...]
  /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...]
UT_alloc_copyPadded.java 916 int xoff = random.nextInt(width); local
918 int xcount = width - xoff;
930 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
931 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
952 int xoff = random.nextInt(width); local
991 int xoff = random.nextInt(width); local
1030 int xoff = random.nextInt(width); local
1069 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...]
UT_alloc_copyPadded.java 916 int xoff = random.nextInt(width); local
918 int xcount = width - xoff;
930 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray);
931 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray);
952 int xoff = random.nextInt(width); local
991 int xoff = random.nextInt(width); local
1030 int xoff = random.nextInt(width); local
1069 int xoff = random.nextInt(width); 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     [all...]
  /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 724 milliseconds

1 2 3