Home
last modified time | relevance | path

Searched refs:NUM_3 (Results 1 – 25 of 71) sorted by relevance

123

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/pixelconverter/src/
H A Dpixel_convert_adapter.cpp46 static const uint8_t NUM_3 = 3; variable
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()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_pixel_convert.cpp20 constexpr uint32_t NUM_3 = 3; variable
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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dextension_companion_node.cpp27 constexpr int NUM_3 = 3; variable
119 event.data[NUM_3] = layoutConstraint.maxHeight; in OnMeasure()
138 event.data[NUM_3] = height; in OnLayout()
157 event.data[NUM_3] = context.height; in OnDraw()
177 event.data[NUM_3] = context.height; in OnForegroundDraw()
197 event.data[NUM_3] = context.height; in OnOverlayDraw()
H A Dnode_container_span_modifier.cpp29 constexpr int NUM_3 = 3; variable
45 …rderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(unit… in SetContainerSpanTextBackgroundStyle()
H A Dnode_image_span_modifier.cpp30 constexpr int NUM_3 = 3; variable
96 …rderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(unit… in SetImageSpanTextBackgroundStyle()
202 …rderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(unit… in SetImageSpanBorderRadius()
H A Dhyperlink_modifier.cpp28 constexpr int NUM_3 = 3; variable
80 … CalcDimension(values[i * NUM_4 + NUM_3], static_cast<DimensionUnit>(units[i * NUM_4 + NUM_3])); in SetHyperlinkResponseRegion()
H A Dflex_modifier.cpp30 constexpr int NUM_3 = 3; variable
49 case NUM_3: //WrapAlignment::SPACE_AROUND in ParseFlexToWrap()
78 int alignItems = options[NUM_3]; in SetFlexOptions()
H A Dnode_stack_modifier.cpp30 constexpr int NUM_3 = 3; variable
52 case NUM_3: in SetAlignContent()
H A Dnode_common_modifier.cpp65 constexpr int NUM_3 = 3; variable
169 case NUM_3: in ParseAlignment()
205 return NUM_3; in ConvertAlignmentToInt()
237 return NUM_3; in ParseAlignmentToIndex()
520 offset = offset + NUM_3; in SetOptionalBorder()
794 if (values[NUM_3] != -1 && in SetBorderWidth()
796 leftDimen = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_3])); in SetBorderWidth()
2075 if (length != NUM_3) { in SetTranslate()
2184 if (valLength != NUM_3) { in SetScaleWithoutTransformCenter()
2266 auto angle = values[NUM_3]; in SetRotateWithoutTransformCenter()
[all …]
H A Dnode_image_modifier.cpp37 constexpr int NUM_3 = 3; variable
75 offset = offset + NUM_3; in SetOptionalBorder()
81 if ((options == nullptr) || (offset < 0) || ((offset + NUM_3) > optionsLength)) { in SetCalcDimension()
106 for (unsigned int index = 0; index < RESIZEABLE_VEC_LENGTH; index += NUM_3) { in SetResizableFromVec()
110 auto direction = directions[index / NUM_3]; in SetResizableFromVec()
524 …rderRadius.radiusBottomRight = Dimension(values[NUM_3], static_cast<OHOS::Ace::DimensionUnit>(unit… in SetImageBorderRadius()
699 if (NUM_3 < size) { in GetImageResizable()
700 arrayValue[NUM_3] = resizable.bottom.Value(); in GetImageResizable()
H A Dnode_timepicker_modifier.cpp37 constexpr int NUM_3 = 3; variable
90 if (res.size() != NUM_3) { in SetTimepickerTextStyle()
133 if (res.size() != NUM_3) { in SetTimepickerSelectedTextStyle()
177 if (res.size() != NUM_3) { in SetTimepickerDisappearTextStyle()
/ohos5.0/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; variable
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; variable
33 Local<JSValueRef> widthArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetViewPort()
75 Local<JSValueRef> rowArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetMesh()
H A Darkts_native_timepicker_bridge.cpp25 constexpr int NUM_3 = 3; variable
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_date_picker_bridge.cpp26 constexpr int NUM_3 = 3; variable
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_relative_container_bridge.cpp27 constexpr int NUM_3 = 3; variable
82 Local<JSValueRef> positionsArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetGuideLine()
143 Local<JSValueRef> referenceIdsArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetBarrier()
H A Darkts_native_image_span_bridge.cpp30 constexpr int NUM_3 = 3; variable
44 Local<JSValueRef> bottomRightArgs = runtimeCallInfo->GetCallArgRef(argsIndex + NUM_3); in ParseOuterBorderRadius()
375 Local<JSValueRef> bottomLeftArgs = runtimeCallInfo->GetCallArgRef(NUM_3); in SetBorderRadius()
403 values[NUM_3] = bottomRight.Value(); in SetBorderRadius()
404 units[NUM_3] = static_cast<int>(bottomRight.Unit()); in SetBorderRadius()
/ohos5.0/drivers/hdf_core/framework/model/input/driver/touchscreen/
H A Dtouch_ft5x06.c72 if (rdbuf[EDT_NAME_LEN - NUM_3] == '$') { in Ft5x06_EP01()
73 rdbuf[EDT_NAME_LEN - NUM_3] = '\0'; in Ft5x06_EP01()
99 if (!(strncasecmp(rdbuf + NUM_1, "EP0", NUM_3))) { in Ft5x06_Identify()
101 } else if (!strncasecmp(rdbuf, "EP0", NUM_3)) { in Ft5x06_Identify()
173 device->driver->inputDev->abilitySet.keyCode[NUM_3] = SET_BIT(KEY_UP) | SET_BIT(KEY_DOWN); in SetAbility()
201 *offset = NUM_3; in SelectDataPin()
H A Dtouch_ft5x06.h37 #define NUM_3 (3) macro
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_utils.cpp98 static const uint8_t NUM_3 = 3; variable
206 rowDataSize = pixelBytes * (((uWidth + NUM_3) >> NUM_2) << NUM_2); in GetRowDataSizeByPixelFormat()
212 rowDataSize = pixelBytes * (((uWidth + NUM_7) >> NUM_3) << NUM_3); in GetRowDataSizeByPixelFormat()
424 dst[NUM_0] = src[NUM_3]; in ReversePixels()
427 dst[NUM_3] = src[NUM_0]; in ReversePixels()
658 (bytes[offset + NUM_2] << MOVE_BITS_8) | (bytes[offset + NUM_3]); in BytesToUint32()
660 data = (bytes[offset + NUM_3] << MOVE_BITS_24) | (bytes[offset + NUM_2] << MOVE_BITS_16) | in BytesToUint32()
676 (bytes[offset + NUM_2] << MOVE_BITS_8) | (bytes[offset + NUM_3]); in BytesToInt32()
678 data = (bytes[offset + NUM_3] << MOVE_BITS_24) | (bytes[offset + NUM_2] << MOVE_BITS_16) | in BytesToInt32()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_paint_method.cpp35 constexpr int32_t NUM_3 = 3; variable
191 if (currentIndex_ > (maxDisplayCount_ - NUM_3)) { in CalculatePointCenterX()
195 … (currentIndex_ - (maxDisplayCount_ - NUM_3)) * (INDICATOR_OFFSET_UNIT.ConvertToPx()) + in CalculatePointCenterX()
282 nposStation = NUM_3; in AnalysisIndexRange()
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp1008 g_numberValues[NUM_3].f32 = paddings[NUM_3]; in GetPadding()
1121 g_numberValues[NUM_3].f32 = margins[NUM_3]; in GetMargin()
1752 g_numberValues[NUM_3].u32 = colors[NUM_3]; in GetBorderColor()
1811 g_numberValues[NUM_3].i32 = styles[NUM_3]; in GetBorderStyle()
2585 g_numberValues[NUM_3].f32 = values[NUM_3]; in GetSweepGradient()
2687 g_numberValues[NUM_3].i32 = values[NUM_3]; in GetRadialGradient()
3510 g_numberValues[NUM_3].f32 = margins[NUM_3]; in GetMarginPercent()
3588 g_numberValues[NUM_3].u32 = colors[NUM_3]; in GetOutlineColor()
4556 values[NUM_3] = item->value[NUM_3].u32; in SetTextInputUnderlineColor()
4572 g_numberValues[NUM_3].u32 = values[NUM_3]; in GetTextInputUnderlineColor()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/src/
H A Dfilter_napi.cpp22 constexpr uint32_t NUM_3 = 3; variable
35 { NUM_3, Drawing::TileMode::DECAL },
276 napi_value argValue[NUM_3] = {0}; in SetPixelStretch()
277 size_t argCount = NUM_3; in SetPixelStretch()
363 rippleCenterY = GetSpecialValue(env, argValue[NUM_3]); in SetWaterRipple()
H A Deffect_napi.cpp20 constexpr uint32_t NUM_3 = 3; variable
299 if (arraySize < NUM_3) { in ParseJsVec3Value()
303 for (size_t i = 0; i < NUM_3; i++) { in ParseJsVec3Value()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dalignment.cpp23 constexpr int NUM_3 = 3; variable
136 case NUM_3: in ParseAlignment()

123