/test/testfwk/arkxtest/uitest/test/ |
D | rect_algorithm_test.cpp | 24 Rect rect(100, 200, 300, 400); in TEST() 26 Rect rect1(0, 0, 0, 0); in TEST() 32 Rect rect0(100, 200, 300, 400); in TEST() 33 Rect rect1(0, 100, 0, 100); in TEST() 34 Rect rect2(200, 300, 400, 500); in TEST() 35 Rect rect3(100, 150, 200, 350); in TEST() 36 Rect rect4(150, 250, 350, 450); in TEST() 37 Rect rect5(120, 180, 320, 380); in TEST() 39 Rect intersection {0, 0, 0, 0}; in TEST() 68 auto rect = Rect(10, 20, 10, 20); in TEST() [all …]
|
D | ui_model_test.cpp | 26 Rect rect(100, 200, 300, 400); in TEST() 58 widget.SetBounds(Rect(1, 2, 3, 4)); in TEST() 161 vector<Rect> boundsList_; 290 vector<Rect> expectedBounds = {Rect(0, 100, 0, 100), Rect(0, 100, 20, 80), Rect(0, 100, 20, 80), in TEST() 291 Rect(0, 100, 0, 100), Rect(0, 100, 0, 20)}; in TEST()
|
/test/testfwk/arkxtest/uitest/core/ |
D | ui_model.h | 79 struct Rect { struct 80 Rect(int32_t left, int32_t right, int32_t top, int32_t bottom) in Rect() function 115 FORCE_INLINE static bool CheckEqual(const Rect &ra, const Rect &rb); argument 116 FORCE_INLINE static bool CheckIntersectant(const Rect &ra, const Rect &rb); 117 FORCE_INLINE static bool IsInnerPoint(const Rect &rect, const Point &point); 118 FORCE_INLINE static bool IsPointOnEdge(const Rect &rect, const Point &point); 119 static bool ComputeIntersection(const Rect &ra, const Rect &rb, Rect &result); 120 …static bool ComputeMaxVisibleRegion(const Rect &rect, const std::vector<Rect> &overlays, Rect &out… 123 FORCE_INLINE bool RectAlgorithm::CheckEqual(const Rect &ra, const Rect &rb) in CheckEqual() 128 FORCE_INLINE bool RectAlgorithm::CheckIntersectant(const Rect &ra, const Rect &rb) in CheckIntersectant() [all …]
|
D | rect_algorithm.cpp | 22 bool RectAlgorithm::ComputeIntersection(const Rect &ra, const Rect &rb, Rect &result) in ComputeIntersection() 49 static void CollectGridLineCoords(const Rect& rect, const Rect& overlay) in CollectGridLineCoords() 104 …static void CollectGridPoint(int32_t px, int32_t py, const Rect& rect, const vector<Rect>& overlay… in CollectGridPoint() 125 static void FindMaxVisibleRegion(const vector<Rect>& overlays, Rect& out) in FindMaxVisibleRegion() 131 out = Rect(0, 0, 0, 0); in FindMaxVisibleRegion() 143 …const auto area = Rect(g_Points[idx0].px_, g_Points[idx1].px_, g_Points[idx0].py_, g_Points[idx1].… in FindMaxVisibleRegion() 157 …bool RectAlgorithm::ComputeMaxVisibleRegion(const Rect& rect, const vector<Rect>& overlays, Rect& … in ComputeMaxVisibleRegion() 159 vector<Rect> filteredOverlays; in ComputeMaxVisibleRegion() 164 auto intersection = Rect(0, 0, 0, 0); in ComputeMaxVisibleRegion() 167 out = Rect(0, 0, 0, 0); in ComputeMaxVisibleRegion()
|
D | ui_model.cpp | 25 static string Rect2JsonStr(const Rect &rect) in Rect2JsonStr() 61 void Widget::SetBounds(const Rect &bounds) in SetBounds() 165 …auto rect = Rect(integers[INDEX_ZERO], integers[INDEX_TWO], integers[INDEX_ONE], integers[INDEX_TH… in SetWidgetBounds() 293 auto newBounds = Rect(0, 0, 0, 0); in ConstructFromDom() 297 newBounds = Rect(0, 0, 0, 0); // parent was discarded in ConstructFromDom() 302 newBounds = Rect(0, 0, 0, 0); in ConstructFromDom() 435 using MergerFunction = function<void(const Widget &, const Rect &)>; 446 Rect GetMergedBounds() const in GetMergedBounds() 454 vector<Rect> overlays_; 460 Rect mergedBounds_ = {0, 0, 0, 0}; [all …]
|
D | ui_action.h | 161 explicit GenericPinch(const Rect &rect, float_t scale) : rect_(rect), scale_(scale) {}; in GenericPinch() 168 const Rect rect_;
|
/test/xts/acts/arkui/ace_ets_test/entry/src/main/ets/MainAbility/pages/components/ |
D | Rect.ets | 30 Rect({ width: '90%', height: 50 }) 31 Rect().width('90%').height(50) 34 Rect({ width: '90%', height: 50 }).radiusHeight(20).radiusWidth(20) 35 Rect({ width: '90%', height: 50 }).radius(20)
|
D | Shape.ets | 31 Rect().width(300).height(50) 40 Rect().width(300).height(50) 61 Rect().width(300).height(100)
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/ |
D | rect.ets | 22 private rect: RectAttribute = new Rect({ 54 Rect({ width: '90%', height: "50px" }).radiusHeight(20).radiusWidth(20) 55 .key("Rect") 58 .mask(new Rect({ width: '150px', height: '150px' }).fill(Color.Gray))
|
/test/ostest/wukong/component_event/include/ |
D | component_tree.h | 48 OHOS::Accessibility::Rect GetPosition() in GetPosition() 66 OHOS::Accessibility::Rect rect_ {};
|
/test/xts/acts/graphic/graphicnapitest/ |
D | NativeWindowTest.cpp | 170 struct Region::Rect * rect = new Region::Rect(); 190 struct Region::Rect * rect = new Region::Rect();
|
D | NativeImageTest.cpp | 331 struct Region::Rect *rect = new Region::Rect(); 415 struct Region::Rect *rect = new Region::Rect(); 464 struct Region::Rect *rect = new Region::Rect();
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/ |
D | shapeClipping_y.ets | 24 @State maskType: CommonShapeMethod= new Rect({ width: 280, height: 280 }); 32 rect: RectInterface = Rect 47 this.clipType = new Rect({ width: 280, height: 280 });
|
/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/MainAbility/pages/ |
D | touchAble.ets | 28 Rect() 33 console.info(this.text1 = 'Rect Clicked')
|
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/pages/ |
D | shapeClipping.ets | 24 @State maskType: CommonShapeMethod= new Rect({ width: 280, height: 280 }); 40 this.clipType = new Rect({ width: 280, height: 280 });
|
/test/xts/dcts/distributedhardware/distributedcameratest/ |
D | stream_customer.h | 54 OHOS::Rect damage; in OnBufferAvailable()
|
/test/testfwk/arkxtest/uitest/record/ |
D | find_widget.cpp | 37 Rect rect = widget.GetBounds(); in Matches()
|
D | ui_record.cpp | 43 Rect windowBounds = Rect(0, 0, 0, 0);
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/ |
D | rect.test.ets | 56 let strJson = getInspectorByKey('Rect'); 73 let strJson = getInspectorByKey('Rect');
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/componettest/ |
D | ShapeClippingJsunit_y.test.ets | 71 expect(obj.$attrs.mask.shape).assertEqual('Rect'); 125 expect(clip.shape).assertEqual('Rect'); 152 expect(clip.shape).assertEqual('Rect');
|
/test/xts/acts/arkui/ace_ets_component_four/entry/src/main/ets/MainAbility/pages/ |
D | enumsLineCapStyle.ets | 23 Rect().width(300).height(50)
|
/test/xts/hats/hdf/camera/v4l2/src/ |
D | stream_customer.cpp | 29 OHOS::Rect damage; in CamFrame()
|
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/test/ |
D | ShapeClippingJsunit.test.ets | 71 expect(obj.$attrs.mask.shape).assertEqual('Rect'); 125 expect(clip.shape).assertEqual('Rect');
|
/test/xts/acts/arkui/ace_ets_component_three/entry/src/main/ets/MainAbility/pages/ |
D | shape.ets | 83 Rect().width(300).height(50)
|
/test/ostest/wukong/common/src/ |
D | component_manager.cpp | 302 Accessibility::Rect componentBounds = elementInfo.GetRectInScreen(); in GetComponentPosition()
|