Searched refs:mDownTime (Results 1 – 4 of 4) sorted by relevance
/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()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 64 private long mDownTime; field in KeyEventTest 86 mDownTime = SystemClock.uptimeMillis(); in setup() 94 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5); in testConstructor() 96 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testConstructor() 99 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testConstructor() 102 new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testConstructor() 109 new KeyEvent(mDownTime, "test", 0, KeyEvent.FLAG_SOFT_KEYBOARD); in testConstructor() 115 mKeyEvent = new KeyEvent(mDownTime, characters, 0, KeyEvent.FLAG_SOFT_KEYBOARD); in testGetCharacters() 135 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0, 5, in testMetaKeyStates() 144 mKeyEvent = new KeyEvent(mDownTime, mEventTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_1, 4, in testMetaKeyStates() [all …]
|
D | GestureDetectorTest.java | 60 private long mDownTime; field in GestureDetectorTest 80 mDownTime = SystemClock.uptimeMillis(); in setup() 82 mButtonPressPrimaryMotionEvent = MotionEvent.obtain(mDownTime, mEventTime, in setup() 86 mButtonPressSecondaryMotionEvent = MotionEvent.obtain(mDownTime, mEventTime, in setup()
|
D | MotionEventTest.java | 84 private long mDownTime; field in MotionEventTest 117 mDownTime = SystemClock.uptimeMillis(); in setup() 120 mMotionEvent1 = MotionEvent.obtain(mDownTime, mEventTime, in setup() 122 mMotionEvent2 = MotionEvent.obtain(mDownTime, mEventTime, in setup() 142 mMotionEvent1 = MotionEvent.obtain(mDownTime, mEventTime, in testObtainBasic() 145 assertEquals(mDownTime, mMotionEvent1.getDownTime()); in testObtainBasic() 185 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainAllFields() 189 assertEquals(mDownTime, mMotionEventDynamic.getDownTime()); in testObtainAllFields() 220 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainFromPropertyArrays() 245 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainWithClassification() [all …]
|