Home
last modified time | relevance | path

Searched refs:axisEventType (Results 1 - 7 of 7) sorted by relevance

/foundation/multimodalinput/input/test/unittest/interfaces/kits/
H A Dinput_native_test.cpp858 InputEvent_AxisEventType axisEventType = AXIS_EVENT_TYPE_PINCH; in HWTEST_F() local
859 result = OH_Input_SetAxisEventType(axisEvent, axisEventType); in HWTEST_F()
861 axisEventType = AXIS_EVENT_TYPE_SCROLL; in HWTEST_F()
862 result = OH_Input_GetAxisEventType(axisEvent, &axisEventType); in HWTEST_F()
864 EXPECT_EQ(axisEventType, AXIS_EVENT_TYPE_PINCH); in HWTEST_F()
1190 InputEvent_AxisEventType axisEventType = AXIS_EVENT_TYPE_PINCH; in HWTEST_F() local
1191 Input_Result result = OH_Input_SetAxisEventType(nullptr, axisEventType); in HWTEST_F()
1219 InputEvent_AxisEventType axisEventType = AXIS_EVENT_TYPE_PINCH; in HWTEST_F() local
1220 Input_Result result = OH_Input_GetAxisEventType(nullptr, &axisEventType); in HWTEST_F()
1323 InputEvent_SourceType axisEventType in AxisEventCallbackAll() local
1336 InputEvent_SourceType axisEventType = SOURCE_TYPE_MOUSE; AxisEventCallback() local
1568 InputEvent_AxisEventType axisEventType = AXIS_EVENT_TYPE_PINCH; HWTEST_F() local
1583 InputEvent_AxisEventType axisEventType = AXIS_EVENT_TYPE_PINCH; HWTEST_F() local
1596 InputEvent_AxisEventType axisEventType = AXIS_EVENT_TYPE_PINCH; HWTEST_F() local
1609 InputEvent_AxisEventType axisEventType = AXIS_EVENT_TYPE_PINCH; HWTEST_F() local
[all...]
/foundation/multimodalinput/input/interfaces/kits/c/input/
H A Doh_input_manager.h1001 * @param axisEventType Axis event type. The values are defined in {@link InputEvent_AxisEventType}.
1008 Input_Result OH_Input_SetAxisEventType(Input_AxisEvent* axisEvent, InputEvent_AxisEventType axisEventType);
1014 * @param axisEventType Axis event type. The values are defined in {@link InputEvent_AxisEventType}.
1017 * {@Link INPUT_PARAMETER_ERROR} The axisEvent is NULL or the axisEventType is NULL.\n
1021 Input_Result OH_Input_GetAxisEventType(const Input_AxisEvent* axisEvent, InputEvent_AxisEventType* axisEventType);
1040 * @param axisEventType Axis event source type. The values are defined in {@link InputEvent_SourceType}.
1115 * @param axisEventType - Axis event type. The values are defined in {@Link InputEvent_AxisEventType}.
1125 Input_Result OH_Input_AddAxisEventMonitor(InputEvent_AxisEventType axisEventType, Input_AxisEventCallback callback);
1191 * @param axisEventType - Axis event type. The axis event type is defined in {@Link InputEvent_AxisEventType}.
1201 Input_Result OH_Input_RemoveAxisEventMonitor(InputEvent_AxisEventType axisEventType, Input_AxisEventCallbac
[all...]
/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_manager.cpp73 int32_t axisEventType { -1 };
812 struct Input_AxisEvent *axisEvent, int32_t axisEventType) in SetAxisValueByAxisEventType()
816 if (axisEventType == OHOS::MMI::PointerEvent::AXIS_EVENT_TYPE_PINCH) { in SetAxisValueByAxisEventType()
821 } else if (axisEventType == OHOS::MMI::PointerEvent::AXIS_EVENT_TYPE_SCROLL) { in SetAxisValueByAxisEventType()
827 MMI_HILOGE("Undefined axisEventType: %{public}d", axisEventType); in SetAxisValueByAxisEventType()
830 axisEvent->axisEventType = axisEventType; in SetAxisValueByAxisEventType()
944 Input_Result OH_Input_SetAxisEventType(Input_AxisEvent* axisEvent, InputEvent_AxisEventType axisEventType) in OH_Input_SetAxisEventType() argument
947 axisEvent->axisEventType in OH_Input_SetAxisEventType()
811 SetAxisValueByAxisEventType(std::shared_ptr<OHOS::MMI::PointerEvent> event, struct Input_AxisEvent *axisEvent, int32_t axisEventType) SetAxisValueByAxisEventType() argument
951 OH_Input_GetAxisEventType(const Input_AxisEvent* axisEvent, InputEvent_AxisEventType* axisEventType) OH_Input_GetAxisEventType() argument
1329 OH_Input_AddAxisEventMonitor(InputEvent_AxisEventType axisEventType, Input_AxisEventCallback callback) OH_Input_AddAxisEventMonitor() argument
1442 OH_Input_RemoveAxisEventMonitor(InputEvent_AxisEventType axisEventType, Input_AxisEventCallback callback) OH_Input_RemoveAxisEventMonitor() argument
[all...]
/foundation/multimodalinput/input/util/common/src/
H A Dinput_event_data_transformation.cpp406 int32_t axisEventType; in SetAxisInfo() local
407 pkt >> axisEventType; in SetAxisInfo() local
408 event->SetAxisEventType(axisEventType); in SetAxisInfo()
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Dpointer_event.h1685 * @param axisEventType Indicates the axis event type to set.
1689 void SetAxisEventType(int32_t axisEventType);
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dpointer_event.cpp866 void PointerEvent::SetAxisEventType(int32_t axisEventType) in SetAxisEventType() argument
868 axisEventType_ = axisEventType; in SetAxisEventType()
/foundation/multimodalinput/input/frameworks/native/input/test/
H A Doh_input_manager_test.cpp64 int32_t axisEventType { -1 };

Completed in 23 milliseconds