Searched refs:pinchWidgetDeadZone_ (Results 1 – 3 of 3) sorted by relevance
/test/testfwk/arkxtest/uitest/core/ |
D | ui_action.cpp | 129 … 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()
|
D | ui_action.h | 157 int32_t pinchWidgetDeadZone_ = 80; // pinching at the edges of the widget has no effect. variable
|
/test/testfwk/arkxtest/uitest/test/ |
D | ui_action_test.cpp | 236 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()
|