Home
last modified time | relevance | path

Searched refs:sizeObj (Results 1 - 25 of 29) sorted by relevance

12

/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_object_types.cpp53 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 Djs_shape_abstract.cpp293 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 Djs_camera.cpp27 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 Djs_flex.cpp142 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 Djs_navigator.cpp169 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 Djs_plugin.cpp84 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 Djs_stack.cpp160 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 Djs_flex_impl.cpp216 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 Djs_water_flow.cpp314 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 Djs_view_measure_layout.cpp455 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 Djs_checkbox.cpp242 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 Djs_radio.cpp185 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 Djs_checkboxgroup.cpp193 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 Djs_form.cpp117 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 Djs_shape.cpp133 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 Djs_base_node.cpp198 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 Djs_slider.cpp520 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 Djs_toggle.cpp238 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 Djs_select.cpp546 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 Djs_button.cpp621 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 Dparticle_pattern.cpp83 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 Dav_sync_utils.cpp301 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 Djs_span_object.cpp774 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 Dsendable_file_asset_napi.cpp747 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 Darkts_native_render_node_bridge.cpp203 auto sizeObj = panda::ObjectRef::NewWithNamedProperties(vm, ArraySize(keysOfSize), keysOfSize, valuesOfSize); in FireDrawCallback() local
213 Local<JSValueRef> values[] = { sizeObj, jsCanvasVal }; in FireDrawCallback()

Completed in 23 milliseconds

12