Searched refs:KeyboardClassifier (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/libs/input/rust/ |
D | lib.rs | 27 pub use keyboard_classifier::KeyboardClassifier; 70 type KeyboardClassifier; typedef 72 fn create_keyboard_classifier() -> Box<KeyboardClassifier>; in create_keyboard_classifier() 75 classifier: &mut KeyboardClassifier, in notify_keyboard_changed() argument 81 fn get_keyboard_type(classifier: &mut KeyboardClassifier, device_id: i32) -> u32; in get_keyboard_type() argument 83 fn is_finalized(classifier: &mut KeyboardClassifier, device_id: i32) -> bool; in is_finalized() argument 86 classifier: &mut KeyboardClassifier, in process_key() argument 150 fn create_keyboard_classifier() -> Box<KeyboardClassifier> { in create_keyboard_classifier() 151 Box::new(KeyboardClassifier::new()) in create_keyboard_classifier() 155 classifier: &mut KeyboardClassifier, in notify_keyboard_changed() argument [all …]
|
D | keyboard_classifier.rs | 44 pub struct KeyboardClassifier { struct 54 impl KeyboardClassifier { implementation 172 use crate::keyboard_classifier::KeyboardClassifier; 181 let mut classifier = KeyboardClassifier::new(); in classify_external_alphabetic_keyboard() 191 let mut classifier = KeyboardClassifier::new(); in classify_external_non_alphabetic_keyboard() 200 let mut classifier = KeyboardClassifier::new(); in classify_mouse_pretending_as_keyboard() 213 let mut classifier = KeyboardClassifier::new(); in classify_touchpad_pretending_as_keyboard() 226 let mut classifier = KeyboardClassifier::new(); in classify_stylus_pretending_as_keyboard() 239 let mut classifier = KeyboardClassifier::new(); in classify_dpad_pretending_as_keyboard() 252 let mut classifier = KeyboardClassifier::new(); in classify_joystick_pretending_as_keyboard() [all …]
|
/frameworks/native/include/input/ |
D | KeyboardClassifier.h | 29 struct KeyboardClassifier; 36 class KeyboardClassifier { 38 KeyboardClassifier(); 48 std::optional<rust::Box<android::input::keyboardClassifier::KeyboardClassifier>>
|
/frameworks/native/libs/input/ |
D | KeyboardClassifier.cpp | 32 KeyboardClassifier::KeyboardClassifier() { in KeyboardClassifier() function in android::KeyboardClassifier 38 KeyboardType KeyboardClassifier::getKeyboardType(DeviceId deviceId) { in getKeyboardType() 55 void KeyboardClassifier::notifyKeyboardChanged(DeviceId deviceId, in notifyKeyboardChanged() 81 void KeyboardClassifier::processKey(DeviceId deviceId, int32_t evdevCode, uint32_t metaState) { in processKey()
|
D | Android.bp | 228 "KeyboardClassifier.cpp",
|
/frameworks/native/services/inputflinger/tests/ |
D | InterfaceMocks.h | 81 KeyboardClassifier& getKeyboardClassifier() override { return *mClassifier; }; in getKeyboardClassifier() 85 std::unique_ptr<KeyboardClassifier> mClassifier = std::make_unique<KeyboardClassifier>();
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReaderContext.h | 69 virtual KeyboardClassifier& getKeyboardClassifier() = 0;
|
D | InputReader.h | 160 KeyboardClassifier& getKeyboardClassifier() override; 182 std::unique_ptr<KeyboardClassifier> mKeyboardClassifier;
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | MapperHelpers.h | 341 KeyboardClassifier& getKeyboardClassifier() override { return *mClassifier; } in getKeyboardClassifier() 345 std::unique_ptr<KeyboardClassifier> mClassifier = std::make_unique<KeyboardClassifier>();
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 105 mKeyboardClassifier(std::make_unique<KeyboardClassifier>()), in InputReader() 1080 KeyboardClassifier& InputReader::ContextImpl::getKeyboardClassifier() { in getKeyboardClassifier()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.cpp | 334 KeyboardClassifier& classifier = getDeviceContext().getContext()->getKeyboardClassifier(); in processKey()
|