Home
last modified time | relevance | path

Searched refs:Round (Results 1 – 25 of 51) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dtime_span.h54 return Round(static_cast<float>(value_) / 1000.f); in META_BEGIN_NAMESPACE()
253 result = TimeSpan(Round(n * static_cast<float>(value_))); in META_BEGIN_NAMESPACE()
272 result = TimeSpan(Round(static_cast<float>(value_) / n)); in META_BEGIN_NAMESPACE()
298 static constexpr int64_t Round(float in) noexcept in META_BEGIN_NAMESPACE()
306 return Round(seconds * 1000000.0f); in META_BEGIN_NAMESPACE()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-border-image.md50 | Round | 被切割图片以整数次平铺在图片边框上,无法以整数次平铺时压缩被切割图片。 |
101 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea…
162 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
206 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea…
320 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
H A Dts-drawing-components-shape.md322 .strokeLineCap(LineCapStyle.Round)
323 .strokeLineJoin(LineJoinStyle.Round)
388 .strokeLineCap(LineCapStyle.Round)
H A Dts-drawing-components-polyline.md301 .strokeLineJoin(LineJoinStyle.Round)
303 .strokeLineCap(LineCapStyle.Round)
H A Dts-drawing-components-line.md361 // 当LineCapStyle值为Round
369 .strokeLineCap(LineCapStyle.Round)
H A Dohos-arkui-advanced-TreeView.md352 Divider().vertical(true).strokeWidth(2).color(0x000000).lineCap(LineCapStyle.Round)
H A Dts-appendix-enums.md79 | Round | 使用圆角连接路径段。 |
409 | Round | 在线条两端延伸半个圆,直径等于线宽。 |
/ohos5.0/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.h222 inline double Round(double rawNum) in Round() function
/ohos5.0/docs/zh-cn/third-party-cases/
H A DUse-the-Badge-component-to-display-the-number-of-unread-messages-in-a-chat.md62 Divider().color(Color.Gray).strokeWidth(1).lineCap(LineCapStyle.Round)
192 Divider().color(Color.Gray).strokeWidth(1).lineCap(LineCapStyle.Round)
H A Dinteract-lists.md105 .strokeLineCap(LineCapStyle.Round)
181 .strokeLineCap(LineCapStyle.Round)
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-geometric-shape-drawing.md195 - 通过strokeLineJoin可以设置线条拐角绘制样式。拐角绘制样式分为Bevel(使用斜角连接路径段)、Miter(使用尖角连接路径段)、Round(使用圆角连接路径段)。
206 .strokeLineJoin(LineJoinStyle.Round)
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-border-image.md50 | Round | The source image's slices are tiled to fill the border box. Tiles may be compressed whe…
98 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea…
159 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
203 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea…
317 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
H A Dts-drawing-components-shape.md304 .strokeLineCap(LineCapStyle.Round)
305 .strokeLineJoin(LineJoinStyle.Round)
370 .strokeLineCap(LineCapStyle.Round)
H A Dts-drawing-components-polyline.md285 .strokeLineJoin(LineJoinStyle.Round)
287 .strokeLineCap(LineCapStyle.Round)
H A Dts-drawing-components-line.md343 // Set LineCapStyle to Round.
351 .strokeLineCap(LineCapStyle.Round)
/ohos5.0/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(srcRec…
962 …RSRect(Round(srcRect.Left()), Round(srcRect.Top()), Round(srcRect.Right()), Round(srcRect.Bottom()…
/ohos5.0/drivers/interface/nnrt/v2_1/
H A DNnrtTypes.idl428 /** Round operator. */
576 /** Round off. */
578 …/** Round toward negative infinity. For example, 23.5 is rounded to 23, and −23.5 is rounded to −2…
580 …/** Round toward positive infinity. For example, 23.5 is rounded to 24, and −23.5 is rounded to −2…
582 …/** Round down to the nearest integer. For example, 23.5 is rounded down to 23, and −23.5 is round…
586 …/** Round up to the nearest integer. For example, 23.5 is rounded up to 24, and −23.5 is rounded u…
889 …/** Round down to the nearest integer. For example, 23.5 is rounded down to 23, and −23.5 is round…
891 …/** Round up to the nearest integer. For example, 23.5 is rounded up to 24, and −23.5 is rounded u…
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-geometric-shape-drawing.md195 …ineJoin** to set the join style of the stroke. Options include **Bevel**, **Miter**, and **Round**.
205 // Set the join style of the stroke to Round.
206 .strokeLineJoin(LineJoinStyle.Round)
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/rect_fuzzer/
H A Drect_fuzzer.cpp134 rectf.Round(); in RectFuzzTest003()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Drect.h289 inline void Round();
406 inline void RectF::Round() in Round() function
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_obj_geometry.h332 void Round() in Round() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable.cpp425 mainDelta = Round(-mainDelta); in HandleDragUpdate()
427 mainDelta = Round(mainDelta); in HandleDragUpdate()
465 mainPosition = Round(mainPosition); in HandleDragEnd()
/ohos5.0/foundation/arkui/advanced_ui_component/doc/
H A Dts-composite-components-treeview.md319 Divider().vertical(true).strokeWidth(2).color(0x000000).lineCap(LineCapStyle.Round)
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_filter_cache_manager.cpp367 visibleRectF.Round(); in ClipVisibleRect()

123