/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | key_option.cpp | 53 void KeyOption::SetFinalKeyDown(bool pressed) in SetFinalKeyDown() argument 55 isFinalKeyDown_ = pressed; in SetFinalKeyDown()
|
H A D | key_event.cpp | 901 void KeyEvent::KeyItem::SetPressed(bool pressed) in SetPressed() argument 903 pressed_ = pressed; in SetPressed() 999 int32_t pressed = keys_[i].IsPressed() ? 1 : 0; in ToString() local 1000 eventStr += "{pressed:" + std::to_string(pressed); in ToString()
|
H A D | pointer_event.cpp | 74 void PointerEvent::PointerItem::SetPressed(bool pressed) in SetPressed() argument 76 pressed_ = pressed; in SetPressed() 701 MMI_HILOGE("Exceed maximum allowed number of pressed buttons"); in SetButtonPressed()
|
/foundation/barrierfree/accessibility/services/test/mock/multimodalinput/src/ |
H A D | mock_key_event.cpp | 92 void KeyEvent::KeyItem::SetPressed(bool pressed) in SetPressed() argument 94 pressed_ = pressed; in SetPressed()
|
H A D | mock_pointer_event.cpp | 51 void PointerEvent::PointerItem::SetPressed(bool pressed) in SetPressed() argument 53 pressed_ = pressed; in SetPressed()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/samples/ |
H A D | event_adapter.cpp | 91 auto&& mouseButtonCbk = [this](int button, bool pressed, int mods) { in Initialize() 94 isMousePressed_ = pressed; in Initialize() 97 RecognizePointerEvent(pressed ? TouchType::DOWN : TouchType::UP); in Initialize()
|
/foundation/arkui/ui_lite/frameworks/themes/ |
H A D | theme.cpp | 40 buttonStyle_.pressed = StyleDefault::GetButtonPressedStyle(); in InitButtonStyle()
|
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/ |
H A D | key_option.h | 39 * @brief Sets previous keys, that is, the keys that are pressed first in a combination key. 55 * @brief Sets the final key, that is, the key that is last pressed or released in a combination key. 63 * @brief Checks whether the final key in a combination key is pressed or released. 64 * @return Returns <b>true</b> if the key is pressed; returns <b>false</b> if the key is released. 70 * @brief Sets whether the final key in a combination key is pressed or released. 71 * @param pressed Indicates whether the key is pressed. The value <b>true</b> means that the key 72 * is pressed, and the value <b>false</b> means that the key is released. 76 void SetFinalKeyDown(bool pressed); 80 * when the key is pressed an [all...] |
H A D | pointer_event.h | 51 * Indicates a pointer action representing that a finger is pressed on a touchscreen or touchpad. 94 * Indicates a pointer action representing that a button is pressed. 781 * @brief Obtains the time when the pointer is pressed. 788 * @brief Sets the time when the pointer is pressed. 796 * @brief Checks whether the pointer is pressed. 797 * @return Returns <b>true</b> if the pointer is pressed; returns <b>false</b> otherwise. 803 * @brief Sets whether to enable the pressed state for the pointer. 804 * @param pressed Specifies whether to set the pressed state for the pointer. 805 * The value <b>true</b> means to set the pressed stat [all...] |
H A D | key_event.h | 2827 * button is pressed. 3128 * @brief Obtains the time when the key is pressed. 3135 * @brief Sets the time when the key is pressed. 3158 * @brief Checks whether the key is pressed. 3159 * @return Returns <b>true</b> if the key is pressed; returns <b>false</b> otherwise. 3165 * @brief Sets whether to enable the pressed state for the key. 3166 * @param pressed Specifies whether to set the pressed state for the key. 3167 * The value <b>true</b> means to set the pressed state for the key, 3172 void SetPressed(bool pressed); [all...] |
/foundation/arkui/ui_lite/interfaces/kits/themes/ |
H A D | theme.h | 48 /** Style when pressed */ 49 Style pressed; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | button_model_ng.h | 25 ButtonConfiguration(const std::string& label, bool pressed, bool enabled) in ButtonConfiguration() argument 26 : CommonConfiguration(enabled), label_(label), pressed_(pressed) in ButtonConfiguration()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | gesture_event.h | 190 void SetPressed(bool pressed) in SetPressed() argument 192 pressed_ = pressed; in SetPressed()
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | pointer_event.h | 62 bool pressed = false; member
|
/foundation/graphic/graphic_2d/rosen/modules/glfw_render_context/export/ |
H A D | glfw_render_context.h | 27 using OnMouseButtonFunc = std::function<void(int button, bool pressed, int mods)>;
|
/foundation/multimodalinput/input/frameworks/proxy/events/test/ |
H A D | input_manager_inject_test.cpp | 45 void SetKeyEvent(int32_t act, int32_t code, bool pressed, int32_t time); 46 void SetPointerEvent(int32_t id, int32_t pressed, int32_t action, int32_t type); 47 void SetItemPointerEvent(int32_t id, int32_t pressed, int32_t action, int32_t type); 77 void InputManagerInjectTest::SetKeyEvent(int32_t act, int32_t code, bool pressed, int32_t time) in SetKeyEvent() argument 87 item.SetPressed(pressed); in SetKeyEvent() 93 void InputManagerInjectTest::SetPointerEvent(int32_t id, int32_t pressed, int32_t action, int32_t type) in SetPointerEvent() argument 98 pointerEvent->SetButtonPressed(pressed); in SetPointerEvent() 106 void InputManagerInjectTest::SetItemPointerEvent(int32_t id, int32_t pressed, int32_t action, int32_t type) in SetItemPointerEvent() argument 116 pointerEvent->SetButtonPressed(pressed); in SetItemPointerEvent()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_button.cpp | 107 buttonStyles_[PRESSED] = &(theme->GetButtonStyle().pressed); in SetupThemeStyles()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | mmi_event_convertor.cpp | 527 event.pressed = pointerItem.IsPressed(); in ConvertPointerEvent()
|
/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/ |
H A D | chip.js | 242 opacity: { normal: 1, hover: 0.95, pressed: 0.9 },
|