Searched refs:KeyState (Results 1 – 2 of 2) sorted by relevance
53 private static class KeyState { class in InputHalService69 private final SparseArray<KeyState> mKeyStates = new SparseArray<>();166 KeyState state = mKeyStates.get(code);168 state = new KeyState();
42 static void sendMediaKeyEvent(int, KeyState);79 void SendKeyEvent(uint8_t key, KeyState state) { in SendKeyEvent()309 static void sendMediaKeyEvent(int key, KeyState state) { in sendMediaKeyEvent()316 state == KeyState::PUSHED ? JNI_TRUE : JNI_FALSE); in sendMediaKeyEvent()