Home
last modified time | relevance | path

Searched refs:NearEqual (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
Dvector.h28 return NearEqual(x, other.x) && NearEqual(y, other.y);
40 return NearEqual(x, other.x) && NearEqual(y, other.y) && NearEqual(z, other.z);
53 …return NearEqual(x, other.x) && NearEqual(y, other.y) && NearEqual(z, other.z) && NearEqual(w, oth…
67 return NearEqual(x, other.x) && NearEqual(y, other.y) && NearEqual(z, other.z) &&
68 NearEqual(w, other.w) && NearEqual(v, other.v);
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/progress/
Dprogress_test_utils.h43 return NearEqual(value, diameter_); in CheckDiameter()
53 return NearEqual(value, scale_); in CheckScale()
58 return NearEqual(value, moveRatio_); in CheckMoveRatio()
63 return NearEqual(value, ringWidth_); in CheckRingWidth()
68 return NearEqual(value, ringRadius_); in CheckRingRadius()
73 return NearEqual(value, orbitRadius_); in CheckOrbitRadius()
78 return NearEqual(value, cometRadius_); in CheckCometRadius()
83 return NearEqual(value, cometTailLen_); in CheckCometTailLen()
93 return NearEqual(value, ringBgWidth_); in CheckRingBgWidth()
98 return NearEqual(value, ringBlurRadius_); in CheckRingBlurRadius()
[all …]
Dprogress_creator_test.cpp90 EXPECT_TRUE(NearEqual(min, JSON_MIN_VALUE)); in CompareAllProperty()
91 EXPECT_TRUE(NearEqual(max, JSON_MAX_VALUE)); in CompareAllProperty()
92 EXPECT_TRUE(NearEqual(cachedValue, JSON_CACHED_VALUE)); in CompareAllProperty()
93 EXPECT_TRUE(NearEqual(value, JSON_VALUE)); in CompareAllProperty()
102 EXPECT_TRUE(NearEqual(thickness, JSON_THICKNESS)); in CompareAllProperty()
111 EXPECT_TRUE(NearEqual(min, JSON_MIN_VALUE)); in CompareAllDefault()
112 EXPECT_TRUE(NearEqual(max, JSON_MAX_VALUE)); in CompareAllDefault()
113 EXPECT_TRUE(NearEqual(cachedValue, JSON_CACHED_VALUE)); in CompareAllDefault()
114 EXPECT_TRUE(NearEqual(value, JSON_VALUE)); in CompareAllDefault()
436 EXPECT_TRUE(NearEqual(loadingProgress->GetDiameter().Value(), JSON_DIAMETER));
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/stack/
Dpositioned_creator_test.cpp83 EXPECT_TRUE(NearEqual(top, 0)); in CheckItemProperties()
84 EXPECT_TRUE(NearEqual(bottom, 0)); in CheckItemProperties()
85 EXPECT_TRUE(NearEqual(left, 0)); in CheckItemProperties()
86 EXPECT_TRUE(NearEqual(right, 0)); in CheckItemProperties()
87 EXPECT_TRUE(NearEqual(width, 0)); in CheckItemProperties()
88 EXPECT_TRUE(NearEqual(height, 0)); in CheckItemProperties()
90 EXPECT_TRUE(NearEqual(top, TEST_TOP)); in CheckItemProperties()
91 EXPECT_TRUE(NearEqual(bottom, TEST_BOTTOM)); in CheckItemProperties()
92 EXPECT_TRUE(NearEqual(left, TEST_LEFT)); in CheckItemProperties()
93 EXPECT_TRUE(NearEqual(right, TEST_RIGHT)); in CheckItemProperties()
[all …]
/foundation/arkui/ace_engine/frameworks/bridge/test/unittest/jsfrontend/slider/
Ddom_slider_test.cpp137 EXPECT_TRUE(NearEqual(padding->GetPadding().Left().Value(), TEST_PADDING_LEFT));
138 EXPECT_TRUE(NearEqual(padding->GetPadding().Right().Value(), TEST_PADDING_RIGHT));
139 EXPECT_TRUE(NearEqual(sliderComponent->GetMinValue(), TEST_MIN_VALUE));
140 EXPECT_TRUE(NearEqual(sliderComponent->GetMaxValue(), TEST_MAX_VALUE));
141 EXPECT_TRUE(NearEqual(sliderComponent->GetStep(), TEST_STEP_VALUE));
142 EXPECT_TRUE(NearEqual(sliderComponent->GetValue(), TEST_VALUE_VALUE));
177 EXPECT_TRUE(NearEqual(padding->GetPadding().Left().Value(), PADDING_DEFAULT));
178 EXPECT_TRUE(NearEqual(padding->GetPadding().Right().Value(), PADDING_DEFAULT));
179 EXPECT_TRUE(NearEqual(sliderComponent->GetMinValue(), MIN_DEFAULT));
180 EXPECT_TRUE(NearEqual(sliderComponent->GetMaxValue(), MAX_DEFAULT));
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/drag_bar/
Ddrag_bar_test_utils.h35 if (!NearEqual(barLeftPoint_.GetY(), barCenterPoint_.GetY()) || in CheckPanelMode()
36 !NearEqual(barCenterPoint_.GetY(), barRightPoint_.GetY())) { in CheckPanelMode()
41 if (NearEqual(barLeftPoint_.GetY(), barCenterPoint_.GetY()) || in CheckPanelMode()
42 NearEqual(barCenterPoint_.GetY(), barRightPoint_.GetY())) { in CheckPanelMode()
56 return NearEqual(scaleX_, 1.0) && NearEqual(scaleY_, 1.0); in CheckScale()
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/text/
Dtextspan_creator_test.cpp195 EXPECT_TRUE(NearEqual(textStyle.GetFontSize().Value(), FONT_SIZE));
200 EXPECT_TRUE(NearEqual(textStyle.GetWordSpacing().Value(), WORD_SPACING));
201 EXPECT_TRUE(NearEqual(textStyle.GetLetterSpacing().Value(), LETTER_SPACING));
202 EXPECT_TRUE(NearEqual(textStyle.GetLineHeight().Value(), LINE_HEIGHT));
206 EXPECT_TRUE(NearEqual(spanShadow.GetOffset().GetX(), OFFSET_DX));
207 EXPECT_TRUE(NearEqual(spanShadow.GetOffset().GetY(), OFFSET_DY));
208 EXPECT_TRUE(NearEqual(spanShadow.GetBlurRadius(), BLURRADIUS));
240 EXPECT_TRUE(NearEqual(textStyle.GetFontSize().Value(), FONT_SIZE));
245 EXPECT_TRUE(NearEqual(textStyle.GetWordSpacing().Value(), WORD_SPACING));
246 EXPECT_TRUE(NearEqual(textStyle.GetLetterSpacing().Value(), LETTER_SPACING));
[all …]
Dtextstyle_creator_test.cpp159 EXPECT_TRUE(NearEqual(textStyle.GetFontSize().Value(), FONT_SIZE));
165 EXPECT_TRUE(NearEqual(textStyle.GetWordSpacing().Value(), WORD_SPACING.Value()));
167 EXPECT_TRUE(NearEqual(textStyle.GetLetterSpacing().Value(), LETTER_SPACING.Value()));
168 EXPECT_TRUE(NearEqual(textStyle.GetLineHeight().Value(), LINE_HEIGHT));
172 EXPECT_TRUE(NearEqual(textShadow.GetOffset().GetX(), OFFSET_DX));
173 EXPECT_TRUE(NearEqual(textShadow.GetOffset().GetY(), OFFSET_DY));
174 EXPECT_TRUE(NearEqual(textShadow.GetBlurRadius(), SHADOW_BLUR_RADIUS));
222 EXPECT_TRUE(NearEqual(textStyle.GetFontSize().Value(), FONT_SIZE));
228 EXPECT_TRUE(NearEqual(textStyle.GetWordSpacing().Value(), WORD_SPACING.Value()));
230 EXPECT_TRUE(NearEqual(textStyle.GetLetterSpacing().Value(), LETTER_SPACING.Value()));
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/image/
Dimage_creator_test.cpp91 ASSERT_TRUE(NearEqual(imageComponent->GetWidth().Value(), IMAGE_WIDTH_JSON));
92 ASSERT_TRUE(NearEqual(imageComponent->GetHeight().Value(), IMAGE_HEIGHT_JSON));
93 ASSERT_TRUE(NearEqual(imageComponent->GetAlignment().GetHorizontal(), LEFT));
94 ASSERT_TRUE(NearEqual(imageComponent->GetAlignment().GetVertical(), TOP));
129 ASSERT_TRUE(NearEqual(imageComponent->GetWidth().Value(), IMAGE_WIDTH_DEFAULT));
130 ASSERT_TRUE(NearEqual(imageComponent->GetHeight().Value(), IMAGE_HEIGHT_DEFAULT));
131 ASSERT_TRUE(NearEqual(imageComponent->GetAlignment().GetHorizontal(), ALIGNMENT_CENTER));
132 ASSERT_TRUE(NearEqual(imageComponent->GetAlignment().GetVertical(), ALIGNMENT_CENTER));
169 ASSERT_TRUE(NearEqual(imageComponent->GetWidth().Value(), IMAGE_WIDTH_DEFAULT));
170 ASSERT_TRUE(NearEqual(imageComponent->GetHeight().Value(), IMAGE_HEIGHT_DEFAULT));
[all …]
/foundation/arkui/ace_engine/frameworks/base/geometry/
Dsize.h37 return NearEqual(inputValue, INFINITE_SIZE); in IsValueInfinite()
78 return NearEqual(width_, INFINITE_SIZE); in IsWidthInfinite()
83 return NearEqual(height_, INFINITE_SIZE); in IsHeightInfinite()
88 return NearEqual(width_, INFINITE_SIZE) || NearEqual(height_, INFINITE_SIZE); in IsInfinite()
93 return NearEqual(width_, 0.0) || NearEqual(height_, 0.0); in IsEmpty()
150 return NearEqual(width_, size.width_) && NearEqual(height_, size.height_);
217 if (NearEqual(width_, INFINITE_SIZE)) { in ToString()
223 if (NearEqual(height_, INFINITE_SIZE)) { in ToString()
Dtransform_util.h48 … return NearEqual(scaleX, other.scaleX, epsilon) && NearEqual(scaleY, other.scaleY, epsilon) &&
49 NearEqual(scaleZ, other.scaleZ, epsilon);
63 return NearEqual(skewX, other.skewX) && NearEqual(skewY, other.skewY);
76 return NearEqual(dx, other.dx) && NearEqual(dy, other.dy) && NearEqual(dz, other.dz) &&
77 NearEqual(angle, other.angle);
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/text_field/
Ddsl_text_field_style_creator_test.cpp139 EXPECT_TRUE(NearEqual(textStyle.GetFontSize().Value(), TEXT_FIELD_STYLE_FONT_SIZE));
145 … EXPECT_TRUE(NearEqual(textStyle.GetWordSpacing().Value(), TEXT_FIELD_STYLE_WORD_SPACING.Value()));
147 …EXPECT_TRUE(NearEqual(textStyle.GetLetterSpacing().Value(), TEXT_FIELD_STYLE_LETTER_SPACING.Value(…
148 EXPECT_TRUE(NearEqual(textStyle.GetLineHeight().Value(), TEXT_FIELD_STYLE_LINE_HEIGHT));
153 EXPECT_TRUE(NearEqual(textShadow.GetOffset().GetX(), TEXT_FIELD_STYLE_OFFSET_DX));
154 EXPECT_TRUE(NearEqual(textShadow.GetOffset().GetY(), TEXT_FIELD_STYLE_OFFSET_DY));
155 EXPECT_TRUE(NearEqual(textShadow.GetBlurRadius(), TEXT_FIELD_STYLE_BLURRADIUS));
191 EXPECT_TRUE(NearEqual(textStyle.GetFontSize().Value(), TEXT_FIELD_STYLE_FONT_SIZE_DEFAULT));
197 …EXPECT_TRUE(NearEqual(textStyle.GetWordSpacing().Value(), TEXT_FIELD_STYLE_WORD_SPACING_DEFAULT.Va…
199 …EXPECT_TRUE(NearEqual(textStyle.GetLetterSpacing().Value(), TEXT_FIELD_STYLE_LETTER_SPACING_DEFAUL…
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/align/
Dalign_creator_test.cpp83 ASSERT_TRUE(NearEqual(alignComponent->GetAlignment().GetHorizontal(), LEFT));
84 ASSERT_TRUE(NearEqual(alignComponent->GetAlignment().GetVertical(), TOP));
120 ASSERT_TRUE(NearEqual(alignComponent->GetAlignment().GetHorizontal(), DEFAULT_CENTER));
121 ASSERT_TRUE(NearEqual(alignComponent->GetAlignment().GetVertical(), DEFAULT_CENTER));
157 ASSERT_TRUE(NearEqual(alignComponent->GetAlignment().GetHorizontal(), RIGHT));
158 ASSERT_TRUE(NearEqual(alignComponent->GetAlignment().GetVertical(), BOTTOM));
192 ASSERT_TRUE(NearEqual(alignComponent->GetAlignment().GetHorizontal(), DEFAULT_CENTER));
193 ASSERT_TRUE(NearEqual(alignComponent->GetAlignment().GetVertical(), DEFAULT_CENTER));
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/box/
Dbox_creator_test.cpp113 ASSERT_TRUE(NearEqual(box->GetWidthDimension().Value(), BOX_WIDTH));
114 ASSERT_TRUE(NearEqual(box->GetHeightDimension().Value(), BOX_HEIGHT));
115 ASSERT_TRUE(NearEqual(box->GetAlignment().GetHorizontal(), BOX_ALIGN));
116 ASSERT_TRUE(NearEqual(box->GetAlignment().GetVertical(), BOX_ALIGN));
152 ASSERT_TRUE(NearEqual(box->GetWidthDimension().Value(), BOX_WIDTH_DEFAULT));
153 ASSERT_TRUE(NearEqual(box->GetHeightDimension().Value(), BOX_HEIGHT_DEFAULT));
154 ASSERT_TRUE(NearEqual(box->GetAlignment().GetHorizontal(), BOX_ALIGN_DEFAULT));
155 ASSERT_TRUE(NearEqual(box->GetAlignment().GetVertical(), BOX_ALIGN_DEFAULT));
/foundation/arkui/ace_engine/frameworks/base/utils/
Dutils.h124 inline bool NearEqual(const double left, const double right, const double epsilon) in NearEqual() function
130 constexpr bool NearEqual(const T& left, const T& right);
133 inline bool NearEqual<float>(const float& left, const float& right)
136 return NearEqual(left, right, epsilon);
140 inline bool NearEqual<double>(const double& left, const double& right)
143 return NearEqual(left, right, epsilon);
147 constexpr bool NearEqual(const T& left, const T& right) in NearEqual() function
154 return NearEqual(value, 0.0, epsilon); in NearZero()
157 inline bool NearEqual(const double left, const double right) in NearEqual() function
160 return NearEqual(left, right, epsilon); in NearEqual()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
Dtransition_property.h62 …return NearEqual(xScale, other.xScale) && NearEqual(yScale, other.yScale) && NearEqual(zScale, oth…
63 NearEqual(centerX, other.centerX) && NearEqual(centerY, other.centerY);
90 return NearEqual(angle, other.angle) && NearEqual(xDirection, other.xDirection) &&
91 NearEqual(yDirection, other.yDirection) && NearEqual(zDirection, other.zDirection) &&
92 NearEqual(centerX, other.centerX) && NearEqual(centerY, other.centerY) &&
93 NearEqual(centerZ, other.centerZ) && NearEqual(perspective, other.perspective);
118 return NearEqual(Type, other.Type) && NearEqual(propOpacity, other.propOpacity) &&
119NearEqual(propTranslate, other.propTranslate) && NearEqual(propScale, other.propScale) &&
120 NearEqual(propRotate, other.propRotate);
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/grid/
Dgrid_creator_test.cpp82 ASSERT_TRUE(NearEqual(grid->GetWidth(), 800.0));
83 ASSERT_TRUE(NearEqual(grid->GetHeight(), 1000.0));
126 ASSERT_TRUE(NearEqual(grid->GetWidth(), -1.0));
127 ASSERT_TRUE(NearEqual(grid->GetHeight(), -1.0));
169 ASSERT_TRUE(NearEqual(grid->GetWidth(), -1.0));
170 ASSERT_TRUE(NearEqual(grid->GetHeight(), -1.0));
210 ASSERT_TRUE(NearEqual(grid->GetWidth(), -1.0));
211 ASSERT_TRUE(NearEqual(grid->GetHeight(), -1.0));
262 ASSERT_TRUE(NearEqual(grid->GetWidth(), -1.0));
263 ASSERT_TRUE(NearEqual(grid->GetHeight(), -1.0));
[all …]
/foundation/arkui/ace_engine/frameworks/bridge/test/unittest/jsfrontend/domlabel/
Ddom_label_test.cpp95 …EXPECT_TRUE(NearEqual(textStyle.GetFontSize().Value(), theme->GetTextStyle().GetFontSize().Value()…
102 …EXPECT_TRUE(NearEqual(textStyle.GetLetterSpacing().Value(), theme->GetTextStyle().GetLetterSpacing…
171 EXPECT_TRUE(NearEqual(textStyle.GetFontSize().Value(), TEST_FONT_SIZE));
174 EXPECT_TRUE(NearEqual(textStyle.GetLineHeight().Value(), TEST_LINE_HEIGHT));
175 EXPECT_TRUE(NearEqual(static_cast<int32_t>(textStyle.GetFontStyle()), TEST_FONT_STYLE));
176 … EXPECT_TRUE(NearEqual(static_cast<int32_t>(textStyle.GetTextDecoration()), TEST_TEXT_DECORATION));
177 EXPECT_TRUE(NearEqual(textChild->GetTextStyle().GetMaxLines(), TEST_MAX_LINE));
179 EXPECT_TRUE(NearEqual(textStyle.GetLetterSpacing().Value(), TEST_LETTER_SPACING.Value()));
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/clock/
Drender_clock_test.cpp136 ASSERT_TRUE(NearEqual(renderClock->digitSizeRatio_, VALID_DIGIT_SIZE_RATIO));
137 ASSERT_TRUE(NearEqual(renderClock->digitRadiusRatio_, VALID_DIGIT_RADIUS_RATIO));
138 ASSERT_TRUE(NearEqual(renderClock->renderClockHand_->hoursWest_, VALID_HOUR_WEST));
143 ASSERT_TRUE(NearEqual(fontFamilies.size(), FONT_FAMILY_SIZE));
178 ASSERT_TRUE(NearEqual(renderClock->digitSizeRatio_, DEFAULT_DIGIT_SIZE_RATIO));
179 ASSERT_TRUE(NearEqual(renderClock->digitRadiusRatio_, DEFAULT_DIGIT_RADIUS_RATIO));
180 ASSERT_TRUE(NearEqual(renderClock->renderClockHand_->hoursWest_, DEFAULT_HOUR_WEST));
211 ASSERT_TRUE(NearEqual(renderClock->digitSizeRatio_, DEFAULT_DIGIT_SIZE_RATIO));
212 ASSERT_TRUE(NearEqual(renderClock->digitRadiusRatio_, DEFAULT_DIGIT_RADIUS_RATIO));
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/list/
Drender_list_test_v2.cpp144 EXPECT_TRUE(NearEqual(renderList_->GetLayoutSize().Width(), 1000.0));
153 EXPECT_TRUE(NearEqual(renderList_->GetLayoutSize().Width(), 1000.0));
187 EXPECT_TRUE(NearEqual(renderList_->GetLayoutSize().Width(), 1000.0));
196 EXPECT_TRUE(NearEqual(renderList_->GetLayoutSize().Width(), 1000.0));
231 EXPECT_TRUE(NearEqual(renderList_->GetLayoutSize().Width(), 0));
240 EXPECT_TRUE(NearEqual(renderList_->GetLayoutSize().Width(), 0));
275 EXPECT_TRUE(NearEqual(renderList_->GetLayoutSize().Width(), 0));
284 EXPECT_TRUE(NearEqual(renderList_->GetLayoutSize().Width(), 0));
/foundation/arkui/ace_engine/frameworks/core/components/web/
Dflutter_render_web.cpp43 if (NearEqual(prePosition_.GetX(), position_.GetX()) && in OnPaintFinish()
44 NearEqual(prePosition_.GetY(), position_.GetY()) && in OnPaintFinish()
45 NearEqual(preDrawSize_.Width(), drawSize_.Width()) && in OnPaintFinish()
46 NearEqual(preDrawSize_.Height(), drawSize_.Height())) { in OnPaintFinish()
/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/slider/
Dslider_creator_test.cpp120 EXPECT_TRUE(NearEqual(value, JSON_VALUE)); in CompareAllEssential()
122 EXPECT_TRUE(NearEqual(minValue, JSON_MIN_VALUE)); in CompareAllEssential()
124 EXPECT_TRUE(NearEqual(maxValue, JSON_MAX_VALUE)); in CompareAllEssential()
126 EXPECT_TRUE(NearEqual(step, JSON_STEP)); in CompareAllEssential()
309 EXPECT_TRUE(NearEqual(value, JSON_VALUE));
311 EXPECT_TRUE(NearEqual(minValue, JSON_MIN_VALUE));
313 EXPECT_TRUE(NearEqual(maxValue, JSON_MAX_VALUE));
315 EXPECT_TRUE(NearEqual(step, 0.0));
593 EXPECT_TRUE(NearEqual(value, -1.0));
595 EXPECT_TRUE(NearEqual(minValue, -10));
[all …]
/foundation/arkui/ace_engine/frameworks/bridge/test/unittest/jsfrontend/utils/
Dcommon_utils_test.cpp101 EXPECT_TRUE(NearEqual(stepsCurve->MoveInternal(0.0), ANIMATION_ONE_VALUE));
102 EXPECT_TRUE(NearEqual(stepsCurve->MoveInternal(0.5), ANIMATION_ONE_VALUE));
104 EXPECT_TRUE(NearEqual(stepsCurve->MoveInternal(0.0), ANIMATION_ZERO_VALUE));
105 EXPECT_TRUE(NearEqual(stepsCurve->MoveInternal(1.0), ANIMATION_ONE_VALUE));
112 EXPECT_TRUE(NearEqual(cubicCurve->MoveInternal(0.0), ANIMATION_CUBIC_VALUE_ONE));
113 EXPECT_TRUE(NearEqual(cubicCurve->MoveInternal(0.5), ANIMATION_CUBIC_VALUE_TWO));
115 EXPECT_TRUE(NearEqual(cubicCurve->MoveInternal(0.0), ANIMATION_CUBIC_VALUE_ONE));
116 EXPECT_TRUE(NearEqual(cubicCurve->MoveInternal(1.0), ANIMATION_ONE_VALUE));
133 EXPECT_TRUE(NearEqual(springCurve->MoveInternal(0.0), ANIMATION_ZERO_VALUE));
134 EXPECT_TRUE(NearEqual(springCurve->MoveInternal(1.0), ANIMATION_SPRING_VALUE));
[all …]
/foundation/arkui/ace_engine/frameworks/bridge/test/unittest/jsfrontend/swiper/
Ddom_swiper_test.cpp178 EXPECT_TRUE(NearEqual(swiperComponent->GetAutoPlayInterval(), TEST_INTERVAL_VALUE));
180 EXPECT_TRUE(NearEqual(swiperComponent->GetDuration(), TEST_DURATION_VALUE));
184 EXPECT_TRUE(NearEqual(indicator->GetSize().Value(), TEST_INDICATOR_SIZE));
185 EXPECT_TRUE(NearEqual(indicator->GetTop().Value(), TEST_INDICATOR_TOP));
186 EXPECT_TRUE(NearEqual(indicator->GetLeft().Value(), TEST_INDICATOR_LEFT));
187 EXPECT_TRUE(NearEqual(indicator->GetBottom().Value(), TEST_INDICATOR_BOTTOM));
188 EXPECT_TRUE(NearEqual(indicator->GetRight().Value(), TEST_INDICATOR_RIGHT));
286 EXPECT_TRUE(NearEqual(swiperComponent->GetAutoPlayInterval(), DEFAULT_INTERVAL_VALUE));
/foundation/arkui/ace_engine/frameworks/core/components/positioned/
Drender_positioned.cpp57 if (NearEqual(left_.Value(), left.Value()) && (left_.Unit() == left.Unit())) { in SetLeft()
67 if (NearEqual(top_.Value(), top.Value()) && (top_.Unit() == top.Unit())) { in SetTop()
77 if (NearEqual(right_.Value(), right.Value()) && (right_.Unit() == right.Unit())) { in SetRight()
87 if (NearEqual(bottom_.Value(), bottom.Value()) && (bottom_.Unit() == bottom.Unit())) { in SetBottom()

12345678910>>...13