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 D | rs_spring_model.cpp | 94 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 D | rs_spring_model.h | 112 … 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 D | rosen_svg_painter.cpp | 777 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 D | lib.rs | 623 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 D | rating_pattern.cpp | 503 …fmax((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 D | rosen_mask_painter.cpp | 265 scaleX_ = fmax(boxSize.Width() / svgSize.Width(), boxSize.Height() / svgSize.Height()); in UpdateSVGScale()
|
/ohos5.0/base/sensors/sensor/frameworks/native/src/ |
H A D | geomagnetic_field.cpp | 120 float gcLatitude = fmax(LATITUDE_MIN + PRECISION, fmin(LATITUDE_MAX - PRECISION, latitude)); in GeomagneticField()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_compressor.cpp | 220 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 D | image_compressor.cpp | 1634 maxVal = fmax(maxVal, blockErrs[i]); in GetMaxAndSumVal()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/ |
H A D | audio_effect_chain_manager.cpp | 535 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 D | hcapture_session.cpp | 1304 waitTime = fmax(waitMs - frameIntervalMs * j, waitTime); in SetSmoothZoom()
|