Home
last modified time | relevance | path

Searched refs:NUM_3 (Results 1 - 25 of 68) sorted by relevance

123

/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_pixel_convert.cpp20 constexpr uint32_t NUM_3 = 3; member
69 if (srcPixelCount * NUM_3 > dst.byteCount) { in RGBxToRGB()
82 if (src.byteCount % NUM_3 != NUM_0) { in RGBToRGBx()
85 size_t srcPixelCount = src.byteCount / NUM_3; in RGBToRGBx()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dextension_companion_node.cpp25 constexpr int NUM_3 = 3; member
117 event.data[NUM_3] = layoutConstraint.maxHeight; in OnMeasure()
136 event.data[NUM_3] = height; in OnLayout()
155 event.data[NUM_3] = context.height; in OnDraw()
175 event.data[NUM_3] = context.height; in OnForegroundDraw()
195 event.data[NUM_3] = context.height; in OnOverlayDraw()
H A Dnode_container_span_modifier.cpp24 constexpr int NUM_3 = 3; member
40 borderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_3])); in SetContainerSpanTextBackgroundStyle()
H A Dhyperlink_modifier.cpp26 constexpr int NUM_3 = 3; member
78 CalcDimension(values[i * NUM_4 + NUM_3], static_cast<DimensionUnit>(units[i * NUM_4 + NUM_3])); in SetHyperlinkResponseRegion()
H A Dflex_modifier.cpp23 constexpr int NUM_3 = 3; member
42 case NUM_3: //WrapAlignment::SPACE_AROUND in ParseFlexToWrap()
71 int alignItems = options[NUM_3]; in SetFlexOptions()
H A Dnode_stack_modifier.cpp25 constexpr int NUM_3 = 3; member
47 case NUM_3: in SetAlignContent()
H A Dnode_image_span_modifier.cpp26 constexpr int NUM_3 = 3; member
102 borderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_3])); in SetImageSpanTextBackgroundStyle()
226 borderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_3])); in SetImageSpanBorderRadius()
H A Dnode_timepicker_modifier.cpp28 constexpr int NUM_3 = 3; member
81 if (res.size() != NUM_3) { in SetTimepickerTextStyle()
124 if (res.size() != NUM_3) { in SetTimepickerSelectedTextStyle()
168 if (res.size() != NUM_3) { in SetTimepickerDisappearTextStyle()
H A Dnode_common_modifier.cpp55 constexpr int NUM_3 = 3; member
157 case NUM_3: in ParseAlignment()
193 return NUM_3; in ConvertAlignmentToInt()
225 return NUM_3; in ParseAlignmentToIndex()
254 if ((colors == nullptr) || (colorsLength % NUM_3) != 0) { in SetGradientColors()
257 for (int32_t index = 0; index < colorsLength; index += NUM_3) { in SetGradientColors()
357 auto repeating = values[NUM_3].i32; in SetLinearGradientValues()
398 auto centerYHasValue = values[NUM_3].i32; in SetSweepGradientValues()
447 auto centerYHasValue = values[NUM_3].i32; in SetRadialGradientValues()
477 if ((options == nullptr) || (offset < 0) || ((offset + NUM_3) > in SetCalcDimension()
[all...]
H A Dnode_image_modifier.cpp30 constexpr int NUM_3 = 3; member
82 offset = offset + NUM_3; in SetOptionalBorder()
88 if ((options == nullptr) || (offset < 0) || ((offset + NUM_3) > optionsLength)) { in SetCalcDimension()
113 for (unsigned int index = 0; index < RESIZEABLE_VEC_LENGTH; index += NUM_3) { in SetResizableFromVec()
117 auto direction = directions[index / NUM_3]; in SetResizableFromVec()
579 borderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_3])); in SetImageBorderRadius()
812 if (NUM_3 < size) { in GetImageResizable()
813 arrayValue[NUM_3] = resizable.bottom.Value(); in GetImageResizable()
H A Dnode_date_picker_modifier.cpp27 constexpr int NUM_3 = 3; member
78 if (res.size() != NUM_3) { in SetSelectedTextStyle()
155 if (res.size() != NUM_3) { in SetDatePickerTextStyle()
232 if (res.size() != NUM_3) { in SetDisappearTextStyle()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/pixelconverter/src/
H A Dpixel_convert_adapter.cpp46 static const uint8_t NUM_3 = 3; member
94 dst[NUM_2] = src[NUM_3]; in ARGBToRGBA()
95 dst[NUM_3] = src[NUM_0]; in ARGBToRGBA()
111 dst[NUM_0] = src[NUM_3]; in RGBAToARGB()
114 dst[NUM_3] = src[NUM_2]; in RGBAToARGB()
134 dst += NUM_3; in RGBxToRGB()
140 if (byteCount % NUM_3 != NUM_0) { in RGBToRGBx()
146 for (uint32_t i = NUM_0 ; i < byteCount; i += NUM_3) { in RGBToRGBx()
151 dst[NUM_3] = 0; in RGBToRGBx()
152 src += NUM_3; in RGBToRGBx()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_side_bar_container_bridge.cpp25 constexpr int NUM_3 = 3; member
102 Local<JSValueRef> widthArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetControlButton()
129 values[NUM_3] = heightArg->ToNumber(vm)->Value(); in SetControlButton()
132 values[NUM_3] = DEFAULT_CONTROL_BUTTON_HEIGHT_V10.Value(); in SetControlButton()
134 values[NUM_3] = DEFAULT_CONTROL_BUTTON_HEIGHT.Value(); in SetControlButton()
338 Local<JSValueRef> startMarginArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetDivider()
344 ArkUI_Float32 values[NUM_3] = { 1.0, 0.0, 0.0 }; in SetDivider()
345 int32_t units[NUM_3] = { static_cast<int32_t>(DimensionUnit::VP) }; in SetDivider()
376 nativeNode, values, units, NUM_3, color.GetValue()); in SetDivider()
H A Darkts_native_shape_bridge.cpp22 constexpr int NUM_3 = 3; member
33 Local<JSValueRef> widthArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetViewPort()
75 Local<JSValueRef> rowArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetMesh()
H A Darkts_native_date_picker_bridge.cpp26 constexpr int NUM_3 = 3; member
39 Local<JSValueRef> fontWeightArgs = runtimeCallInfo->GetCallArgRef(NUM_3); in SetSelectedTextStyle()
98 Local<JSValueRef> fontWeightArgs = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTextStyle()
156 Local<JSValueRef> fontWeightArgs = runtimeCallInfo->GetCallArgRef(NUM_3); in SetDisappearTextStyle()
H A Darkts_native_timepicker_bridge.cpp25 constexpr int NUM_3 = 3; member
60 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTextStyle()
109 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetSelectedTextStyle()
158 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetDisappearTextStyle()
289 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTimepickerDateTimeOptions()
H A Darkts_native_calendar_picker_bridge.cpp25 constexpr int NUM_3 = 3; member
62 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTextStyle()
100 Local<JSValueRef> dyArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetEdgeAlign()
H A Darkts_native_rating_bridge.cpp27 constexpr int NUM_3 = 3; member
113 Local<JSValueRef> secondaryUriArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetStarStyle()
202 CHECK_EQUAL_RETURN(runtimeCallInfo->GetArgsNumber() != NUM_3, true, panda::JSValueRef::Undefined(vm)); in SetRatingOptions()
H A Darkts_native_image_animator_bridge.cpp30 constexpr int NUM_3 = 3; member
192 Local<JSValueRef> fourthArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetImages()
231 vm, sixthArg, calcDimension.get() + arrayLength * NUM_3, arrayLength, parseDimensionStruct) || in SetImages()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_utils.cpp90 static const uint8_t NUM_3 = 3; member
199 rowDataSize = pixelBytes * (((uWidth + NUM_3) >> NUM_2) << NUM_2); in GetRowDataSizeByPixelFormat()
205 rowDataSize = pixelBytes * (((uWidth + NUM_7) >> NUM_3) << NUM_3); in GetRowDataSizeByPixelFormat()
418 dst[NUM_0] = src[NUM_3]; in ReversePixels()
421 dst[NUM_3] = src[NUM_0]; in ReversePixels()
647 (bytes[offset + NUM_2] << MOVE_BITS_8) | (bytes[offset + NUM_3]); in BytesToUint32()
649 data = (bytes[offset + NUM_3] << MOVE_BITS_24) | (bytes[offset + NUM_2] << MOVE_BITS_16) | in BytesToUint32()
665 (bytes[offset + NUM_2] << MOVE_BITS_8) | (bytes[offset + NUM_3]); in BytesToInt32()
667 data = (bytes[offset + NUM_3] << MOVE_BITS_2 in BytesToInt32()
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/src/
H A Dfilter_napi.cpp22 constexpr uint32_t NUM_3 = 3; member
35 { NUM_3, Drawing::TileMode::DECAL },
270 napi_value argValue[NUM_3] = {0}; in SetPixelStretch()
271 size_t argCount = NUM_3; in SetPixelStretch()
358 rippleCenterY = GetSpecialValue(env, argValue[NUM_3]); in SetWaterRipple()
H A Deffect_napi.cpp20 constexpr uint32_t NUM_3 = 3; member
283 if (arraySize < NUM_3) { in ParseJsVec3Value()
287 for (size_t i = 0; i < NUM_3; i++) { in ParseJsVec3Value()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dalignment.cpp23 constexpr int NUM_3 = 3; member
136 case NUM_3: in ParseAlignment()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp41 constexpr int NUM_3 = 3; member
421 case NUM_3: in ShapeToString()
943 int leftIndex = item->size == NUM_1 ? NUM_0 : NUM_3; in SetPadding()
987 g_numberValues[NUM_3].f32 = paddings[NUM_3]; in GetPadding()
1061 left.value = item->value[NUM_3].f32; in SetMargin()
1106 g_numberValues[NUM_3].f32 = margins[NUM_3]; in GetMargin()
1140 ArkUI_Float32 translate[NUM_3]; in GetTranslate()
1218 g_numberValues[NUM_3] in GetRotate()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_paint_method.cpp30 constexpr int32_t NUM_3 = 3; member
189 if (currentIndex_ > (maxDisplayCount_ - NUM_3)) { in CalculatePointCenterX()
193 (currentIndex_ - (maxDisplayCount_ - NUM_3)) * (INDICATOR_OFFSET_UNIT.ConvertToPx()) + in CalculatePointCenterX()
280 nposStation = NUM_3; in AnalysisIndexRange()

Completed in 70 milliseconds

123