/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-common-events-touch-screen-event.md | 64 当手指或手写笔在组件上触碰时,会触发不同动作所对应的事件响应,包括按下(Down)、滑动(Move)、抬起(Up)事件: 71 - event.type为TouchType.Down:表示手指按下。 95 if (event.type === TouchType.Down) { 96 this.eventType = 'Down'; 113 if (event.type === TouchType.Down) { 114 this.eventType = 'Down';
|
H A D | arkts-gesture-events-multi-level-gesture.md | 11 …universal-events-touch.md)(onTouch事件)是所有手势组成的基础,有Down,Move,Up,Cancel四种。手势均由触摸事件组成,例如,点击为Down+Up,滑动… 15 2.onTouch事件的回调是闭环的。若一个组件收到了手指Id为0的Down事件,后续也会收到手指Id为0的Move事件和Up事件。 17 3.onTouch事件的回调是一致的。若一个组件收到了手指Id为0的Down事件未收到手指Id为1的Down事件,则后续只会收到手指Id为0的touch事件,不会收到手指Id为1的后续touch事件。
|
H A D | arkts-common-events-device-input-event.md | 363 if (event.type === KeyType.Down) { 364 this.buttonType = 'Down'; 384 if (event.type === KeyType.Down) { 385 this.columnType = 'Down'; 412 2. 每个按键都有2次回调,分别对应KeyType.Down和KeyType.Up,表示按键被按下、然后抬起。 439 if (event.type === KeyType.Down) { 440 this.buttonType = 'Down'; 460 if (event.type === KeyType.Down) { 461 this.columnType = 'Down';
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-events-key.md | 101 if (event.type === KeyType.Down) { 102 this.eventType = 'Down' 136 if (event.type === KeyType.Down) { 137 this.eventType = 'Down'
|
H A D | ts-universal-events-touch.md | 108 if (event.type === TouchType.Down) { 109 this.eventType = 'Down' 126 if (event.type === TouchType.Down) { 127 this.eventType = 'Down'
|
H A D | ts-universal-attributes-monopolize-events.md | 82 if (event.type == TouchType.Down) { 93 if (event.type == TouchType.Down) {
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-events-touch-screen-event.md | 68 - If **event.type** is **TouchType.Down**, the finger or stylus is placed on the component. 92 if (event.type === TouchType.Down) { 93 this.eventType = 'Down'; 110 if (event.type === TouchType.Down) { 111 this.eventType = 'Down';
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/interfaces/ |
H A D | counter.js | 1680 if (g18.type === KeyType.Down && 1686 if (g18.type === KeyType.Down && 2782 if (t9.type === KeyType.Down && 2788 if (t9.type === KeyType.Down && 2794 if (t9.type === KeyType.Down && 2799 if (t9.type === KeyType.Down && 2804 if (t9.type === KeyType.Down && 2808 if (t9.type === KeyType.Down && 2812 if (t9.type === KeyType.Down && 2925 if (b9.type === KeyType.Down && [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/counter/source/ |
H A D | counter.ets | 1830 if (event.type === KeyType.Down && 1835 if (event.type === KeyType.Down && 1840 if (event.type === KeyType.Down && 1845 if (event.type === KeyType.Down && 1850 if (event.type === KeyType.Down && 1855 if (event.type === KeyType.Down && 1959 if (event.type === KeyType.Down && 1965 if (event.type === KeyType.Down && 1971 if (event.type === KeyType.Down && 1976 if (event.type === KeyType.Down && [all …]
|
/ohos5.0/foundation/arkui/advanced_ui_component/source/TabTitleBar/ |
H A D | TabTitleBar.ets | 221 if (event.type === KeyType.Down) { 229 if (event.type === TouchType.Down) { 313 if (event.type === KeyType.Down) { 321 if (event.type === TouchType.Down) { 350 if (event.type === KeyType.Down) { 358 if (event.type === TouchType.Down) { 456 if (event.type === KeyType.Down) { 467 if (event.type === TouchType.Down) {
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/ |
H A D | subEntryComponent.ets | 63 if ( event.type === TouchType.Down ) { 68 console.log(TAG , "event.type /= TouchType.Down") 131 if ( event.type === TouchType.Down ) { 136 console.log(TAG , "event.type /= TouchType.Down")
|
H A D | headComponent.ets | 45 if ( event.type === TouchType.Down ) { 50 console.log(TAG , "event.type /= TouchType.Down")
|
H A D | headerComponent.ets | 45 if ( event.type === TouchType.Down ) { 50 console.log(TAG , "event.type /= TouchType.Down")
|
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/ |
H A D | js-apis-keycode.md | 35 | KEYCODE_VOLUME_DOWN | 17 | Volume Down key | 41 | KEYCODE_BRIGHTNESS_DOWN | 41 | Brightness Down key | 55 | KEYCODE_DPAD_DOWN | 2013 | Down key on D-pad | 111 | KEYCODE_PAGE_DOWN | 2069 | Page Down key | 204 | KEYCODE_SCROLLDOWN | 2639 | Scroll Down key | 215 | KEYCODE_KBDILLUM_DOWN | 2650 | Keyboard Illumination Down key | 256 | KEYCODE_CHANNELDOWN | 2691 | Channel Down key |
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-events-key.md | 99 if (event.type === KeyType.Down) { 100 this.eventType = 'Down' 133 if (event.type === KeyType.Down) { 134 this.eventType = 'Down'
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/views/ |
H A D | focusAreaPage.ets | 36 direction: PanDirection.Up | PanDirection.Down, 46 if (e.type === TouchType.Down) {
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | property-animation.md | 87 if (event.type == TouchType.Down) { 147 if (event.type == TouchType.Down) { 219 if (event.type == TouchType.Down) { 268 if (event.type == TouchType.Down) {
|
H A D | list-pullup-loading-data.md | 62 a. 手指按下时(TouchType.Down),记录按下的坐标,用于后续滑动方向及滑动距离计算: 65 case TouchType.Down: // 手指按下 235 case TouchType.Down: // 手指按下
|
H A D | component-pressed-UI-dynamic-change.md | 58 if (event.type === TouchType.Down) { 123 if (event.type === TouchType.Down) {
|
H A D | griditem-drag-and-drop.md | 82 if (event.type === TouchType.Down) { 157 if (event.type === TouchType.Down) {
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/views/ |
H A D | FocusAreaPage.ets | 36 direction: PanDirection.Up | PanDirection.Down, 46 if (e.type === TouchType.Down) {
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/source/ |
H A D | tabtitlebar.ets | 337 if (event.type === KeyType.Down) { 345 if (event.type === TouchType.Down) { 487 if (event.type === KeyType.Down) { 495 if (event.type === TouchType.Down) { 549 if (event.type === KeyType.Down) { 557 if (event.type === TouchType.Down) { 687 if (event.type === KeyType.Down) { 698 if (event.type === TouchType.Down) {
|
/ohos5.0/foundation/arkui/advanced_ui_component/interface/tabtitlebar/ |
H A D | tabtitlebar.js | 479 e.type === KeyType.Down && (this.isMoreIconOnClick = !0); 484 e.type === TouchType.Down && (this.isMoreIconOnClick = !0); 717 e.type === KeyType.Down && (this.isOnClick = !0); 722 e.type === TouchType.Down && (this.isOnClick = !0); 742 e.type === KeyType.Down && (this.isOnClick = !0); 747 e.type === TouchType.Down && (this.isOnClick = !0); 894 e.type === KeyType.Down && (this.isOnClick = !0); 900 e.type === TouchType.Down && (this.isOnClick = !0);
|
/ohos5.0/base/msdp/device_status/tools/vdev/include/ |
H A D | virtual_keyboard.h | 30 int32_t Down(int32_t key);
|
/ohos5.0/foundation/arkui/advanced_ui_component/source/ComposeTitleBar/ |
H A D | ComposeTitleBar.ets | 236 if (event.type === KeyType.Down) { 244 if (event.type === TouchType.Down) { 347 if (event.type === KeyType.Down) { 358 if (event.type === TouchType.Down) {
|