Home
last modified time | relevance | path

Searched refs:GetColorValue (Results 1 – 12 of 12) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
Dqrcode_paint_method.cpp41 …if (renderContext->GetForegroundColorValue().GetValue() != paintProperty->GetColorValue().GetValue… in UpdateContentModifier()
47 auto color = paintProperty->GetColorValue(); in UpdateContentModifier()
/foundation/arkui/ace_engine/frameworks/core/components/test/json/
Dselect_creator.cpp96 bool SelectCreator::GetColorValue(const JsonValue& json, const std::string& name, Color& outValue) in GetColorValue() function in OHOS::Ace::SelectCreator
170 if (GetColorValue(componentJson, SELECT_SELECTED_COLOR, clrValue)) { in CreateCommonColorAttribute()
176 if (GetColorValue(componentJson, SELECT_CLICKED_COLOR, clrValue)) { in CreateCommonColorAttribute()
182 if (GetColorValue(componentJson, SELECT_DISABLED_COLOR, clrValue)) { in CreateCommonColorAttribute()
252 if (GetColorValue(componentJson, TEXT_COLOR, clrValue)) { in CreateOptionCommonAttribute()
Dselect_creator.h35 static bool GetColorValue(const JsonValue& json, const std::string& name, Color& outValue);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
Dprogress_paint_method.cpp99 Color color = paintProperty->GetColorValue(); in GenerateRingProgressColor()
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
Daccessibility_utils.h92 uint32_t GetColorValue(napi_env env, napi_value object, napi_value propertyNameValue);
93 uint32_t GetColorValue(napi_env env, napi_value value);
/foundation/arkui/ace_engine/adapter/preview/osal/
Dresource_adapter_impl.cpp154 auto stateColor = Color(valueFindIter->second.GetColorValue()); in ParseStateResource()
214 …tes_[attrName] = { .type = ThemeConstantsType::COLOR, .value = Color(attrValue->GetColorValue()) }; in ParseContent()
304 Color bgColor(attribute->GetColorValue()); in GetTheme()
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/qrcode/
Dqrcode_pattern_test_ng.cpp108 EXPECT_EQ(qrcodePaintProperty->GetColorValue(), QR_CODE_COLOR_VALUE);
391 …EXPECT_EQ(qrcodePaintProperty2->GetColorValue().GetValue(), qrCodeTheme->GetQrcodeColor().GetValue…
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
Dnapi_accessibility_utils.cpp1385 uint32_t GetColorValue(napi_env env, napi_value object, napi_value propertyNameValue) in GetColorValue() function
1410 uint32_t GetColorValue(napi_env env, napi_value value) in GetColorValue() function
1459 ptrCaptionProperty->SetFontColor(GetColorValue(env, object, propertyNameValue)); in ConvertObjToCaptionProperty()
1475 ptrCaptionProperty->SetBackgroundColor(GetColorValue(env, object, propertyNameValue)); in ConvertObjToCaptionProperty()
1483 ptrCaptionProperty->SetWindowColor(GetColorValue(env, object, propertyNameValue)); in ConvertObjToCaptionProperty()
Dnapi_accessibility_system_ability_client.cpp1091 uint32_t color = GetColorValue(env, parameters[PARAM0]); in SetCaptionFrontColor()
1180 uint32_t color = GetColorValue(env, parameters[PARAM0]); in SetCaptionBackgroundColor()
1222 uint32_t color = GetColorValue(env, parameters[PARAM0]); in SetCaptionWindowColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
Ddot_indicator_paint_method.cpp68 … dotIndicatorModifier_->SetUnselectedColor(paintProperty->GetColorValue(swiperTheme->GetColor())); in UpdateContentModifier()
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/loading_progress/
Dloading_progress_test_ng.cpp79 EXPECT_EQ(renderProperty->GetColorValue(), COLOR_DEFAULT);
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/indexer/
Dindexer_test_ng.cpp839 EXPECT_EQ(layoutProperty_->GetColorValue(), Color(0x00000000));