Home
last modified time | relevance | path

Searched refs:key_state (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_controller.cpp940 jint key_state) { in sendPassThroughCommandNative() argument
945 ALOGI("key_code: %d, key_state: %d", key_code, key_state); in sendPassThroughCommandNative()
956 rawAddress, (uint8_t)key_code, (uint8_t)key_state); in sendPassThroughCommandNative()
968 jint key_state) { in sendGroupNavigationCommandNative() argument
973 ALOGI("key_code: %d, key_state: %d", key_code, key_state); in sendGroupNavigationCommandNative()
984 rawAddress, (uint8_t)key_code, (uint8_t)key_state); in sendGroupNavigationCommandNative()
/packages/modules/adb/
Dsysdeps_win32.cpp1615 BYTE key_state[256] = {0}; in _get_char_ignoring_modifier() local
1616 key_state[VK_SHIFT] = _is_shift_pressed(control_key_state) ? in _get_char_ignoring_modifier()
1618 key_state[VK_CONTROL] = _is_ctrl_pressed(control_key_state) ? in _get_char_ignoring_modifier()
1620 key_state[VK_MENU] = _is_alt_pressed(control_key_state) ? in _get_char_ignoring_modifier()
1622 key_state[VK_CAPITAL] = _is_capslock_on(control_key_state) ? in _get_char_ignoring_modifier()
1626 key_state[modifier] = TOASCII_KEY_OFF; in _get_char_ignoring_modifier()
1630 key_event->wVirtualScanCode, key_state, &translated, 0) == 1) { in _get_char_ignoring_modifier()