Home
last modified time | relevance | path

Searched refs:fmin (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/qrcode/
H A Dqrcode_test_ng.cpp186 EXPECT_TRUE(idealSizeFirst->Width() == fmin(QR_CODE_WIDTH, QR_CODE_HEIGHT));
192 EXPECT_TRUE(idealSizeSecond->Width() == fmin(QR_CODE_WIDTH, QR_CODE_HEIGHT));
306 EXPECT_EQ(qrcodeSize_One->Width(), fmin(QR_CODE_WIDTH, QR_CODE_HEIGHT));
312 EXPECT_EQ(qrcodeSize_Second->Width(), fmin(QR_CODE_WIDTH, QR_CODE_HEIGHT));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_pattern.cpp275 …const double drawScore = fmin(Round(ratingScore / stepSize) * stepSize, static_cast<double>(starNu… in ConstrainsRatingScore()
317 const double newDrawScore = fmin(ceil(ratingScore / stepSize) * stepSize, starNum); in RecalculatedRatingScoreBasedOnEventPoint()
320 …const double oldDrawScore = fmin(Round(oldRatingScore / stepSize) * stepSize, static_cast<double>(… in RecalculatedRatingScoreBasedOnEventPoint()
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/multimodalinput/input/service/rust/src/
H A Dlib.rs624 fn fmin(a: f64, b: f64) -> f64; in fmin() 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/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_vulkan_context.cpp462 cacheLimitsTimes * std::fmin(maxResourcesSize, GR_CACHE_MAX_BYTE_SIZE)); in CreateDrawingContext()
548 std::fmin(maxResourcesSize, GR_CACHE_MAX_BYTE_SIZE)); in CreateNewDrawingContext()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drosen_mask_painter.cpp273 scaleX_ = fmin(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/components_ng/event/
H A Dgesture_event_hub.cpp731 scale = fmin(static_cast<float>(minDeviceLength / PIXELMAP_DRAG_WGR_SCALE) / height, in GetPixelMapScale()
735 scale = fmin(static_cast<float>(minDeviceLength / PIXELMAP_DRAG_WGR_SCALE) / height, in GetPixelMapScale()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/
H A Dsystem_ability_state_scheduler.cpp1271 …return SendDelayUnloadEventLocked(abilityContext->systemAbilityId, fmin(delayTime, MAX_DELAY_TIME)… in ProcessDelayUnloadEventLocked()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Doverlay_manager.cpp5734 scale = fmin(static_cast<float>(minDeviceLength / PIXELMAP_DRAG_WGR_SCALE) / height, in UpdatePixelMapScale()
5738 scale = fmin(static_cast<float>(minDeviceLength / PIXELMAP_DRAG_WGR_SCALE) / height, in UpdatePixelMapScale()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_main_thread.cpp602 std::fmin(maxResourcesSize, DEFAULT_SKIA_CACHE_SIZE)); in Init()