Home
last modified time | relevance | path

Searched refs:xOff (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Drsallocationcopy.rs8 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);
DRsAllocationCopyTest.java266 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 …]
DDebugContext.java230 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/
DPopupWindowTest.java643 final int xOff = 10; in testShowAtLocation() local
651 () -> mPopupWindow.showAtLocation(upperAnchor, Gravity.NO_GRAVITY, xOff, yOff)); in testShowAtLocation()
661 assertEquals(containingRect.left + popupContentViewInWindowXY[0] + xOff, in testShowAtLocation()
680 final int xOff = 11; in testShowAsDropDownWithOffsets() local
683 mActivityRule.runOnUiThread(() -> mPopupWindow.showAsDropDown(upperAnchor, xOff, yOff)); in testShowAsDropDownWithOffsets()
688 assertEquals(anchorXY[0] + xOff + viewInWindowXY[0], viewOnScreenXY[0]); in testShowAsDropDownWithOffsets()