/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | animation_practice.md | 188 @State color: Color = Color.Red; 198 this.color = (this.color === Color.Yellow ? Color.Red : Color.Yellow); 227 @State color: Color = Color.Red; 232 this.color = (this.color === Color.Yellow ? Color.Red : Color.Yellow); 269 @State color: Color = Color.Red; 288 this.color = Color.Red; 328 this.color = (this.color === Color.Yellow ? Color.Red : Color.Yellow); 348 @State color: Color = Color.Red; 365 this.color = Color.Red;
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_scroll_view/ |
H A D | ui_test_ui_scroll_view.cpp | 117 scroll->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitUIScrollViewTestbar001() 144 scroll->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitUIScrollViewTestbar002() 169 scroll->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitUIScrollViewTestbar003() 199 scroll->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitUIScrollViewTestbar004() 225 scroll->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitUIScrollViewTestScrollableSet001() 254 scroll->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitUIScrollViewTestScrollableSet002() 282 scroll->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitUIScrollViewTestScrollBlankSet001() 310 scroll->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitUIScrollViewTestScrolllistener001()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-geometric-shape-drawing.md | 175 .stroke(Color.Red) 188 .stroke(Color.Red) 202 .stroke(Color.Red) 219 .stroke(Color.Red) 230 .stroke(Color.Red) 282 .stroke(Color.Red) 309 .stroke(Color.Red)
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-rating.md | 278 .fill(config.rating >= 0.4 ? Color.Black : Color.Red) 292 .fill(config.rating >= 0.9 ? Color.Black : Color.Red) 299 .fill(config.rating >= 1.4 ? Color.Black : Color.Red) 313 .fill(config.rating >= 1.9 ? Color.Black : Color.Red) 320 .fill(config.rating >= 2.4 ? Color.Black : Color.Red) 334 .fill(config.rating >= 2.9 ? Color.Black : Color.Red) 341 .fill(config.rating >= 3.4 ? Color.Black : Color.Red) 355 .fill(config.rating >= 3.9 ? Color.Black : Color.Red) 362 .fill(config.rating >= 4.4 ? Color.Black : Color.Red) 376 .fill(config.rating >= 4.9 ? Color.Black : Color.Red)
|
H A D | ts-universal-attributes-foreground-color.md | 41 Circle({ width: 150, height: 200 }).foregroundColor(Color.Red) 86 }.foregroundColor(Color.Red)
|
H A D | ts-basic-components-span.md | 322 .decoration({ type: TextDecorationType.None, color: Color.Red }) 328 …-WAVY-span').decoration({ type: TextDecorationType.Underline, color: Color.Red, style: TextDecorat… 333 ….decoration({ type: TextDecorationType.LineThrough, color: Color.Red, style: TextDecorationStyle.D… 338 …DASHED-span').decoration({ type: TextDecorationType.Overline, color: Color.Red, style: TextDecorat… 391 …@State textShadows : ShadowOptions | Array<ShadowOptions> = [{ radius: 10, color: Color.Red, offse…
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_button_unit_test.cpp | 147 button_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); 148 EXPECT_EQ(button_->GetStyle(STYLE_BACKGROUND_COLOR), Color::Red().full); 149 …on_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::INACTIVE), Color::Red().full); 307 …button_->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::Red().full, UIButton::ButtonState::RELEAS… 309 Color::Red().full); 330 …button_->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::Red().full, UIButton::ButtonState::RELEAS… 332 Color::Red().full); 337 EXPECT_EQ(button_->GetStyle(STYLE_BACKGROUND_COLOR), Color::Red().full);
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_list_view/ |
H A D | ui_test_list_layout.cpp | 70 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListVerticalAddTestAutoSize001() 110 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListVerticalRemoveTestAutoSize001() 137 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListVerticalRemoveTestAutoSize002() 164 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListHorAddTestAutoSize001() 190 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListHorRemoveTestAutoSize001() 217 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListHorRemoveTestAutoSize002()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_swipe_view/ |
H A D | ui_test_ui_swipe_view.cpp | 96 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestHorizontal001() 127 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestHorizontal002() 163 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestHorizontal003() 202 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestVer001() 232 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestVer002() 269 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestRemove001() 329 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestAlign001() 378 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestSetCurrentPage() 385 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestSetCurrentPage()
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color.cpp | 27 static float Red(uint64_t color) in Red() function 54 : r(Red((uint64_t)color<<32)), in Color() 60 : r(Red(color)), in Color()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_opacity/ |
H A D | ui_test_opacity.cpp | 96 label->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in CreateTestCaseUILabel() 161 button->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in CreateTestCaseUIButton() 218 label->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in CreateTestCaseUIArcLabel() 245 imageView->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in CreateTestCaseUIImageView() 331 group1->SetStyle(STYLE_BACKGROUND_COLOR, (Color::Red()).full); in UIKitOpacityTestUIViewGroup001() 390 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in CreateTestCaseUIList() 422 group1->SetStyle(STYLE_BACKGROUND_COLOR, (Color::Red()).full); in UIKitOpacityTestUIScrollView001() 462 swipe->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitOpacityTestUISwipeView001()
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-style.md | 75 instance.backgroundColor(Color.Red) 124 .backgroundColor(Color.Red) 130 .backgroundColor(Color.Red)
|
H A D | arkts-extend.md | 31 .fontColor(Color.Red) 46 .fontColor(Color.Red) 94 .fontColor(Color.Red)
|
H A D | arkts-statestyles.md | 94 .backgroundColor(Color.Red) 125 @State focusedColor: Color = Color.Red;
|
H A D | arkts-declarative-ui-description.md | 100 .fontColor(Color.Red) 170 .fontColor(Color.Red)
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.42/ |
H A D | changelogs-window.md | 54 // .fontColor(Color.Red) 59 .fontColor(Color.Red)
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.52/ |
H A D | changelogs-arkui.md | 279 @State color: Color = Color.Red 296 this.color = Color.Red; 321 @State color: Color = Color.Red
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-focus.md | 83 @State webborderColor: Color = Color.Red; 84 @State webborderColor2: Color = Color.Red; 111 this.webborderColor = Color.Red; 123 this.webborderColor2 = Color.Red;
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_chart/ |
H A D | ui_test_chart_polyline.cpp | 43 dataSerial_[0]->SetLineColor(Color::Red()); in SetUp() 44 dataSerial_[0]->SetFillColor(Color::Red()); in SetUp() 296 ECGDataSerial_->SetLineColor(Color::Red()); in UIKitChartPolylineTestAddPoints004() 326 pointStyle.strokeColor = Color::Red(); in OnClick() 349 pointStyle.strokeColor = Color::Red(); in OnClick()
|
H A D | ui_test_chart_pillar.cpp | 36 dataSerial_[0]->SetFillColor(Color::Red()); in SetUp() 184 xAxis.SetLineColor(Color::Red()); in OnClick() 185 yAxis.SetLineColor(Color::Red()); in OnClick()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___native_buffer___smpte2086.md | 22 …](_o_h___native_buffer___color_x_y.md) [displaPrimaryRed](#displaprimaryred) | Red primary color.| 63 Red primary color.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-rating.md | 300 .fill(config.rating >= 0.4 ? Color.Black : Color.Red) 314 .fill(config.rating >= 0.9 ? Color.Black : Color.Red) 321 .fill(config.rating >= 1.4 ? Color.Black : Color.Red) 335 .fill(config.rating >= 1.9 ? Color.Black : Color.Red) 342 .fill(config.rating >= 2.4 ? Color.Black : Color.Red) 356 .fill(config.rating >= 2.9 ? Color.Black : Color.Red) 363 .fill(config.rating >= 3.4 ? Color.Black : Color.Red) 377 .fill(config.rating >= 3.9 ? Color.Black : Color.Red) 384 .fill(config.rating >= 4.4 ? Color.Black : Color.Red) 398 .fill(config.rating >= 4.9 ? Color.Black : Color.Red)
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_canvas/ |
H A D | ui_test_canvas.cpp | 194 paint.SetStrokeColor(Color::Red()); in UIKitCanvasTestDrawCurve001() 208 paint.SetStrokeColor(Color::Red()); in UIKitCanvasTestDrawCurve002() 323 paint.SetStrokeColor(Color::Red()); in UIKitCanvasTestDrawArc001() 1157 paint.SetFillColor(Color::Red()); in RM009StrokeAndClearRectDrawPath() 1597 paint.SetFillColor(Color::Red()); in RM012globalAlpha001() 1634 paint.SetFillColor(Color::Red()); in RM012GlobalCompositeOperationSourceOver() 1661 paint.SetFillColor(Color::Red()); in RM012GlobalCompositeOperationSourceAtop() 1687 paint.SetFillColor(Color::Red()); in RM012GlobalCompositeOperationSourceIn() 1713 paint.SetFillColor(Color::Red()); in RM012GlobalCompositeOperationSourceOut() 1739 paint.SetFillColor(Color::Red()); in RM012GlobalCompositeOperationDestinationOver() [all …]
|
/ohos5.0/docs/en/application-dev/performance/ |
H A D | animation_practice.md | 191 @State color: Color = Color.Red; 201 this.color = (this.color === Color.Yellow ? Color.Red : Color.Yellow); 230 @State color: Color = Color.Red; 235 this.color = (this.color === Color.Yellow ? Color.Red : Color.Yellow); 272 @State color: Color = Color.Red; 291 this.color = Color.Red; 331 this.color = (this.color === Color.Yellow ? Color.Red : Color.Yellow); 351 @State color: Color = Color.Red; 368 this.color = Color.Red;
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-geometric-shape-drawing.md | 175 .stroke(Color.Red) 188 .stroke(Color.Red) 202 .stroke(Color.Red) 219 .stroke(Color.Red) 230 .stroke(Color.Red) 282 .stroke(Color.Red) 309 .stroke(Color.Red)
|