Home
last modified time | relevance | path

Searched refs:napi_get_named_property (Results 1 - 25 of 298) sorted by relevance

12345678910>>...12

/foundation/arkui/ace_engine/interfaces/napi/kits/measure/
H A Djs_measure.cpp190 napi_get_named_property(env, argv, "textContent", &textContentNApi); in JSMeasureText()
191 napi_get_named_property(env, argv, "fontSize", &fontSizeNApi); in JSMeasureText()
192 napi_get_named_property(env, argv, "fontStyle", &fontStyleNApi); in JSMeasureText()
193 napi_get_named_property(env, argv, "fontWeight", &fontWeightNApi); in JSMeasureText()
194 napi_get_named_property(env, argv, "fontFamily", &fontFamilyNApi); in JSMeasureText()
195 napi_get_named_property(env, argv, "letterSpacing", &letterSpacingNApi); in JSMeasureText()
262 napi_get_named_property(env, argv, "textContent", &contextParamMap["textContentNApi"]); in SetMeasureTextNapiProperty()
263 napi_get_named_property(env, argv, "constraintWidth", &contextParamMap["constraintWidthNApi"]); in SetMeasureTextNapiProperty()
264 napi_get_named_property(env, argv, "fontSize", &contextParamMap["fontSizeNApi"]); in SetMeasureTextNapiProperty()
265 napi_get_named_property(en in SetMeasureTextNapiProperty()
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.cpp70 napi_get_named_property(env, argValue, str.c_str(), &tempValue); in SetColorFromJS()
78 napi_get_named_property(env, tempValue, "alpha", &tempValueChild); in SetColorFromJS()
80 napi_get_named_property(env, tempValue, "red", &tempValueChild); in SetColorFromJS()
82 napi_get_named_property(env, tempValue, "green", &tempValueChild); in SetColorFromJS()
84 napi_get_named_property(env, tempValue, "blue", &tempValueChild); in SetColorFromJS()
100 napi_get_named_property(env, argValue, str.c_str(), &tempValue); in GetDecorationFromJS()
106 napi_get_named_property(env, tempValue, "textDecoration", &tempValueChild); in GetDecorationFromJS()
114 napi_get_named_property(env, tempValue, "decorationStyle", &tempValueChild); in GetDecorationFromJS()
126 napi_get_named_property(env, argValue, "fontWeight", &tempValue); in ParsePartTextStyle()
131 napi_get_named_property(en in ParsePartTextStyle()
[all...]
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_process_skeleton.cpp26 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_getCallingPid()
32 napi_get_named_property(env, global, "callingPid_", &callingPid); in NAPI_getCallingPid()
47 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_getCallingUid()
53 napi_get_named_property(env, global, "callingUid_", &callingUid); in NAPI_getCallingUid()
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp182 napi_get_named_property(env, offsetApi, "dx", &dxApi); in GetToastOffset()
183 napi_get_named_property(env, offsetApi, "dy", &dyApi); in GetToastOffset()
273 napi_get_named_property(env, shadowNApi, "radius", &radiusApi); in GetToastObjectShadow()
274 napi_get_named_property(env, shadowNApi, "color", &colorApi); in GetToastObjectShadow()
275 napi_get_named_property(env, shadowNApi, "type", &typeApi); in GetToastObjectShadow()
276 napi_get_named_property(env, shadowNApi, "fill", &fillApi); in GetToastObjectShadow()
330 napi_get_named_property(env, shadowNApi, "offsetX", &offsetXApi); in GetToastShadow()
331 napi_get_named_property(env, shadowNApi, "offsetY", &offsetYApi); in GetToastShadow()
393 napi_get_named_property(env, argv, "enableHoverMode", &enableHoverModeNApi); in GetToastHoverModeParams()
394 napi_get_named_property(en in GetToastHoverModeParams()
[all...]
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag.cpp252 napi_get_named_property(env, extraValue, KITS::TagInfo::SAK, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
257 napi_get_named_property(env, extraValue, KITS::TagInfo::ATQA, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
263 napi_get_named_property(env, extraValue, KITS::TagInfo::APP_DATA, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
268 napi_get_named_property(env, extraValue, KITS::TagInfo::PROTOCOL_INFO, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
274 napi_get_named_property(env, extraValue, KITS::TagInfo::NFCF_PMM, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
279 napi_get_named_property(env, extraValue, KITS::TagInfo::NFCF_SC, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
285 napi_get_named_property(env, extraValue, KITS::TagInfo::RESPONSE_FLAGS, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
290 napi_get_named_property(env, extraValue, KITS::TagInfo::DSF_ID, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
296 napi_get_named_property(env, extraValue, KITS::TagInfo::HISTORICAL_BYTES, &extraKeyValue); in ParseTechAndExtraFromJsTagInfo()
301 napi_get_named_property(en in ParseTechAndExtraFromJsTagInfo()
[all...]
/foundation/communication/ipc/ipc/native/src/napi/src/
H A Dnapi_ipc_skeleton.cpp62 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_getCallingTokenId()
68 napi_get_named_property(env, global, "callingTokenId_", &callingTokenId); in NAPI_IPCSkeleton_getCallingTokenId()
83 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_getCallingDeviceID()
89 napi_get_named_property(env, global, "callingDeviceID_", &callingDeviceID); in NAPI_IPCSkeleton_getCallingDeviceID()
103 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_getLocalDeviceID()
109 napi_get_named_property(env, global, "localDeviceID_", &localDeviceID); in NAPI_IPCSkeleton_getLocalDeviceID()
123 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_isLocalCalling()
129 napi_get_named_property(env, global, "isLocalCalling_", &isLocalCalling); in NAPI_IPCSkeleton_isLocalCalling()
189 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_resetCallingIdentity()
198 napi_get_named_property(en in NAPI_IPCSkeleton_resetCallingIdentity()
[all...]
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/
H A Djs_screen_utils.cpp168 napi_get_named_property(env, jsObject, "left", &jsLeft); in ConvertRRectFromJs()
169 napi_get_named_property(env, jsObject, "top", &jsTop); in ConvertRRectFromJs()
170 napi_get_named_property(env, jsObject, "width", &jsWidth); in ConvertRRectFromJs()
171 napi_get_named_property(env, jsObject, "height", &jsHeight); in ConvertRRectFromJs()
172 napi_get_named_property(env, jsObject, "radius", &jsRadius); in ConvertRRectFromJs()
221 napi_get_named_property(env, jsObject, "posX", &jsPosX); in ConvertDMRectFromJs()
222 napi_get_named_property(env, jsObject, "posY", &jsPosY); in ConvertDMRectFromJs()
223 napi_get_named_property(env, jsObject, "width", &jsWidth); in ConvertDMRectFromJs()
224 napi_get_named_property(env, jsObject, "height", &jsHeight); in ConvertDMRectFromJs()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_utils.cpp330 napi_get_named_property(env, jsObject, "bundleName", &jsBundleName); in ConvertSessionInfoName()
332 napi_get_named_property(env, jsObject, "moduleName", &jsModuleName); in ConvertSessionInfoName()
334 napi_get_named_property(env, jsObject, "abilityName", &jsAbilityName); in ConvertSessionInfoName()
336 napi_get_named_property(env, jsObject, "appIndex", &jsAppIndex); in ConvertSessionInfoName()
338 napi_get_named_property(env, jsObject, "isSystem", &jsIsSystem); in ConvertSessionInfoName()
340 napi_get_named_property(env, jsObject, "sceneType", &jsSceneType); in ConvertSessionInfoName()
342 napi_get_named_property(env, jsObject, "windowInputType", &jsWindowInputType); in ConvertSessionInfoName()
344 napi_get_named_property(env, jsObject, "fullScreenStart", &jsFullScreenStart); in ConvertSessionInfoName()
346 napi_get_named_property(env, jsObject, "isNewAppInstance", &jsIsNewAppInstance); in ConvertSessionInfoName()
348 napi_get_named_property(en in ConvertSessionInfoName()
[all...]
/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/
H A Djs_startup_config.cpp43 napi_get_named_property(env_, configEntry, "onConfig", &onConfig); in Init()
81 napi_get_named_property(env, config, "timeoutMs", &awaitTimeout); in InitAwaitTimeout()
102 napi_get_named_property(env, config, "startupListener", &listener); in InitListener()
113 napi_get_named_property(env, listener, "onCompleted", &onCompleted); in InitListener()
131 napi_get_named_property(env, listener, "onCompleted", &onCompleted); in InitListener()
/foundation/ability/ability_lite/interfaces/kits/js/napi/
H A Djs_aafwk.cpp99 napi_get_named_property(env, args, "want_param", &data);
102 if (napi_get_named_property(env, args, "elementName", &elementName) != napi_ok) {
107 napi_get_named_property(env, elementName, "deviceId", &napi_deviceId);
115 napi_get_named_property(env, elementName, "bundleName", &napi_bundleName);
123 napi_get_named_property(env, elementName, "abilityName", &napi_abilityName);
/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/
H A Djs_register_util.cpp33 CHKRF(napi_get_named_property(env, object, name.c_str(), &napiValue), GET_NAMED_PROPERTY); in GetNamedPropertyBool()
54 if (napi_get_named_property(env, object, name.c_str(), &napiValue) != napi_ok) { in GetNamedPropertyInt32()
55 MMI_HILOGE("Call napi_get_named_property failed"); in GetNamedPropertyInt32()
87 if (napi_get_named_property(env, object, name.c_str(), &napiValue) != napi_ok) { in GetNamedPropertyInt64()
88 MMI_HILOGE("Call napi_get_named_property failed"); in GetNamedPropertyInt64()
116 if (napi_get_named_property(env, object, name.c_str(), &napiValue) != napi_ok) { in GetNamedPropertyDouble()
117 MMI_HILOGE("Call napi_get_named_property failed"); in GetNamedPropertyDouble()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/
H A Djs_drawing_utils.cpp99 napi_get_named_property(env, jsValue, g_argbString[idx], &tempValue); in ConvertFromJsColor()
129 napi_get_named_property(env, jsValue, g_ltrbString[idx], &tempValue); in ConvertFromJsRect()
142 napi_get_named_property(env, jsValue, g_ltrbString[idx], &tempValue); in ConvertFromJsIRect()
175 napi_get_named_property(env, src, "x", &tempValue); in ConvertFromJsPoint3d()
177 napi_get_named_property(env, src, "y", &tempValue); in ConvertFromJsPoint3d()
179 napi_get_named_property(env, src, "z", &tempValue); in ConvertFromJsPoint3d()
193 napi_get_named_property(env, jsValue, g_pointString[idx], &tempValue); in ConvertFromJsPoint()
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Djs_file_access_ext_ability.cpp153 napi_get_named_property(env, value, name, &method); in CallObjectMethod()
197 napi_get_named_property(env, value, param->funcName.c_str(), &method); in DoCallJsMethod()
567 napi_get_named_property(env, nativeResult, "sourceUri", &sourceUri); in GetResultByJs()
574 napi_get_named_property(env, nativeResult, "destUri", &destUri); in GetResultByJs()
582 napi_get_named_property(env, nativeResult, "errCode", &errCode); in GetResultByJs()
602 napi_get_named_property(env, nativeValue, "code", &code); in ParserGetJsResult()
614 napi_get_named_property(env, nativeValue, "results", &nativeArray); in ParserGetJsResult()
802 napi_get_named_property(env, nativeValue, "code", &code); in ParserListFileJsResult()
810 napi_get_named_property(env, nativeValue, "infos", &nativeArray); in ParserListFileJsResult()
995 napi_get_named_property(en in ParserFileInfoNumJsResult()
[all...]
/foundation/window/window_manager/interfaces/kits/napi/screenshot/
H A Dnative_screenshot_module.cpp68 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "displayId", &displayId)); in GetDisplayId()
83 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "rotation", &rotation)); in GetRotation()
96 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "screenRect", &screenRect)); in GetScreenRect()
101 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, screenRect, "left", &left)); in GetScreenRect()
110 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, screenRect, "top", &top)); in GetScreenRect()
119 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, screenRect, "width", &width)); in GetScreenRect()
128 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, screenRect, "height", &height)); in GetScreenRect()
144 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, argv, "imageSize", &imageSize)); in GetImageSize()
147 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(env, imageSize, "width", &width)); in GetImageSize()
156 NAPI_CALL_RETURN_VOID(env, napi_get_named_property(en in GetImageSize()
[all...]
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/runner_runtime/
H A Djs_test_runner.cpp136 napi_get_named_property(env, object, "___mainEntry___", &mainEntryFunc); in Initialize()
174 napi_get_named_property(env, global, "exports", &exportObject); in CallObjectMethod()
181 napi_get_named_property(env, exportObject, "default", &defaultObject); in CallObjectMethod()
188 napi_get_named_property(env, defaultObject, name, &func); in CallObjectMethod()
212 napi_get_named_property(env, obj, name, &methodOnCreate); in CallObjectMethod()
/foundation/arkui/ace_engine/interfaces/napi/kits/device/
H A Djs_device.cpp68 napi_get_named_property(env, argv[0], "success", &successFunc); in JSGetInfo()
73 napi_get_named_property(env, argv[0], "fail", &failFunc); in JSGetInfo()
78 napi_get_named_property(env, argv[0], "complete", &cmpFunc); in JSGetInfo()
101 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in JSGetInfo()
103 napi_get_named_property(env, jsonValue, "parse", &parseValue); in JSGetInfo()
/foundation/ability/ability_runtime/interfaces/inner_api/napi_base_context/src/
H A Dnapi_base_context.cpp31 OHOS_CALL_NAPI_RETURN(napi_get_named_property(env, object, "stageMode", &boolValue)); in IsStageContext()
61 status = napi_get_named_property(env, global, "ability", &abilityObj); in GetCurrentAbility()
/foundation/arkui/ace_engine/interfaces/napi/kits/grid/
H A Djs_grid.cpp32 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in JSGridGetSystemLayoutInfo()
34 napi_get_named_property(env, jsonValue, "parse", &parseValue); in JSGridGetSystemLayoutInfo()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_napi_utils.cpp38 IMG_NAPI_CHECK_RET(IMG_IS_OK(napi_get_named_property(env, root, name, &tempValue)), false); in GetBufferByName()
49 IMG_NAPI_CHECK_RET(IMG_IS_OK(napi_get_named_property(env, root, name, &tempValue)), false); in GetUint32ByName()
60 IMG_NAPI_CHECK_RET(IMG_IS_OK(napi_get_named_property(env, root, name, &tempValue)), false); in GetInt32ByName()
71 IMG_NAPI_CHECK_RET(IMG_IS_OK(napi_get_named_property(env, root, name, &tempValue)), false); in GetDoubleByName()
82 IMG_NAPI_CHECK_RET(IMG_IS_OK(napi_get_named_property(env, root, name, &tempValue)), false); in GetBoolByName()
91 IMG_NAPI_CHECK_RET(IMG_IS_OK(napi_get_named_property(env, root, name, res)), false); in GetNodeByName()
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_window_manager.cpp160 napi_get_named_property(env, optionObject, "context", &contextPtrValue); in GetPictureInPictureOptionFromJs()
161 napi_get_named_property(env, optionObject, "navigationId", &navigationIdValue); in GetPictureInPictureOptionFromJs()
162 napi_get_named_property(env, optionObject, "templateType", &templateTypeValue); in GetPictureInPictureOptionFromJs()
163 napi_get_named_property(env, optionObject, "contentWidth", &widthValue); in GetPictureInPictureOptionFromJs()
164 napi_get_named_property(env, optionObject, "contentHeight", &heightValue); in GetPictureInPictureOptionFromJs()
165 napi_get_named_property(env, optionObject, "componentController", &xComponentControllerValue); in GetPictureInPictureOptionFromJs()
166 napi_get_named_property(env, optionObject, "controlGroups", &controlGroup); in GetPictureInPictureOptionFromJs()
167 napi_get_named_property(env, optionObject, "customUIController", &nodeController); in GetPictureInPictureOptionFromJs()
/foundation/ability/form_fwk/frameworks/js/napi/form_binding_data/
H A Djs_form_binding_data.cpp58 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in OnCreateFormBindingData()
61 napi_get_named_property(env, jsonValue, "stringify", &stringifyValue); in OnCreateFormBindingData()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dutil.cpp40 status = napi_get_named_property(env, thisVar, "id", &id); in GetContextInfo()
52 status = napi_get_named_property(env, thisVar, "param", &param); in GetContextInfo()
/foundation/arkui/ace_engine/interfaces/napi/kits/router/
H A Djs_router.cpp57 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in ParseParams()
59 napi_get_named_property(env, jsonValue, "stringify", &stringifyValue); in ParseParams()
78 napi_get_named_property(env, globalValue, "JSON", &jsonValue); in ParseJSONParams()
80 napi_get_named_property(env, jsonValue, "parse", &parseValue); in ParseJSONParams()
156 napi_get_named_property(env, argv[0], "url", &uriNApi); in CommonRouterProcess()
161 napi_get_named_property(env, argv[0], "params", &params); in CommonRouterProcess()
228 napi_get_named_property(env, argv[i], asyncContext->keyForUrl.c_str(), &uriNApi); in ParseParamWithCallback()
235 napi_get_named_property(env, argv[i], "params", &params); in ParseParamWithCallback()
237 napi_get_named_property(env, argv[i], "recoverable", &recoverable); in ParseParamWithCallback()
465 napi_get_named_property(en in JSRouterBack()
[all...]
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_utils.cpp432 status = napi_get_named_property(env, in, "keys", &keyItems); in GetValue()
1276 auto status = napi_get_named_property(env, in, "sessionId", &value); in GetValue()
1284 status = napi_get_named_property(env, in, "pid", &value); in GetValue()
1295 status = napi_get_named_property(env, in, "uid", &value); in GetValue()
1326 auto status = napi_get_named_property(env, in, "sampleRates", &value); in GetSampleRate()
1345 auto status = napi_get_named_property(env, in, "channelCounts", &value); in GetChannels()
1364 auto status = napi_get_named_property(env, in, "channelMasks", &value); in GetChannelMasks()
1381 auto status = napi_get_named_property(env, in, "id", &value); in GetValue()
1386 status = napi_get_named_property(env, in, "name", &value); in GetValue()
1391 status = napi_get_named_property(en in GetValue()
[all...]
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Defficiency_resources_operation.cpp44 BGTASK_NAPI_CALL(env, napi_get_named_property(env, object, utf8name, &boolValue)); in GetNamedBoolValue()
62 BGTASK_NAPI_CALL(env, napi_get_named_property(env, object, utf8name, &intValue)); in GetNamedInt32Value()
83 BGTASK_NAPI_CALL(env, napi_get_named_property(env, object, "reason", &stringValue)); in GetNamedStringValue()

Completed in 20 milliseconds

12345678910>>...12