Home
last modified time | relevance | path

Searched refs:mGenerator (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/
DSingleAxisSwipeDetectorTest.java58 private TouchEventGenerator mGenerator; field in SingleAxisSwipeDetectorTest
71 mGenerator = new TouchEventGenerator((ev) -> mDetector.onTouchEvent(ev)); in setup()
89 mGenerator.put(0, 100, 100); in testDragStart_verticalPositive()
90 mGenerator.move(0, 100, 100 - mTouchSlop); in testDragStart_verticalPositive()
99 mGenerator.put(0, 100, 100); in testDragStart_verticalNegative()
100 mGenerator.move(0, 100, 100 + mTouchSlop); in testDragStart_verticalNegative()
107 mGenerator.put(0, 100, 100); in testDragStart_failed()
108 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_failed()
118 mGenerator.put(0, 100, 100); in testDragStart_horizontalPositive()
119 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_horizontalPositive()
[all …]
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DFileTunerHal.java54 private final Random mGenerator; field in FileTunerHal
66 mGenerator = Utils.createTestRandom(); in FileTunerHal()
229 mGenerator.nextInt(TS_PACKET_COUNT_PER_PAYLOAD) * TS_PACKET_SIZE); in readInternal()