Searched refs:xOff (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | rsallocationcopy.rscript | 8 int xOff = 0; 14 rsAllocationCopy1DRange(aOut1D, xOff, 0, xCount, aIn1D, xOff, 0); 18 rsAllocationCopy2DRange(aOut2D, xOff, yOff, 0, 0, xCount, yCount, aIn2D, xOff, yOff, 0, 0);
|
D | RsAllocationCopyTest.java | 266 int xOff = random.nextInt(width); in test_RsAllocationCopy2D_Byte() local 268 int xCount = random.nextInt(width - xOff); in test_RsAllocationCopy2D_Byte() 286 s.set_xOff(xOff); in test_RsAllocationCopy2D_Byte() 299 xOff <= j && j < xOff + xCount) { in test_RsAllocationCopy2D_Byte() 320 int xOff = random.nextInt(width); in test_RsAllocationCopy2D_Short() local 322 int xCount = random.nextInt(width - xOff); in test_RsAllocationCopy2D_Short() 342 s.set_xOff(xOff); in test_RsAllocationCopy2D_Short() 355 xOff <= j && j < xOff + xCount) { in test_RsAllocationCopy2D_Short() 376 int xOff = random.nextInt(width); in test_RsAllocationCopy2D_Int() local 378 int xCount = random.nextInt(width - xOff); in test_RsAllocationCopy2D_Int() [all …]
|
D | DebugContext.java | 230 int xOff = AC.RN.nextInt(AC.Width-AC.Height) + AC.Height; in testDebugContextRsAllocationCopy2D_Short_Normal() local 232 int xCount = AC.RN.nextInt(AC.Width - xOff); in testDebugContextRsAllocationCopy2D_Short_Normal() 235 Soob.set_dstXOff(xOff); in testDebugContextRsAllocationCopy2D_Short_Normal() 236 Soob.set_srcXOff(xOff); in testDebugContextRsAllocationCopy2D_Short_Normal() 256 xOff <= j && j < xOff + xCount) { in testDebugContextRsAllocationCopy2D_Short_Normal() 404 int xOff = AC.RN.nextInt(AC.Width); in testDebugContextRsAllocationCopy2D_Short_BadYCount() local 406 int xCount = AC.RN.nextInt(AC.Width - xOff); in testDebugContextRsAllocationCopy2D_Short_BadYCount() 408 Soob.set_dstXOff(xOff); in testDebugContextRsAllocationCopy2D_Short_BadYCount() 409 Soob.set_srcXOff(xOff); in testDebugContextRsAllocationCopy2D_Short_BadYCount() 434 int xOff = random.nextInt(width); in testDebugContextRsAllocationCopy2D_Short_WrongD() local [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 701 final int xOff = windowInsets.getSystemWindowInsetLeft() + 10; in testShowAtLocation() local 709 () -> mPopupWindow.showAtLocation(upperAnchor, Gravity.NO_GRAVITY, xOff, yOff)); in testShowAtLocation() 719 …assertEquals(containingRect.left + popupContentViewInWindowXY[0] + xOff, popupContentViewOnScreenX… in testShowAtLocation() 736 final int xOff = 11; in testShowAsDropDownWithOffsets() local 739 mActivityRule.runOnUiThread(() -> mPopupWindow.showAsDropDown(upperAnchor, xOff, yOff)); in testShowAsDropDownWithOffsets() 744 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()
|