Searched refs:OFFSET (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BlurMaskFilterTest.java | 36 private static final int OFFSET = 10; field in BlurMaskFilterTest 51 canvas.drawRect(CENTER - OFFSET, CENTER - OFFSET, CENTER + OFFSET, CENTER + OFFSET, paint); in testBlurMaskFilter() 54 if (x < CENTER - OFFSET - RADIUS || y < CENTER - OFFSET - RADIUS) { in testBlurMaskFilter() 57 } else if (x > CENTER - OFFSET + RADIUS && y > CENTER - OFFSET + RADIUS) { in testBlurMaskFilter()
|
D | DashPathEffectTest.java | 45 private static final int OFFSET = 5; field in DashPathEffectTest 51 PathEffect effect = new DashPathEffect(PATTERN, OFFSET); in testDashPathEffect() 68 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET); in testDashPathEffect()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CountDownTimerTest.java | 30 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/ |
D | WrapperTest.java | 69 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/ |
D | DecodeAccuracyTest.java | 56 private static final int OFFSET = 10; field in DecodeAccuracyTest 265 return super.getHeight() + OFFSET; in getLargerHeightVideoFormat() 269 return super.getHeight() * 2 + OFFSET; in getLargerHeightVideoFormat() 273 return super.getWidth() * 2 + OFFSET; in getLargerHeightVideoFormat() 282 return super.getWidth() + OFFSET; 286 return super.getHeight() * 2 + OFFSET; 290 return super.getWidth() * 2 + OFFSET;
|