Home
last modified time | relevance | path

Searched refs:SetStyle (Results 1 - 25 of 156) sorted by relevance

1234567

/foundation/graphic/graphic_utils_lite/frameworks/
H A Dstyle.cpp123 void Style::SetStyle(uint8_t key, int64_t value) in SetStyle() function in OHOS::Style
224 brightStyle_.SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in InitStyle()
225 brightStyle_.SetStyle(STYLE_BORDER_RADIUS, 3); // 3: rect radius in InitStyle()
226 brightStyle_.SetStyle(STYLE_BORDER_COLOR, Color::GetColorFromRGB(0x40, 0x40, 0x40).full); in InitStyle()
227 brightStyle_.SetStyle(STYLE_BORDER_WIDTH, 3); // 3: rect border width in InitStyle()
228 brightStyle_.SetStyle(STYLE_BORDER_OPA, 76); // 76: default opa in InitStyle()
229 brightStyle_.SetStyle(STYLE_TEXT_COLOR, Color::GetColorFromRGB(0x20, 0x20, 0x20).full); in InitStyle()
230 brightStyle_.SetStyle(STYLE_LINE_COLOR, Color::GetColorFromRGB(0x20, 0x20, 0x20).full); in InitStyle()
233 brightColorStyle_.SetStyle(STYLE_TEXT_COLOR, Color::GetColorFromRGB(0xe0, 0xe0, 0xe0).full); in InitStyle()
234 brightColorStyle_.SetStyle(STYLE_LINE_COLO in InitStyle()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_draw_rect/
H A Dui_test_draw_rect.cpp110 view->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in CreateUIView()
111 view->SetStyle(STYLE_BACKGROUND_OPA, 127); // 127 : background opacity in CreateUIView()
112 view->SetStyle(STYLE_BORDER_RADIUS, 5); // 5 : radius value in CreateUIView()
113 view->SetStyle(STYLE_BORDER_COLOR, Color::Gray().full); in CreateUIView()
114 view->SetStyle(STYLE_BORDER_OPA, 127); // 127 : border opacity in CreateUIView()
115 view->SetStyle(STYLE_BORDER_WIDTH, 20); // 20 : border width in CreateUIView()
116 view->SetStyle(STYLE_PADDING_LEFT, 0); in CreateUIView()
117 view->SetStyle(STYLE_PADDING_RIGHT, 0); in CreateUIView()
118 view->SetStyle(STYLE_PADDING_TOP, 0); in CreateUIView()
119 view->SetStyle(STYLE_PADDING_BOTTO in CreateUIView()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_percent/
H A Dui_test_view_percent.cpp126 flexLayout_->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in InitFlexLayout()
127 flexLayout_->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in InitFlexLayout()
128 flexLayout_->SetStyle(STYLE_BORDER_WIDTH, VIEW_STYLE_BORDER_WIDTH); in InitFlexLayout()
129 flexLayout_->SetStyle(STYLE_BORDER_RADIUS, VIEW_STYLE_BORDER_RADIUS); in InitFlexLayout()
130 flexLayout_->SetStyle(STYLE_BACKGROUND_OPA, 0); in InitFlexLayout()
147 viewGroup->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in InitViewGroup()
148 viewGroup->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in InitViewGroup()
149 viewGroup->SetStyle(STYLE_BORDER_WIDTH, VIEW_STYLE_BORDER_WIDTH); in InitViewGroup()
150 viewGroup->SetStyle(STYLE_BORDER_RADIUS, VIEW_STYLE_BORDER_RADIUS); in InitViewGroup()
151 viewGroup->SetStyle(STYLE_BACKGROUND_OP in InitViewGroup()
[all...]
/foundation/graphic/graphic_utils_lite/test/
H A Dstyle_unit_test.cpp48 * @tc.desc: Verify SetStyle function, equal.
58 style_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in HWTEST_F()
64 * @tc.desc: Verify SetStyle function, equal.
74 style_->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in HWTEST_F()
80 * @tc.desc: Verify SetStyle function, equal.
90 style_->SetStyle(STYLE_BORDER_RADIUS, 0); in HWTEST_F()
96 * @tc.desc: Verify SetStyle function, equal.
106 style_->SetStyle(STYLE_BORDER_COLOR, Color::Gray().full); in HWTEST_F()
112 * @tc.desc: Verify SetStyle function, equal.
122 style_->SetStyle(STYLE_BORDER_OP in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_bounds/
H A Dui_test_view_bounds.cpp158 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsMargin001()
159 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBoundsMargin001()
160 view1->SetStyle(STYLE_MARGIN_LEFT, 50); // 50: margin size in UIKitViewBoundsMargin001()
184 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsPadding001()
185 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBoundsPadding001()
186 view1->SetStyle(STYLE_PADDING_LEFT, 50); // 50: padding size in UIKitViewBoundsPadding001()
210 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsBorder001()
211 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBoundsBorder001()
212 view1->SetStyle(STYLE_BORDER_COLOR, Color::Red().full); in UIKitViewBoundsBorder001()
213 view1->SetStyle(STYLE_BORDER_OP in UIKitViewBoundsBorder001()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_layout/
H A Dui_test_basic_layout.cpp112 uiViewGroupFrame_->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in UIKitLayoutTestBasicLayout001()
113 uiViewGroupFrame_->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in UIKitLayoutTestBasicLayout001()
114 uiViewGroupFrame_->SetStyle(STYLE_BORDER_WIDTH, VIEW_STYLE_BORDER_WIDTH); in UIKitLayoutTestBasicLayout001()
115 uiViewGroupFrame_->SetStyle(STYLE_BORDER_RADIUS, VIEW_STYLE_BORDER_RADIUS); in UIKitLayoutTestBasicLayout001()
116 uiViewGroupFrame_->SetStyle(STYLE_BACKGROUND_OPA, 0); in UIKitLayoutTestBasicLayout001()
123 testTargetSmall1_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Purple().full); in UIKitLayoutTestBasicLayout001()
124 testTargetSmall2_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Cyan().full); in UIKitLayoutTestBasicLayout001()
125 testTarget_->SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0, 182, 191).full); // 182, 191: color in UIKitLayoutTestBasicLayout001()
130 refTarget_->SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(255, 152, 0).full); // 255, 152: color in UIKitLayoutTestBasicLayout001()
208 testTarget_->SetStyle(STYLE_MARGIN_LEF in OnClick()
[all...]
H A Dui_test_advanced_layout.cpp105 uiViewGroupFrame->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in UIKitLayoutTestFlexLayout001()
106 uiViewGroupFrame->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in UIKitLayoutTestFlexLayout001()
107 uiViewGroupFrame->SetStyle(STYLE_BORDER_WIDTH, VIEW_STYLE_BORDER_WIDTH); in UIKitLayoutTestFlexLayout001()
108 uiViewGroupFrame->SetStyle(STYLE_BORDER_RADIUS, VIEW_STYLE_BORDER_RADIUS); in UIKitLayoutTestFlexLayout001()
109 uiViewGroupFrame->SetStyle(STYLE_BACKGROUND_OPA, 0); in UIKitLayoutTestFlexLayout001()
113 fTarget_->SetStyle(STYLE_BACKGROUND_OPA, 100); // 100: opacity in UIKitLayoutTestFlexLayout001()
169 uiViewGroupFrame->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in UIKitLayoutTestGridLayout001()
170 uiViewGroupFrame->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in UIKitLayoutTestGridLayout001()
171 uiViewGroupFrame->SetStyle(STYLE_BORDER_WIDTH, VIEW_STYLE_BORDER_WIDTH); in UIKitLayoutTestGridLayout001()
172 uiViewGroupFrame->SetStyle(STYLE_BORDER_RADIU in UIKitLayoutTestGridLayout001()
[all...]
H A Dui_test_advanced_layout.h113 view->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in AddElement()
116 view->SetStyle(STYLE_MARGIN_LEFT, 10); // 10: margin left in AddElement()
117 view->SetStyle(STYLE_MARGIN_RIGHT, 15); // 15: margin right in AddElement()
118 view->SetStyle(STYLE_MARGIN_TOP, 20); // 20: margin top in AddElement()
119 view->SetStyle(STYLE_MARGIN_BOTTOM, 25); // 25: margin bottom in AddElement()
/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp52 view_->style_.SetStyle(STYLE_MARGIN_LEFT, MARGIN_SIZE);
53 view_->style_.SetStyle(STYLE_MARGIN_TOP, MARGIN_SIZE);
54 view_->style_.SetStyle(STYLE_MARGIN_RIGHT, MARGIN_SIZE);
55 view_->style_.SetStyle(STYLE_MARGIN_BOTTOM, MARGIN_SIZE);
57 view_->style_.SetStyle(STYLE_MARGIN_LEFT, 0);
58 view_->style_.SetStyle(STYLE_MARGIN_TOP, 0);
59 view_->style_.SetStyle(STYLE_MARGIN_RIGHT, 0);
60 view_->style_.SetStyle(STYLE_MARGIN_BOTTOM, 0);
83 view_->style_.SetStyle(STYLE_BORDER_WIDTH, 20); // 20: border width
84 view_->style_.SetStyle(STYLE_BORDER_OP
[all...]
/foundation/window/window_manager_lite/test/
H A Dsample_window.cpp140 button->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in AddButton()
146 button1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in AddButton()
147 button1->SetStyle(STYLE_BACKGROUND_OPA, 200); // 200: background opacity in AddButton()
148 button1->SetStyle(STYLE_BORDER_RADIUS, 3); // 3: border radius in AddButton()
159 block->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in AddBlock()
160 block->SetStyle(STYLE_BACKGROUND_OPA, 200); // 200: background opacity in AddBlock()
166 block2->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in AddBlock()
167 block2->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in AddBlock()
173 block3->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in AddBlock()
174 block3->SetStyle(STYLE_BACKGROUND_OP in AddBlock()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/event/
H A Dfocus_box_test_ng.cpp64 * @tc.desc: Create SetStyle.
74 focusBox->SetStyle(style); in HWTEST_F()
81 * @tc.desc: Create SetStyle.
91 focusBox->SetStyle(style); in HWTEST_F()
98 * @tc.desc: Create SetStyle.
106 focusBox->SetStyle(style); in HWTEST_F()
113 * @tc.desc: Create SetStyle.
122 focusBox->SetStyle(style); in HWTEST_F()
129 * @tc.desc: Create SetStyle.
137 focusBox->SetStyle(styl in HWTEST_F()
[all...]
/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/
H A Dsecond_ability_slice.cpp46 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart()
47 button1->SetStyle(STYLE_TEXT_OPA, ROOT_VIEW_OPACITY); in OnStart()
48 button1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in OnStart()
49 button1->SetStyle(STYLE_BACKGROUND_OPA, ROOT_VIEW_OPACITY); in OnStart()
54 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart()
H A Dnext_ability_slice.cpp46 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart()
47 button1->SetStyle(STYLE_TEXT_OPA, ROOT_VIEW_OPACITY); in OnStart()
48 button1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in OnStart()
49 button1->SetStyle(STYLE_BACKGROUND_OPA, ROOT_VIEW_OPACITY); in OnStart()
54 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart()
H A Dmain_ability_slice.cpp82 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart()
83 button1->SetStyle(STYLE_TEXT_OPA, ROOT_VIEW_OPACITY); in OnStart()
84 button1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in OnStart()
85 button1->SetStyle(STYLE_BACKGROUND_OPA, ROOT_VIEW_OPACITY); in OnStart()
90 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart()
/foundation/arkui/ui_lite/test/uitest/test_label/
H A Dui_test_label.cpp91 uiViewGroupFrame->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in UIKitUILabelTestDisplay001()
92 uiViewGroupFrame->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in UIKitUILabelTestDisplay001()
93 uiViewGroupFrame->SetStyle(STYLE_BORDER_WIDTH, VIEW_STYLE_BORDER_WIDTH); in UIKitUILabelTestDisplay001()
94 uiViewGroupFrame->SetStyle(STYLE_BORDER_RADIUS, VIEW_STYLE_BORDER_RADIUS); in UIKitUILabelTestDisplay001()
95 uiViewGroupFrame->SetStyle(STYLE_BACKGROUND_OPA, 0); in UIKitUILabelTestDisplay001()
231 uiLabel->SetStyle(STYLE_TEXT_COLOR, Color::White().full); in OnClick()
232 uiLabel->SetStyle(STYLE_TEXT_OPA, OPA_OPAQUE); in OnClick()
234 uiLabel->SetStyle(STYLE_TEXT_COLOR, Color::Red().full); in OnClick()
235 uiLabel->SetStyle(STYLE_TEXT_OPA, OPA_OPAQUE); in OnClick()
237 uiLabel->SetStyle(STYLE_TEXT_OP in OnClick()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_transform/
H A Dui_test_transform.cpp40 uiViewGroupFrame_->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in SetUp()
41 uiViewGroupFrame_->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in SetUp()
42 uiViewGroupFrame_->SetStyle(STYLE_BORDER_WIDTH, VIEW_STYLE_BORDER_WIDTH); in SetUp()
43 uiViewGroupFrame_->SetStyle(STYLE_BORDER_RADIUS, VIEW_STYLE_BORDER_RADIUS); in SetUp()
44 uiViewGroupFrame_->SetStyle(STYLE_BACKGROUND_OPA, 0); in SetUp()
49 imageView_->SetStyle(STYLE_BORDER_COLOR, Color::Blue().full); in SetUp()
50 imageView_->SetStyle(STYLE_BORDER_WIDTH, 1); in SetUp()
51 imageView_->SetStyle(STYLE_PADDING_LEFT, IMAGE_PADDING); in SetUp()
52 imageView_->SetStyle(STYLE_PADDING_RIGHT, IMAGE_PADDING); in SetUp()
53 imageView_->SetStyle(STYLE_PADDING_TO in SetUp()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dswitch_component.cpp55 toggleButton_.SetStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in ApplyPrivateStyle()
56 toggleButton_.SetStyle(STYLE_BACKGROUND_OPA, alpha); in ApplyPrivateStyle()
67 toggleButton_.SetStyle(STYLE_BORDER_OPA, OPA_OPAQUE); in CreateNativeViews()
68 toggleButton_.SetStyle(STYLE_BACKGROUND_OPA, OPA_TRANSPARENT); in CreateNativeViews()
/foundation/arkui/ui_lite/test/uitest/test_opacity/
H A Dui_test_opacity.cpp64 group->SetStyle(STYLE_BACKGROUND_COLOR, Color::Black().full); in CreateTestCaseGroup()
65 group->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestCaseGroup()
96 label->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in CreateTestCaseUILabel()
97 label->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestCaseUILabel()
161 button->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in CreateTestCaseUIButton()
162 button->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestCaseUIButton()
218 label->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in CreateTestCaseUIArcLabel()
219 label->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestCaseUIArcLabel()
221 label->SetStyle(STYLE_LETTER_SPACE, 30); // 30: space in CreateTestCaseUIArcLabel()
245 imageView->SetStyle(STYLE_BACKGROUND_COLO in CreateTestCaseUIImageView()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_ui_list/
H A Dui_test_ui_list.cpp153 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListInitTestFullScreen001()
180 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListInitTesthalhScreen001()
318 list->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitListScrollTestBlankSet001()
349 selectBtnPos->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitListScrollTestBlankSet001()
350 selectBtnPos->SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in UIKitListScrollTestBlankSet001()
351 selectBtnPos->SetStyle(STYLE_BORDER_WIDTH, 0); in UIKitListScrollTestBlankSet001()
352 selectBtnPos->SetStyle(STYLE_BORDER_RADIUS, 0); in UIKitListScrollTestBlankSet001()
393 currentList_->SetStyle(STYLE_PADDING_LEFT, g_padding); in OnClick()
394 currentList_->SetStyle(STYLE_PADDING_RIGHT, g_padding); in OnClick()
395 currentList_->SetStyle(STYLE_PADDING_TO in OnClick()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_progress_bar/
H A Dui_test_box_progress.cpp52 uiViewGroupFrame_->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in SetUp()
53 uiViewGroupFrame_->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in SetUp()
54 uiViewGroupFrame_->SetStyle(STYLE_BORDER_WIDTH, VIEW_STYLE_BORDER_WIDTH); in SetUp()
55 uiViewGroupFrame_->SetStyle(STYLE_BORDER_RADIUS, VIEW_STYLE_BORDER_RADIUS); in SetUp()
56 uiViewGroupFrame_->SetStyle(STYLE_BACKGROUND_OPA, 0); in SetUp()
63 boxProgress_->SetStyle(STYLE_BORDER_COLOR, Color::Yellow().full); in SetUp()
420 boxProgress_->SetStyle(STYLE_BORDER_WIDTH, bodrderWidth); in OnClick()
425 boxProgress_->SetStyle(STYLE_BORDER_WIDTH, bodrderWidth); in OnClick()
430 boxProgress_->SetStyle(STYLE_PADDING_LEFT, paddingWidth); in OnClick()
435 boxProgress_->SetStyle(STYLE_PADDING_RIGH in OnClick()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_canvas_test.cpp68 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
87 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
105 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
123 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
142 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
162 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
182 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
200 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
219 paint.SetStyle(Paint::PaintStyle::PAINT_FILL); in HWTEST_F()
237 paint.SetStyle(Pain in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_ui_scroll_view/
H A Dui_test_ui_scroll_view.cpp117 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()
/foundation/arkui/ui_lite/test/uitest/test_picker/
H A Dui_test_ui_picker.cpp106 picker1_->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitPickerTestBase001()
107 picker1_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in UIKitPickerTestBase001()
190 label->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitPickerTestTimePicker001()
194 setMarginBtn_->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitPickerTestTimePicker001()
235 picker2_->SetStyle(STYLE_MARGIN_LEFT, ++margin_); in OnClick()
236 picker2_->SetStyle(STYLE_MARGIN_RIGHT, margin_); in OnClick()
237 picker2_->SetStyle(STYLE_MARGIN_TOP, margin_); in OnClick()
238 picker2_->SetStyle(STYLE_MARGIN_BOTTOM, margin_); in OnClick()
/foundation/arkui/ace_engine_lite/frameworks/src/core/animation/
H A Dtransition_impl.cpp263 view_->SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(rTo_, gTo_, bTo_).full); in PerformTransitionBgColorLinear()
271 view_->SetStyle(STYLE_BACKGROUND_COLOR, color.full); in PerformTransitionBgColorLinear()
317 view_->SetStyle(STYLE_BACKGROUND_OPA, static_cast<int64_t>(viewStatus_.rectOpacity * rate)); in PerformTransition()
318 view_->SetStyle(STYLE_IMAGE_OPA, static_cast<int64_t>(viewStatus_.imageOpacity * rate)); in PerformTransition()
319 view_->SetStyle(STYLE_LINE_OPA, static_cast<int64_t>(viewStatus_.lineOpacity * rate)); in PerformTransition()
320 view_->SetStyle(STYLE_TEXT_OPA, static_cast<int64_t>(viewStatus_.textOpacity * rate)); in PerformTransition()
417 view_->SetStyle(STYLE_BACKGROUND_COLOR, viewStatus_.background_color.full); in RecoveryViewStatus()
418 view_->SetStyle(STYLE_BACKGROUND_OPA, viewStatus_.rectOpacity); in RecoveryViewStatus()
419 view_->SetStyle(STYLE_IMAGE_OPA, viewStatus_.imageOpacity); in RecoveryViewStatus()
420 view_->SetStyle(STYLE_LINE_OP in RecoveryViewStatus()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_arc_label/
H A Dui_test_arc_label.cpp134 label->SetStyle(STYLE_LETTER_SPACE, 10); // 10: space in TestArcLabelDisplay()
332 back->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitUIArcLabelTestAlign001()
333 back->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitUIArcLabelTestAlign001()
342 label->SetStyle(STYLE_LETTER_SPACE, 6); // 6: space in UIKitUIArcLabelTestAlign001()
358 back->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitUIArcLabelTestAlign002()
359 back->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitUIArcLabelTestAlign002()
368 label->SetStyle(STYLE_LETTER_SPACE, 6); // 6: space in UIKitUIArcLabelTestAlign002()
384 back->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitUIArcLabelTestAlign003()
385 back->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitUIArcLabelTestAlign003()
394 label->SetStyle(STYLE_LETTER_SPAC in UIKitUIArcLabelTestAlign003()
[all...]

Completed in 222 milliseconds

1234567