/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-building-ui-interactions.md | 16 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 D | ui-js-building-ui-interactions.md | 18 …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 D | list_item_group_paint_method.cpp | 62 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 D | list_paint_method.cpp | 112 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 D | list_item_group_pattern.h | 271 void SetItemPressed(bool isPressed, int32_t id) in SetItemPressed() argument 273 if (isPressed) { in SetItemPressed()
|
H A D | list_item_group_paint_method.h | 63 child.second.isPressed = true; in DECLARE_ACE_TYPE()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-input-kit/ |
H A D | js-apis-inputeventclient-sys.md | 46 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 D | inputeventclient-guidelines.md | 30 isPressed: true, 44 isPressed: false,
|
/ohos5.0/base/update/updater/services/ui/driver/ |
H A D | pointers_input_device.cpp | 59 void PointersInputDevice::SetFingerDown(bool isPressed) in SetFingerDown() argument 61 touchFingerDown_ = isPressed; in SetFingerDown()
|
H A D | pointers_input_device.h | 35 void SetFingerDown(bool isPressed);
|
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/ |
H A D | js-apis-inputeventclient-sys.md | 46 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 D | power_wakeup_test.cpp | 59 …_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 D | inputeventclient-guidelines.md | 30 isPressed: true, 44 isPressed: false,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
H A D | calendar_picker_pattern.h | 171 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 D | js_register_module.cpp | 41 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 D | dot_indicator_paint_method.h | 94 void SetIsPressed(bool isPressed) in SetIsPressed() argument 96 isPressed_ = isPressed; in SetIsPressed()
|
H A D | dot_indicator_modifier.h | 230 void SetIsPressed(bool isPressed) in SetIsPressed() argument 232 isPressed_ = isPressed; in SetIsPressed()
|
/ohos5.0/base/update/updater/services/ui/control/ |
H A D | event_listener.cpp | 196 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 D | state_style_manager.cpp | 243 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 D | gtx_input_event_sender.h | 36 bool isPressed = false; member
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | 多模输入子系统.md | 50 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.md | 33 | bool [isPressed](_o_h___native_x_component.md#ispressed) = false | 当前点是否被按下。|
|
/ohos5.0/base/msdp/device_status/test/unittest/intention/cooperate/include/ |
H A D | cooperate_plugin_test.h | 68 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 D | js_button_theme.h | 83 static Color BackgroundColor(const std::optional<JSThemeColors>& themeColors, bool isPressed) in BackgroundColor() argument
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | gtx_input_event_sender.cpp | 61 dstTouchPoint.isPressed = srcTouchPoint.IsPressed(); in SetTouchEvent()
|