Home
last modified time | relevance | path

Searched refs:fmax (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_spring_model.cpp94 estimatedDuration = log(fmax(coeffScale, initialOffset) / minimumAmplitude) / -coeffDecay_; in EstimateDuration()
121 estimatedDuration = fmax(durationMain, durationAlt); in EstimateDuration()
205 float threshold = fmax(toFloat(minimumAmplitudeRatio_ * initialOffset_), in EstimateDurationForUnderDampedModel()
239 float threshold = fmax(toFloat(minimumAmplitudeRatio_ * initialOffset_), SPRING_MIN_THRESHOLD); in EstimateDurationForCriticalDampedModel()
274 float threshold = fmax(toFloat(minimumAmplitudeRatio_ * initialOffset_), SPRING_MIN_THRESHOLD); in EstimateDurationForOverDampedModel()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_spring_model.h112 … estimatedDuration = log(fmax(coeffScale, initialOffset) / minimumAmplitude) / -coeffDecay_; in EstimateDuration()
138 estimatedDuration = fmax(durationMain, durationAlt); in EstimateDuration()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_svg_painter.cpp777 bounds.SetWidth(fmax(x, bounds.Width())); in MeasureTextBounds()
778 bounds.SetHeight(fmax(y, bounds.Height())); in MeasureTextBounds()
807 bounds.SetWidth(fmax(x, bounds.Width())); in MeasureTextBounds()
808 bounds.SetHeight(fmax(y, bounds.Height())); in MeasureTextBounds()
846 bounds.SetWidth(fmax(pathBounds.right(), bounds.Width())); in MeasureTextPathBounds()
847 bounds.SetHeight(fmax(pathBounds.bottom(), bounds.Height())); in MeasureTextPathBounds()
882 bounds.SetWidth(fmax(pathBounds.right(), bounds.Width())); in MeasureTextPathBounds()
883 bounds.SetHeight(fmax(pathBounds.bottom(), bounds.Height())); in MeasureTextPathBounds()
/ohos5.0/foundation/multimodalinput/input/service/rust/src/
H A Dlib.rs623 fn fmax(a: f64, b: f64) -> f64; in fmax() function
752 vin = (fmax(fabs(dx), fabs(dy))) + (fmin(fabs(dx), fabs(dy))) / 2.0; in HandleMotionAccelerateMouse()
800 vin = (fmax(fabs(dx), fabs(dy))) + (fmin(fabs(dx), fabs(dy))) / 2.0; in HandleMotionAccelerateTouchpad()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_pattern.cpp503fmax((NearEqual(ratingScore, std::round(ratingScore)) ? ratingScore : ceil(ratingScore)) - 1, 0.0); in GetInnerFocusPaintRect()
557 … ratingScore = reverse ? fmin(ratingScore + stepSize, starNum) : fmax(ratingScore - stepSize, 0.0); in OnKeyEvent()
562 … ratingScore = reverse ? fmax(ratingScore - stepSize, 0.0) : fmin(ratingScore + stepSize, starNum); in OnKeyEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drosen_mask_painter.cpp265 scaleX_ = fmax(boxSize.Width() / svgSize.Width(), boxSize.Height() / svgSize.Height()); in UpdateSVGScale()
/ohos5.0/base/sensors/sensor/frameworks/native/src/
H A Dgeomagnetic_field.cpp120 float gcLatitude = fmax(LATITUDE_MIN + PRECISION, fmin(LATITUDE_MAX - PRECISION, latitude)); in GeomagneticField()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_compressor.cpp220 max_val = fmax(max_val, blockErrs[i]); in GpuCompress()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/
H A Dimage_compressor.cpp1634 maxVal = fmax(maxVal, blockErrs[i]); in GetMaxAndSumVal()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_effect_chain_manager.cpp535 volumeMax = fmax((streamVolumeTemp * systemVolumeTemp), volumeMax); in EffectDspVolumeUpdate()
576 float volumeMax = fmax((streamVolumeTemp * systemVolumeTemp), currVolumeTemp); in EffectApVolumeUpdate()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcapture_session.cpp1304 waitTime = fmax(waitMs - frameIntervalMs * j, waitTime); in SetSmoothZoom()