Searched refs:keycode (Results 1 – 6 of 6) sorted by relevance
24 KeypressEvent::KeypressEvent(const std::string source, uint32_t keycode, bool keydown) { in KeypressEvent() argument26 this->keycode = keycode; in KeypressEvent()33 parcel->writeUint32(keycode); in writeToParcel()42 keycode = parcel->readUint32(); in readFromParcel()
28 std::string getDisplayName(int keycode);
31 std::string Keymap::getDisplayName(int keycode) { in getDisplayName() argument32 auto iter = mKeyMap.find(keycode), end = mKeyMap.end(); in getDisplayName()35 ss << "unknown " << keycode; in getDisplayName()
584 public final int keycode; field in KeypressEvent600 keycode = in.readInt(); in KeypressEvent()612 dest.writeInt(keycode); in writeToParcel()621 other.keycode == keycode && in equals()629 return Objects.hash(source, keycode, isKeydown); in hashCode()634 return"Event{source = " + source + ", keycode = " + keycode + in toString()639 return keycodeToString(keycode); in keycodeToString()648 public static String keycodeToString(int keycode) { in keycodeToString() argument649 String ret = KEYCODE_NAME_MAP.get(keycode); in keycodeToString()650 return ret != null ? ret : "0x" + Integer.toHexString(keycode); in keycodeToString()
28 KeypressEvent(const std::string source = "", uint32_t keycode = 0, bool keydown = false);31 uint32_t keycode; member
150 def send_keycode(self, keycode: str) -> None: