Home
last modified time | relevance | path

Searched refs:mEventTime (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java60 private long mEventTime; field in KeyEventTest
73 mEventTime = SystemClock.uptimeMillis(); in setup()
80 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5); in testConstructor()
82 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testConstructor()
85 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testConstructor()
88 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testConstructor()
93 new KeyEvent(keyEvent, mEventTime, 1); in testConstructor()
121 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testMetaKeyStates()
130 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_1, 4, in testMetaKeyStates()
139 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_2, 3, in testMetaKeyStates()
[all …]
DMotionEventTest.java62 private long mEventTime; field in MotionEventTest
84 mEventTime = SystemClock.uptimeMillis(); in setup()
85 mMotionEvent1 = MotionEvent.obtain(mDownTime, mEventTime, in setup()
87 mMotionEvent2 = MotionEvent.obtain(mDownTime, mEventTime, in setup()
107 mMotionEvent1 = MotionEvent.obtain(mDownTime, mEventTime, in testObtainBasic()
111 assertEquals(mEventTime, mMotionEvent1.getEventTime()); in testObtainBasic()
148 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainAllFields()
153 assertEquals(mEventTime, mMotionEventDynamic.getEventTime()); in testObtainAllFields()
182 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainFromPropertyArrays()
202 mMotionEvent2.addBatch(mEventTime + 10, X_3F + 5.0f, Y_4F + 5.0f, 0.5f, 0.5f, 0); in testObtainNoHistory()
[all …]
DGestureDetectorTest.java55 private long mEventTime; field in GestureDetectorTest
70 mEventTime = SystemClock.uptimeMillis(); in setup()
71 mButtonPressPrimaryMotionEvent = MotionEvent.obtain(mDownTime, mEventTime, in setup()
75 mButtonPressSecondaryMotionEvent = MotionEvent.obtain(mDownTime, mEventTime, in setup()
DViewUnbufferedTest.java106 final long mEventTime; field in ViewUnbufferedTest.ReceivedEvent
113 mEventTime = eventTime; in ReceivedEvent()
149 assertEquals(sentEvent.getEventTime(), receivedEvent.mEventTime); in compareEvent()