Home
last modified time | relevance | path

Searched refs:pressed (Results 1 - 19 of 19) sorted by relevance

/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dkey_option.cpp53 void KeyOption::SetFinalKeyDown(bool pressed) in SetFinalKeyDown() argument
55 isFinalKeyDown_ = pressed; in SetFinalKeyDown()
H A Dkey_event.cpp901 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 Dpointer_event.cpp74 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 Dmock_key_event.cpp92 void KeyEvent::KeyItem::SetPressed(bool pressed) in SetPressed() argument
94 pressed_ = pressed; in SetPressed()
H A Dmock_pointer_event.cpp51 void PointerEvent::PointerItem::SetPressed(bool pressed) in SetPressed() argument
53 pressed_ = pressed; in SetPressed()
/foundation/arkui/ace_engine/adapter/preview/entrance/samples/
H A Devent_adapter.cpp91 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 Dtheme.cpp40 buttonStyle_.pressed = StyleDefault::GetButtonPressedStyle(); in InitButtonStyle()
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Dkey_option.h39 * @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 Dpointer_event.h51 * 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 Dkey_event.h2827 * 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 Dtheme.h48 /** Style when pressed */
49 Style pressed; member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_model_ng.h25 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 Dgesture_event.h190 void SetPressed(bool pressed) in SetPressed() argument
192 pressed_ = pressed; in SetPressed()
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dpointer_event.h62 bool pressed = false; member
/foundation/graphic/graphic_2d/rosen/modules/glfw_render_context/export/
H A Dglfw_render_context.h27 using OnMouseButtonFunc = std::function<void(int button, bool pressed, int mods)>;
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dinput_manager_inject_test.cpp45 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 Dui_button.cpp107 buttonStyles_[PRESSED] = &(theme->GetButtonStyle().pressed); in SetupThemeStyles()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dmmi_event_convertor.cpp527 event.pressed = pointerItem.IsPressed(); in ConvertPointerEvent()
/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/
H A Dchip.js242 opacity: { normal: 1, hover: 0.95, pressed: 0.9 },

Completed in 19 milliseconds