Home
last modified time | relevance | path

Searched refs:fmax (Results 1 - 9 of 9) sorted by relevance

/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_),
239 float threshold = fmax(toFloat(minimumAmplitudeRatio_ * initialOffset_), SPRING_MIN_THRESHOLD);
274 float threshold = fmax(toFloat(minimumAmplitudeRatio_ * initialOffset_), SPRING_MIN_THRESHOLD);
/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()
/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()
/foundation/multimodalinput/input/service/rust/src/
H A Dlib.rs623 fn fmax(a: f64, b: f64) -> f64; in fmax() functions
753 vin = (fmax(fabs(dx), fabs(dy))) + (fmin(fabs(dx), fabs(dy))) / 2.0;
801 vin = (fmax(fabs(dx), fabs(dy))) + (fmin(fabs(dx), fabs(dy))) / 2.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()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_pattern.cpp516 fmax((NearEqual(ratingScore, std::round(ratingScore)) ? ratingScore : ceil(ratingScore)) - 1, 0.0); in GetInnerFocusPaintRect()
570 ratingScore = reverse ? fmin(ratingScore + stepSize, starNum) : fmax(ratingScore - stepSize, 0.0); in OnKeyEvent()
575 ratingScore = reverse ? fmax(ratingScore - stepSize, 0.0) : fmin(ratingScore + stepSize, starNum); in OnKeyEvent()
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_compressor.cpp220 max_val = fmax(max_val, blockErrs[i]); in GpuCompress()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/
H A Dimage_compressor.cpp1610 maxVal = fmax(maxVal, blockErrs[i]); in GetMaxAndSumVal()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcapture_session.cpp1220 waitTime = fmax(waitMs - frameIntervalMs * j, waitTime); in SetSmoothZoom()

Completed in 15 milliseconds