Searched refs:lastKey (Results 1 – 1 of 1) sorted by relevance
402 int lastKey = 0; in generateEvents() local427 lastKey = NAV_KEYS[mRandom.nextInt(NAV_KEYS.length)]; in generateEvents()429 lastKey = MAJOR_NAV_KEYS[mRandom.nextInt(MAJOR_NAV_KEYS.length)]; in generateEvents()431 lastKey = SYS_KEYS[mRandom.nextInt(SYS_KEYS.length)]; in generateEvents()443 lastKey = 1 + mRandom.nextInt(KeyEvent.getMaxKeyCode() - 1); in generateEvents()446 if (lastKey != KeyEvent.KEYCODE_POWER in generateEvents()447 && lastKey != KeyEvent.KEYCODE_ENDCALL in generateEvents()448 && lastKey != KeyEvent.KEYCODE_SLEEP in generateEvents()449 && lastKey != KeyEvent.KEYCODE_SOFT_SLEEP in generateEvents()450 && PHYSICAL_KEY_EXISTS[lastKey]) { in generateEvents()[all …]