Home
last modified time | relevance | path

Searched refs:OFFSET (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DBlurMaskFilterTest.java37 private static final int OFFSET = 10; field in BlurMaskFilterTest
53 canvas.drawRect(CENTER - OFFSET, CENTER - OFFSET, CENTER + OFFSET, CENTER + OFFSET, paint); in testBlurMaskFilter()
56 if (x < CENTER - OFFSET - CHECK_RADIUS || y < CENTER - OFFSET - CHECK_RADIUS) { in testBlurMaskFilter()
59 } else if (x > CENTER - OFFSET + RADIUS && y > CENTER - OFFSET + RADIUS) { in testBlurMaskFilter()
62 } else if (x > CENTER - OFFSET - RADIUS && y > CENTER - OFFSET - RADIUS) { in testBlurMaskFilter()
DDashPathEffectTest.java46 private static final int OFFSET = 5; field in DashPathEffectTest
52 PathEffect effect = new DashPathEffect(PATTERN, OFFSET); in testDashPathEffect()
69 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET); in testDashPathEffect()
/cts/tests/tests/os/src/android/os/cts/
DCountDownTimerTest.java30 private final long OFFSET = 200; field in CountDownTimerTest
45 final long TIMEOUT_MSEC = mActivity.MILLISINFUTURE + mActivity.INTERVAL + OFFSET * count; in testCountDownTimer()
48 assertEqualsTickTime(mActivity.tickTimes, OFFSET); in testCountDownTimer()
52 final long DELAY_MSEC = mActivity.INTERVAL + OFFSET; in testCountDownTimerCancel()
63 assertEqualsTickTime(mActivity.tickTimes, OFFSET); in testCountDownTimerCancel()
/cts/tests/tests/opengl/src/android/opengl/cts/
DWrapperTest.java69 final int OFFSET = 5; in testGetIntegerv1() local
70 ByteBuffer oversizeByteBuf = ByteBuffer.allocateDirect(4 * (formatCount+OFFSET)); in testGetIntegerv1()
72 oversizeIntBuf.position(OFFSET); in testGetIntegerv1()
75 assertEquals(oversizeIntBuf.get(OFFSET), fullIntBuf.get(0)); in testGetIntegerv1()
125 final int OFFSET = 5; in testGetIntegerv2() local
126 ByteBuffer oversizeByteBuf = ByteBuffer.allocateDirect(4 * (formatCount+OFFSET)); in testGetIntegerv2()
128 oversizeIntBuf.position(OFFSET); in testGetIntegerv2()
131 assertEquals(oversizeIntBuf.get(OFFSET), fullIntBuf.get(0)); in testGetIntegerv2()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java59 private static final int OFFSET = 10; field in DecodeAccuracyTest
272 return super.getHeight() + OFFSET; in getLargerHeightVideoFormat()
286 return super.getWidth() + OFFSET;