Home
last modified time | relevance | path

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

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyKeyEvent.java45 public MonkeyKeyEvent(long downTime, long eventTime, int action, in MonkeyKeyEvent() argument
49 mDownTime = downTime; in MonkeyKeyEvent()
80 public void setDownTime(long downTime) { in setDownTime() argument
84 mDownTime = downTime; in setDownTime()
125 long downTime = mDownTime; in injectEvent() local
126 if (downTime <= 0) { in injectEvent()
127 downTime = eventTime; in injectEvent()
129 keyEvent = new KeyEvent(downTime, eventTime, mAction, mKeyCode, in injectEvent()
DMonkeySourceScript.java284 long downTime = Long.parseLong(args[0]); in handleEvent() local
293 MonkeyKeyEvent e = new MonkeyKeyEvent(downTime, eventTime, action, code, repeat, in handleEvent()
308 long downTime = Long.parseLong(args[0]); in handleEvent() local
328 e.setDownTime(downTime) in handleEvent()
345 long downTime = Long.parseLong(args[0]); in handleEvent() local
377 e.setDownTime(downTime) in handleEvent()
388 e.setDownTime(downTime) in handleEvent()
447 long downTime = SystemClock.uptimeMillis(); in handleEvent() local
449 .setDownTime(downTime) in handleEvent()
450 .setEventTime(downTime) in handleEvent()
[all …]
DMonkeyMotionEvent.java93 public MonkeyMotionEvent setDownTime(long downTime) { in setDownTime() argument
94 mDownTime = downTime; in setDownTime()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardDrag.java209 long downTime; in onCreate()
217 downTime = event.getDownTime(); in onCreate()