Home
last modified time | relevance | path

Searched refs:GetAxisValue (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/include/
H A Devent_log_helper.h354 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_PINCH)), in Print()
355 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ROTATE)), in Print()
356 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ABS_X)), in Print()
357 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ABS_Y)), in Print()
358 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ABS_Z)), in Print()
359 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ABS_RZ)), in Print()
360 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ABS_GAS)), in Print()
361 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ABS_BRAKE)), in Print()
362 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ABS_HAT0X)), in Print()
363 static_cast<int32_t>(event->GetAxisValue(PointerEvent::AXIS_TYPE_ABS_HAT0Y)), in Print()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/session/container/src/
H A Dwindow_event_channel.cpp265 event->GetAxisValue(MMI::PointerEvent::AXIS_TYPE_SCROLL_VERTICAL), in PrintPointerEvent()
266 event->GetAxisValue(MMI::PointerEvent::AXIS_TYPE_SCROLL_HORIZONTAL), in PrintPointerEvent()
302 event->GetAxisValue(MMI::PointerEvent::AXIS_TYPE_SCROLL_VERTICAL), in PrintInfoPointerEvent()
303 event->GetAxisValue(MMI::PointerEvent::AXIS_TYPE_SCROLL_HORIZONTAL), in PrintInfoPointerEvent()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll_bar/
H A Dscroll_bar_test_ng.cpp136 Axis axis = layoutProperty_->GetAxisValue(); in CreateScrollBarChild()
175 EXPECT_EQ(layoutProperty_->GetAxisValue(), Axis::VERTICAL);
180 EXPECT_EQ(layoutProperty_->GetAxisValue(), Axis::VERTICAL);
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Devent_dispatcher.cpp305 static double GetAxisValue(const std::shared_ptr<MMI::PointerEvent>& pointerEvent, MMI::PointerEven… in GetAxisValue() function
321 …event.horizontalAxis = GetAxisValue(pointerEvent, MMI::PointerEvent::AxisType::AXIS_TYPE_SCROLL_HO… in ConvertAxisEvent()
322 …event.verticalAxis = GetAxisValue(pointerEvent, MMI::PointerEvent::AxisType::AXIS_TYPE_SCROLL_VERT… in ConvertAxisEvent()
323 event.pinchAxisScale = GetAxisValue(pointerEvent, MMI::PointerEvent::AxisType::AXIS_TYPE_PINCH); in ConvertAxisEvent()
324 … event.rotateAxisAngle = GetAxisValue(pointerEvent, MMI::PointerEvent::AxisType::AXIS_TYPE_ROTATE); in ConvertAxisEvent()
/ohos5.0/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Daxis_event.h112 int32_t GetAxisValue() const;
H A Dpointer_event.h1514 double GetAxisValue(AxisType axis) const;
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Daxis_event.cpp61 int32_t AxisEvent::GetAxisValue() const in GetAxisValue() function in OHOS::MMI::AxisEvent
H A Dpointer_event.cpp749 double PointerEvent::GetAxisValue(AxisType axis) const in GetAxisValue() function in OHOS::MMI::PointerEvent
879 WRITEDOUBLE(out, GetAxisValue(axis)); in WriteToParcel()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/
H A Dscroll_bar_layout_property.h66 json->PutExtAttr("direction", directionMap[GetAxisValue(Axis::VERTICAL)].c_str(), filter); in ToJsonValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/
H A Dscroll_layout_property.h62 Axis axis = GetAxisValue(Axis::VERTICAL); in ToJsonValue()
H A Dscroll_model_ng.cpp137 value = static_cast<int32_t>(layoutProperty->GetAxisValue()); in GetAxis()
/ohos5.0/foundation/multimodalinput/input/test/unittest/common/src/
H A Devent_util_test.cpp211 << pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_VERTICAL) in DumpInputEvent()
213 << pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_HORIZONTAL) in DumpInputEvent()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dmmi_event_convertor.cpp402 …event.horizontalAxis = pointerEvent->GetAxisValue(OHOS::MMI::PointerEvent::AxisType::AXIS_TYPE_SCR… in ConvertAxisEvent()
403 …event.verticalAxis = pointerEvent->GetAxisValue(OHOS::MMI::PointerEvent::AxisType::AXIS_TYPE_SCROL… in ConvertAxisEvent()
404 …event.pinchAxisScale = pointerEvent->GetAxisValue(OHOS::MMI::PointerEvent::AxisType::AXIS_TYPE_PIN… in ConvertAxisEvent()
405 …event.rotateAxisAngle = pointerEvent->GetAxisValue(OHOS::MMI::PointerEvent::AxisType::AXIS_TYPE_RO… in ConvertAxisEvent()
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor.cpp524 pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_PINCH)) != napi_ok) { in TransformPinchEvent()
544 pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_ROTATE)) != napi_ok) { in TransformRotateEvent()
798 axisValue = pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_VERTICAL); in GetAxesValue()
802 axisValue = pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_HORIZONTAL); in GetAxesValue()
806 axisValue = pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_PINCH); in GetAxesValue()
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dpointer_event_test.cpp946 double axisValue = pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_VERTICAL);
949 ASSERT_EQ(pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_VERTICAL), 0);
1390 ASSERT_NO_FATAL_FAILURE(pointerEvent->GetAxisValue(axis));
1392 ASSERT_NO_FATAL_FAILURE(pointerEvent->GetAxisValue(axis));
1394 ASSERT_NO_FATAL_FAILURE(pointerEvent->GetAxisValue(axis));
/ohos5.0/foundation/multimodalinput/input/service/crown_transform_processor/src/
H A Dcrown_transform_processor.cpp252 pointerEvent_->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_VERTICAL), in Dump()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtab_bar_test_ng.cpp96 EXPECT_EQ(tabBarLayoutProperty_->GetAxisValue(), Axis::VERTICAL);
115 EXPECT_EQ(tabBarLayoutProperty_->GetAxisValue(), Axis::HORIZONTAL);
197 EXPECT_EQ(tabBarLayoutProperty_->GetAxisValue(), Axis::VERTICAL);
205 EXPECT_EQ(tabBarLayoutProperty_->GetAxisValue(), Axis::HORIZONTAL);
H A Dtabs_test_ng.cpp627 EXPECT_EQ(tabBarLayoutProperty_->GetAxisValue(), Axis::VERTICAL);
H A Dtabs_sub_tab_bar_style_test_ng.cpp120 EXPECT_EQ(tabBarLayoutProperty_->GetAxisValue(), Axis::HORIZONTAL);
141 EXPECT_EQ(tabBarLayoutProperty_->GetAxisValue(), Axis::VERTICAL);
/ohos5.0/foundation/multimodalinput/input/service/event_handler/src/
H A Devent_normalize_handler.cpp287 … pointerEvent->GetButtonId(), pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_VERTICAL), in HandlePointerEvent()
288 pointerEvent->GetAxisValue(PointerEvent::AXIS_TYPE_SCROLL_HORIZONTAL)); in HandlePointerEvent()
/ohos5.0/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_manager.cpp797 double value = event->GetAxisValue(OHOS::MMI::PointerEvent::AXIS_TYPE_PINCH); in SetAxisValueByAxisEventType()
799 value = event->GetAxisValue(OHOS::MMI::PointerEvent::AXIS_TYPE_ROTATE); in SetAxisValueByAxisEventType()
802 double value = event->GetAxisValue(OHOS::MMI::PointerEvent::AXIS_TYPE_SCROLL_VERTICAL); in SetAxisValueByAxisEventType()
804 value = event->GetAxisValue(OHOS::MMI::PointerEvent::AXIS_TYPE_SCROLL_HORIZONTAL); in SetAxisValueByAxisEventType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.cpp775 if (event.code == (tabBarLayoutProperty->GetAxisValue(Axis::HORIZONTAL) == Axis::HORIZONTAL in OnKeyEvent()
785 if (event.code == (tabBarLayoutProperty->GetAxisValue(Axis::HORIZONTAL) == Axis::HORIZONTAL in OnKeyEvent()
813 if (event.code == (tabBarLayoutProperty->GetAxisValue(Axis::HORIZONTAL) == Axis::HORIZONTAL in OnKeyEventWithoutClick()
827 if (event.code == (tabBarLayoutProperty->GetAxisValue(Axis::HORIZONTAL) == Axis::HORIZONTAL in OnKeyEventWithoutClick()
1350 layoutProperty->GetAxisValue(Axis::HORIZONTAL) == Axis::HORIZONTAL) { in HandleClick()
2395 layoutProperty->GetAxisValue(Axis::HORIZONTAL) != Axis::HORIZONTAL) { in TriggerTranslateAnimation()
/ohos5.0/foundation/multimodalinput/input/util/common/src/
H A Dinput_event_data_transformation.cpp258 pkt << event->GetAxisValue(static_cast<PointerEvent::AxisType>(i)); in SerializePointerEvent()
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/src/input_event_transmission/
H A Dinput_event_serialization.cpp252 double axisValue = event->GetAxisValue(static_cast<MMI::PointerEvent::AxisType>(i)); in SerializeAxes()
/ohos5.0/base/msdp/device_status/intention/cooperate/plugin/src/input_event_transmission/
H A Dinput_event_serialization.cpp251 double axisValue = event->GetAxisValue(static_cast<MMI::PointerEvent::AxisType>(i)); in SerializeAxes()

12