Home
last modified time | relevance | path

Searched refs:resColor (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/utils/
H A DCommonUtil.ts50 public getColor(context: Context, resColor: Resource): string {
53 let color: string = context.resourceManager.getColorSync(resColor.id).toString(BASE_16);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_model_ng.cpp321 Color resColor = value; in SetBackgroundColor() local
322 …if (!res && !IsInReleaseList(resColor.GetValue()) && !IsArkuiComponent() && IsBelowThreshold(value… in SetBackgroundColor()
323 resColor = value.ChangeAlpha(FULL_TRANSPARENCY_VALUE); in SetBackgroundColor()
325 ACE_UPDATE_PAINT_PROPERTY(SecurityComponentPaintProperty, BackgroundColor, resColor); in SetBackgroundColor()