Home
last modified time | relevance | path

Searched refs:Round (Results 1 - 17 of 17) sorted by relevance

/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dtime_span.h54 return Round(static_cast<float>(value_) / 1000.f);
253 result = TimeSpan(Round(n * static_cast<float>(value_)));
272 result = TimeSpan(Round(static_cast<float>(value_) / n));
298 static constexpr int64_t Round(float in) noexcept
306 return Round(seconds * 1000000.0f);
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dtime_util.cpp98 minutesWest = Round(TOTAL_MINUTE_OF_HOUR * timeOfNow.hoursWest_); in GetTimeOfNow()
153 minutesWest = Round(TOTAL_MINUTE_OF_HOUR * timeOfZone.hoursWest_); in GetTimeOfZone()
H A Dutils.h227 inline double Round(double rawNum) in Round() function
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/rect_fuzzer/
H A Drect_fuzzer.cpp134 rectf.Round(); in RectFuzzTest003()
/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Drosen_render_image.cpp924 SkRect::MakeXYWH(Round(srcRect.Left()), Round(srcRect.Top()), Round(srcRect.Width()), Round(srcRect.Height()));
962 RSRect(Round(srcRect.Left()), Round(srcRect.Top()), Round(srcRect.Right()), Round(srcRect.Bottom()));
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Drect.h300 inline void Round();
419 inline void RectF::Round() in Round() function in OHOS::Rosen::Drawing::RectF
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_obj_geometry.h323 void Round() in Round() function in OHOS::Rosen::RSObjGeometry
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable.cpp408 mainDelta = Round(-mainDelta); in HandleDragUpdate()
410 mainDelta = Round(mainDelta); in HandleDragUpdate()
445 double mainPosition = Round(GetMainOffset(Offset(info.GetGlobalPoint().GetX(), info.GetGlobalPoint().GetY()))); in HandleDragEnd()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_filter_cache_manager.cpp377 visibleRectF.Round(); in ClipVisibleRect()
H A Drs_properties_painter.cpp698 visibleRect.Round(); in DrawFilter()
860 visibleRect.Round(); in ClipVisibleCanvas()
/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()
324 const double oldDrawScore = fmin(Round(oldRatingScore / stepSize) * stepSize, static_cast<double>(starNum)); in RecalculatedRatingScoreBasedOnEventPoint()
/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drender_rating.cpp520 drawScore_ = Round(ratingScore_ / stepSize_) * stepSize_; in ProcessAttributes()
/foundation/arkui/ace_engine/frameworks/core/components/tween/
H A Dtween_element.cpp184 auto opacity = static_cast<uint8_t>(Round(value * UINT8_MAX)); in OpacityAnimationListener()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp987 visibleRect.Round(); in DrawUseEffect()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dlite_graph_to_hdi_model_v2_1.cpp1192 Round round{}; in ConvertRound()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_layout_algorithm.cpp73 spaceWidth_ = std::max(spaceWidth_, static_cast<float>(Round(dividerSpace.value()))); in ReviseSpace()
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/
H A Dtreeview.js3921 Divider.lineCap(LineCapStyle.Round);

Completed in 38 milliseconds