/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | style.cpp | 69 return bgColor_.full; in GetStyle() 75 return borderColor_.full; in GetStyle() 99 return textColor_.full; in GetStyle() 111 return lineColor_.full; in GetStyle() 127 bgColor_.full = value; in SetStyle() 136 borderColor_.full = value; in SetStyle() 172 textColor_.full = value; in SetStyle() 193 lineColor_.full = value; in SetStyle() 224 brightStyle_.SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in InitStyle() 226 brightStyle_.SetStyle(STYLE_BORDER_COLOR, Color::GetColorFromRGB(0x40, 0x40, 0x40).full); in InitStyle() [all...] |
H A D | pixel_format_utils.cpp | 45 in.full = color; in ARGB8888ToARGB1555() 56 return ret.full; in ARGB8888ToARGB1555() 63 in.full = color; in ARGB1555ToARGB8888() 74 return ret.full; in ARGB1555ToARGB8888()
|
H A D | color.cpp | 48 rColor.full = (alpha << 24) | (r8 << 16) | (g8 << 8) | (b8); in GetColorFromRGBA() 61 return ret.full; in ColorTo32() 63 return color.full; in ColorTo32() 80 return ret.full; in ColorTo32() 95 return rColor.full; in ColorTo16()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | marquee_tdd_test.cpp | 41 colorRGBSet.full = marqueeView->GetStyle(STYLE_TEXT_COLOR); in ComponentMarqueeStyleSetTest006() 43 colorRGB.full != colorRGBSet.full) { in ComponentMarqueeStyleSetTest006() 49 (colorRGB.blue == colorRGBSet.blue) && (colorRGB.full == colorRGBSet.full)); in ComponentMarqueeStyleSetTest006() 87 colorRGBSet.full = marqueeView->GetStyle(STYLE_TEXT_COLOR); in ComponentMarqueeStyleSetTest007() 89 colorRGB.full != colorRGBSet.full) { in ComponentMarqueeStyleSetTest007() 95 (colorRGB.blue == colorRGBSet.blue) && (colorRGB.full == colorRGBSet.full)); in ComponentMarqueeStyleSetTest007() [all...] |
H A D | slider_tdd_test.cpp | 183 if (uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue).full) { in ComponentSliderStyleSetColorTest004() 188 EXPECT_EQ(uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue).full); in ComponentSliderStyleSetColorTest004() 195 if (uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue2).full) { in ComponentSliderStyleSetColorTest004() 200 EXPECT_EQ(uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue2).full); in ComponentSliderStyleSetColorTest004() 208 if (uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue3).full) { in ComponentSliderStyleSetColorTest004() 213 EXPECT_EQ(uiSliderView->GetBackgroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue3).full); in ComponentSliderStyleSetColorTest004() 247 if (uiSliderView->GetForegroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue).full) { in ComponentSliderStyleSetSelectColorTest005() 252 EXPECT_EQ(uiSliderView->GetForegroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue).full); in ComponentSliderStyleSetSelectColorTest005() 260 if (uiSliderView->GetForegroundStyle(STYLE_BACKGROUND_COLOR) == GetRGBColor(expectColorValue2).full) { in ComponentSliderStyleSetSelectColorTest005() 265 EXPECT_EQ(uiSliderView->GetForegroundStyle(STYLE_BACKGROUND_COLOR), GetRGBColor(expectColorValue2).full); in ComponentSliderStyleSetSelectColorTest005() [all...] |
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | spannable_string.cpp | 389 inputSpan.backgroundColor.full = inputBackgroundColor.full; in SetBackgroundColor() 400 tempSize.full = tempSpan->data_.backgroundColor.full; in SetBackgroundColor() 401 if (inputBackgroundColor.full == tempSize.full) { in SetBackgroundColor() 409 tempLeft.backgroundColor.full = tempSize.full; in SetBackgroundColor() 413 tempRight.backgroundColor.full = tempSize.full; in SetBackgroundColor() [all...] |
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_button_unit_test.cpp | 129 button_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Blue().full); in HWTEST_F() 130 EXPECT_EQ(button_->GetStyle(STYLE_BACKGROUND_COLOR), Color::Blue().full); in HWTEST_F() 131 EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::PRESSED), Color::Blue().full); in HWTEST_F() 147 button_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in HWTEST_F() 148 EXPECT_EQ(button_->GetStyle(STYLE_BACKGROUND_COLOR), Color::Red().full); in HWTEST_F() 149 EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::INACTIVE), Color::Red().full); in HWTEST_F() 165 button_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in HWTEST_F() 166 EXPECT_EQ(button_->GetStyle(STYLE_BACKGROUND_COLOR), Color::Green().full); in HWTEST_F() 167 EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::RELEASED), Color::Green().full); in HWTEST_F() 307 button_->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::Red().full, UIButto in HWTEST_F() [all...] |
H A D | ui_chart_unit_test.cpp | 323 EXPECT_EQ(chartDataSerial_->GetLineColor().full, color.full); in HWTEST_F() 340 EXPECT_EQ(chartDataSerial_->GetFillColor().full, color.full); in HWTEST_F() 379 EXPECT_EQ(pointStyle1.fillColor.full, pointStyle.fillColor.full); in HWTEST_F() 380 EXPECT_EQ(pointStyle1.strokeColor.full, pointStyle.strokeColor.full); in HWTEST_F() 402 EXPECT_EQ(pointStyle1.fillColor.full, pointStyle.fillColor.full); in HWTEST_F() [all...] |
H A D | ui_slider_unit_test.cpp | 91 slider_->SetKnobStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in HWTEST_F() 92 EXPECT_EQ(slider_->GetKnobStyle().bgColor_.full, Color::Gray().full); in HWTEST_F()
|
H A D | ui_edit_text_unit_test.cpp | 192 EXPECT_EQ(editText->GetTextColor().full, color.full); in HWTEST_F() 208 EXPECT_EQ(editText->GetPlaceholderColor().full, color.full); in HWTEST_F() 224 EXPECT_EQ(editText->GetCursorColor().full, color.full); in HWTEST_F()
|
/foundation/window/window_manager_lite/test/ |
H A D | sample_window.cpp | 140 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() 173 block3->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in AddBlock() 180 block4->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in AddBlock() 194 g_rootView1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in TestWindow() 198 g_rootView2->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in TestWindow() 202 g_rootView3->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in TestWindow() 209 label->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in TestWindow() [all...] |
/foundation/arkui/ui_lite/test/uitest/test_view_percent/ |
H A D | ui_test_view_percent.cpp | 126 flexLayout_->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in InitFlexLayout() 147 viewGroup->SetStyle(STYLE_BORDER_COLOR, Color::White().full); in InitViewGroup() 155 view1_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in InitViewGroup() 157 view1_->SetStyle(STYLE_BORDER_COLOR, Color::Black().full); in InitViewGroup() 166 view2_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Blue().full); in InitViewGroup() 168 view2_->SetStyle(STYLE_BORDER_COLOR, Color::Blue().full); in InitViewGroup() 178 view3_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in InitViewGroup() 180 view3_->SetStyle(STYLE_BORDER_COLOR, Color::Red().full); in InitViewGroup() 203 label->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in AddElement() 204 label->SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in AddElement() [all...] |
/foundation/graphic/graphic_utils_lite/test/ |
H A D | style_unit_test.cpp | 58 style_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in HWTEST_F() 59 EXPECT_EQ(style_->GetStyle(STYLE_BACKGROUND_COLOR), Color::Gray().full); in HWTEST_F() 106 style_->SetStyle(STYLE_BORDER_COLOR, Color::Gray().full); in HWTEST_F() 107 EXPECT_EQ(style_->GetStyle(STYLE_BORDER_COLOR), Color::Gray().full); in HWTEST_F() 299 style_->SetStyle(STYLE_TEXT_COLOR, Color::Gray().full); in HWTEST_F() 300 EXPECT_EQ(style_->GetStyle(STYLE_TEXT_COLOR), Color::Gray().full); in HWTEST_F() 382 style_->SetStyle(STYLE_LINE_COLOR, Color::Gray().full); in HWTEST_F() 383 EXPECT_EQ(style_->GetStyle(STYLE_LINE_COLOR), Color::Gray().full); in HWTEST_F()
|
/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/ |
H A D | second_ability_slice.cpp | 46 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart() 48 button1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in OnStart() 54 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart()
|
H A D | next_ability_slice.cpp | 46 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart() 48 button1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in OnStart() 54 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart()
|
H A D | main_ability_slice.cpp | 82 button1->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in OnStart() 84 button1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Yellow().full); in OnStart() 90 rootView_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in OnStart()
|
/foundation/arkui/ui_lite/test/uitest/test_view_bounds/ |
H A D | ui_test_view_bounds.cpp | 158 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsMargin001() 184 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsPadding001() 210 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsBorder001() 212 view1->SetStyle(STYLE_BORDER_COLOR, Color::Red().full); in UIKitViewBoundsBorder001() 238 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBounds001() 240 view1->SetStyle(STYLE_BORDER_COLOR, Color::Yellow().full); in UIKitViewBounds001() 268 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsInvisible001() 295 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsSmallView001() 321 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsPostDraw001()
|
/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()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | horizon_progress_component.cpp | 58 STYLE_BACKGROUND_COLOR, Color::GetColorFromRGBA(0xFF, 0xFF, 0xFF, static_cast<uint8_t>(alpha * 0xFF)).full); in CreateNativeViews() 87 progressView_.SetForegroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in SetHorizonProgressStyle() 97 progressView_.SetBackgroundStyle(STYLE_BACKGROUND_COLOR, GetRGBColor(color).full); in SetHorizonProgressStyle()
|
H A D | circle_progress_component.cpp | 47 progressView_.SetBackgroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in CreateNativeViews() 57 progressView_.SetForegroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in CreateNativeViews() 143 progressView_.SetForegroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in SetArcColor() 155 progressView_.SetBackgroundStyle(STYLE_LINE_COLOR, GetRGBColor(color).full); in SetArcBackgroundColor()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | pixel_format_utils.h | 29 uint16_t full; member 39 uint32_t full; member
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_picker.cpp | 38 lastSelectView_->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetBackgroundTextColor().full); in OnItemSelected() 45 view->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetHighlightTextColor().full); in OnItemSelected() 67 lastSelectView_->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetBackgroundTextColor().full); in OnScrollEnd() 77 view->SetStyle(STYLE_TEXT_COLOR, pickerView_->GetHighlightTextColor().full); in OnScrollEnd() 333 childView->SetStyle(STYLE_TEXT_COLOR, GetBackgroundTextColor().full); in RefreshSelected() 341 childView->SetStyle(STYLE_TEXT_COLOR, GetHighlightTextColor().full); in RefreshSelected() 409 if ((backgroundColor.full == backgroundColor_.full) && (highlightColor.full == highlightColor_.full)) { in SetTextColor() [all...] |
H A D | ui_dialog.cpp | 228 button->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::White().full, UIButton::ButtonState::RELEASED); in AddButton() 229 button->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::Black().full, UIButton::ButtonState::PRESSED); in AddButton() 266 title_->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in SetTitleLabel() 268 title_->SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in SetTitleLabel() 285 text_->SetStyle(STYLE_TEXT_COLOR, Color::Black().full); in SetTextLabel() 287 text_->SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in SetTextLabel() 300 dialogLayer_->SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in InitDialog() 344 line1_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Black().full); in AddComponents() 356 line2_->SetStyle(STYLE_BACKGROUND_COLOR, Color::Black().full); in AddComponents() 583 button1_->SetStyleForState(STYLE_BACKGROUND_COLOR, color.full, UIButto in SetButtonColor() [all...] |
/foundation/arkui/ui_lite/test/unittest/common/ |
H A D | hardware_acceleration_unit_test.cpp | 138 rootView->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in HWTEST_F() 163 rootView->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in HWTEST_F() 194 rootView->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in HWTEST_F() 227 rootView->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in HWTEST_F() 267 rootView->SetStyle(STYLE_BACKGROUND_COLOR, Color::Olive().full); in HWTEST_F()
|
/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() 389 view2->SetStyle(STYLE_BACKGROUND_COLOR, Color::White().full); in UIKitSwipeViewTestSetCurrentPage() [all...] |