/test/testfwk/arkxtest/uitest/core/ |
D | ui_model.h | 107 : 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 …]
|
D | rect_algorithm.cpp | 24 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()
|
D | ui_model.cpp | 52 … 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()
|
D | window_operator.cpp | 151 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()
|
D | ui_driver.cpp | 130 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()
|
D | ui_action.cpp | 138 … auto fromPoint1 = Point(rect_.right_ - options.pinchWidgetDeadZone_, rect_.GetCenterY()); in Decompose() 139 auto toPoint1 = Point((rect_.right_ - distanceX0), rect_.GetCenterY()); in Decompose()
|
D | frontend_api_handler.cpp | 1157 data["right"] = bounds.right_; in GenericComponentAttrGetter() 1263 data["right"] = snapshot->bounds_.right_; in RegisterUiWindowAttrGetters()
|
/test/testfwk/arkxtest/uitest/test/ |
D | ui_model_test.cpp | 28 ASSERT_EQ(200, rect.right_); in TEST() 65 ASSERT_EQ(2, bounds.right_); in TEST()
|
D | rect_algorithm_test.cpp | 47 ASSERT_EQ(150, intersection.right_); in TEST() 54 ASSERT_EQ(200, intersection.right_); in TEST() 61 ASSERT_EQ(180, intersection.right_); in TEST()
|
D | mock_element_node_iterator.h | 106 eleRoot.rectInScreen.right_ = std::stoi(rectStrVec[1]); in WrapperJsonToElement() 253 …tream << "[" << nodeOriginRect.left_ << "," << nodeOriginRect.top_ << "][" << nodeOriginRect.right_ in WrapperNodeAttrToVec()
|
D | select_strategy_test.cpp | 52 ASSERT_EQ(rect.right_, 30); in TEST() 77 ASSERT_EQ(rect.right_, 0); in TEST() 102 ASSERT_EQ(rect.right_, 50); in TEST()
|
D | ui_action_test.cpp | 253 int32_t expectedPointerX0 = rect.right_ - (disX0 * step) / steps; in TEST_F()
|
/test/testfwk/arkxtest/uitest/record/ |
D | find_widget.cpp | 32 if (!(x <= rect.right_ && x >= rect.left_ && y <= rect.bottom_ && y >= rect.top_)) { in FindWidget()
|
D | ui_record.cpp | 363 << windowBounds.top_ << "," << windowBounds.right_ << "," in RecordInitEnv() 372 outFile << windowBounds.right_ << ','; in RecordInitEnv()
|
/test/testfwk/arkxtest/uitest/server/ |
D | system_ui_controller.cpp | 247 (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()
|
D | element_node_iterator_impl.cpp | 266 …dStream << "[" << visibleRect.left_ << "," << visibleRect.top_ << "][" << visibleRect.right_ << "," in WrapperNodeAttrToVec()
|