Home
last modified time | relevance | path

Searched refs:NEAR_ZERO (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_motion.h61 double accuracy_ = NEAR_ZERO;
62 double velocityAccuracy_ = NEAR_ZERO;
67 static constexpr double NEAR_ZERO = 0.1; member in OHOS::Ace::SpringMotion
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Ddimension.h25 #define NEAR_ZERO(value) ((value > 0.0) ? ((value - 0.0) <= 0.000001f) : ((0.0 - value) <= 0.000001f)) macro
189 if (NEAR_ZERO(value)) { in operator /()
210 if (NEAR_ZERO(dimension.Value())) { in operator +()
232 if (NEAR_ZERO(dimension.Value())) { in operator -()
/foundation/window/window_manager/window_scene/session/host/include/
H A Dmove_drag_controller.h139 constexpr static float NEAR_ZERO = 0.001f; member in OHOS::OHOS::Rosen::MoveDragController
/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp425 moveDragProperty_.targetRect_ = MathHelper::GreatNotEqual(aspectRatio_, NEAR_ZERO) ? in CalcDragTargetRect()
617 if (aspectRatio_ <= NEAR_ZERO) { in EventDownInit()
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dfocus_hub.cpp1602 if (NEAR_ZERO(paintWidth.Value())) {
1702 if (NEAR_ZERO(paintWidth.Value())) {
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_select_bridge.cpp599 if (NEAR_ZERO(height.Value())) { in SetOptionHeight()
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_test_ng.cpp974 EXPECT_FALSE(NEAR_ZERO(pattern_->layoutInfo_->GetContentHeight())); in HWTEST_F()

Completed in 18 milliseconds