/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | size.h | 35 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 D | point.h | 46 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 D | size_fuzzer.cpp | 42 sizef.IsZero(); in SizeFuzzTest000() 65 s.IsZero(); in SizeFuzzTest001()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_frame_rate_range.h | 52 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 D | ui_display_sync.h | 56 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 D | velocity_tracker.cpp | 151 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 D | size_test.cpp | 86 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 D | rs_property_drawable_bounds_geometry_test.cpp | 530 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 D | render_scroll.cpp | 171 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 D | render_single_child_scroll.cpp | 350 if (currentOffset_.IsZero()) { in AdjustTouchRestrict()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | offset.h | 51 bool IsZero() const in IsZero() function in OHOS::Ace::Offset
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/point_fuzzer/ |
H A D | point_fuzzer.cpp | 49 pointf.IsZero(); in PointFuzzTest000()
|
/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | rosen_render_transform.cpp | 148 if (!offset.IsZero()) { in GetEffectiveTransform() 182 if (!center.IsZero()) { in Mirror()
|
H A D | render_transform.h | 154 if (!offset.IsZero()) { in GetTransformMatrix()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/test/unittest/ |
H A D | gestures_test.cpp | 853 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 D | rs_animation_manager_test.cpp | 382 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 D | rs_vector4.h | 55 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 D | touch_event.cpp | 598 if (!subPipelineGlobalOffset_.IsZero()) { in DispatchMultiContainerEvent() 610 if (!subPipelineGlobalOffset_.IsZero()) { in HandleMultiContainerEvent()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_background.cpp | 242 bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate() 288 bool antiAlias = RSPropertiesPainter::GetBgAntiAlias() || !properties.GetCornerRadius().IsZero(); in OnUpdate()
|
H A D | rs_property_drawable_foreground.cpp | 408 bool isZero = isOutline ? border->GetRadiusFour().IsZero() : properties.GetCornerRadius().IsZero();
|
H A D | rs_property_drawable.cpp | 135 } else if (!properties.GetCornerRadius().IsZero()) { in OnUpdate()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_property_drawable_bounds_geometry.cpp | 57 } 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 D | rs_properties_painter.cpp | 1118 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 D | render_popup_list.cpp | 332 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 D | rs_vector4_test.cpp | 144 * @tc.desc: test results of IsZero 151 EXPECT_TRUE(vector.IsZero()); in HWTEST_F()
|