/foundation/ace/ace_engine/frameworks/core/components/test/unittest/video/ |
D | texture_test_utils.cpp | 36 return std::abs(left.GetX() - right.GetX()) < 1.0 && std::abs(left.GetY() - right.GetY()) < 1.0; in IsNearEqual() 41 …return std::abs(left.Width() - right.Width()) < 1.0 && std::abs(left.Height() - right.Height()) < … in IsNearEqual()
|
/foundation/ace/ace_engine/frameworks/core/gestures/ |
D | swipe_recognizer.cpp | 29 if (std::abs(xOffset) > std::abs(yOffset)) { in GetSwipeDirection() 30 if (std::abs(xOffset) < duration) { in GetSwipeDirection() 35 if (std::abs(yOffset) < duration) { in GetSwipeDirection()
|
/foundation/graphic/standard/rosen/modules/render_service_base/include/common/ |
D | rs_common_def.h | 91 return (std::abs((x) - (y)) <= (std::numeric_limits<float>::epsilon())); in ROSEN_EQ() 97 return (std::abs((x) - (y)) <= (std::numeric_limits<double>::epsilon())); in ROSEN_EQ() 103 return (std::abs((x) - (y)) <= (std::numeric_limits<long double>::epsilon())); in ROSEN_EQ() 109 return (std::abs((x) - (y)) <= (epsilon)); in ROSEN_EQ()
|
/foundation/multimodalinput/input/tools/virtual_device_manager/src/ |
D | virtual_knob_consumer_ctrl.cpp | 67 static const std::vector<uint32_t> abs { in GetAbs() local 71 return abs; in GetAbs()
|
D | virtual_keyboard_consumer_ctrl.cpp | 67 static const std::vector<uint32_t> abs { in GetAbs() local 71 return abs; in GetAbs()
|
D | virtual_touchpad.cpp | 64 static const std::vector<uint32_t> abs { in GetAbs() local 67 return abs; in GetAbs()
|
D | virtual_touchscreen.cpp | 86 static const std::vector<uint32_t> abs { in GetAbs() local 90 return abs; in GetAbs()
|
D | virtual_joystick.cpp | 80 static const std::vector<uint32_t> abs { in GetAbs() local 83 return abs; in GetAbs()
|
D | virtual_finger.cpp | 93 static const std::vector<uint32_t> abs { in GetAbs() local 98 return abs; in GetAbs()
|
D | virtual_gamepad.cpp | 102 static const std::vector<uint32_t> abs { in GetAbs() local 106 return abs; in GetAbs()
|
D | virtual_stylus.cpp | 100 static const std::vector<uint32_t> abs { in GetAbs() local 103 return abs; in GetAbs()
|
/foundation/ace/ace_engine/frameworks/core/components/scroll/ |
D | scroll_fade_effect.cpp | 127 fadeController_->ProcessAbsorb(std::abs(dragVelocity)); in HandleOverScroll() 130 … ? fadeController_->ProcessPull(std::abs(overScroll), viewPort.Height(), viewPort.Width()) in HandleOverScroll() 131 … : fadeController_->ProcessPull(std::abs(overScroll), viewPort.Width(), viewPort.Height()); in HandleOverScroll()
|
/foundation/graphic/standard/rosen/modules/render_service_base/src/animation/ |
D | rs_spring_interpolator.cpp | 148 duration_ = log(abs(coeffScale_) / minimumAmplitude_) / -coeffDecay_; in EstimateDuration() 153 duration_ = log(abs(coeffScale_ + initialOffset_) / minimumAmplitude_) / -coeffDecay_; in EstimateDuration() 158 duration_ = fmax(log(abs(coeffScale_) / minimumAmplitude_ * 2) / -coeffDecay_, in EstimateDuration() 159 log(abs(coeffScaleMinus_) / minimumAmplitude_ * 2) / -coeffDecayMinus_); in EstimateDuration()
|
/foundation/multimodalinput/input/uinput/ |
D | virtual_touch_screen.cpp | 38 static const std::vector<uint32_t> abs { in GetAbs() local 51 return abs; in GetAbs()
|
D | virtual_device.cpp | 155 static const std::vector<uint32_t> abs {}; in GetAbs() local 156 return abs; in GetAbs()
|
/foundation/multimodalinput/input/patch/prebuild_eudev/rules.d/ |
D | 90-libinput-fuzz-override.rules | 16 ATTRS{capabilities/abs}!="0", \ 21 ATTRS{capabilities/abs}!="0", \
|
/foundation/graphic/standard/frameworks/wmtest/frameworks/ |
D | native_test_class.cpp | 279 ret = abs(ret) - 1.0; in RainbowDraw() 313 ret = abs(ret) - 1.0; in BoxDraw() 346 auto abs = [](int32_t x) { return (x < 0) ? -x : x; }; in BoxDraw() local 347 drawOnce(abs((count - 1) % (framecount * 0x2 - 1) - framecount), color); in BoxDraw() 348 drawOnce(abs((count + 0) % (framecount * 0x2 - 1) - framecount), color); in BoxDraw() 349 drawOnce(abs((count + 1) % (framecount * 0x2 - 1) - framecount), color); in BoxDraw()
|
/foundation/ace/ace_engine/frameworks/core/components/track/ |
D | render_track.cpp | 75 paintData_.sweepDegree = abs(endDegree + ONE_CYCLE_ANGLE - startAngle); in Update() 77 paintData_.sweepDegree = abs(endDegree - startAngle); in Update() 126 …if (std::abs(percentChange_ * MILLISECOND_PER_PERCENT) > animationDuring_.count() * SECOND_TO_MILL… in UpdateAnimation() 127 animationTime = std::abs(percentChange_ * MILLISECOND_PER_PERCENT); in UpdateAnimation()
|
/foundation/multimedia/media_standard/services/engine/gstreamer/player/ |
D | player_engine_gst_impl.cpp | 372 if (abs(rate - SPEED_0_75_X) < EPSINON) { in ChangeSpeedToMode() 375 if (abs(rate - SPEED_1_00_X) < EPSINON) { in ChangeSpeedToMode() 378 if (abs(rate - SPEED_1_25_X) < EPSINON) { in ChangeSpeedToMode() 381 if (abs(rate - SPEED_1_75_X) < EPSINON) { in ChangeSpeedToMode() 384 if (abs(rate - SPEED_2_00_X) < EPSINON) { in ChangeSpeedToMode()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/libs/distributeddb/test/unittest/common/syncer/ |
D | distributeddb_time_sync_test.cpp | 178 EXPECT_TRUE(abs(offsetB - offsetA - timeOffset) < NETWORK_DELAY); 219 EXPECT_TRUE(abs(offsetB - offsetA - timeOffset) < NETWORK_DELAY); 270 TimeOffset absTimeOffset = abs(timeOffset); 271 EXPECT_TRUE(abs(offsetB - offsetA - absTimeOffset) < NETWORK_DELAY);
|
/foundation/ace/ace_engine/frameworks/core/components/transform/ |
D | flutter_render_transform.cpp | 129 rotateX = std::abs(rotateX * (180.0f / M_PI)); in CheckNeedPaint() 130 rotateY = std::abs(rotateY * (180.0f / M_PI)); in CheckNeedPaint()
|
/foundation/ace/ace_engine/frameworks/core/animation/ |
D | spring_motion.cpp | 64 accuracy_ = std::abs(accuracy); in SetAccuracy()
|
/foundation/ace/ace_engine/frameworks/core/components/data_panel/ |
D | render_data_panel.cpp | 197 …if (std::abs(percentChange_ * MILLISECOND_PER_PERCENT) > animationDuring_.count() * SECOND_TO_MILL… in PrepareAnimation() 198 animationTime = std::abs(percentChange_ * MILLISECOND_PER_PERCENT); in PrepareAnimation()
|
/foundation/multimedia/media_standard/interfaces/innerkits/native/media/demo/player/ |
D | player_demo.cpp | 275 if (abs(rate - SPEED_0_75_X) < EPSINON) { in ChangeSpeedToMode() 277 } else if (abs(rate - SPEED_1_00_X) < EPSINON) { in ChangeSpeedToMode() 279 } else if (abs(rate - SPEED_1_25_X) < EPSINON) { in ChangeSpeedToMode() 281 } else if (abs(rate - SPEED_1_75_X) < EPSINON) { in ChangeSpeedToMode() 283 } else if (abs(rate - SPEED_2_00_X) < EPSINON) { in ChangeSpeedToMode()
|
/foundation/graphic/standard/rosen/modules/render_service_client/core/animation/ |
D | rs_keyframe_animation.h | 72 if (std::abs(std::get<FRACTION_INDEX>(beginKeyframe) - FRACTION_MIN) > EPSILON) { in InitInterpolationValue()
|