Searched refs:mEventTime (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 60 private long mEventTime; field in KeyEventTest 67 mEventTime = SystemClock.uptimeMillis(); in setup() 74 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5); in testConstructor() 76 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testConstructor() 79 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() 87 new KeyEvent(keyEvent, mEventTime, 1); in testConstructor() 115 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testMetaKeyStates() 124 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_1, 4, in testMetaKeyStates() 133 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_2, 3, in testMetaKeyStates() [all …]
|
D | MotionEventTest.java | 62 private long mEventTime; field in MotionEventTest 78 mEventTime = SystemClock.uptimeMillis(); in setup() 79 mMotionEvent1 = MotionEvent.obtain(mDownTime, mEventTime, in setup() 81 mMotionEvent2 = MotionEvent.obtain(mDownTime, mEventTime, in setup() 101 mMotionEvent1 = MotionEvent.obtain(mDownTime, mEventTime, in testObtainBasic() 105 assertEquals(mEventTime, mMotionEvent1.getEventTime()); in testObtainBasic() 142 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainAllFields() 147 assertEquals(mEventTime, mMotionEventDynamic.getEventTime()); in testObtainAllFields() 176 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainFromPropertyArrays() 196 mMotionEvent2.addBatch(mEventTime + 10, X_3F + 5.0f, Y_4F + 5.0f, 0.5f, 0.5f, 0); in testObtainNoHistory() [all …]
|
D | GestureDetectorTest.java | 55 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()
|