Searched refs:mDownTime (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 59 private long mDownTime; field in KeyEventTest 66 mDownTime = 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() 89 new KeyEvent(mDownTime, "test", 0, KeyEvent.FLAG_SOFT_KEYBOARD); in testConstructor() 95 mKeyEvent = new KeyEvent(mDownTime, characters, 0, KeyEvent.FLAG_SOFT_KEYBOARD); in testGetCharacters() 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() [all …]
|
D | GestureDetectorTest.java | 54 private long mDownTime; field in GestureDetectorTest 69 mDownTime = SystemClock.uptimeMillis(); in setup() 71 mButtonPressPrimaryMotionEvent = MotionEvent.obtain(mDownTime, mEventTime, in setup() 75 mButtonPressSecondaryMotionEvent = MotionEvent.obtain(mDownTime, mEventTime, in setup()
|
D | MotionEventTest.java | 61 private long mDownTime; field in MotionEventTest 77 mDownTime = 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() 104 assertEquals(mDownTime, mMotionEvent1.getDownTime()); in testObtainBasic() 142 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainAllFields() 146 assertEquals(mDownTime, mMotionEventDynamic.getDownTime()); in testObtainAllFields() 176 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainFromPropertyArrays() 438 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testGetCurrentDataWithTwoPointers() [all …]
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | TouchHelper.java | 30 private long mDownTime = 0; field in TouchHelper 54 mDownTime = SystemClock.uptimeMillis(); in touchDown() 55 MotionEvent event = getMotionEvent(mDownTime, mDownTime, MotionEvent.ACTION_DOWN, x, y); in touchDown() 61 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_UP, x, y); in touchUp() 62 mDownTime = 0; in touchUp()
|