/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/v7/appcompat/src/android/support/v7/internal/widget/ |
AppCompatPopupWindow.java | 63 public void showAsDropDown(View anchor, int xoff, int yoff) { 65 // If we're pre-L, emulate overlapAnchor by modifying the yOff 66 yoff -= anchor.getHeight(); 68 super.showAsDropDown(anchor, xoff, yoff); 73 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { 75 // If we're pre-L, emulate overlapAnchor by modifying the yOff 76 yoff -= anchor.getHeight(); 78 super.showAsDropDown(anchor, xoff, yoff, gravity); 82 public void update(View anchor, int xoff, int yoff, int width, int height) { 84 // If we're pre-L, emulate overlapAnchor by modifying the yOff [all...] |
/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); 166 * @param yoff A vertical 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);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCopyToTest.java | 214 int yoff = random.nextInt(height); local 216 int ycount = height - yoff; 226 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 227 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 245 int yoff = random.nextInt(height); local 247 int ycount = height - yoff; 260 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 261 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 279 int yoff = random.nextInt(height); local 281 int ycount = height - yoff; 313 int yoff = random.nextInt(height); local 347 int yoff = random.nextInt(height); local 383 int yoff = random.nextInt(height); local 420 int yoff = random.nextInt(height); local 460 int yoff = random.nextInt(height); local 500 int yoff = random.nextInt(height); local 540 int yoff = random.nextInt(height); local 580 int yoff = random.nextInt(height); local [all...] |
AllocationCopyPaddedTest.java | 763 int yoff = random.nextInt(height); local 765 int ycount = height - yoff; 776 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 777 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 795 int yoff = random.nextInt(height); local 797 int ycount = height - yoff; 811 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 812 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 830 int yoff = random.nextInt(height); local 832 int ycount = height - yoff; 865 int yoff = random.nextInt(height); local 900 int yoff = random.nextInt(height); local [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Allocation.java | 796 * @param yoff 802 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) { 810 if(yoff < 0) { 827 mRS.nAllocationElementData(getIDSafe(), xoff, yoff, zoff, mSelectedLOD, 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...] |
/frameworks/base/rs/java/android/renderscript/ |
Allocation.java | 848 * @param yoff 853 public void setFromFieldPacker(int xoff, int yoff, int zoff, int component_number, FieldPacker fp) { 861 if(yoff < 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); 301 yoff, mSelectedLOD, mSelectedFace, 307 yoff, mSelectedLOD, mSelectedFace, 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...] |
rsCppStructs.h | 338 void validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h); 339 void validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, 447 * @param[in] yoff Y offset of region to update in this Allocation 452 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 459 * @param[in] yoff Y offset of region to copy from this Allocation 464 void copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 470 * @param[in] yoff Y offset of region to update in this Allocation 477 void copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, 483 * @param[in] yoff Y offset of region to update in this Allocation 489 void copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h [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...] |
/external/skia/src/core/ |
SkAAClip.cpp | 101 YOffset* yoff = head->yoffsets(); local 102 yoff->fY = bounds.height() - 1; 103 yoff->fOffset = 0; 200 const YOffset* yoff = head->yoffsets(); local 201 const YOffset* ystop = yoff + head->fRowCount; 207 while (yoff < ystop) { 208 SkASSERT(prevY < yoff->fY); 209 SkASSERT(yoff->fY <= lastY); 210 prevY = yoff->fY; 211 SkASSERT(prevOffset < (int32_t)yoff->fOffset) 447 YOffset* yoff = head->yoffsets(); local 523 YOffset* yoff = head->yoffsets(); local 603 const YOffset* yoff = head->yoffsets(); local 736 const YOffset* yoff = head->yoffsets(); local 876 const YOffset* yoff = fRunHead->yoffsets(); local [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_alloc_copy.java | 269 int yoff = random.nextInt(height); local 271 int ycount = height - yoff; 281 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 282 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 304 int yoff = random.nextInt(height); local 306 int ycount = height - yoff; 319 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 320 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 342 int yoff = random.nextInt(height); local 344 int ycount = height - yoff; 380 int yoff = random.nextInt(height); local 418 int yoff = random.nextInt(height); local [all...] |
UT_alloc_copyPadded.java | 917 int yoff = random.nextInt(height); local 919 int ycount = height - yoff; 930 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 931 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 953 int yoff = random.nextInt(height); local 992 int yoff = random.nextInt(height); local 1031 int yoff = random.nextInt(height); local 1070 int yoff = random.nextInt(height); local [all...] |
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_alloc_copy.java | 269 int yoff = random.nextInt(height); local 271 int ycount = height - yoff; 281 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 282 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 304 int yoff = random.nextInt(height); local 306 int ycount = height - yoff; 319 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 320 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 342 int yoff = random.nextInt(height); local 344 int ycount = height - yoff; 380 int yoff = random.nextInt(height); local 418 int yoff = random.nextInt(height); local [all...] |
UT_alloc_copyPadded.java | 917 int yoff = random.nextInt(height); local 919 int ycount = height - yoff; 930 alloc.copy2DRangeFrom(xoff, yoff, xcount, ycount, inArray); 931 alloc.copy2DRangeTo(xoff, yoff, xcount, ycount, outArray); 953 int yoff = random.nextInt(height); local 992 int yoff = random.nextInt(height); local 1031 int yoff = random.nextInt(height); local 1070 int yoff = random.nextInt(height); local [all...] |
/frameworks/base/core/java/android/widget/ |
PopupWindow.java | [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPopupWindow.java | 152 public void showAsDropDown(View anchor, int xoff, int yoff) { 154 yOffset = yoff;
|
/frameworks/rs/driver/ |
rsdAllocation.h | 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, 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, 97 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; 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); 864 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 876 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); 884 for (uint32_t line=yoff; line < (yoff+h); line++) { 906 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); 908 for (uint32_t line=(yoff >> 1); line < ((yoff+h)>>1); line++) [all...] |
/frameworks/rs/ |
rsAdapter.h | 79 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
|
rsAllocation.cpp | 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); 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); 246 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 254 rsc->mHal.funcs.allocation.read3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride); 681 void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 684 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes, stride) [all...] |
rsAllocation.h | 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, 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 | 194 param uint32_t yoff 206 param uint32_t yoff 246 param uint32_t yoff 258 param uint32_t yoff
|
/external/skia/src/utils/ |
SkTextureCompressor_Blitter.h | 195 const int yoff = y - startBlockY; variable 196 SkASSERT((yoff + height) <= BlockDim); 199 memset(mask + (j + yoff)*BlockDim + xoff, 0xFF, width); 649 const int yoff = y - blockRow; local 652 memset(mask + (j + yoff)*BlockDim + xoff, 0xFF, BlockDim - xoff); 661 memset(mask + (j + yoff)*BlockDim, 0xFF, BlockDim); 677 memset(mask + (j+yoff)*BlockDim, 0xFF, xoff);
|