/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-gestures-longpressgesture.md | 3 **LongPressGesture** is used to trigger a long press gesture, which requires one or more fingers wi… 14 …press gesture. In components that support drag actions by default, such as **Text**, **TextInput**… 16 If the minimum duration of the long press gesture is less than 500 ms, the long press gesture recei… 18 …ion of the long press gesture is greater than or equal to 500 ms, the drag action receives a highe… 26 | fingers | number | No| Minimum number of fingers to trigger a long press gesture. The value range… 35 …](ts-gesture-settings.md#gestureevent)) => void) | Invoked when a long press gesture is recogni… 37 … void) | Invoked when a tap cancellation event is received after the long press gesture is recogni… 43 | tag<sup>11+</sup> | string | Tag for the long press gesture. It is used to distinguish the ges… 44 …esture-settings.md#sourcetool9)> | Allowed event input types for the long press gesture.<br>**Atom… 49 This example demonstrates the recognition of a long press gesture using **TapGesture**. [all …]
|
H A D | ts-combined-gestures.md | 42 This example demonstrates the sequential recognition of combined gestures, specifically long press … 68 …bined gestures are recognized in sequential recognition mode. If the long press gesture event is n… 106 In sequence recognition mode the long press gesture event is triggered first. 110 After the long press gesture is recognized, the drag gesture event is triggered.
|
H A D | ts-gesture-customize-judge.md | 57 | LONG_PRESS_GESTURE | 1 | Long press gesture.| 159 This example demonstrates how to implement custom judgment for long press, swipe, and pan gestures … 191 .tag("longPress1")// Tag for the long press gesture. 211 … // If the gesture type is a long press gesture, convert the event to a long press gesture event. 243 …ow to use **onGestureJudgeBegin** to determine whether to respond to long press and pan gestures b… 257 …press gesture, and the lower blue area is bound to a drag gesture. If a pan is performed after a l… 272 // The upper half area of the stack is a floating area bound to the long press gesture. 286 …// If the gesture is a long press gesture, check whether the touch position is in the upper half a…
|
H A D | ts-uigestureevent.md | 155 Defines a type of gesture handler object for long press gestures. 170 …lerOptions](#longpressgesturehandleroptions) | No | Parameters of the long press gesture handler.| 176 Invoked when a long press gesture is recognized. 186 …ts-gesture-settings.md#gestureevent)> | Yes| Callback invoked when a long press gesture is recogni… 192 | LongPressGestureHandler | Long press gesture handler object.| 198 Invoked when the last finger is lifted after the long press gesture is recognized. 214 | LongPressGestureHandler | Long press gesture handler object.| 220 Invoked when a tap cancellation event is received after a long press gesture is recognized. 230 …| Callback invoked when a tap cancellation event is received after a long press gesture is recogni… 236 | LongPressGestureHandler | Long press gesture handler object.| [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/input/CheckboxE026/ |
H A D | index.js | 19 press:"press", 38 if(this.press = "press") { 39 this.press = "pressed"; 41 this.press = "press";
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | typical-input-modes.md | 15 …press| Long press an element to trigger a menu or a specific mode, or enter a page. This gesture i…
|
H A D | unified-interaction-events.md | 32 | Touchpad| Touch or press with one finger.| 33 | Keyboard| In the out-of-focus mode, move focus to an element and press the space bar.| 49 | Touchpad| Touch twice or press twice with one finger.| 50 | Keyboard| In the out-of-focus mode, move focus to an element and press the space bar twice.| 61 | Touchscreen| Long press an element with one finger.| 62 | Mouse| Long press the left mouse button.| 63 | Touchpad| Long press an element with one finger.| 64 | Keyboard| In the out-of-focus mode, move focus to an element and long press the space bar.| 75 | Touchscreen| Long press an element with one finger. | 77 | Touchpad| Touch or press an element with two fingers (same as that on the PC).<br> Touch or long … [all …]
|
H A D | multimodal-menu.md | 26 - Long-press menu 38 This type of menu is displayed when users long press a certain object.
|
/ohos5.0/docs/zh-cn/application-dev/dfx/ |
H A D | uinput.md | 52 -d <key> --down <key> -press down a key 54 -l <key> [long press time] --long_press <key> [long press time] -press and hold the key 140 uinput -M -b <dx> <dy> <id> [press time] [click interval time] 141 uinput --mouse --double_click <dx> <dy> <id> [press time] [click interval time] 143 [press time]按压时间,取值范围:1 ~ 300ms。 248 uinput -K -l <key> [long press time] 249 uinput --keyboard --long_press <key> [long press time] 371 uinput -S -g <dx1> <dy1> <dx2> <dy2> [press time] [total time] 372 uinput --stylus --drag <dx1> <dy1> <dx2> <dy2> [press time] [total time] 470 uinput -T -g <dx1> <dy1> <dx2> <dy2> [press time] [total time] [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/ |
H A D | menu_item_group_pattern.cpp | 177 void MenuItemGroupPattern::OnExtItemPressed(bool press, bool beforeGroup) in OnExtItemPressed() argument 184 paintProperty->UpdateNeedHeaderDivider(!press); in OnExtItemPressed() 186 paintProperty->UpdateNeedFooterDivider(!press); in OnExtItemPressed() 191 void MenuItemGroupPattern::OnIntItemPressed(int32_t index, bool press) in OnIntItemPressed() argument 200 OnExtItemPressed(press, true); // beforeGroup=true just to hide header divider in OnIntItemPressed() 205 …pattern->OnExtItemPressed(press, false); // hide common divider for 2 group if another group before in OnIntItemPressed() 209 OnExtItemPressed(press, false); // beforeGroup=false just to hide footer divider in OnIntItemPressed() 214 … pattern->OnExtItemPressed(press, true); // hide common divider for 2 group if another group after in OnIntItemPressed()
|
H A D | menu_item_group_pattern.h | 91 void OnExtItemPressed(bool press, bool beforeGroup); 92 void OnIntItemPressed(int32_t index, bool press);
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ndk-bind-gesture-events.md | 33 // Create a long press gesture. 69 - Long press gesture 139 // Create a long press gesture. 146 // Set a callback for the long press gesture. 177 // Add the long press gesture to the gesture group. 228 // Add the swipe press gesture to the gesture group. 276 // Create a long press gesture. 283 // Set a callback for the long press gesture. 315 // Add the long press gesture to the gesture group. 366 // Add the swipe press gesture to the gesture group. [all …]
|
H A D | arkts-gesture-events-combined-gestures.md | 20 In the following example, the combined gestures for continuous recognition are the long press gestu… 22 …mode. When a long press gesture is recognized, the displayed number is updated. When the user drag… 46 …// The following combined gestures are recognized in sequence. When the long press gesture event i… 50 …// The first gesture recognized in the combined gestures is the long press gesture, which can be r… 52 …// When the long press gesture is successfully recognized, the value of count displayed on the Tex… 64 …// The pan gesture is triggered when the component is dragged after the long press gesture is reco… 98 …press gesture and pan gesture. It is triggered only when the user performs a pan gesture within th…
|
H A D | arkts-gesture-events-gesture-judge.md | 20 …Long-pressing the upper half of the **Stack** component triggers the long-press gesture bound to t… 47 … promptAction.showToast({ message: "Long-press the upper red area. The red area responds." }); 57 … // If it is a long press gesture, determine whether the touch position is in the upper half area. 82 …e are two layers of components, the upper layer component bound to a long press gesture, and the l… 96 … // The upper half of the Stack component is the floating area bound to the long press gesture. 105 … promptAction.showToast({ message: "Long-press the upper red area. The red area responds." }); 110 … // If it is a long press gesture, determine whether the touch position is in the upper half area.
|
H A D | ui-js-components-canvas.md | 80 Add the long press event to the **<canvas>** component. When the event is triggered, the valu… 136 promptAction.showToast({duration:2000,message:"long press,get dataURL"})
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.7.5/ |
H A D | changelogs-arkui.md | 5 Button组件的hover状态由100-105%放大效果变更为0-5%不透明度的叠加效果,hover状态切换到press状态的效果变更为5-10%不透明度的叠加效果。 9 影响Button的hover状态的视觉效果以及hover状态切换到press状态的视觉效果。
|
/ohos5.0/docs/en/application-dev/dfx/ |
H A D | uinput.md | 52 -d <key> --down <key> -press down a key 54 -l <key> [long press time] --long_press <key> [long press time] -press and hold the key 140 uinput -M -b <dx> <dy> <id> [press time] [click interval time] 141 uinput --mouse --double_click <dx> <dy> <id> [press time] [click interval time] 143 The value of [press time] can be set between 1 and 300 ms. 248 uinput -K -l <key> [long press time] 249 uinput --keyboard --long_press <key> [long press time] 371 uinput -S -g <dx1> <dy1> <dx2> <dy2> [press time] [total time] 372 uinput --stylus --drag <dx1> <dy1> <dx2> <dy2> [press time] [total time] 470 uinput -T -g <dx1> <dy1> <dx2> <dy2> [press time] [total time] [all …]
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-overview.md | 22 …put by default. To delete the Chinese characters entered in UTF-8 format, press the backspace key … 24 …press **Tab** to enable automatic completion. If there are multiple completions, multiple items ar…
|
H A D | kernel-small-debug-shell-magickey.md | 29 …l serial port is connected, press **Ctrl+R**. If "Magic key on" is displayed, the magic key is ena…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_paint_method.cpp | 41 bool press = props->GetPress().value_or(false); in GetOverlayDrawFunction() local 43 if (!needDivider || press || hover) { in GetOverlayDrawFunction()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v4.0-beta1/ |
H A D | changelogs-arkui.md | 82 Button组件的hover状态由100-105%放大效果变更为0-5%不透明度的叠加效果,hover状态切换到press状态的效果变更为5-10%不透明度的叠加效果。 86 影响Button的hover状态的视觉效果以及hover状态切换到press状态的视觉效果。
|
/ohos5.0/docs/en/application-dev/reference/apis-accessibility-kit/ |
H A D | js-apis-application-accessibilityExtensionAbility.md | 167 | twoFingerDoubleTapAndHold<sup>11+</sup> | string | Two-finger double-tap and press-and-h… 169 | twoFingerTripleTapAndHold<sup>11+</sup> | string | Two-finger triple-tap and press-and-h… 172 | threeFingerDoubleTapAndHold<sup>11+</sup> | string | Three-finger double-tap and press-a… 174 | threeFingerTripleTapAndHold<sup>11+</sup> | string | Three-finger triple-tap and press-a… 177 | fourFingerDoubleTapAndHold<sup>11+</sup> | string | Four-finger double-tap and press-and… 179 | fourFingerTripleTapAndHold<sup>11+</sup> | string | Four-finger triple-tap and press-and…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/ |
H A D | option_paint_method.cpp | 83 bool press = props->GetPress().value_or(false); in PaintDivider() local 85 if (!needDivider || press || hover) { in PaintDivider()
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | 图形子系统.md | 20 - Event:事件模块,包括click、press、drag、long press等基础事件。
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-appendix-hi3516-ide.md | 276 …此时待烧录文件会从Ubuntu系统传输到Windows下,传输完成后界面显示“Operation paused, Please press Enter key to continue”时,请点击*… 307 
|