Searched refs:stops (Results 1 - 7 of 7) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | gradient_style_modifier.cpp | 81 std::vector<Dimension> stops = colorStops_->Get().GetColorStops(); in GetGradient() local 87 if (size > stops.size()) { in GetGradient() 94 stops[index].Value() > MAX_COLOR_STOP ? Dimension(MAX_COLOR_STOP, DimensionUnit::PERCENT) : stops[index]; in GetGradient()
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_type.h | 1474 float* stops; member
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 1330 colors[i * NUM_3 + NUM_2].f32 = colorStop->stops[i] < 0 ? 0 : colorStop->stops[i]; in SetLinearGradient() 1353 ArkUI_Float32 stops[NUM_10]; in GetLinearGradient() local 1355 node->uiNodeHandle, &values, &colors, &stops); in GetLinearGradient() 1373 gradientStops[i] = stops[i] / 100.0f; //百分比转换为小数 in GetLinearGradient() 1376 colorStop.stops = gradientStops; in GetLinearGradient() 2498 colors[i * NUM_3 + NUM_2].f32 = colorStop->stops[i]; in SetSweepGradient() 2561 ArkUI_Float32 stops[NUM_10]; in GetSweepGradient() local 2564 node->uiNodeHandle, &values, &colors, &stops, unit); in GetSweepGradient() 2588 gradientStops[i] = stops[ in GetSweepGradient() 2663 ArkUI_Float32 stops[NUM_10]; GetRadialGradient() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_common_modifier.cpp | 1645 * @param stops stop value 1646 * stops[0], stops[1] : fractionStops pair[0] 1647 * stops[2], stops[3] : fractionStops pair[1] ... 1648 * @param stopsLength stops length 1651 void SetLinearGradientBlur(ArkUINodeHandle node, ArkUI_Float32 blurRadius, const ArkUI_Float32* stops, in SetLinearGradientBlur() argument 1661 auto first = stops[index]; in SetLinearGradientBlur() 1662 auto second = stops[index + NUM_1]; in SetLinearGradientBlur() 5211 ArkUI_Float32 (*stops)[1 in GetSweepGradient() 5210 GetSweepGradient(ArkUINodeHandle node, ArkUI_Float32 (*values)[6], ArkUI_Uint32 (*colors)[10], ArkUI_Float32 (*stops)[10], ArkUI_Int32 unit) GetSweepGradient() argument 5236 GetRadialGradient(ArkUINodeHandle node, ArkUI_Float32 (*values)[4], ArkUI_Uint32 (*colors)[10], ArkUI_Float32 (*stops)[10], ArkUI_Int32 unit) GetRadialGradient() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 104 void (*setLinearGradientBlur)(ArkUINodeHandle node, ArkUI_Float32 blurRadius, const ArkUI_Float32* stops,
358 ArkUI_Float32 (*stops)[10], ArkUI_Int32 unit);
360 ArkUI_Float32 (*stops)[10], ArkUI_Int32 unit);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 1608 void (*setLinearGradientBlur)(ArkUINodeHandle node, ArkUI_Float32 blurRadius, const ArkUI_Float32* stops, 1861 ArkUI_Float32 (*stops)[10], ArkUI_Int32 unit); 1863 ArkUI_Float32 (*stops)[10], ArkUI_Int32 unit);
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | native_node_test.cpp | 219 float stops[] = {val0, val05}; in HWTEST_F() local 220 ArkUI_ColorStop colorStop = {colors, stops, 2}; in HWTEST_F()
|
Completed in 76 milliseconds