Home
last modified time | relevance | path

Searched refs:Rect (Results 1 – 25 of 29) sorted by relevance

12

/test/testfwk/arkxtest/uitest/test/
Drect_algorithm_test.cpp24 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 …]
Dui_model_test.cpp26 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/
Dui_model.h79 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 …]
Drect_algorithm.cpp22 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()
Dui_model.cpp25 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 …]
Dui_action.h161 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/
DRect.ets30 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)
DShape.ets31 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/
Drect.ets22 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/
Dcomponent_tree.h48 OHOS::Accessibility::Rect GetPosition() in GetPosition()
66 OHOS::Accessibility::Rect rect_ {};
/test/xts/acts/graphic/graphicnapitest/
DNativeWindowTest.cpp170 struct Region::Rect * rect = new Region::Rect();
190 struct Region::Rect * rect = new Region::Rect();
DNativeImageTest.cpp331 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/
DshapeClipping_y.ets24 @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/
DtouchAble.ets28 Rect()
33 console.info(this.text1 = 'Rect Clicked')
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/pages/
DshapeClipping.ets24 @State maskType: CommonShapeMethod= new Rect({ width: 280, height: 280 });
40 this.clipType = new Rect({ width: 280, height: 280 });
/test/xts/dcts/distributedhardware/distributedcameratest/
Dstream_customer.h54 OHOS::Rect damage; in OnBufferAvailable()
/test/testfwk/arkxtest/uitest/record/
Dfind_widget.cpp37 Rect rect = widget.GetBounds(); in Matches()
Dui_record.cpp43 Rect windowBounds = Rect(0, 0, 0, 0);
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/
Drect.test.ets56 let strJson = getInspectorByKey('Rect');
73 let strJson = getInspectorByKey('Rect');
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/componettest/
DShapeClippingJsunit_y.test.ets71 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/
DenumsLineCapStyle.ets23 Rect().width(300).height(50)
/test/xts/hats/hdf/camera/v4l2/src/
Dstream_customer.cpp29 OHOS::Rect damage; in CamFrame()
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/test/
DShapeClippingJsunit.test.ets71 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/
Dshape.ets83 Rect().width(300).height(50)
/test/ostest/wukong/common/src/
Dcomponent_manager.cpp302 Accessibility::Rect componentBounds = elementInfo.GetRectInScreen(); in GetComponentPosition()

12