Searched refs:fmax (Results 1 - 9 of 9) sorted by relevance
/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_), 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 D | rs_spring_model.h | 112 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 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()
|
/foundation/multimodalinput/input/service/rust/src/ |
H A D | lib.rs | 623 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 D | rosen_mask_painter.cpp | 265 scaleX_ = fmax(boxSize.Width() / svgSize.Width(), boxSize.Height() / svgSize.Height()); in UpdateSVGScale()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_pattern.cpp | 516 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 D | image_compressor.cpp | 220 max_val = fmax(max_val, blockErrs[i]); in GpuCompress()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/ |
H A D | image_compressor.cpp | 1610 maxVal = fmax(maxVal, blockErrs[i]); in GetMaxAndSumVal()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcapture_session.cpp | 1220 waitTime = fmax(waitMs - frameIntervalMs * j, waitTime); in SetSmoothZoom()
|
Completed in 15 milliseconds