Home
last modified time | relevance | path

Searched refs:left_ (Results 1 – 18 of 18) sorted by relevance

/test/testfwk/arkxtest/uitest/core/
Dui_model.h107 : left_(left), right_(right), top_(top), bottom_(bottom) in Rect()
109 DCHECK(right_ >= left_ && bottom_ >= top_); in Rect()
113 left_ = 0; in Rect()
118 int32_t left_; member
125 return (left_ + right_) / TWO; in GetCenterX()
135 return right_ - left_; in GetWidth()
146 …ss << "Rect {left:" << left_ << ",right:" << right_ << ",top:" << top_ << ",bottom:" << bottom_ <<… in Describe()
184 …return ra.left_ == rb.left_ && ra.right_ == rb.right_ && ra.top_ == rb.top_ && ra.bottom_ == rb.bo… in CheckEqual()
189 if (ra.left_ >= rb.right_ || ra.right_ <= rb.left_) { in CheckIntersectant()
200 if (point.px_ <= rect.left_ || point.px_ >= rect.right_ in IsInnerPoint()
[all …]
Drect_algorithm.cpp24 if (ra.left_ >= rb.right_ || ra.right_ <= rb.left_) { in ComputeIntersection()
30 array<int32_t, INDEX_FOUR> px = {ra.left_, ra.right_, rb.left_, rb.right_}; in ComputeIntersection()
52 if (overlay.left_ >= rect.left_ && overlay.left_ <= rect.right_) { in CollectGridLineCoords()
54 if (overlay.left_ == g_XCoords[idx]) { in CollectGridLineCoords()
60 g_XCoords[g_XCount++] = overlay.left_; in CollectGridLineCoords()
65 if (overlay.right_ >= rect.left_ && overlay.right_ <= rect.right_) { in CollectGridLineCoords()
Dwindow_operator.cpp133 Point from(rect.left_ + step, rect.top_ + step); in MoveTo()
150 from = Point(window_.bounds_.left_, window_.bounds_.GetCenterY()); in Resize()
155 to = Point((window_.bounds_.left_ + width), window_.bounds_.GetCenterY()); in Resize()
166 from = Point(window_.bounds_.left_, window_.bounds_.top_); in Resize()
170 from = Point(window_.bounds_.left_, window_.bounds_.bottom_); in Resize()
175 to = Point(window_.bounds_.left_ + width, window_.bounds_.bottom_ - highth); in Resize()
179 to = Point(window_.bounds_.left_ + width, window_.bounds_.top_ + highth); in Resize()
Dui_model.cpp52 … boundStream << "[" << bounds_.left_ << "," << bounds_.top_ << "][" << bounds_.right_ << "," in GetAttrVec()
75 … boundStream << "[" << bounds_.left_ << "," << bounds_.top_ << "][" << bounds_.right_ << "," in GetAttr()
117 … boundStream << "[" << bounds_.left_ << "," << bounds_.top_ << "][" << bounds_.right_ << "," in WrapperWidgetToJson()
Dui_driver.cpp128 mergeBounds.left_ = std::min(mergeBounds.left_, winCache.window_.bounds_.left_); in DumpWindowsInfo()
153 ss << "[" << mergeBounds.left_ << "," << mergeBounds.top_ << "]" in DumpUiHierarchy()
548 mergeRect.left_ = std::min(winCache.window_.bounds_.left_, mergeRect.left_); in GetMergeWindowBounds()
Dui_action.cpp125 const int32_t distanceX0 = abs(rect_.GetCenterX() - rect_.left_) * abs(scale_ - 1); in Decompose()
136 auto fromPoint0 = Point(rect_.left_ + options.pinchWidgetDeadZone_, rect_.GetCenterY()); in Decompose()
137 auto toPoint0 = Point((rect_.left_ + distanceX0), rect_.GetCenterY()); in Decompose()
Dselect_strategy.cpp140 (oriBounds.left_ >= 0 && oriBounds.top_ >= 0)) { in RefreshWidgetBounds()
Dfrontend_api_handler.cpp1155 data["left"] = bounds.left_; in GenericComponentAttrGetter()
1261 data["left"] = snapshot->bounds_.left_; in RegisterUiWindowAttrGetters()
/test/testfwk/arkxtest/uitest/test/
Dui_model_test.cpp27 ASSERT_EQ(100, rect.left_); in TEST()
64 ASSERT_EQ(1, bounds.left_); in TEST()
Drect_algorithm_test.cpp46 ASSERT_EQ(100, intersection.left_); in TEST()
53 ASSERT_EQ(150, intersection.left_); in TEST()
60 ASSERT_EQ(120, intersection.left_); in TEST()
Dmock_element_node_iterator.h105 eleRoot.rectInScreen.left_ = std::stoi(rectStrVec[0]); in WrapperJsonToElement()
253 …boundStream << "[" << nodeOriginRect.left_ << "," << nodeOriginRect.top_ << "][" << nodeOriginRect… in WrapperNodeAttrToVec()
Dui_action_test.cpp227 const int32_t disX0 = abs(rect.left_ - rect.GetCenterX()) * abs(scale - 1); in TEST_F()
234 int32_t expectedPointerX0 = rect.left_ + (disX0 * step) / steps; in TEST_F()
367 const int32_t disX0 = abs(rect.left_ - rect.GetCenterX()) * abs(scale - 1); in TEST_F()
Dselect_strategy_test.cpp51 ASSERT_EQ(rect.left_, 30); in TEST()
76 ASSERT_EQ(rect.left_, 0); in TEST()
101 ASSERT_EQ(rect.left_, 20); in TEST()
/test/testfwk/arkxtest/uitest/record/
Dfind_widget.cpp32 if (!(x <= rect.right_ && x >= rect.left_ && y <= rect.bottom_ && y >= rect.top_)) { in FindWidget()
Dui_record.cpp362 std::cout<< "windowBounds : (" << windowBounds.left_ << "," in RecordInitEnv()
370 outFile << windowBounds.left_ << ','; in RecordInitEnv()
Dpointer_tracker.cpp296 if (startEvent.x - windowBounds.left_ <= NAVI_THRE_D && in IsBack()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp246 Rect newBounds((leftX < windowBounds.left_) ? windowBounds.left_ : leftX, in GetVisibleRect()
567 Media::Rect region = {.left = rect.left_, .top = rect.top_, in TakeScreenCap()
568 .width = rect.right_ - rect.left_, .height = rect.bottom_ - rect.top_}; in TakeScreenCap()
569 … Media::Size size = {.width = rect.right_ - rect.left_, .height = rect.bottom_ - rect.top_}; in TakeScreenCap()
Delement_node_iterator_impl.cpp266 …boundStream << "[" << visibleRect.left_ << "," << visibleRect.top_ << "][" << visibleRect.right_ <… in WrapperNodeAttrToVec()