Home
last modified time | relevance | path

Searched refs:right_ (Results 1 – 16 of 16) 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()
114 right_ = 0; in Rect()
119 int32_t right_; 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()
65 if (overlay.right_ >= rect.left_ && overlay.right_ <= rect.right_) { in CollectGridLineCoords()
67 if (overlay.right_ == g_XCoords[idx]) { in CollectGridLineCoords()
73 g_XCoords[g_XCount++] = overlay.right_; in CollectGridLineCoords()
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()
Dwindow_operator.cpp151 to = Point((window_.bounds_.right_ - width), window_.bounds_.GetCenterY()); in Resize()
154 from = Point(window_.bounds_.right_, window_.bounds_.GetCenterY()); in Resize()
167 to = Point(window_.bounds_.right_ - width, window_.bounds_.bottom_ - highth); in Resize()
171 to = Point(window_.bounds_.right_ - width, window_.bounds_.top_ + highth); in Resize()
174 from = Point(window_.bounds_.right_, window_.bounds_.top_); in Resize()
178 from = Point(window_.bounds_.right_, window_.bounds_.bottom_); in Resize()
Dui_driver.cpp130 mergeBounds.right_ = std::max(mergeBounds.right_, winCache.window_.bounds_.right_); in DumpWindowsInfo()
154 << "[" << mergeBounds.right_ << "," << mergeBounds.bottom_ << "]"; in DumpUiHierarchy()
550 mergeRect.right_ = std::max(winCache.window_.bounds_.right_, mergeRect.right_); in GetMergeWindowBounds()
Dui_action.cpp138 … auto fromPoint1 = Point(rect_.right_ - options.pinchWidgetDeadZone_, rect_.GetCenterY()); in Decompose()
139 auto toPoint1 = Point((rect_.right_ - distanceX0), rect_.GetCenterY()); in Decompose()
Dfrontend_api_handler.cpp1157 data["right"] = bounds.right_; in GenericComponentAttrGetter()
1263 data["right"] = snapshot->bounds_.right_; in RegisterUiWindowAttrGetters()
/test/testfwk/arkxtest/uitest/test/
Dui_model_test.cpp28 ASSERT_EQ(200, rect.right_); in TEST()
65 ASSERT_EQ(2, bounds.right_); in TEST()
Drect_algorithm_test.cpp47 ASSERT_EQ(150, intersection.right_); in TEST()
54 ASSERT_EQ(200, intersection.right_); in TEST()
61 ASSERT_EQ(180, intersection.right_); in TEST()
Dmock_element_node_iterator.h106 eleRoot.rectInScreen.right_ = std::stoi(rectStrVec[1]); in WrapperJsonToElement()
253 …tream << "[" << nodeOriginRect.left_ << "," << nodeOriginRect.top_ << "][" << nodeOriginRect.right_ in WrapperNodeAttrToVec()
Dselect_strategy_test.cpp52 ASSERT_EQ(rect.right_, 30); in TEST()
77 ASSERT_EQ(rect.right_, 0); in TEST()
102 ASSERT_EQ(rect.right_, 50); in TEST()
Dui_action_test.cpp253 int32_t expectedPointerX0 = rect.right_ - (disX0 * step) / steps; in TEST_F()
/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.cpp363 << windowBounds.top_ << "," << windowBounds.right_ << "," in RecordInitEnv()
372 outFile << windowBounds.right_ << ','; in RecordInitEnv()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp247 (rightX > windowBounds.right_) ? windowBounds.right_ : rightX, in GetVisibleRect()
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 …dStream << "[" << visibleRect.left_ << "," << visibleRect.top_ << "][" << visibleRect.right_ << "," in WrapperNodeAttrToVec()