Home
last modified time | relevance | path

Searched refs:NUM_1 (Results 1 - 25 of 94) sorted by relevance

1234

/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dflex_modifier.cpp21 constexpr int NUM_1 = 1; member
36 case NUM_1: //WrapAlignment::CENTER in ParseFlexToWrap()
69 int wrap = options[NUM_1]; in SetFlexOptions()
91 direction <= 1 ? direction += NUM_2 * (wrap - NUM_1) : direction -= NUM_2 * (wrap - NUM_1); in SetFlexOptions()
119 FlexModelNG::SetFlexJustifyContent(frameNode, NUM_1); in ResetFlexOptions()
120 FlexModelNG::SetFlexAlignItems(frameNode, NUM_1); in ResetFlexOptions()
121 FlexModelNG::SetFlexAlignContent(frameNode, NUM_1); in ResetFlexOptions()
H A Dextension_companion_node.cpp23 constexpr int NUM_1 = 1; member
115 event.data[NUM_1] = layoutConstraint.minHeight; in OnMeasure()
134 event.data[NUM_1] = positionY; in OnLayout()
152 event.data[NUM_1] = in OnDraw()
172 event.data[NUM_1] = in OnForegroundDraw()
192 event.data[NUM_1] = in OnOverlayDraw()
H A Dnode_container_span_modifier.cpp22 constexpr int NUM_1 = 1; member
38 borderRadius.radiusTopRight = Dimension(values[NUM_1], static_cast<OHOS::Ace::DimensionUnit>(units[NUM_1])); in SetContainerSpanTextBackgroundStyle()
H A Dhyperlink_modifier.cpp24 constexpr int NUM_1 = 1; member
74 CalcDimension(values[i * NUM_4 + NUM_1], static_cast<DimensionUnit>(units[i * NUM_4 + NUM_1])); in SetHyperlinkResponseRegion()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_side_bar_container_bridge.cpp23 constexpr int NUM_1 = 1; member
44 Local<JSValueRef> sideBarWidthArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetSideBarWidth()
72 Local<JSValueRef> minSideBarWidthArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetMinSideBarWidth()
100 Local<JSValueRef> leftArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetControlButton()
115 values[NUM_1] = topArg->ToNumber(vm)->Value(); in SetControlButton()
117 values[NUM_1] = DEFAULT_CONTROL_BUTTON_TOP.Value(); in SetControlButton()
171 Local<JSValueRef> showControlButtonArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetShowControlButton()
198 Local<JSValueRef> autoHideArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetAutoHide()
224 Local<JSValueRef> maxSideBarWidthArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetMaxSideBarWidth()
252 Local<JSValueRef> minContentWidthArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetMinContentWidth()
[all...]
H A Darkts_native_grid_item_bridge.cpp20 constexpr int32_t NUM_1 = 1; member
28 Local<JSValueRef> selectableArg = runtimeCallInfo->GetCallArgRef(NUM_1); // selectable value in SetGridItemSelectable()
54 Local<JSValueRef> selectedArg = runtimeCallInfo->GetCallArgRef(NUM_1); // selected value in SetGridItemSelected()
80 Local<JSValueRef> rowStartArg = runtimeCallInfo->GetCallArgRef(NUM_1); // rowStart value in SetGridItemRowStart()
106 Local<JSValueRef> rowEndArg = runtimeCallInfo->GetCallArgRef(NUM_1); // rowEnd value in SetGridItemRowEnd()
132 Local<JSValueRef> columnStartArg = runtimeCallInfo->GetCallArgRef(NUM_1); // columnStart value in SetGridItemColumnStart()
158 Local<JSValueRef> columnEndArg = runtimeCallInfo->GetCallArgRef(NUM_1); // columnEnd value in SetGridItemColumnEnd()
184 Local<JSValueRef> styleVal = runtimeCallInfo->GetCallArgRef(NUM_1); in SetGridItemOptions()
H A Darkts_native_rich_editor_bridge.cpp28 constexpr int NUM_1 = 1; member
42 Local<JSValueRef> enableDataDetectorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetEnableDataDetector()
69 panda::ArrayRef::SetValueAt(vm, leadingMarginArray, NUM_1, in CreateParagraphStyle()
70 panda::StringRef::NewFromUtf8(vm, textStyleResult.leadingMarginSize[NUM_1].c_str())); in CreateParagraphStyle()
88 Local<JSValueRef> typesArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetDataDetectorConfig()
121 panda::Local<panda::JSValueRef> params[NUM_1] = { in SetDataDetectorConfig()
123 func->Call(vm, func.ToLocal(), params, NUM_1); in SetDataDetectorConfig()
177 panda::ArrayRef::SetValueAt(vm, spanRange, NUM_1, panda::NumberRef::New(vm, event.GetSpanRangeEnd())); in CreateAbstractSpanResult()
205 panda::ArrayRef::SetValueAt(vm, offsetInSpan, NUM_1, in CreateAbstractSpanResult()
225 Local<JSValueRef> callbackArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetOnIMEInputComplete()
[all...]
H A Darkts_native_calendar_picker_bridge.cpp23 constexpr int NUM_1 = 1; member
60 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetTextStyle()
98 Local<JSValueRef> alignTypeArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetEdgeAlign()
118 values[NUM_1] = dy.Value(); in SetEdgeAlign()
119 units[NUM_1] = static_cast<int>(dy.Unit()); in SetEdgeAlign()
194 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetCalendarPickerBorder()
227 Local<JSValueRef> jsValue = runtimeCallInfo->GetCallArgRef(NUM_1); in SetCalendarPickerHeight()
266 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetCalendarPickerBorderColor()
293 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetCalendarPickerBorderRadius()
H A Darkts_native_common_shape_bridge.cpp20 constexpr int NUM_1 = 1; member
31 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetStrokeDashArray()
81 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetStroke()
107 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFill()
137 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetStrokeDashOffset()
165 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetStrokeLineCap()
191 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetStrokeLineJoin()
217 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetStrokeMiterLimit()
243 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFillOpacity()
279 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetStrokeOpacity()
[all...]
H A Darkts_native_symbol_span_bridge.cpp27 constexpr int NUM_1 = 1; member
36 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontColor()
81 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontSize()
108 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontWeight()
135 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetRenderingStrategy()
162 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetEffectStrategy()
H A Darkts_native_text_bridge.cpp42 constexpr int NUM_1 = 1; member
59 Local<JSValueRef> weightArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontWeight()
100 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontStyle()
130 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetTextAlign()
155 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontColor()
214 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontSize()
240 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetLineHeight()
301 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetDecoration()
336 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetTextCase()
362 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetMaxLines()
[all...]
H A Darkts_native_slider_bridge.cpp24 constexpr int NUM_1 = 1; member
38 auto modeArg = runtimeCallInfo->GetCallArgRef(NUM_1); in JsSliderChangeCallback()
46 if (obj->GetNativePointerFieldCount(vm) < NUM_1) { in JsSliderChangeCallback()
60 Local<JSValueRef> showTipArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetShowTips()
93 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetSliderStepSize()
127 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetBlockSize()
161 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetTrackBorderRadius()
195 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetStepColor()
222 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetBlockBorderColor()
248 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetBlockBorderWidth()
[all...]
H A Darkts_native_text_clock_bridge.cpp30 constexpr int32_t NUM_1 = 1; member
84 Local<JSValueRef> formatArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFormat()
113 Local<JSValueRef> fontColorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontColor()
139 Local<JSValueRef> fontSizeArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontSize()
167 Local<JSValueRef> fontStyleArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontStyle()
197 Local<JSValueRef> fontWeightArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontWeight()
226 Local<JSValueRef> fontFamilyArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontFamily()
254 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFontFeature()
293 vm, runtimeCallInfo->GetCallArgRef(NUM_1), radiusArray.get(), length, ArkTSUtils::parseShadowRadius); in SetTextShadow()
337 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetContentModifierBuilder()
[all...]
H A Darkts_native_component3d_bridge.cpp25 constexpr int NUM_1 = 1; member
33 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetShaderInputBuffer()
H A Darkts_native_list_item_bridge.cpp21 constexpr int32_t NUM_1 = 1; member
28 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetListItemSelected()
55 Local<JSValueRef> secondArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetSelectable()
H A Darkts_native_water_flow_bridge.cpp31 constexpr int32_t NUM_1 = 1; member
62 Local<JSValueRef> columnsTemplateArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetColumnsTemplate()
84 Local<JSValueRef> rowsTemplateArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetRowsTemplate()
96 Local<JSValueRef> enableScrollInteractionArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetEnableScrollInteraction()
133 Local<JSValueRef> columnsGapArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetColumnsGap()
171 Local<JSValueRef> rowsGapArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetRowsGap()
198 Local<JSValueRef> minWidthValue = runtimeCallInfo->GetCallArgRef(NUM_1); in SetItemConstraintSize()
259 Local<JSValueRef> layoutDirectionArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetLayoutDirection()
288 Local<JSValueRef> scrollForwardValue = runtimeCallInfo->GetCallArgRef(NUM_1); in SetNestedScroll()
322 Local<JSValueRef> frictionArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetFriction()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/pixelconverter/src/
H A Dpixel_convert_adapter.cpp44 static const uint8_t NUM_1 = 1; member
92 dst[NUM_0] = src[NUM_1]; in ARGBToRGBA()
93 dst[NUM_1] = src[NUM_2]; in ARGBToRGBA()
112 dst[NUM_1] = src[NUM_0]; in RGBAToARGB()
113 dst[NUM_2] = src[NUM_1]; in RGBAToARGB()
131 dst[NUM_1] = src[NUM_1]; in RGBxToRGB()
149 dst[NUM_1] = src[NUM_1]; in RGBToRGBx()
185 GetRGBxSize(dstInfo) : static_cast<int32_t>(NUM_1); in WritePixelsConvert()
[all...]
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dmetadata_napi.cpp33 constexpr uint32_t NUM_1 = 1; member
125 napi_get_undefined(env, &result[NUM_1]); in CommonCallbackRoutine()
138 result[NUM_1] = valueParam; in CommonCallbackRoutine()
148 napi_resolve_deferred(env, asyncContext->deferred, result[NUM_1]); in CommonCallbackRoutine()
276 char *buffer = reinterpret_cast<char *>(malloc((bufLength + NUM_1) * sizeof(char))); in GetStringArgument()
282 status = napi_get_value_string_utf8(env, value, buffer, bufLength + NUM_1, &bufLength); in GetStringArgument()
285 strValue.assign(buffer, 0, bufLength + NUM_1); in GetStringArgument()
378 napi_get_undefined(env, &result[NUM_1]); in GetPropertiesComplete()
381 result[NUM_1] = SetArrayInfo(env, context->KVSArray); in GetPropertiesComplete()
387 napi_resolve_deferred(env, context->deferred, result[NUM_1]); in GetPropertiesComplete()
[all...]
H A Dpicture_napi.cpp37 constexpr uint32_t NUM_1 = 1; member
150 napi_get_undefined(env, &result[NUM_1]); in CommonCallbackRoutine()
163 result[NUM_1] = valueParam; in CommonCallbackRoutine()
173 napi_resolve_deferred(env, asyncContext->deferred, result[NUM_1]); in CommonCallbackRoutine()
376 napi_value funcArgv[NUM_1] = { picture }; in PreparePicNapiEnv()
378 napi_call_function(env, globalValue, func, NUM_1, funcArgv, &returnValue); in PreparePicNapiEnv()
411 napi_value argValue[NUM_1] = {0}; in GetAuxiliaryPicture()
412 size_t argCount = NUM_1; in GetAuxiliaryPicture()
477 status = napi_unwrap(env, argValue[NUM_1], reinterpret_cast<void**>(&auxiliaryPictureNapi)); in SetAuxiliaryPicture()
520 napi_create_reference(env, tmpError, NUM_1, in BuildContextError()
[all...]
H A Dimage_source_napi.cpp39 constexpr uint32_t NUM_1 = 1; member
370 char *buffer = reinterpret_cast<char *>(malloc((bufLength + NUM_1) * sizeof(char))); in GetStringArgument()
376 status = napi_get_value_string_utf8(env, value, buffer, bufLength + NUM_1, &bufLength); in GetStringArgument()
379 strValue.assign(buffer, 0, bufLength + NUM_1); in GetStringArgument()
396 napi_get_undefined(env, &result[NUM_1]); in ImageSourceCallbackRoutine()
404 result[NUM_1] = valueParam; in ImageSourceCallbackRoutine()
414 napi_resolve_deferred(env, context->deferred, result[NUM_1]); in ImageSourceCallbackRoutine()
443 result[NUM_1] = val; in ImageSourceCallbackWithErrorObj()
449 napi_get_undefined(env, &result[NUM_1]); in ImageSourceCallbackWithErrorObj()
454 napi_resolve_deferred(env, context->deferred, result[NUM_1]); in ImageSourceCallbackWithErrorObj()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dimage_format_convert_ext_utils.cpp30 constexpr uint32_t NUM_1 = 1; member
137 int uvStride = (rgbInfo.width + NUM_1) / NUM_2 * NUM_2; in RGBToYuvParam()
243 i420Info.uStride = (width + NUM_1) / NUM_2; in I420Param()
244 i420Info.vStride = (width + NUM_1) / NUM_2; in I420Param()
245 i420Info.uvHeight = (height + NUM_1) / NUM_2; in I420Param()
259 auto i420VOffset = i420UOffset + i420Info.uStride * ((height + NUM_1) / NUM_2); in I420Param()
355 i010Info.uStride = (i010Info.width + NUM_1) / NUM_2; in I010Param()
356 i010Info.vStride = (i010Info.width + NUM_1) / NUM_2; in I010Param()
357 i010Info.uvHeight = ((i010Info.height + NUM_1) / NUM_2); in I010Param()
371 i010Info.I010V = i010Info.I010U + i010Info.uStride * ((i010Info.height + NUM_1) / NUM_ in I010Param()
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/src/
H A Dfilter_napi.cpp20 constexpr uint32_t NUM_1 = 1; member
33 { NUM_1, Drawing::TileMode::REPEAT },
282 if (argCount >= NUM_1) { in SetPixelStretch()
287 tileMode = ParserArgumentType(env, argValue[NUM_1]); in SetPixelStretch()
356 waveCount = GetSpecialIntValue(env, argValue[NUM_1]); in SetWaterRipple()
407 uint32_t flyMode = GetSpecialIntValue(env, argValue[NUM_1]); in SetFlyOut()
434 size_t argc = NUM_1; in SetDistort()
435 napi_value argv[NUM_1] = {0}; in SetDistort()
439 if (argc != NUM_1) { in SetDistort()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/src/
H A Dcolor_picker_napi.cpp28 constexpr uint32_t NUM_1 = 1; member
75 napi_get_undefined(env, &result[NUM_1]); in CommonCallbackRoutine()
78 result[NUM_1] = valueParam; in CommonCallbackRoutine()
87 napi_resolve_deferred(env, asyncContext->deferred, result[NUM_1]); in CommonCallbackRoutine()
308 asyncContext->coordinatesBuffer[NUM_1] = 0.0; in GetRegionCoordinates()
337 (asyncContext->coordinatesBuffer[NUM_3] <= asyncContext->coordinatesBuffer[NUM_1])) { in GetRegionCoordinates()
348 if (argCount >= NUM_1) { in InitializeAsyncContext()
349 ImageType imgType = ParserArgumentType(env, argValue[NUM_1 - 1]); in InitializeAsyncContext()
351 asyncContext->rPixelMap = Media::PixelMapNapi::GetPixelMap(env, argValue[NUM_1 - 1]); in InitializeAsyncContext()
367 if (EffectKitNapiUtils::GetInstance().GetType(env, argValue[NUM_1]) ! in ProcessCallbackAndCoordinates()
[all...]
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp39 constexpr int NUM_1 = 1; member
415 case NUM_1: in ShapeToString()
503 if (month < NUM_1 || month > NUM_12) { in IsValidDate()
894 if (item->size == NUM_1 && in SetBackgroundImage()
902 int repeat = item->size == NUM_1 ? item->value[NUM_0].i32 : ARKUI_IMAGE_REPEAT_NONE; in SetBackgroundImage()
935 if (item->size != NUM_1 && item->size != NUM_4) { in SetPadding()
941 int rightIndex = item->size == NUM_1 ? NUM_0 : NUM_1; in SetPadding()
942 int bottomIndex = item->size == NUM_1 ? NUM_0 : NUM_2; in SetPadding()
943 int leftIndex = item->size == NUM_1 in SetPadding()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_util.cpp38 constexpr uint32_t NUM_1 = 1; member
48 option.numberHint = NUM_1; in PackImage()
103 option.numberHint = NUM_1; in PackImage()

Completed in 38 milliseconds

1234