Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/test/unittest/core/pattern/qrcode/
H A Dqrcode_test_ng.cpp194 EXPECT_TRUE(idealSizeFirst->Width() == fmin(QR_CODE_WIDTH, QR_CODE_HEIGHT)); in HWTEST_F()
200 EXPECT_TRUE(idealSizeSecond->Width() == fmin(QR_CODE_WIDTH, QR_CODE_HEIGHT)); in HWTEST_F()
314 EXPECT_EQ(qrcodeSize_One->Width(), fmin(QR_CODE_WIDTH, QR_CODE_HEIGHT)); in HWTEST_F()
320 EXPECT_EQ(qrcodeSize_Second->Width(), fmin(QR_CODE_WIDTH, QR_CODE_HEIGHT)); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_pattern.cpp279 const double drawScore = fmin(Round(ratingScore / stepSize) * stepSize, static_cast<double>(starNum)); in ConstrainsRatingScore()
321 const double newDrawScore = fmin(ceil(ratingScore / stepSize) * stepSize, starNum); in RecalculatedRatingScoreBasedOnEventPoint()
324 const double oldDrawScore = fmin(Round(oldRatingScore / stepSize) * stepSize, static_cast<double>(starNum)); in RecalculatedRatingScoreBasedOnEventPoint()
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/multimodalinput/input/service/rust/src/
H A Dlib.rs624 fn fmin(a: f64, b: f64) -> f64; in fmin() 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/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_vulkan_context.cpp466 cacheLimitsTimes * std::fmin(maxResourcesSize, GR_CACHE_MAX_BYTE_SIZE)); in CreateDrawingContext()
552 std::fmin(maxResourcesSize, GR_CACHE_MAX_BYTE_SIZE)); in CreateNewDrawingContext()
/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()
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_event_hub_drag.cpp301 scale = fmin(static_cast<float>(minDeviceLength / PIXELMAP_DRAG_WGR_SCALE) / height, in GetPixelMapScale()
305 scale = fmin(static_cast<float>(minDeviceLength / PIXELMAP_DRAG_WGR_SCALE) / height, in GetPixelMapScale()
/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/
H A Dsystem_ability_state_scheduler.cpp1268 return SendDelayUnloadEventLocked(abilityContext->systemAbilityId, fmin(delayTime, MAX_DELAY_TIME)); in ProcessDelayUnloadEventLocked()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Doverlay_manager.cpp5757 scale = fmin(static_cast<float>(minDeviceLength / PIXELMAP_DRAG_WGR_SCALE) / height, in UpdatePixelMapScale()
5761 scale = fmin(static_cast<float>(minDeviceLength / PIXELMAP_DRAG_WGR_SCALE) / height, in UpdatePixelMapScale()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_main_thread.cpp594 std::fmin(maxResourcesSize, DEFAULT_SKIA_CACHE_SIZE)); in Init()

Completed in 29 milliseconds