Home
last modified time | relevance | path

Searched refs:isPressed (Results 1 – 25 of 76) sorted by relevance

1234

/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-building-ui-interactions.md16 click事件作为一个函数定义在js文件中,可以更改isPressed的状态,从而更新显示的image组件。如果isPressed为真,则点赞数加1。该函数在hml文件中对应的div组件上生效,点赞…
60 isPressed: false,
65 if (!this.isPressed) {
73 this.isPressed = !this.isPressed;
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-building-ui-interactions.md18 …s file. You can change the value of **isPressed** to update the **\<image>** component. If the val…
62 isPressed: false,
67 if (!this.isPressed) {
75 this.isPressed = !this.isPressed;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_group_paint_method.cpp62 nextIsPressed = nextId < 0 ? child.second.isPressed : itemPosition_[nextId].isPressed; in UpdateDividerList()
63 if (!isFirstItem && !(child.second.isPressed || nextIsPressed)) { in UpdateDividerList()
79 if (!itemPosition_.at(index).isPressed) { in UpdateDividerList()
H A Dlist_paint_method.cpp112 false : itemPosition_[nextId].isPressed; in UpdateDividerList()
113 if (!isFirstItem && !(child.second.isPressed || nextIsPressed)) { in UpdateDividerList()
130 if (!itemPosition_.at(index.first).isPressed) { in UpdateDividerList()
H A Dlist_item_group_pattern.h271 void SetItemPressed(bool isPressed, int32_t id) in SetItemPressed() argument
273 if (isPressed) { in SetItemPressed()
H A Dlist_item_group_paint_method.h63 child.second.isPressed = true; in DECLARE_ACE_TYPE()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-input-kit/
H A Djs-apis-inputeventclient-sys.md46 isPressed: true,
60 isPressed: false,
106 isPressed: true,
120 isPressed: false,
373 | isPressed | boolean | 是 | 否 | 按键是否按下。<br>true表示按键按下,false表示按键抬起。 |
/ohos5.0/docs/zh-cn/application-dev/device/input/
H A Dinputeventclient-guidelines.md30 isPressed: true,
44 isPressed: false,
/ohos5.0/base/update/updater/services/ui/driver/
H A Dpointers_input_device.cpp59 void PointersInputDevice::SetFingerDown(bool isPressed) in SetFingerDown() argument
61 touchFingerDown_ = isPressed; in SetFingerDown()
H A Dpointers_input_device.h35 void SetFingerDown(bool isPressed);
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/
H A Djs-apis-inputeventclient-sys.md46 isPressed: true,
60 isPressed: false,
106 isPressed: true,
120 isPressed: false,
373 | isPressed | boolean | Yes | No| Whether the key is pressed.<br>The value **true** indica…
/ohos5.0/base/powermgr/power_manager/test/unittest/src/scenario_test/wakeup_suspend/
H A Dpower_wakeup_test.cpp59 …_t pointerId, int32_t deviceId, const std::pair<int32_t, int32_t>& displayLocation, bool isPressed) in CreatePointerItem() argument
66 item.SetPressed(isPressed); in CreatePointerItem()
/ohos5.0/docs/en/application-dev/device/input/
H A Dinputeventclient-guidelines.md30 isPressed: true,
44 isPressed: false,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_pattern.h171 void HandleTouchEvent(bool isPressed, const Offset& globalLocation);
191 void HandleButtonTouchEvent(bool isPressed, int32_t index);
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/
H A Djs_register_module.cpp41 bool isPressed = false; in GetInjectionEventData() local
42 if (GetNamedPropertyBool(env, keyHandle, "isPressed", isPressed) != RET_OK) { in GetInjectionEventData()
71 auto keyAction = isPressed ? KeyEvent::KEY_ACTION_DOWN : KeyEvent::KEY_ACTION_UP; in GetInjectionEventData()
75 item.SetPressed(isPressed); in GetInjectionEventData()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_paint_method.h94 void SetIsPressed(bool isPressed) in SetIsPressed() argument
96 isPressed_ = isPressed; in SetIsPressed()
H A Ddot_indicator_modifier.h230 void SetIsPressed(bool isPressed) in SetIsPressed() argument
232 isPressed_ = isPressed; in SetIsPressed()
/ohos5.0/base/update/updater/services/ui/control/
H A Devent_listener.cpp196 void KeyListener::SetButtonPressed(bool isPressed) in SetButtonPressed() argument
198 isButtonPressed_ = isPressed; in SetButtonPressed()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dstate_style_manager.cpp243 bool isPressed = state == UI_STATE_PRESSED; in PostListItemPressStyleTask() local
253 listGroupPattern->SetItemPressed(isPressed, nodeId); in PostListItemPressStyleTask()
259 listPattern->SetItemPressed(isPressed, nodeId); in PostListItemPressStyleTask()
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dgtx_input_event_sender.h36 bool isPressed = false; member
/ohos5.0/docs/zh-cn/readme/
H A D多模输入子系统.md50 isPressed: true, // 按键事件的按键类型:true:down false:up
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A D_o_h___native_x_component___touch_point.md33 | bool [isPressed](_o_h___native_x_component.md#ispressed) = false | 当前点是否被按下。|
/ohos5.0/base/msdp/device_status/test/unittest/intention/cooperate/include/
H A Dcooperate_plugin_test.h68 const std::pair<int32_t, int32_t> &displayLocation, bool isPressed);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_button_theme.h83 static Color BackgroundColor(const std::optional<JSThemeColors>& themeColors, bool isPressed) in BackgroundColor() argument
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dgtx_input_event_sender.cpp61 dstTouchPoint.isPressed = srcTouchPoint.IsPressed(); in SetTouchEvent()

1234