Home
last modified time | relevance | path

Searched refs:OFFSET (Results 1 – 8 of 8) 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()
70 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/hostsidetests/securitybulletin/securityPatch/CVE-2019-2206/
Dpoc.cpp25 #define OFFSET 7 macro
60 (NFC_HDR *)malloc(sizeof(uint8_t) * (OFFSET + PLENGTH) * 2); in main()
78 p_resp->offset = OFFSET; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2019/
Dpoc.cpp23 #define OFFSET 8 macro
54 p_c_apdu->offset = OFFSET; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2039/
Dpoc.cpp24 #define OFFSET 8 macro
71 p_resp->offset = OFFSET; in main()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java62 private static final int OFFSET = 10; field in DecodeAccuracyTest
298 return super.getHeight() + OFFSET; in getLargerHeightVideoFormat()
312 return super.getWidth() + OFFSET;