Home
last modified time | relevance | path

Searched refs:axisEventType (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/device/input/
H A Dmonitor-guidelines.md163 int32_t axisEventType { -1 };
181 InputEvent_AxisEventType axisEventType;
182 ret = OH_Input_GetAxisEventType(axisEvent, &axisEventType);
183 event.axisEventType = axisEventType;
184 if (event.axisEventType == AXIS_EVENT_TYPE_PINCH) {
190 } else if (event.axisEventType == AXIS_EVENT_TYPE_SCROLL) {
214 InputEvent_AxisEventType axisEventType;
215 ret = OH_Input_GetAxisEventType(axisEvent, &axisEventType);
216 event.axisEventType = axisEventType;
239 InputEvent_AxisEventType axisEventType;
[all …]
H A Dinterceptor-guidelines.md103 int32_t axisEventType { -1 };
147 InputEvent_AxisEventType axisEventType;
148 ret = OH_Input_GetAxisEventType(axisEvent, &axisEventType);
149 event.axisEventType = axisEventType;
150 if (event.axisEventType == AXIS_EVENT_TYPE_PINCH) {
156 } else if (event.axisEventType == AXIS_EVENT_TYPE_SCROLL) {
/ohos5.0/docs/en/application-dev/device/input/
H A Dmonitor-guidelines.md163 int32_t axisEventType { -1 };
181 InputEvent_AxisEventType axisEventType;
182 ret = OH_Input_GetAxisEventType(axisEvent, &axisEventType);
183 event.axisEventType = axisEventType;
184 if (event.axisEventType == AXIS_EVENT_TYPE_PINCH) {
190 } else if (event.axisEventType == AXIS_EVENT_TYPE_SCROLL) {
214 InputEvent_AxisEventType axisEventType;
215 ret = OH_Input_GetAxisEventType(axisEvent, &axisEventType);
216 event.axisEventType = axisEventType;
239 InputEvent_AxisEventType axisEventType;
[all …]
H A Dinterceptor-guidelines.md103 int32_t axisEventType { -1 };
147 InputEvent_AxisEventType axisEventType;
148 ret = OH_Input_GetAxisEventType(axisEvent, &axisEventType);
149 event.axisEventType = axisEventType;
150 if (event.axisEventType == AXIS_EVENT_TYPE_PINCH) {
156 } else if (event.axisEventType == AXIS_EVENT_TYPE_SCROLL) {
/ohos5.0/foundation/multimodalinput/input/test/unittest/interfaces/kits/
H A Dinput_native_test.cpp858 InputEvent_AxisEventType axisEventType = AXIS_EVENT_TYPE_PINCH; variable
859 result = OH_Input_SetAxisEventType(axisEvent, axisEventType);
861 axisEventType = AXIS_EVENT_TYPE_SCROLL;
862 result = OH_Input_GetAxisEventType(axisEvent, &axisEventType);
864 EXPECT_EQ(axisEventType, AXIS_EVENT_TYPE_PINCH);
1323 InputEvent_SourceType axisEventType = SOURCE_TYPE_MOUSE; in AxisEventCallbackAll() local
1324 OH_Input_GetAxisEventSourceType(axisEvent, &axisEventType); in AxisEventCallbackAll()
1326 axisAction, sourceType, axisEventType); in AxisEventCallbackAll()
1336 InputEvent_SourceType axisEventType = SOURCE_TYPE_MOUSE; in AxisEventCallback() local
1337 OH_Input_GetAxisEventSourceType(axisEvent, &axisEventType); in AxisEventCallback()
[all …]
/ohos5.0/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_manager.cpp74 int32_t axisEventType { -1 }; member
792 struct Input_AxisEvent *axisEvent, int32_t axisEventType) in SetAxisValueByAxisEventType() argument
810 axisEvent->axisEventType = axisEventType; in SetAxisValueByAxisEventType()
927 axisEvent->axisEventType = axisEventType; in OH_Input_SetAxisEventType()
934 CHKPR(axisEventType, INPUT_PARAMETER_ERROR); in OH_Input_GetAxisEventType()
935 *axisEventType = InputEvent_AxisEventType(axisEvent->axisEventType); in OH_Input_GetAxisEventType()
1324 auto it = g_axisMonitorCallbacks.find(axisEventType); in OH_Input_AddAxisEventMonitor()
1432 if (it == g_axisMonitorCallbacks[axisEventType].end()) { in OH_Input_RemoveAxisEventMonitor()
1436 g_axisMonitorCallbacks[axisEventType].erase(it); in OH_Input_RemoveAxisEventMonitor()
1437 if (g_axisMonitorCallbacks[axisEventType].empty()) { in OH_Input_RemoveAxisEventMonitor()
[all …]
/ohos5.0/foundation/multimodalinput/input/interfaces/kits/c/input/
H A Doh_input_manager.h1010 …sult OH_Input_SetAxisEventType(Input_AxisEvent* axisEvent, InputEvent_AxisEventType axisEventType);
1023 …_Input_GetAxisEventType(const Input_AxisEvent* axisEvent, InputEvent_AxisEventType* axisEventType);
1127 Input_Result OH_Input_AddAxisEventMonitor(InputEvent_AxisEventType axisEventType, Input_AxisEventCa…
1203 Input_Result OH_Input_RemoveAxisEventMonitor(InputEvent_AxisEventType axisEventType, Input_AxisEven…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-input-kit/
H A Dinput.md148 …t) \*axisEvent, [InputEvent_AxisEventType](#inputevent_axiseventtype) axisEventType) | 设置轴事件类型。 |
149 … \*axisEvent, [InputEvent_AxisEventType](#inputevent_axiseventtype) \*axisEventType) | 获取轴事件类型。 |
905 Input_Result OH_Input_AddAxisEventMonitor (InputEvent_AxisEventType axisEventType, Input_AxisEventC…
918 | axisEventType | 要监听的轴事件类型,轴事件类型定义在[InputEvent_AxisEventType](#inputevent_axiseventtype)中。 |
1639 …put_GetAxisEventType (const Input_AxisEvent * axisEvent, InputEvent_AxisEventType * axisEventType )
1653 | axisEventType | 出参,返回轴事件类型,具体请参考[InputEvent_AxisEventType](#inputevent_axiseventtype)。 |
1657 若获取轴事件类型成功,则返回**INTO_SUCCESS**;若axisEvent或者axisEventType为NULL,则返回INPUT_PARAMETER_ERROR。
2539 Input_Result OH_Input_RemoveAxisEventMonitor (InputEvent_AxisEventType axisEventType, Input_AxisEve…
2552 | axisEventType | 指定要移除监听的轴事件类型,轴事件类型定义在[InputEvent_AxisEventType](#inputevent_axiseventtype)中。 |
2887 …lt OH_Input_SetAxisEventType (Input_AxisEvent * axisEvent, InputEvent_AxisEventType axisEventType )
[all …]
H A Doh__input__manager_8h.md140 …sEvent, [InputEvent_AxisEventType](input.md#inputevent_axiseventtype) axisEventType) | 设置轴事件类型。 |
141 …vent, [InputEvent_AxisEventType](input.md#inputevent_axiseventtype) \*axisEventType) | 获取轴事件类型。 |
148 …nitor) ([InputEvent_AxisEventType](input.md#inputevent_axiseventtype) axisEventType, [Input_AxisEv…
153 …nitor) ([InputEvent_AxisEventType](input.md#inputevent_axiseventtype) axisEventType, [Input_AxisEv…
/ohos5.0/foundation/multimodalinput/input/util/common/src/
H A Dinput_event_data_transformation.cpp391 int32_t axisEventType; in SetAxisInfo() local
392 pkt >> axisEventType; in SetAxisInfo()
393 event->SetAxisEventType(axisEventType); in SetAxisInfo()
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/
H A Dinput.md148 …t) \*axisEvent, [InputEvent_AxisEventType](#inputevent_axiseventtype) axisEventType) | Sets the ax…
149 … \*axisEvent, [InputEvent_AxisEventType](#inputevent_axiseventtype) \*axisEventType) | Obtains the…
905 Input_Result OH_Input_AddAxisEventMonitor (InputEvent_AxisEventType axisEventType, Input_AxisEventC…
918 | axisEventType | Type of the axis event. The event type is defined in [InputEvent_AxisEventType](#…
1639 …put_GetAxisEventType (const Input_AxisEvent * axisEvent, InputEvent_AxisEventType * axisEventType )
1653 | axisEventType | Axis event type. For details, see [InputEvent_AxisEventType](#inputevent_axiseven…
1657 …eration is successful; **INPUT_PARAMETER_ERROR** if **axisEvent** or **axisEventType** is **NULL**.
2539 Input_Result OH_Input_RemoveAxisEventMonitor (InputEvent_AxisEventType axisEventType, Input_AxisEve…
2552 | axisEventType | Axis event type, which is defined in [InputEvent_AxisEventType](#inputevent_axise…
2887 …lt OH_Input_SetAxisEventType (Input_AxisEvent * axisEvent, InputEvent_AxisEventType axisEventType )
[all …]
H A Doh__input__manager_8h.md140 …sEvent, [InputEvent_AxisEventType](input.md#inputevent_axiseventtype) axisEventType) | Sets the ax…
141 …vent, [InputEvent_AxisEventType](input.md#inputevent_axiseventtype) \*axisEventType) | Obtains the…
148 …nitor) ([InputEvent_AxisEventType](input.md#inputevent_axiseventtype) axisEventType, [Input_AxisEv…
153 …nitor) ([InputEvent_AxisEventType](input.md#inputevent_axiseventtype) axisEventType, [Input_AxisEv…
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dpointer_event.cpp806 void PointerEvent::SetAxisEventType(int32_t axisEventType) in SetAxisEventType() argument
808 axisEventType_ = axisEventType; in SetAxisEventType()
/ohos5.0/foundation/multimodalinput/input/frameworks/native/input/test/
H A Doh_input_manager_test.cpp64 int32_t axisEventType { -1 }; member
/ohos5.0/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Dpointer_event.h1697 void SetAxisEventType(int32_t axisEventType);