Home
last modified time | relevance | path

Searched refs:SetStyle (Results 1 – 25 of 164) sorted by relevance

1234567

/ohos5.0/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
248 buttonReleasedStyle_.SetStyle(STYLE_BORDER_WIDTH, 0); in InitButtonStyle()
265 labelStyle_.SetStyle(STYLE_BACKGROUND_OPA, OPA_TRANSPARENT); in InitLabelStyle()
276 editTextStyle_.SetStyle(STYLE_BORDER_OPA, OPA_OPAQUE); in InitEditTextStyle()
300 progressBackgroundStyle_.SetStyle(STYLE_BORDER_WIDTH, 0); in InitProgressStyle()
301 progressBackgroundStyle_.SetStyle(STYLE_BORDER_RADIUS, 0); in InitProgressStyle()
304 progressForegroundStyle_.SetStyle(STYLE_BORDER_WIDTH, 0); in InitProgressStyle()
305 progressForegroundStyle_.SetStyle(STYLE_BORDER_RADIUS, 0); in InitProgressStyle()
309 sliderKnobStyle_.SetStyle(STYLE_BORDER_WIDTH, 0); in InitProgressStyle()
314 scrollBarBackgroundStyle_.SetStyle(STYLE_BACKGROUND_COLOR, in InitScrollBarStyle()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_draw_rect/
H A Dui_test_draw_rect.cpp116 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()
120 view->SetStyle(STYLE_MARGIN_LEFT, 0); in CreateUIView()
121 view->SetStyle(STYLE_MARGIN_RIGHT, 0); in CreateUIView()
122 view->SetStyle(STYLE_MARGIN_TOP, 0); in CreateUIView()
123 view->SetStyle(STYLE_MARGIN_BOTTOM, 0); in CreateUIView()
145 view->SetStyle(STYLE_BORDER_WIDTH, 0); in UIKitDrawRectTestRectNoBorder001()
171 view->SetStyle(STYLE_BORDER_WIDTH, 0); in UIKitDrawRectTestRectNoBorder002()
198 view->SetStyle(STYLE_BORDER_WIDTH, 0); in UIKitDrawRectTestRectNoBorder003()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_percent/
H A Dui_test_view_percent.cpp130 flexLayout_->SetStyle(STYLE_BACKGROUND_OPA, 0); in InitFlexLayout()
148 viewGroup->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in InitViewGroup()
151 viewGroup->SetStyle(STYLE_BACKGROUND_OPA, 0); in InitViewGroup()
156 view1_->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in InitViewGroup()
158 view1_->SetStyle(STYLE_BORDER_OPA, OPA_OPAQUE); in InitViewGroup()
167 view2_->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in InitViewGroup()
169 view2_->SetStyle(STYLE_BORDER_OPA, OPA_OPAQUE); in InitViewGroup()
179 view3_->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in InitViewGroup()
181 view3_->SetStyle(STYLE_BORDER_OPA, OPA_OPAQUE); in InitViewGroup()
205 label->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in AddElement()
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/test/
H A Dstyle_unit_test.cpp90 style_->SetStyle(STYLE_BORDER_RADIUS, 0);
122 style_->SetStyle(STYLE_BORDER_OPA, OPA_OPAQUE);
155 style_->SetStyle(STYLE_PADDING_LEFT, 0);
187 style_->SetStyle(STYLE_PADDING_TOP, 0);
219 style_->SetStyle(STYLE_MARGIN_LEFT, 0);
251 style_->SetStyle(STYLE_MARGIN_TOP, 0);
283 style_->SetStyle(STYLE_IMAGE_OPA, OPA_OPAQUE);
315 style_->SetStyle(STYLE_TEXT_FONT, 0);
366 style_->SetStyle(STYLE_TEXT_OPA, OPA_OPAQUE);
399 style_->SetStyle(STYLE_LINE_WIDTH, lineWidth);
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_layout/
H A Dui_test_basic_layout.cpp113 uiViewGroupFrame_->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in UIKitLayoutTestBasicLayout001()
116 uiViewGroupFrame_->SetStyle(STYLE_BACKGROUND_OPA, 0); in UIKitLayoutTestBasicLayout001()
208 testTarget_->SetStyle(STYLE_MARGIN_LEFT, 0); in OnClick()
209 testTarget_->SetStyle(STYLE_MARGIN_RIGHT, 0); in OnClick()
210 testTarget_->SetStyle(STYLE_MARGIN_TOP, 0); in OnClick()
211 testTarget_->SetStyle(STYLE_MARGIN_BOTTOM, 0); in OnClick()
212 uiViewGroupFrame_->SetStyle(STYLE_PADDING_LEFT, 0); in OnClick()
213 uiViewGroupFrame_->SetStyle(STYLE_PADDING_RIGHT, 0); in OnClick()
214 uiViewGroupFrame_->SetStyle(STYLE_PADDING_TOP, 0); in OnClick()
215 uiViewGroupFrame_->SetStyle(STYLE_PADDING_BOTTOM, 0); 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); /… 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_RADIUS, VIEW_STYLE_BORDER_RADIUS); in UIKitLayoutTestGridLayout001()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp383 view->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest001()
392 view->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest002()
405 view->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest003()
430 group->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest005()
443 canvas->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest006()
473 chart_->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest007()
629 list->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest013()
653 qrcode->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest015()
695 view1->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest018()
702 view2->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest018()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_bounds/
H A Dui_test_view_bounds.cpp159 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBoundsMargin001()
160 view1->SetStyle(STYLE_MARGIN_LEFT, 50); // 50: margin size in UIKitViewBoundsMargin001()
185 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBoundsPadding001()
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_OPA, OPA_OPAQUE); in UIKitViewBoundsBorder001()
239 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBounds001()
241 view1->SetStyle(STYLE_BORDER_OPA, OPA_OPAQUE); in UIKitViewBounds001()
269 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBoundsInvisible001()
296 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBoundsSmallView001()
[all …]
/ohos5.0/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()
159 block->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in AddBlock()
166 block2->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in AddBlock()
167 block2->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in AddBlock()
180 block4->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in AddBlock()
181 block4->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in AddBlock()
203 g_rootView3->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in TestWindow()
209 label->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in TestWindow()
210 label->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in TestWindow()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Dfocus_box_test_ng.cpp74 focusBox->SetStyle(style);
91 focusBox->SetStyle(style);
106 focusBox->SetStyle(style);
122 focusBox->SetStyle(style);
137 focusBox->SetStyle(style);
152 focusBox->SetStyle(style);
168 focusBox->SetStyle(style);
183 focusBox->SetStyle(style);
198 focusBox->SetStyle(style);
/ohos5.0/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()
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()
246 imageView->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestCaseUIImageView()
299 view->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestCaseUIView()
[all …]
/ohos5.0/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()
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_OPA, 127); // 127: opaque in OnClick()
283 uiLabel->SetStyle(STYLE_LINE_HEIGHT, 20); // 20: lineHeight in ExpandClick()
285 uiLabel->SetStyle(STYLE_LINE_HEIGHT, 35); // 35: lineHeight in ExpandClick()
[all …]
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/
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 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 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()
/ohos5.0/base/update/updater/services/ui/view/component/
H A Dtext_label_adapter.cpp28 this->SetStyle(OHOS::STYLE_LINE_HEIGHT, UPDATER_UI_FONT_HEIGHT_RATIO * spec.fontSize); in TextLabelAdapter()
30 this->SetStyle(OHOS::STYLE_TEXT_COLOR, fontColor.full); in TextLabelAdapter()
31 this->SetStyle(OHOS::STYLE_TEXT_OPA, fontColor.alpha); in TextLabelAdapter()
33 this->SetStyle(OHOS::STYLE_BACKGROUND_COLOR, bgColor.full); in TextLabelAdapter()
34 this->SetStyle(OHOS::STYLE_BACKGROUND_OPA, bgColor.alpha); in TextLabelAdapter()
/ohos5.0/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()
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_TOP, IMAGE_PADDING); in SetUp()
54 imageView_->SetStyle(STYLE_PADDING_BOTTOM, IMAGE_PADDING); in SetUp()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_focus_manager/
H A Dui_test_focus_manager.cpp35 view.SetStyle(STYLE_BORDER_COLOR, Color::Red().full); in OnFocus()
37 view.SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in OnFocus()
46 view.SetStyle(STYLE_BORDER_COLOR, Color::White().full); in OnBlur()
49 view.SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0, 125, 255).full); in OnBlur()
252 label->SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(0, 125, 255).full); in CreateTestUILabel()
253 label->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in CreateTestUILabel()
268 viewGroup->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in CreateTestUIViewGroup()
269 viewGroup->SetStyle(STYLE_BORDER_OPA, HALF_OPA_OPAQUE); in CreateTestUIViewGroup()
270 viewGroup->SetStyle(STYLE_BORDER_WIDTH, 1); in CreateTestUIViewGroup()
271 viewGroup->SetStyle(STYLE_BORDER_RADIUS, VIEW_STYLE_BORDER_RADIUS); in CreateTestUIViewGroup()
/ohos5.0/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()
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_TOP, g_padding); in OnClick()
396 currentList_->SetStyle(STYLE_PADDING_BOTTOM, g_padding); in OnClick()
[all …]
/ohos5.0/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()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/animation/
H A Dtransition_impl.cpp262 view_->SetStyle(STYLE_BACKGROUND_COLOR, Color::GetColorFromRGB(rTo_, gTo_, bTo_).full); in PerformTransitionBgColorLinear()
270 view_->SetStyle(STYLE_BACKGROUND_COLOR, color.full); in PerformTransitionBgColorLinear()
316 … view_->SetStyle(STYLE_BACKGROUND_OPA, static_cast<int64_t>(viewStatus_.rectOpacity * rate)); in PerformTransition()
317 view_->SetStyle(STYLE_IMAGE_OPA, static_cast<int64_t>(viewStatus_.imageOpacity * rate)); in PerformTransition()
318 view_->SetStyle(STYLE_LINE_OPA, static_cast<int64_t>(viewStatus_.lineOpacity * rate)); in PerformTransition()
319 view_->SetStyle(STYLE_TEXT_OPA, static_cast<int64_t>(viewStatus_.textOpacity * rate)); in PerformTransition()
416 view_->SetStyle(STYLE_BACKGROUND_COLOR, viewStatus_.background_color.full); in RecoveryViewStatus()
417 view_->SetStyle(STYLE_BACKGROUND_OPA, viewStatus_.rectOpacity); in RecoveryViewStatus()
418 view_->SetStyle(STYLE_IMAGE_OPA, viewStatus_.imageOpacity); in RecoveryViewStatus()
419 view_->SetStyle(STYLE_LINE_OPA, viewStatus_.lineOpacity); in RecoveryViewStatus()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_canvas_test.cpp69 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
89 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
108 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
127 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
147 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
168 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
189 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
208 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
228 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
247 paint.SetStyle(Paint::PaintStyle::PAINT_FILL);
[all …]
/ohos5.0/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_SPACE, 6); // 6: space in UIKitUIArcLabelTestAlign003()
/ohos5.0/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()
/ohos5.0/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()
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_RIGHT, paddingWidth); in OnClick()
440 boxProgress_->SetStyle(STYLE_PADDING_TOP, paddingWidth); in OnClick()
[all …]

1234567