Home
last modified time | relevance | path

Searched refs:autoDesignWidth (Results 1 - 19 of 19) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/
H A Dmanifest_window.h41 WindowConfig windowConfig_ = { .designWidth = DEFAULT_DESIGN_WIDTH, .autoDesignWidth = false };
H A Dmanifest_window.cpp54 windowConfig_.autoDesignWidth = window->GetBool("autoDesignWidth", false); in WindowParse()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dform_info_base.h36 bool autoDesignWidth = false; member
/foundation/ability/form_fwk/test/unittest/fms_form_info_mgr_test/
H A Dfms_form_info_mgr_test.cpp40 "autoDesignWidth": true
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dform_info.cpp62 const char* JSON_KEY_AUTO_DESIGN_WIDTH = "autoDesignWidth";
91 window.autoDesignWidth = formInfo.window.autoDesignWidth; in FormInfo()
204 window.autoDesignWidth = parcel.ReadBool(); in ReadFromParcel()
289 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Bool, parcel, window.autoDesignWidth); in Marshalling()
309 if (!window.autoDesignWidth && window.designWidth <= 0) { in IsValid()
327 jsonObject[JSON_KEY_AUTO_DESIGN_WIDTH] = formWindow.autoDesignWidth; in to_json()
410 formWindow.autoDesignWidth, in from_json()
H A Dextension_form_profile.cpp88 bool autoDesignWidth = false; member
157 window.autoDesignWidth, in from_json()
413 info.window.autoDesignWidth = form.window.autoDesignWidth; in TransformToExtensionFormInfo()
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_js_info.cpp36 formWindow.autoDesignWidth = parcel.ReadBool(); in ReadFromParcel()
107 if (!parcel.WriteInt32(formWindow.designWidth) || !parcel.WriteBool(formWindow.autoDesignWidth)) { in Marshalling()
/foundation/ability/form_fwk/services/src/
H A Dform_item_info.cpp410 formWindow_.autoDesignWidth = formWindow.autoDesignWidth; in SetFormWindow()
H A Dform_dump_mgr.cpp168 formInfo += " autoDesignWidth [" + std::to_string(formRecordInfo.formWindow.autoDesignWidth) + "]\n"; in DumpFormInfo()
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dfrontend.h51 // Runtime design width should be considered together with autoDesignWidth.
53 bool autoDesignWidth = false; member
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_base.cpp476 windowConfig.autoDesignWidth ? density_ : pageWidth / windowConfig.designWidth; in UpdateRootSizeAndScale()
479 viewScale_ = windowConfig.autoDesignWidth ? density_ : static_cast<double>(width) / windowConfig.designWidth; in UpdateRootSizeAndScale()
/foundation/arkui/ace_engine/frameworks/core/components/form/
H A Dform_element.cpp275 { formJsInfo.formWindow.designWidth, formJsInfo.formWindow.autoDesignWidth }); in Prepare()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_profile.cpp204 bool autoDesignWidth = false; member
906 window.autoDesignWidth, in from_json()
1854 formInfo.window.autoDesignWidth = form.window.autoDesignWidth; in ConvertFormInfo()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_view_register.cpp1132 if (!windowConfig.autoDesignWidth) { in Lpx2Px()
1166 if (!windowConfig.autoDesignWidth) { in Px2Lpx()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/
H A Dform_pattern.cpp1230 container->SetWindowConfig({ formJsInfo.formWindow.designWidth, formJsInfo.formWindow.autoDesignWidth }); in InitFormManagerDelegate()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp808 formInfo.window.autoDesignWidth = true; in MockFormInfo()
1352 EXPECT_EQ(formInfo.window.autoDesignWidth, true); in CheckFormInfoTest()
11282 extensionFormInfo.window.autoDesignWidth = 240; in HWTEST_F()
11306 EXPECT_EQ(form.window.autoDesignWidth, extensionFormInfo.window.autoDesignWidth); in HWTEST_F()
H A Dbms_bundle_data_mgr_test.cpp686 formInfo.window.autoDesignWidth = true; in MockFormInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp3094 formInfo.window.autoDesignWidth = false; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_mgr.cpp961 NAPI_CALL_RETURN_VOID(env, napi_get_boolean(env, formWindow.autoDesignWidth, &nAutoDesignWidth)); in ConvertFormWindow()
962 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, objWindowInfo, "autoDesignWidth", nAutoDesignWidth)); in ConvertFormWindow()
1063 APP_LOGI("ConvertFormInfo window.autoDesignWidth=%{public}d", formInfo.window.autoDesignWidth); in ConvertFormInfo()

Completed in 63 milliseconds