Searched refs:yOff (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RsAllocationCopyTest.java | 267 int yOff = random.nextInt(height); in test_RsAllocationCopy2D_Byte() local 269 int yCount = random.nextInt(height - yOff); in test_RsAllocationCopy2D_Byte() 287 s.set_yOff(yOff); in test_RsAllocationCopy2D_Byte() 298 if (yOff <= i && i < yOff + yCount && in test_RsAllocationCopy2D_Byte() 321 int yOff = random.nextInt(height); in test_RsAllocationCopy2D_Short() local 323 int yCount = random.nextInt(height - yOff); in test_RsAllocationCopy2D_Short() 343 s.set_yOff(yOff); in test_RsAllocationCopy2D_Short() 354 if (yOff <= i && i < yOff + yCount && in test_RsAllocationCopy2D_Short() 377 int yOff = random.nextInt(height); in test_RsAllocationCopy2D_Int() local 379 int yCount = random.nextInt(height - yOff); in test_RsAllocationCopy2D_Int() [all …]
|
D | rsallocationcopy.rs | 9 int yOff = 0; 18 rsAllocationCopy2DRange(aOut2D, xOff, yOff, 0, 0, xCount, yCount, aIn2D, xOff, yOff, 0, 0);
|
D | oob.rs | 21 int yOff = 0; 33 rsAllocationCopy2DRange(aOut2D, dstXOff, yOff, 0, 0, xCount, yCount, 34 aIn2D, srcXOff, yOff, 0, 0);
|
D | DebugContext.java | 231 int yOff = AC.RN.nextInt(AC.Height); in testDebugContextRsAllocationCopy2D_Short_Normal() local 233 int yCount = AC.RN.nextInt(AC.Height - yOff); in testDebugContextRsAllocationCopy2D_Short_Normal() 237 Soob.set_yOff(yOff); in testDebugContextRsAllocationCopy2D_Short_Normal() 255 if (yOff <= i && i < yOff + yCount && in testDebugContextRsAllocationCopy2D_Short_Normal() 405 int yOff = AC.RN.nextInt(AC.Height); in testDebugContextRsAllocationCopy2D_Short_BadYCount() local 410 Soob.set_yOff(yOff); in testDebugContextRsAllocationCopy2D_Short_BadYCount() 412 Soob.set_yCount(AC.Height - yOff + 1); // Invalid Y count by 1 in testDebugContextRsAllocationCopy2D_Short_BadYCount() 435 int yOff = random.nextInt(height); in testDebugContextRsAllocationCopy2D_Short_WrongD() local 437 int yCount = random.nextInt(height - yOff); in testDebugContextRsAllocationCopy2D_Short_WrongD() 453 Soob.set_yOff(yOff); in testDebugContextRsAllocationCopy2D_Short_WrongD()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 656 final int yOff = windowInsets.getSystemWindowInsetTop() + 21; in testShowAtLocation() local 663 () -> mPopupWindow.showAtLocation(upperAnchor, Gravity.NO_GRAVITY, xOff, yOff)); in testShowAtLocation() 674 …assertEquals(containingRect.top + popupContentViewInWindowXY[1] + yOff, popupContentViewOnScreenXY… in testShowAtLocation() 691 final int yOff = 12; in testShowAsDropDownWithOffsets() local 693 mActivityRule.runOnUiThread(() -> mPopupWindow.showAsDropDown(upperAnchor, xOff, yOff)); in testShowAsDropDownWithOffsets() 699 assertEquals(anchorXY[1] + height + yOff + viewInWindowXY[1], viewOnScreenXY[1]); in testShowAsDropDownWithOffsets()
|