Home
last modified time | relevance | path

Searched refs:pinchWidgetDeadZone_ (Results 1 – 3 of 3) sorted by relevance

/test/testfwk/arkxtest/uitest/core/
Dui_action.cpp129 … auto fromPoint0 = Point(rect_.GetCenterX() - options.pinchWidgetDeadZone_, rect_.GetCenterY()); in Decompose()
131 … auto fromPoint1 = Point(rect_.GetCenterX() + options.pinchWidgetDeadZone_, rect_.GetCenterY()); in Decompose()
136 auto fromPoint0 = Point(rect_.left_ + options.pinchWidgetDeadZone_, rect_.GetCenterY()); in Decompose()
138 … auto fromPoint1 = Point(rect_.right_ - options.pinchWidgetDeadZone_, rect_.GetCenterY()); in Decompose()
Dui_action.h157 int32_t pinchWidgetDeadZone_ = 80; // pinching at the edges of the widget has no effect. variable
/test/testfwk/arkxtest/uitest/test/
Dui_action_test.cpp236 ASSERT_NEAR(expectedPointerX0, x0, opt.pinchWidgetDeadZone_); in TEST_F()
254 …RT_NEAR(expectedPointerX0, events.At(eventFinger, eventStep).point_.px_, opt.pinchWidgetDeadZone_); in TEST_F()
376 ASSERT_NEAR(expectedPointerX0, x0, opt.pinchWidgetDeadZone_); in TEST_F()
394 …RT_NEAR(expectedPointerX0, events.At(eventFinger, eventStep).point_.px_, opt.pinchWidgetDeadZone_); in TEST_F()