Home
last modified time | relevance | path

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

/cts/tests/tests/systemui/src/android/systemui/cts/
DTouchHelper.java30 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/
DKeyEventTest.java59 private long mDownTime; field in KeyEventTest
72 mDownTime = 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()
95 new KeyEvent(mDownTime, "test", 0, KeyEvent.FLAG_SOFT_KEYBOARD); in testConstructor()
101 mKeyEvent = new KeyEvent(mDownTime, characters, 0, KeyEvent.FLAG_SOFT_KEYBOARD); in testGetCharacters()
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()
[all …]
DGestureDetectorTest.java54 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()
DMotionEventTest.java61 private long mDownTime; field in MotionEventTest
83 mDownTime = 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()
110 assertEquals(mDownTime, mMotionEvent1.getDownTime()); in testObtainBasic()
148 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainAllFields()
152 assertEquals(mDownTime, mMotionEventDynamic.getDownTime()); in testObtainAllFields()
182 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testObtainFromPropertyArrays()
444 mMotionEventDynamic = MotionEvent.obtain(mDownTime, mEventTime, in testGetCurrentDataWithTwoPointers()
[all …]