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.java59 private TouchEventGenerator mGenerator; field in SingleAxisSwipeDetectorTest
73 mGenerator = new TouchEventGenerator((ev) -> mDetector.onTouchEvent(ev)); in setup()
93 mGenerator.put(0, 100, 100); in testDragStart_verticalPositive()
94 mGenerator.move(0, 100, 100 - mTouchSlop); in testDragStart_verticalPositive()
104 mGenerator.put(0, 100, 100); in testDragStart_verticalNegative()
105 mGenerator.move(0, 100, 100 + mTouchSlop); in testDragStart_verticalNegative()
112 mGenerator.put(0, 100, 100); in testDragStart_failed()
113 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_failed()
124 mGenerator.put(0, 100, 100); in testDragStart_horizontalPositive()
125 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()