Home
last modified time | relevance | path

Searched refs:star (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_line_bridge.cpp39 CalcDimension star; in SetStartPoint() local
45 star = CalcDimension(0, DimensionUnit::VP); in SetStartPoint()
54 pointUnits.push_back(static_cast<int>(star.Unit())); in SetStartPoint()
56 if (star.Unit() == DimensionUnit::CALC) { in SetStartPoint()
58 pointStr.push_back(star.CalcValue().c_str()); in SetStartPoint()
60 pointValues.push_back(star.Value()); in SetStartPoint()
107 CalcDimension star; in SetEndPoint() local
113 star = CalcDimension(0, DimensionUnit::VP); in SetEndPoint()
124 if (star.Unit() == DimensionUnit::CALC) { in SetEndPoint()
126 pointStr.push_back(star.CalcValue().c_str()); in SetEndPoint()
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-components-rating.md74 …ages when a rating star is unselected, selected, and partially selected using the **star-backgroun…
82star-background: {{backstar}}; star-secondary: {{secstar}};star-foreground: {{forestar}};rtl-flip:…
120 > - You must set **star-background**, **star-secondary**, and **star-foreground**. Otherwise, the g…
122 > - The **star-background**, **star-secondary**, and **star-foreground** attributes support only PN…
172 Change the switch status to toggle between the star background images and drag the slider to adjust…
180 …style="width: {{ratewidth}};height:{{rateheight}};star-background: {{backstar}};star-secondary: {{…
181 star-foreground: {{forestar}};rtl-flip: true;"></rating>
H A Dnapi-xcomponent-guidelines.md916 … OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "EGLCore", "Draw execute draw star failed");
938 … OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "EGLCore", "Draw execute draw star failed");
995 … OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "EGLCore", "Draw execute draw star failed");
1017 … OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "EGLCore", "Draw execute draw star failed");
1254 this.currentStatus = "draw star"
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-components-rating.md74 rating组件通过star-background、star-foreground和star-secondary属性设置单个星级未选择、选中和选中的次级背景图片。
82star-background: {{backstar}}; star-secondary: {{secstar}};star-foreground: {{forestar}};rtl-flip:…
120 > - star-background、star-secondary、star-foreground属性的星级图源必须全部设置,否则默认的星级颜色为灰色,提示图源设置错误。
122 > - star-background、star-secondary、star-foreground属性只支持本地路径图片,图片格式为png和jpg。
180 …style="width: {{ratewidth}};height:{{rateheight}};star-background: {{backstar}};star-secondary: {{…
181 star-foreground: {{forestar}};rtl-flip: true;"></rating>
H A Dnapi-xcomponent-guidelines.md916 … OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "EGLCore", "Draw execute draw star failed");
938 … OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "EGLCore", "Draw execute draw star failed");
995 … OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "EGLCore", "Draw execute draw star failed");
1017 … OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "EGLCore", "Draw execute draw star failed");
1254 this.currentStatus = "draw star"
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-rating.md38 | star-background | string | - | No| Background image when a rating star is unselected. Only PNG an…
39 | star-foreground | string | - | No| Foreground image when a rating star is selected. Only PNG and …
40 | star-secondary | string | - | No| Secondary background image when a rating star is partially sele…
41 …Image width. The default value is the width of the default image for five-star ratings. If you do …
42 …age height. The default value is the height of the default image for five-star ratings. If you do …
47 > You must set **star-background**, **star-secondary**, and **star-foreground**. Otherwise, the ra…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-rating.md37 | star-background | string | - | 否 | 设置单个星级未选中的背景图片,只支持本地路径图片,图片格式为png和jpg。 |
38 | star-foreground | string | - | 否 | 设置单个星级选中的前景图片,只支持本地路径图片,图片格式为png和jpg。 |
39 | star-secondary | string | - | 否 | 设置单个星级部分选中的次级背景图片,该图片会覆盖背景图片,只支持本地路径图片,图片格式为png和jpg。 |
45 > star-background,star-secondary,star-foreground三个星级图源必须全部设置,否则默认的星级颜色为灰色,以此提示图源设置错误。
/ohos5.0/docs/en/design/ux-design/
H A Dmultimodal-rating-bar.md3 …flect user experience. The rating ranges from one to five stars, with one star being the worst and…
11 …s to evaluate an offering or a service. The comment corresponding to each star is displayed below …
13 … swipe. Specifically, your user can touch one or more star icons or swipe horizontally in the star
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DTestAny.cpp183 const auto* star = AnyCast<Star>(&celestial); variable
184 ASSERT_TRUE(star1 == (*star));
214 const Star star("star", 100); variable
215 a1 = star;
218 ASSERT_TRUE(AnyCast<Star>(a2) == star);
222 ASSERT_TRUE(AnyCast<Star>(a1) == star);
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-rating.md73 Sets the star style. For details about the supported image types, see [Image](ts-basic-components-i…
89 …ndefined** or an empty string, the **Rating** component loads the default star image source.<br>If…
139 | Home | Move the focus to the first star, without changing the actual rating. |
140 | End | Move the focus to the last star, without changing the actual rating. |
182 | backgroundUri | string | Yes | Image path for the unselected star. You can use the default syste…
183 | foregroundUri | string | Yes | Image path for the selected star. You can use the default system …
184 | secondaryUri | string | No | Image path for the partially selected star. You can use the defaul…
H A Dts-basic-components-radio.md227 Image($r("app.media.star"))
H A Dts-basic-components-xcomponent.md575 this.currentStatus = "draw star";
H A Dts-basic-components-progress.md497 This example implements a custom progress indicator featuring a star-shaped design. The total progr…
H A Dts-basic-components-image.md772 private imageTwo: Resource = $r('app.media.star');
H A Dts-canvasrenderingcontext2d.md2746 private img:ImageBitmap = new ImageBitmap("/images/star.png")
/ohos5.0/foundation/multimedia/ringtone_library/test/unittest/ringtone_utils_test/src/
H A Dringtone_file_utils_test.cpp53 const char star = '*'; variable
54 auto str = RingtoneFileUtils::SplitByChar(PATH, star);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-radio.md227 Image($r("app.media.star"))
H A Dts-basic-components-xcomponent.md579 this.currentStatus = "draw star";
H A Dts-basic-components-image.md836 private imageTwo: Resource = $r('app.media.star');
/ohos5.0/docs/en/application-dev/media/audio/
H A Dusing-toneplayer-for-playback.md22 | TONE_TYPE_DIAL_S | 10 | DTMF tone of the star key (*). |
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.21/
H A Dchangelogs-arkui.md82 Image($r("app.media.star"))
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/
H A Djs-apis-audio-sys.md3240 | TONE_TYPE_DIAL_S | 10 | DTMF tone of the star key (*). …