/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-debug-shell-file-touch.md | 1 # touch chapter 6 - touch命令用来在指定的目录下创建一个不存在的空文件。 8 - touch命令操作已存在的文件会成功,不会更新时间戳。 13 touch [_filename_] 22 | --help | 查看touch命令支持的参数列表 | N/A | 28 - touch命令用来创建一个空文件,该文件可读写。 30 - 使用touch命令允许一次创建多个文件。 33 > 在系统重要资源路径下使用touch命令创建文件,会对系统造成死机等未知影响,如在/dev路径下执行touch uartdev-0,会产生系统卡死现象。 43 - touch file.c 45 - touch testfile1 testfile2 testfile3 [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | _ark_u_i___event_module.md | 414 | pointerIndex | Index of the target touch point in the multi-touch data list. | 458 | pointerIndex | Index of the target touch point in the multi-touch data list. | 481 | pointerIndex | Index of the target touch point in the multi-touch data list. | 505 | pointerIndex | Index of the target touch point in the multi-touch data list. | 575 | pointerIndex | Index of the target touch point in the multi-touch data list. | 599 | pointerIndex | Index of the target touch point in the multi-touch data list. | 645 | pointerIndex | Index of the target touch point in the multi-touch data list. | 669 | pointerIndex | Index of the target touch point in the multi-touch data list. | 693 | pointerIndex | Index of the target touch point in the multi-touch data list. | 717 | pointerIndex | Index of the target touch point in the multi-touch data list. | [all …]
|
H A D | ui__input__event_8h.md | 50 …iinputevent) \*event) | Obtains the number of touch points from a directional input event (such as… 51 …, uint32_t pointerIndex) | Obtains the ID of a touch point from a directional input event (such as… 53 …te of a specific touch point relative to the upper left corner of the current component from a dir… 55 …te of a specific touch point relative to the upper left corner of the current component from a dir… 61 …nate of a specific touch point relative to the upper left corner of the current screen from a dire… 67 …2_t pointerIndex) | Obtains the width of the touch area from a directional input event (for exampl… 68 …_t pointerIndex) | Obtains the height of the touch area from a directional input event (for exampl… 71 …Index) | Obtains the number of touch points in a specific historical event from a directional inpu… 72 …, uint32_t historyIndex) | Obtains the ID of a touch point from a directional input event (such as… 82 …) | Obtains the width of the touch area in a specific historical event from a directional input ev… [all …]
|
H A D | _o_h___native_x_component___touch_event.md | 6 Describes the touch event. 24 | [screenX](_o_h___native_x_component.md#screenx-23) = 0.0 | X coordinate of the touch point relat… 25 | [screenY](_o_h___native_x_component.md#screeny-23) = 0.0 | Y coordinate of the touch point relati… 26 | [x](_o_h___native_x_component.md#x-23) = 0.0 | X coordinate of the touch point relative to the le… 27 | [y](_o_h___native_x_component.md#y-23) = 0.0 | Y coordinate of the touch point relative to the up… 28 …OH_NativeXComponent_TouchEventType::OH_NATIVEXCOMPONENT_UNKNOWN | Touch type of the touch event. | 30 | [force](_o_h___native_x_component.md#force-22) = 0.0 | Pressure of the current touch event. | 31 | [deviceId](_o_h___native_x_component.md#deviceid) = 0 | ID of the device where the current touch … 32 | [timeStamp](_o_h___native_x_component.md#timestamp-22) = 0 | Timestamp of the current touch event… 33 …ve_x_component.md#touchpoints) [OH_MAX_TOUCH_POINTS_NUMBER] | Array of the current touch points. | [all …]
|
H A D | _o_h___native_x_component___touch_point.md | 6 Describes the touch point of the touch event. 24 | [screenX](_o_h___native_x_component.md#screenx-13) = 0.0 | X coordinate of the touch point relat… 25 | [screenY](_o_h___native_x_component.md#screeny-13) = 0.0 | Y coordinate of the touch point relat… 26 | [x](_o_h___native_x_component.md#x-13) = 0.0 | X coordinate of the touch point relative to the le… 27 | [y](_o_h___native_x_component.md#y-13) = 0.0 | Y coordinate of the touch point relative to the up… 28 …OH_NativeXComponent_TouchEventType::OH_NATIVEXCOMPONENT_UNKNOWN | Touch type of the touch event. | 30 | [force](_o_h___native_x_component.md#force-12) = 0.0 | Pressure of the current touch event. | 31 | [timeStamp](_o_h___native_x_component.md#timestamp-12) = 0 | Timestamp of the current touch event…
|
H A D | _o_h___native_x_component.md | 673 Enumerates the touch event types. 696 Enumerates the touch point tool types. 1686 Maximum number of identifiable touch points in a touch event. 1791 Pressure of the touch event. 1806 Pressure of the touch event. 1866 Number of current touch points. 2046 Timestamp of the touch point. 2061 Timestamp of the touch point. 2091 Array of the touch points. 2106 Touch type of the touch point. [all …]
|
H A D | native__interface__xcomponent_8h.md | 22 …int](_o_h___native_x_component___touch_point.md) | Describes the touch point of the touch event.| 23 …eXComponent_TouchEvent](_o_h___native_x_component___touch_event.md) | Describes the touch event. | 25 …tive_x_component___callback.md) | Registers callbacks for the surface lifecycle and touch event. | 35 …d#oh_nativexcomponent_callback) | Registers callbacks for the surface lifecycle and touch event. | 45 …NATIVEXCOMPONENT_UNKNOWN](_o_h___native_x_component.md)<br>} | Enumerates the touch event types. | 59 …](_o_h___native_x_component___touch_event.md) \*touchEvent) | Obtains the touch event scheduled by… 60 …xcomponent_touchpointtooltype) \*toolType) | Obtains the ArkUI XComponent touch point tool type. | 61 …*tiltX) | Obtains the angle between the Y-Z plane of the ArkUI XComponent touch point and the x-ax… 62 …*tiltY) | Obtains the angle between the X-Z plane of the ArkUI XComponent touch point and the y-ax… 85 …onent.md#oh_nativexcomponent_eventsourcetype) \*sourceType) | Obtains the touch event source type … [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/ |
H A D | js-apis-touchevent.md | 17 Enumerates touch event types. 23 | CANCEL | 0 | Cancellation of touch.| 24 | DOWN | 1 | Pressing of touch.| 25 | MOVE | 2 | Moving of touch.| 26 | UP | 3 | Lifting of touch.| 30 Enumerates touch tool types. 47 Enumerates touch source types. 59 Defines the touch point information. 86 Defines a touch event. 93 | touch | [Touch](#touch) | Yes | No | Current touch point. | [all …]
|
H A D | _input___interceptor_event_callback.md | 6 Defines the structure of the interceptor for callback events, including mouse events, touch events,… 21 …(input.md#input_toucheventcallback) [touchCallback](#touchcallback) | Callback for touch events. | 56 Callback for touch events.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-touch-target.md | 3 You can set the touch target for components that support universal click events, touch events, and … 14 Sets one or more touch targets. 39 | width | [Length](ts-types.md#length) | No | Width of the touch target.<br>Default value: **'10… 40 | height | [Length](ts-types.md#length) | No | Height of the touch target.<br>Default value: **'10… 46 …touch target is equal to that of the component. For example, if the width of a component is 100 vp… 53 This example demonstrates how to set a touch target for a button using **responseRegion** to respon… 65 …// The width of the touch target is half of that of the button. The user will get no response if t… 72 // Add multiple touch targets for a component. 77 …50%', height: '100%' }, // The width of the first touch target is half of that of the button. The … 78 …'50%', height: '100%' } // The width of the second touch target is half of the button width. The t… [all …]
|
H A D | ts-universal-attributes-on-child-touch-test.md | 3 …touch event, ArkUI performs a touch test on the touch point and the component area before the even… 15 Called to specify how to perform the touch test on the children of this component. 47 | windowX | number | X coordinate of the touch point relative to the upper left corner of the windo… 48 | windowY | number |Y coordinate of the touch point relative to the upper left corner of the wind… 51 | x | number | X coordinate of the touch point relative to the upper left corner of the child com… 156 After you touch the blank area in the lower part of the list and start dragging, the list scrolls. … 158  229 After you touch the blank area in the lower part of the list and start dragging, the list scrolls. … 231  297 After you touch the blank area in the lower part of the list and start dragging, the list does not … [all …]
|
H A D | ts-universal-attributes-hit-test-behavior.md | 3 …touch event, ArkUI performs hit testing on the touch points and component area before the touch ev… 7 > - When the touch areas of nodes in the **Stack** component overlap, hit testing is performed onl… 29 | Default | 0 |Both the node and its child nodes respond to the hit test of a touch event, but … 30 | Block | 1 |The node responds to the hit test of a touch event, but its child nodes and sibl… 31 | Transparent | 2 |Both the node and its child nodes respond to the hit test of a touch event, and … 32 | None | 3 |The node does not respond to the hit test of a touch event, but its child node a… 37 This example demonstrates the touch effects of **Block** and **Transparent** hit test modes by sett…
|
H A D | ts-universal-events-touch.md | 3 A touch event is triggered when a finger is pressed against, swipes on, or is lifted from a compone… 13 Invoked when a touch event is triggered. 39 | type | [TouchType](ts-appendix-enums.md#touchtype) | Type of the touch event.… 68 | type | [TouchType](ts-appendix-enums.md#touchtype) | Type of the touch event.<br>**Atomic serv… 72 | windowX<sup>10+</sup> | number | X coordinate of the touch point relative … 73 | windowY<sup>10+</sup> | number | Y coordinate of the touch point relative … 74 | displayX<sup>10+</sup> | number | X coordinate of the touch point relative … 75 | displayY<sup>10+</sup> | number | Y coordinate of the touch point relative … 93 This example configures a touch event for a button. When the button is touched, it obtains relevant… 117 …this.text = 'TouchType:' + this.eventType + '\nDistance between touch point and touch element:\nx:… [all …]
|
H A D | ts-universal-attributes-monopolize-events.md | 72 …// When this.monopolize is true, clicking the inner column triggers only a touch event on it, but … 73 …// When this.monopolize is false, clicking the inner column triggers a touch event on it and the o… 78 // Bind the inner column to the touch event. 81 console.log("inner column touch down") 82 this.messageInner = "inner column touch down" 89 // Bind the outer column to the touch event. 92 console.log("outside column touch down") 93 this.messageOut = "inner column touch down"
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-file-touch.md | 1 # touch chapter 13 touch [_filename_] 22 | --help | Displays the parameters supported by the **touch** command.| N/A | 28 - The **touch** command creates an empty file that is readable and writeable. 30 - You can use the **touch** command to create multiple files at a time. 33 …touch** command to create a file in a directory storing important system resources, unexpected res… 43 - touch file.c 45 - touch testfile1 testfile2 testfile3 55 OHOS:/tmp$ touch file.c 68 OHOS:/tmp$ touch testfile1 testfile2 testfile3
|
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_transform_processor.cpp | 52 auto touch = libinput_event_get_touch_event(event); in OnEventTouchDown() local 53 CHKPF(touch); in OnEventTouchDown() 63 uint64_t time = libinput_event_touch_get_time_usec(touch); in OnEventTouchDown() 71 double pressure = libinput_event_touch_get_pressure(touch); in OnEventTouchDown() 88 int32_t toolType = GetTouchToolType(touch, device); in OnEventTouchDown() 148 auto touch = libinput_event_get_touch_event(event); in OnEventTouchMotion() local 149 CHKPF(touch); in OnEventTouchMotion() 150 uint64_t time = libinput_event_touch_get_time_usec(touch); in OnEventTouchMotion() 194 auto touch = libinput_event_get_touch_event(event); in OnEventTouchUp() local 195 CHKPF(touch); in OnEventTouchUp() [all …]
|
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/ |
H A D | sec_comp_entity_test.cpp | 113 SecCompClickEvent touch = { variable 119 ASSERT_NE(entity_->CheckClickInfo(touch), SC_OK); 122 touch.point.timestamp = current + 10000L; // 10s 123 ASSERT_NE(entity_->CheckClickInfo(touch), SC_OK); 129 touch.point.timestamp = static_cast<uint64_t>( 131 ASSERT_NE(entity_->CheckClickInfo(touch), SC_OK); 136 touch.extraInfo.dataSize = 1; 137 touch.extraInfo.data = buffer; 138 touch.point.timestamp = static_cast<uint64_t>( 151 SecCompClickEvent touch = { variable [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-events-distribute.md | 7 As an input from a touch test, a pointer event can be categorized into touch-type pointer events an… 9 …nts generated by touch actions, with input sources including a finger, a stylus, a mouse device, a… 11 …es including a mouse device, a touchpad, and a joystick. They can trigger touch events, click even… 19 You can influence the touch testing process by setting the following attributes: 25 - **responseRegion**: sets the touch targets for components. 47 … component itself is hit, it will block the touch testing of sibling components, but will not bloc… 51 … this mode, the component neither receives events nor interferes with the touch testing of its sib… 55 …is mode blocks the touch testing of child components. If the component itself is hit during a touc… 59 …*: This mode allows the component to participate in touch testing itself, without blocking the tou… 73 …touch-target.md) are another impact factor in the hit test. According to the [basic process of hit… [all …]
|
H A D | arkts-gesture-events-multi-level-gesture.md | 11 …touch event](../reference/apis-arkui/arkui-ts/ts-universal-events-touch.md) (**onTouch**) is the f… 13 …s receive callbacks for these events when touched, influenced by touch targets and touch control s… 17 …ot for finger ID 1, it will only receive touch events for finger ID 0 and will not receive any sub… 84 The **responseRegion** attribute sets the touch target of a component, which can be larger or small… 129 When **hitTestBehavior** is not set for component C, a touch in the target touch of component D tri… 131 …stBehavior** is set to **HitTestMode.Block** for component C, a touch in the target touch of compo… 147 …nsparent**, both the node and its child node respond to the hit test of a touch event, and its sib… 163 With **HitTestMode.None**, the node neither receives touch events nor interferes with the touch tes… 165 If **hitTestBehavior** is not set for component A, a touch in the target touch of component B trigg… 167 …estBehavior** is set to **HitTestMode.None** for component A, a touch in the target touch of compo… [all …]
|
H A D | arkts-common-events-touch-screen-event.md | 4 …nt](#click-event), [drag event](arkts-common-events-drag-event.md), or [touch event](#touch-event). 61 A touch event is triggered when a finger or stylus is placed on, moved along, or lifted from a comp… 76 The touch event supports single and multi-touch interactions. Information about the touch event can… 101 …this.text = 'TouchType:' + this.eventType + '\nDistance between touch point and touch element:\nx:… 119 …this.text = 'TouchType:' + this.eventType + '\nDistance between touch point and touch element:\nx:…
|
H A D | ui-js-building-ui-event.md | 3 A gesture represents a semantic action (for example, touch, click, or longpress) that can trigger o… 7 - **touchstart**: Triggered when the touch starts. 9 - **touchmove**: Triggered when the touch moves. 11 - **touchcancel**: Triggered when the touch is interrupted, for example, by an incoming call notifi… 13 - **touchend**: Triggered when the touch ends.
|
/ohos5.0/docs/en/application-dev/reference/apis-accessibility-kit/ |
H A D | js-apis-accessibility-GesturePoint.md | 3 The **GesturePoint** module provides APIs for creating gesture touch point information required for… 17 Defines a gesture touch point. 25 | positionX | number | Yes | Yes | X coordinate of the touch point.| 26 | positionY | number | Yes | Yes | Y coordinate of the touch point.| 44 | positionX | number | Yes| X coordinate of the touch point.| 45 | positionY | number | Yes | Y coordinate of the touch point.|
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | typical-input-modes.md | 8 …touch status, touch quantity, and motion behavior are identified as touch gestures. They support a… 18 | Double-touch| Quickly touch twice to zoom in or zoom out, select text, or trigger a specific func… 42 …lti-finger touch gesture input (touchscreen) feature and a refined pointing input (mouse) feature.… 54 As a new manner of interaction, air gestures (non-touch gestures) allow users to conveniently inter…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-monopolize-events.md | 83 console.log("inner column touch down") 84 this.messageInner = "inner column touch down" 94 console.log("outside column touch down") 95 this.messageOut = "inner column touch down"
|
/ohos5.0/docs/zh-cn/application-dev/application-test/ |
H A D | wukong-guidelines.md | 104 -t, --touch touch event percent 127 -t, --touch[x,y] touch event 158 | -t,--touch | 设置屏幕随机触摸测试比例。 | 否 | 默认10%。 | 190 | -t | 0.72 | 参数设置屏幕随机touch测试比例为72%。 | 227 | -t, --touch[x,y] | 点击测试。 | 否 | - | 256 | -t,--touch | 设置屏幕随机触摸测试比例。 | 否 | 默认10%。 | 284 | -t | 0.72 | 参数设置屏幕随机touch测试比例为72%。 |
|