/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() 115 top_ = 0; in Rect() 120 int32_t top_; member 130 return (top_ + bottom_) / TWO; in GetCenterY() 140 return bottom_ - top_; in GetHeight() 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() 192 if (ra.top_ >= rb.bottom_ || ra.bottom_ <= rb.top_) { in CheckIntersectant() 201 || point.py_ <= rect.top_ || point.py_ >= rect.bottom_) { in IsInnerPoint() [all …]
|
D | rect_algorithm.cpp | 27 if (ra.top_ >= rb.bottom_ || ra.bottom_ <= rb.top_) { in ComputeIntersection() 31 array<int32_t, INDEX_FOUR> py = {ra.top_, ra.bottom_, rb.top_, rb.bottom_}; in ComputeIntersection() 78 if (overlay.top_ >= rect.top_ && overlay.top_ <= rect.bottom_) { in CollectGridLineCoords() 80 if (overlay.top_ == g_YCoords[idx]) { in CollectGridLineCoords() 86 g_YCoords[g_YCount++] = overlay.top_; in CollectGridLineCoords() 91 if (overlay.bottom_ >= rect.top_ && overlay.bottom_ <= rect.bottom_) { in CollectGridLineCoords()
|
D | window_operator.cpp | 104 Point from(rect.GetCenterX(), rect.top_ + step1); in CallBar() 105 Point to(rect.GetCenterX(), rect.top_ + step2); in CallBar() 118 Point focus(rect.GetCenterX(), rect.top_ + step); in Focus() 133 Point from(rect.left_ + step, rect.top_ + step); in MoveTo() 158 from = Point(window_.bounds_.GetCenterX(), window_.bounds_.top_); in Resize() 163 to = Point(window_.bounds_.GetCenterX(), window_.bounds_.top_ + highth); in Resize() 166 from = Point(window_.bounds_.left_, window_.bounds_.top_); 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() 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 | 129 mergeBounds.top_ = std::min(mergeBounds.top_, winCache.window_.bounds_.top_); in DumpWindowsInfo() 153 ss << "[" << mergeBounds.left_ << "," << mergeBounds.top_ << "]" in DumpUiHierarchy() 549 mergeRect.top_ = std::min(winCache.window_.bounds_.top_, mergeRect.top_); in GetMergeWindowBounds()
|
D | widget_operator.cpp | 35 … return std::abs(allWidgets.at(index)->GetBounds().top_ - anchorLeafWidget->GetBounds().top_) < in IsScrolledToBorder() 260 Point topPoint(bounds.GetCenterX(), bounds.top_); in TurnPage()
|
D | select_strategy.cpp | 140 (oriBounds.left_ >= 0 && oriBounds.top_ >= 0)) { in RefreshWidgetBounds()
|
D | frontend_api_handler.cpp | 1156 data["top"] = bounds.top_; in GenericComponentAttrGetter() 1262 data["top"] = snapshot->bounds_.top_; in RegisterUiWindowAttrGetters()
|
/test/testfwk/arkxtest/uitest/test/ |
D | ui_model_test.cpp | 29 ASSERT_EQ(300, rect.top_); in TEST() 66 ASSERT_EQ(3, bounds.top_); in TEST()
|
D | rect_algorithm_test.cpp | 48 ASSERT_EQ(300, intersection.top_); in TEST() 55 ASSERT_EQ(350, intersection.top_); in TEST() 62 ASSERT_EQ(320, intersection.top_); in TEST()
|
D | mock_element_node_iterator.h | 107 eleRoot.rectInScreen.top_ = std::stoi(rectStrVec[2]); in WrapperJsonToElement() 253 …boundStream << "[" << nodeOriginRect.left_ << "," << nodeOriginRect.top_ << "][" << nodeOriginRect… in WrapperNodeAttrToVec()
|
D | select_strategy_test.cpp | 53 ASSERT_EQ(rect.top_, 30); in TEST() 78 ASSERT_EQ(rect.top_, 0); in TEST() 103 ASSERT_EQ(rect.top_, 40); 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 | 363 << windowBounds.top_ << "," << windowBounds.right_ << "," in RecordInitEnv() 371 outFile << windowBounds.top_ << ','; in RecordInitEnv()
|
/test/testfwk/arkxtest/uitest/server/ |
D | system_ui_controller.cpp | 248 (topY < windowBounds.top_) ? windowBounds.top_ : topY, 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()
|