/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ |
H A D | camera_napi_object_types.cpp | 53 auto sizeObj = Hold<CameraNapiObjSize>(profile_.size_); in GetCameraNapiObject() local 56 CameraNapiObject::CameraNapiObjFieldMap { { "format", format }, { "size", &sizeObj->GetCameraNapiObject() } }); in GetCameraNapiObject() 62 auto sizeObj = Hold<CameraNapiObjSize>(videoProfile_.size_); in GetCameraNapiObject() local 66 { "size", &sizeObj->GetCameraNapiObject() }, in GetCameraNapiObject() 73 auto sizeObj = Hold<CameraNapiObjSize>(depthProfile_.size_); in GetCameraNapiObject() local 77 { "size", &sizeObj->GetCameraNapiObject() }, in GetCameraNapiObject()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_shape_abstract.cpp | 293 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 294 SetWidth(sizeObj->GetProperty("width")); in JsSize() 295 SetHeight(sizeObj->GetProperty("height")); in JsSize() 356 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in ObjectSize() local 357 ObjectWidth(sizeObj->GetProperty("width")); in ObjectSize() 358 ObjectHeight(sizeObj->GetProperty("height")); in ObjectSize() 365 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in ObjectOffset() local 366 JSRef<JSVal> xVal = sizeObj->GetProperty("x"); in ObjectOffset() 367 JSRef<JSVal> yVal = sizeObj->GetProperty("y"); in ObjectOffset() 430 JSRef<JSObject> sizeObj in ObjectPosition() local [all...] |
H A D | js_camera.cpp | 27 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in Create() local 28 JSRef<JSVal> idValue = sizeObj->GetProperty("id"); in Create() 33 JSRef<JSVal> resolutionWidthValue = sizeObj->GetProperty("resolutionWidth"); in Create() 40 JSRef<JSVal> resolutionHeightValue = sizeObj->GetProperty("resolutionHeight"); in Create()
|
H A D | js_flex.cpp | 142 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 143 SetWidth(sizeObj->GetProperty("width")); in JsSize() 144 SetHeight(sizeObj->GetProperty("height")); in JsSize()
|
H A D | js_navigator.cpp | 169 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 170 JsWidth(sizeObj->GetProperty("width")); in JsSize() 171 JsHeight(sizeObj->GetProperty("height")); in JsSize()
|
H A D | js_plugin.cpp | 84 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 85 JSRef<JSVal> widthValue = sizeObj->GetProperty("width"); in JsSize() 90 JSRef<JSVal> heightValue = sizeObj->GetProperty("height"); in JsSize()
|
H A D | js_stack.cpp | 160 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in SetSize() local 161 SetWidth(sizeObj->GetProperty("width")); in SetSize() 162 SetHeight(sizeObj->GetProperty("height")); in SetSize()
|
H A D | js_flex_impl.cpp | 216 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsFlexSize() local 217 JsFlexWidth(sizeObj->GetProperty("width")); in JsFlexSize() 218 JsFlexHeight(sizeObj->GetProperty("height")); in JsFlexSize()
|
H A D | js_water_flow.cpp | 314 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in SetItemConstraintSize() local 316 JSRef<JSVal> minWidthValue = sizeObj->GetProperty("minWidth"); in SetItemConstraintSize() 322 JSRef<JSVal> maxWidthValue = sizeObj->GetProperty("maxWidth"); in SetItemConstraintSize() 328 JSRef<JSVal> minHeightValue = sizeObj->GetProperty("minHeight"); in SetItemConstraintSize() 334 JSRef<JSVal> maxHeightValue = sizeObj->GetProperty("maxHeight"); in SetItemConstraintSize()
|
H A D | js_view_measure_layout.cpp | 455 JSRef<JSObject> sizeObj = JSRef<JSObject>::Make(jsObject); in JSMeasure() local 457 if (JSViewAbstract::ParseJsDimensionVp(sizeObj->GetProperty("minWidth"), minWidth)) { in JSMeasure() 470 if (JSViewAbstract::ParseJsDimensionVp(sizeObj->GetProperty("maxWidth"), maxWidth)) { in JSMeasure() 483 if (JSViewAbstract::ParseJsDimensionVp(sizeObj->GetProperty("minHeight"), minHeight)) { in JSMeasure() 496 if (JSViewAbstract::ParseJsDimensionVp(sizeObj->GetProperty("maxHeight"), maxHeight)) { in JSMeasure() 542 JSRef<JSObject> sizeObj = layoutInfo->GetProperty("position"); in JSLayout() local 543 JSRef<JSVal> xVal = sizeObj->GetProperty("x"); in JSLayout() 544 JSRef<JSVal> yVal = sizeObj->GetProperty("y"); in JSLayout()
|
H A D | js_checkbox.cpp | 242 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 243 JsWidth(sizeObj->GetProperty("width")); in JsSize() 244 JsHeight(sizeObj->GetProperty("height")); in JsSize()
|
H A D | js_radio.cpp | 185 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 186 JSViewAbstract::JsWidth(sizeObj->GetProperty(static_cast<int32_t>(ArkUIIndex::WIDTH))); in JsSize() 187 JSViewAbstract::JsHeight(sizeObj->GetProperty(static_cast<int32_t>(ArkUIIndex::HEIGHT))); in JsSize()
|
H A D | js_checkboxgroup.cpp | 193 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 194 JSViewAbstract::JsWidth(sizeObj->GetProperty("width")); in JsSize() 195 JSViewAbstract::JsHeight(sizeObj->GetProperty("height")); in JsSize()
|
H A D | js_form.cpp | 117 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in SetSize() local 118 JSRef<JSVal> widthValue = sizeObj->GetProperty("width"); in SetSize() 127 JSRef<JSVal> heightValue = sizeObj->GetProperty("height"); in SetSize()
|
H A D | js_shape.cpp | 133 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 134 JsWidth(sizeObj->GetProperty("width")); in JsSize() 135 JsHeight(sizeObj->GetProperty("height")); in JsSize()
|
H A D | js_base_node.cpp | 198 auto sizeObj = JSRef<JSObject>::Cast(size); in ConstructorCallback() local 199 auto width = sizeObj->GetProperty("width"); in ConstructorCallback() 202 auto height = sizeObj->GetProperty("height"); in ConstructorCallback()
|
H A D | js_slider.cpp | 520 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in SetBlockSize() local 523 JSRef<JSVal> jsWidth = sizeObj->GetProperty("width"); in SetBlockSize() 532 JSRef<JSVal> jsHeight = sizeObj->GetProperty("height"); in SetBlockSize()
|
H A D | js_toggle.cpp | 238 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 239 JsWidth(sizeObj->GetProperty("width")); in JsSize() 240 JsHeight(sizeObj->GetProperty("height")); in JsSize()
|
H A D | js_select.cpp | 546 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 547 JSViewAbstract::JsWidth(sizeObj->GetProperty("width")); in JsSize() 548 JSViewAbstract::JsHeight(sizeObj->GetProperty("height")); in JsSize()
|
H A D | js_button.cpp | 621 JSRef<JSObject> sizeObj = JSRef<JSObject>::Cast(info[0]); in JsSize() local 622 JSViewAbstract::JsWidth(sizeObj->GetProperty("width")); in JsSize() 623 JSViewAbstract::JsHeight(sizeObj->GetProperty("height")); in JsSize()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/particle/ |
H A D | particle_pattern.cpp | 83 auto sizeObj = JsonUtil::Create(true); in ToJsonValue() local 84 sizeObj->Put("x", std::to_string(props[i].size->x).c_str()); in ToJsonValue() 85 sizeObj->Put("y", std::to_string(props[i].size->y).c_str()); in ToJsonValue() 86 object->Put("size", sizeObj); in ToJsonValue()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | av_sync_utils.cpp | 301 cJSON *sizeObj = cJSON_GetObjectItemCaseSensitive(paramJson, KEY_SHARED_MEM_SIZE.c_str());
302 if (sizeObj == nullptr || !cJSON_IsNumber(sizeObj)) {
306 int32_t size = sizeObj->valueint;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/ |
H A D | js_span_object.cpp | 774 auto sizeObj = obj->GetProperty("size"); in ParseJsImageSpanSizeAttribute() local 775 if (sizeObj->IsObject()) { in ParseJsImageSpanSizeAttribute() 777 auto size = JSRef<JSObject>::Cast(sizeObj); in ParseJsImageSpanSizeAttribute() 1091 JSRef<JSObject> sizeObj = objectTemplate->NewInstance(); in ParseOnDrawFunc() 1092 sizeObj->SetProperty<float>("height", PipelineBase::Px2VpWithCurrentDensity(context.height)); in ParseOnDrawFunc() 1093 sizeObj->SetProperty<float>("width", PipelineBase::Px2VpWithCurrentDensity(context.width)); in ParseOnDrawFunc() 1094 contextObj->SetPropertyObject("size", sizeObj); in ParseOnDrawFunc()
|
/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_file_asset_napi.cpp | 747 napi_value sizeObj; in GetPhotoRequestOption() local 748 if (GetNapiObjectFromNapiObject(env, object, "size", &sizeObj)) { in GetPhotoRequestOption() 749 GetInt32InfoFromNapiObject(env, sizeObj, "width", asyncContext->size.width); in GetPhotoRequestOption() 750 GetInt32InfoFromNapiObject(env, sizeObj, "height", asyncContext->size.height); in GetPhotoRequestOption()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_render_node_bridge.cpp | 203 auto sizeObj = panda::ObjectRef::NewWithNamedProperties(vm, ArraySize(keysOfSize), keysOfSize, valuesOfSize); in FireDrawCallback() local 213 Local<JSValueRef> values[] = { sizeObj, jsCanvasVal }; in FireDrawCallback()
|