Searched refs:fmin (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/qrcode/ |
H A D | qrcode_test_ng.cpp | 186 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 D | rating_pattern.cpp | 275 …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 D | lib.rs | 624 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 D | rs_vulkan_context.cpp | 462 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 D | rosen_mask_painter.cpp | 273 scaleX_ = fmin(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/components_ng/event/ |
H A D | gesture_event_hub.cpp | 731 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 D | system_ability_state_scheduler.cpp | 1271 …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 D | overlay_manager.cpp | 5734 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 D | rs_main_thread.cpp | 602 std::fmin(maxResourcesSize, DEFAULT_SKIA_CACHE_SIZE)); in Init()
|