Home
last modified time | relevance | path

Searched refs:MAX_GRAYSCALE (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.cpp49 constexpr double MAX_GRAYSCALE = 255.0; member
377 static_cast<double>(state_.fillState.GetColor().GetAlpha()) / MAX_GRAYSCALE); in GetFillPaint()
422 static_cast<double>(state_.strokeState.GetColor().GetAlpha()) / MAX_GRAYSCALE); in GetStrokePaint()
2161 state_.globalState.GetAlpha() * static_cast<double>(state_.shadow.GetColor().GetValue()) / MAX_GRAYSCALE); in UpdateStrokeShadowParagraph()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp99 constexpr float MAX_GRAYSCALE = 127.0f; member
8612 GreatNotEqual(item->value[GRAY_SCALE_START].f32, MAX_GRAYSCALE))) { in CheckBackgroundBlurStyleInput()
8617 GreatNotEqual(item->value[GRAY_SCALE_END].f32, MAX_GRAYSCALE))) { in CheckBackgroundBlurStyleInput()

Completed in 29 milliseconds