Home
last modified time | relevance | path

Searched refs:py_ (Results 1 – 7 of 7) sorted by relevance

/test/testfwk/arkxtest/uitest/test/
Dui_action_test.cpp60 ASSERT_EQ(point.py_, event1.point_.py_); in TEST_F()
65 ASSERT_EQ(point.py_, event2.point_.py_); in TEST_F()
80 ASSERT_EQ(point.py_, event1.point_.py_); in TEST_F()
87 ASSERT_EQ(point.py_, event2.point_.py_); in TEST_F()
104 ASSERT_EQ(point.py_, event1.point_.py_); in TEST_F()
109 ASSERT_EQ(point.py_, event2.point_.py_); in TEST_F()
116 ASSERT_EQ(point.py_, event3.point_.py_); in TEST_F()
121 ASSERT_EQ(point.py_, event4.point_.py_); in TEST_F()
140 const int32_t disY = point1.py_ - point0.py_; in TEST_F()
148 int32_t expectedPointerY = point0.py_ + (disY * step) / steps; in TEST_F()
[all …]
Dwidget_operator_test.cpp250 if (touch_event_records->At(finger, step).point_.py_ > maxCy) { in TEST_F()
251 maxCy = touch_event_records->At(finger, step).point_.py_; in TEST_F()
253 if (touch_event_records->At(finger, step).point_.py_ < minCy) { in TEST_F()
254 minCy = touch_event_records->At(finger, step).point_.py_; in TEST_F()
302 …if (touch_event_records->At(0, event).point_.py_ > touch_event_records->At(0, maxCyEventIndex).poi… in TEST_F()
310 …ASSERT_LT(touch_event_records->At(0, idx).point_.py_, touch_event_records->At(0, idx + 1).point_.p… in TEST_F()
312 …ASSERT_GT(touch_event_records->At(0, idx).point_.py_, touch_event_records->At(0, idx + 1).point_.p… in TEST_F()
/test/testfwk/arkxtest/uitest/core/
Dui_model.h72 Point() : px_(0), py_(0) {}; in Point()
73 Point(int32_t px, int32_t py) : px_(px), py_(py) {}; in Point()
75 int32_t py_; member
142 || point.py_ <= rect.top_ || point.py_ >= rect.bottom_) { in IsInnerPoint()
151 && point.py_ >= rect.top_ && point.py_ <= rect.bottom_) { in IsPointOnEdge()
154 if ((point.py_ == rect.top_ || point.py_ == rect.bottom_) in IsPointOnEdge()
Drect_algorithm.cpp129 return pa.px_ == pb.px_ ? pa.py_ < pb.py_ : pa.px_ < pb.px_; in FindMaxVisibleRegion()
135 const auto height = g_Points[idx1].py_ - g_Points[idx0].py_; in FindMaxVisibleRegion()
143 …t auto area = Rect(g_Points[idx0].px_, g_Points[idx1].px_, g_Points[idx0].py_, g_Points[idx1].py_); in FindMaxVisibleRegion()
Dui_action.cpp62 const int32_t distanceY = to.py_ - from.py_; in DecomposeComputeSwipe()
74 pointer.PushAction(TouchEvent {ActionStage::DOWN, {from.px_, from.py_}, 0, intervalMs}); in DecomposeComputeSwipe()
77 const int32_t pointY = from.py_ + (distanceY * step) / steps; in DecomposeComputeSwipe()
82 pointer.PushAction(TouchEvent {ActionStage::UP, {to.px_, to.py_}, timeCostMs, intervalMs}); in DecomposeComputeSwipe()
165 const int32_t pyTo = pointers_.At(finger, step + 1).point_.py_; in Decompose()
166 const int32_t pyFrom = pointers_.At(finger, step).point_.py_; in Decompose()
181 auto endPy = pointers_.At(finger, pointers_.GetSteps() - 1).point_.py_; in Decompose()
Dfrontend_api_handler.cpp738 const int32_t distanceY = point1.py_ - point0.py_; in RegisterUiDriverMultiPointerOperators()
801 data["y"] = result.py_; in RegisterUiDriverDisplayOperators()
807 data["y"] = result.py_; in RegisterUiDriverDisplayOperators()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp315 pinterItem.SetDisplayY(events.At(finger, step).point_.py_); in InjectTouchEventSequence()
616 Point result(displaySize.px_ * rate, displaySize.py_ * rate); in GetDisplayDensity()