Home
last modified time | relevance | path

Searched refs:MonkeySourceRandom (Results 1 – 5 of 5) sorted by relevance

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkey.java249 float[] mFactors = new float[MonkeySourceRandom.FACTORZ_COUNT];
594 for (int i = 0; i < MonkeySourceRandom.FACTORZ_COUNT; i++) { in run()
674 mEventSource = new MonkeySourceRandom(mRandom, mMainApps, in run()
678 for (int i = 0; i < MonkeySourceRandom.FACTORZ_COUNT; i++) { in run()
680 ((MonkeySourceRandom) mEventSource).setFactors(i, mFactors[i]); in run()
685 ((MonkeySourceRandom) mEventSource).generateActivity(); in run()
827 int i = MonkeySourceRandom.FACTOR_TOUCH; in processOptions()
830 int i = MonkeySourceRandom.FACTOR_MOTION; in processOptions()
833 int i = MonkeySourceRandom.FACTOR_TRACKBALL; in processOptions()
836 int i = MonkeySourceRandom.FACTOR_ROTATION; in processOptions()
[all …]
DMonkeyKeyEvent.java112 + MonkeySourceRandom.getKeyName(mKeyCode)); in injectEvent()
DMonkeySourceRandom.java35 public class MonkeySourceRandom implements MonkeyEventSource { class
122 public MonkeySourceRandom(Random random, List<ComponentName> MainApps, in MonkeySourceRandom() method in MonkeySourceRandom
DMonkeySourceNetwork.java250 keyCode = MonkeySourceRandom.getKeyCode(keyName); in getKeyCode()
257 keyCode = MonkeySourceRandom.getKeyCode("KEYCODE_" + keyName.toUpperCase()); in getKeyCode()
DMonkeySourceScript.java683 int keyCode = MonkeySourceRandom.getKeyCode(key_name); in handleEvent()