/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() 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 …]
|
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() 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()
|
D | window_operator.cpp | 133 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()
|
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 | ui_driver.cpp | 128 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()
|
D | ui_action.cpp | 125 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()
|
D | select_strategy.cpp | 140 (oriBounds.left_ >= 0 && oriBounds.top_ >= 0)) { in RefreshWidgetBounds()
|
D | frontend_api_handler.cpp | 1155 data["left"] = bounds.left_; in GenericComponentAttrGetter() 1261 data["left"] = snapshot->bounds_.left_; in RegisterUiWindowAttrGetters()
|
/test/testfwk/arkxtest/uitest/test/ |
D | ui_model_test.cpp | 27 ASSERT_EQ(100, rect.left_); in TEST() 64 ASSERT_EQ(1, bounds.left_); in TEST()
|
D | rect_algorithm_test.cpp | 46 ASSERT_EQ(100, intersection.left_); in TEST() 53 ASSERT_EQ(150, intersection.left_); in TEST() 60 ASSERT_EQ(120, intersection.left_); in TEST()
|
D | mock_element_node_iterator.h | 105 eleRoot.rectInScreen.left_ = std::stoi(rectStrVec[0]); in WrapperJsonToElement() 253 …boundStream << "[" << nodeOriginRect.left_ << "," << nodeOriginRect.top_ << "][" << nodeOriginRect… in WrapperNodeAttrToVec()
|
D | ui_action_test.cpp | 227 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()
|
D | select_strategy_test.cpp | 51 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/ |
D | find_widget.cpp | 32 if (!(x <= rect.right_ && x >= rect.left_ && y <= rect.bottom_ && y >= rect.top_)) { in FindWidget()
|
D | ui_record.cpp | 362 std::cout<< "windowBounds : (" << windowBounds.left_ << "," in RecordInitEnv() 370 outFile << windowBounds.left_ << ','; in RecordInitEnv()
|
D | pointer_tracker.cpp | 296 if (startEvent.x - windowBounds.left_ <= NAVI_THRE_D && in IsBack()
|
/test/testfwk/arkxtest/uitest/server/ |
D | system_ui_controller.cpp | 246 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()
|
D | element_node_iterator_impl.cpp | 266 …boundStream << "[" << visibleRect.left_ << "," << visibleRect.top_ << "][" << visibleRect.right_ <… in WrapperNodeAttrToVec()
|