Home
last modified time | relevance | path

Searched refs:IsZero (Results 1 - 25 of 42) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Dsize.h35 inline bool IsZero() const;
60 inline bool SizeF::IsZero() const in IsZero() function in OHOS::Rosen::Drawing::SizeF
107 inline bool IsZero() const;
132 inline bool SizeI::IsZero() const in IsZero() function in OHOS::Rosen::Drawing::SizeI
H A Dpoint.h46 inline bool IsZero() const;
104 inline bool PointF::IsZero() const in IsZero() function in OHOS::Rosen::Drawing::PointF
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/size_fuzzer/
H A Dsize_fuzzer.cpp42 sizef.IsZero(); in SizeFuzzTest000()
65 s.IsZero(); in SizeFuzzTest001()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_frame_rate_range.h52 bool IsZero() const in IsZero() function in OHOS::Rosen::FrameRateRange
59 return !this->IsZero() && this->min_ <= this->preferred_ && this->preferred_ <= this->max_ && in IsValid()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/display_sync/
H A Dui_display_sync.h56 bool IsZero() const in IsZero() function in OHOS::Ace::FrameRateRange
63 return !this->IsZero() && this->min_ <= this->preferred_ && this->preferred_ <= this->max_ && in IsValid()
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dvelocity_tracker.cpp151 if (oriDelta.IsZero() && (diffTime.count() < range)) { in UpdateTouchPoint()
178 if (delta_.IsZero() && end && (diffTime.count() < range)) { in UpdateTrackerPoint()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Dsize_test.cpp86 ASSERT_TRUE(size->IsZero()); in HWTEST_F()
100 ASSERT_FALSE(!size->IsZero()); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_property_drawable_bounds_geometry_test.cpp530 EXPECT_NE(properties.GetCornerRadius().IsZero(), true); in HWTEST_F()
617 EXPECT_EQ(properties.GetBorder()->GetRadiusFour().IsZero(), false); in HWTEST_F()
786 EXPECT_EQ(properties.GetOutline()->GetRadiusFour().IsZero(), false); in HWTEST_F()
1707 EXPECT_EQ(properties.GetCornerRadius().IsZero(), true); in HWTEST_F()
1711 EXPECT_NE(properties.GetCornerRadius().IsZero(), false); in HWTEST_F()
1716 EXPECT_NE(properties.GetCornerRadius().IsZero(), false); in HWTEST_F()
1720 EXPECT_NE(properties.GetCornerRadius().IsZero(), false); in HWTEST_F()
1724 EXPECT_NE(properties.GetCornerRadius().IsZero(), false); in HWTEST_F()
1728 EXPECT_NE(properties.GetCornerRadius().IsZero(), false); in HWTEST_F()
1731 EXPECT_NE(properties.GetCornerRadius().IsZero(), fals in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Drender_scroll.cpp171 if (delta.IsZero()) { in UpdateOffset()
209 if (!correctedDelta.IsZero()) { in UpdateOffset()
277 if (delta.IsZero()) { in CanScrollVertically()
294 if (!correctedDelta.IsZero()) { in CanScrollVertically()
376 if (delta.IsZero() || source == SCROLL_FROM_ANIMATION || source == SCROLL_FROM_ANIMATION_SPRING) { in AdjustOffset()
H A Drender_single_child_scroll.cpp350 if (currentOffset_.IsZero()) { in AdjustTouchRestrict()
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Doffset.h51 bool IsZero() const in IsZero() function in OHOS::Ace::Offset
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/point_fuzzer/
H A Dpoint_fuzzer.cpp49 pointf.IsZero(); in PointFuzzTest000()
/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Drosen_render_transform.cpp148 if (!offset.IsZero()) { in GetEffectiveTransform()
182 if (!center.IsZero()) { in Mirror()
H A Drender_transform.h154 if (!offset.IsZero()) { in GetTransformMatrix()
/foundation/arkui/ace_engine/frameworks/core/gestures/test/unittest/
H A Dgestures_test.cpp853 ASSERT_TRUE(onClick.GetClickInfo().GetGlobalLocation().IsZero()); in HWTEST_F()
861 ASSERT_FALSE(onClick.GetClickInfo().GetGlobalLocation().IsZero()); in HWTEST_F()
892 ASSERT_TRUE(onClick.GetClickInfo().GetGlobalLocation().IsZero()); in HWTEST_F()
903 ASSERT_TRUE(onClick.GetClickInfo().GetGlobalLocation().IsZero()); in HWTEST_F()
911 ASSERT_FALSE(onClick.GetClickInfo().GetGlobalLocation().IsZero()); in HWTEST_F()
940 ASSERT_TRUE(onClick.GetClickInfo().GetGlobalLocation().IsZero()); in HWTEST_F()
951 ASSERT_TRUE(onClick.GetClickInfo().GetGlobalLocation().IsZero()); in HWTEST_F()
959 ASSERT_TRUE(onClick.GetClickInfo().GetGlobalLocation().IsZero()); in HWTEST_F()
1228 ASSERT_TRUE(onDrag.GetDragStart().GetGlobalLocation().IsZero()); in HWTEST_F()
1229 ASSERT_TRUE(onDrag.GetDragUpdate().GetGlobalLocation().IsZero()); in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_animation_manager_test.cpp382 EXPECT_TRUE(result.IsZero()); in HWTEST_F()
384 EXPECT_TRUE(result.IsZero()); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_vector4.h55 bool IsZero() const;
295 bool Vector4<T>::IsZero() const in IsZero() function in OHOS::Rosen::Vector4
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dtouch_event.cpp598 if (!subPipelineGlobalOffset_.IsZero()) { in DispatchMultiContainerEvent()
610 if (!subPipelineGlobalOffset_.IsZero()) { in HandleMultiContainerEvent()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_background.cpp242 bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate()
288 bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate()
H A Drs_property_drawable_foreground.cpp408 bool isZero = isOutline ? border->GetRadiusFour().IsZero() : properties.GetCornerRadius().IsZero();
H A Drs_property_drawable.cpp135 } else if (!properties.GetCornerRadius().IsZero()) { in OnUpdate()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_bounds_geometry.cpp57 } else if (!properties.GetCornerRadius().IsZero()) { in Draw()
108 } else if (properties.GetCornerRadius().IsZero() && border->ApplyFourLine(pen)) { in Generate()
258 } else if (outline->GetRadiusFour().IsZero() && outline->ApplyFourLine(pen)) { in Generate()
924 bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in Draw()
H A Drs_properties_painter.cpp1118 bool antiAlias = g_forceBgAntiAlias || !properties.GetCornerRadius().IsZero(); in DrawBackground()
1156 if (properties.GetCornerRadius().IsZero()) { in ApplyClipIfNeed()
1402 bool isZero = isOutline ? border->GetRadiusFour().IsZero() : properties.GetCornerRadius().IsZero(); in DrawBorderIfNoFill()
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Drender_popup_list.cpp332 if (delta.IsZero() || source == SCROLL_FROM_ANIMATION || source == SCROLL_FROM_ANIMATION_SPRING) { in AdjustOffset()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_vector4_test.cpp144 * @tc.desc: test results of IsZero
151 EXPECT_TRUE(vector.IsZero()); in HWTEST_F()

Completed in 33 milliseconds

12