/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | time_span.h | 54 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 D | time_util.cpp | 98 minutesWest = Round(TOTAL_MINUTE_OF_HOUR * timeOfNow.hoursWest_); in GetTimeOfNow() 153 minutesWest = Round(TOTAL_MINUTE_OF_HOUR * timeOfZone.hoursWest_); in GetTimeOfZone()
|
H A D | utils.h | 227 inline double Round(double rawNum) in Round() function
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/rect_fuzzer/ |
H A D | rect_fuzzer.cpp | 134 rectf.Round(); in RectFuzzTest003()
|
/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | rosen_render_image.cpp | 924 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 D | rect.h | 300 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 D | rs_obj_geometry.h | 323 void Round() in Round() function in OHOS::Rosen::RSObjGeometry
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable.cpp | 408 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 D | rs_filter_cache_manager.cpp | 377 visibleRectF.Round(); in ClipVisibleRect()
|
H A D | rs_properties_painter.cpp | 698 visibleRect.Round(); in DrawFilter() 860 visibleRect.Round(); in ClipVisibleCanvas()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_pattern.cpp | 279 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 D | render_rating.cpp | 520 drawScore_ = Round(ratingScore_ / stepSize_) * stepSize_; in ProcessAttributes()
|
/foundation/arkui/ace_engine/frameworks/core/components/tween/ |
H A D | tween_element.cpp | 184 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 D | rs_property_drawable_utils.cpp | 987 visibleRect.Round(); in DrawUseEffect()
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | lite_graph_to_hdi_model_v2_1.cpp | 1192 Round round{};
in ConvertRound()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_layout_algorithm.cpp | 73 spaceWidth_ = std::max(spaceWidth_, static_cast<float>(Round(dividerSpace.value()))); in ReviseSpace()
|
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/ |
H A D | treeview.js | 3921 Divider.lineCap(LineCapStyle.Round);
|