/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatPopupWindow.java | 62 public void showAsDropDown(View anchor, int xoff, int yoff) { 67 super.showAsDropDown(anchor, xoff, yoff); 71 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { 76 super.showAsDropDown(anchor, xoff, yoff, gravity); 80 public void update(View anchor, int xoff, int yoff, int width, int height) { 85 super.update(anchor, xoff, yoff, width, height);
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
ortho.h | 17 const T xoff = -(right + left) / (right - left); local 21 result.matrix() << a, 0, 0, xoff,
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCopyToTest.java | 232 int xoff = random.nextInt(width); local 234 int xcount = width - xoff; 245 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 246 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 263 int xoff = random.nextInt(width); local 265 int xcount = width - xoff; 280 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 281 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 283 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, (Object) inArray); 284 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, (Object) outArray) 308 int xoff = random.nextInt(width); local 342 int xoff = random.nextInt(width); local 376 int xoff = random.nextInt(width); local 412 int xoff = random.nextInt(width); local 449 int xoff = random.nextInt(width); local 494 int xoff = random.nextInt(width); local 534 int xoff = random.nextInt(width); local 574 int xoff = random.nextInt(width); local 614 int xoff = random.nextInt(width); local [all...] |
AllocationCopyPaddedTest.java | 805 int xoff = random.nextInt(width); local 807 int xcount = width - xoff; 819 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 820 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 838 int xoff = random.nextInt(width); local 840 int xcount = width - xoff; 855 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 856 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 879 int xoff = random.nextInt(width); local 881 int xcount = width - xoff; 915 int xoff = random.nextInt(width); local 951 int xoff = random.nextInt(width); local [all...] |
/frameworks/support/compat/java/android/support/v4/widget/ |
PopupWindowCompat.java | 42 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, 49 xoff -= (popup.getWidth() - anchor.getWidth()); 51 popup.showAsDropDown(anchor, xoff, yoff); 112 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, 114 popup.showAsDropDown(anchor, xoff, yoff, gravity); 212 * @param xoff A horizontal offset from the anchor in pixels 216 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, 218 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity);
|
/frameworks/rs/support/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...] |
/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...] |
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_gmem.c | 121 uint32_t i, j, t, xoff, yoff; local 223 xoff = yoff = 0; 227 if (xoff >= nbins_x) { 228 xoff = 0; 236 pipe->x = xoff; 238 pipe->w = MIN2(tpp_x, nbins_x - xoff); 241 xoff += tpp_x; 265 xoff = minx; 280 bw = MIN2(bin_w, minx + width - xoff); 286 tile->xoff = xoff [all...] |
freedreno_gmem.h | 47 uint16_t xoff, yoff; member in struct:fd_tile
|
/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...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicResize.cpp | 344 int xoff = (xf16 >> 16) - 1; local 345 int xclip = rsMax(0, xoff) - xoff; 352 xoff += xclip; 357 yp0 + xoff, yp1 + xoff, yp2 + xoff, yp3 + xoff, 358 xclip, srcWidth - xoff + xclip, 411 int xoff = (xf16 >> 16) - 1 local 478 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/base/core/java/android/view/autofill/ |
AutofillPopupWindow.java | 203 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { 205 Log.v(TAG, "showAsDropDown(): anchor=" + anchor + ", xoff=" + xoff + ", yoff=" + yoff 214 attachToAnchor(anchor, xoff, yoff, gravity); 217 final boolean aboveAnchor = findDropDownPosition(anchor, p, xoff, yoff, 227 protected void attachToAnchor(View anchor, int xoff, int yoff, int gravity) { 228 super.attachToAnchor(anchor, xoff, yoff, gravity);
|
/frameworks/rs/driver/ |
rsdAllocation.h | 112 uint32_t xoff, uint32_t lod, size_t count, 116 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 121 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 127 uint32_t xoff, uint32_t lod, size_t count, 131 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 136 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/frameworks/rs/tests/java_api/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/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_alloc_copy.java | 270 int xoff = random.nextInt(width); local 272 int xcount = width - xoff; 283 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 284 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 305 int xoff = random.nextInt(width); local 307 int xcount = width - xoff; 321 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 322 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 343 int xoff = random.nextInt(width); local 345 int xcount = width - xoff; 381 int xoff = random.nextInt(width); local 419 int xoff = random.nextInt(width); local [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_alloc_copy.java | 272 int xoff = random.nextInt(width); local 274 int xcount = width - xoff; 285 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 286 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 307 int xoff = random.nextInt(width); local 309 int xcount = width - xoff; 323 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 324 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 345 int xoff = random.nextInt(width); local 347 int xcount = width - xoff; 383 int xoff = random.nextInt(width); local 421 int xoff = random.nextInt(width); local [all...] |
/frameworks/rs/ |
rsAllocation.cpp | 194 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, 208 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 212 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 214 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride); 218 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, 221 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 225 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod, 239 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); 242 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 258 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride) [all...] |
rsAllocation.h | 132 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes); 133 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 135 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 138 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes); 139 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 141 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
rs.spec | 179 param uint32_t xoff 205 param uint32_t xoff 217 param uint32_t xoff 239 param uint32_t xoff 257 param uint32_t xoff 269 param uint32_t xoff
|
/frameworks/rs/rsov/driver/ |
rsovAllocation.h | 90 uint32_t xoff, uint32_t lod, size_t count, 95 uint32_t xoff, uint32_t yoff, uint32_t lod, 102 uint32_t xoff, uint32_t yoff, uint32_t zoff, 109 uint32_t xoff, uint32_t lod, size_t count, 114 uint32_t xoff, uint32_t yoff, uint32_t lod, 121 uint32_t xoff, uint32_t yoff, uint32_t zoff,
|
rsovAllocation.cpp | 147 uint8_t *GetOffsetPtr(const Allocation *alloc, uint32_t xoff, uint32_t yoff, 155 ptr += xoff * alloc->mHal.state.elementSizeBytes; 320 uint32_t xoff, uint32_t lod, size_t count, 324 GetOffsetPtr(alloc, xoff, 0, 0, 0, RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X); 338 uint32_t xoff, uint32_t yoff, uint32_t lod, 349 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); 374 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); 390 uint32_t xoff, uint32_t yoff, uint32_t zoff, 402 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, z, lod, 418 uint32_t xoff, uint32_t lod, size_t count, void *data [all...] |
/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;
|