/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | stage_card_parser.cpp | 50 auto supportDimensions = formConfig->GetValue("supportDimensions"); in Parse() local 51 if (supportDimensions && supportDimensions->IsArray()) { in Parse() 52 for (index = 0; index < supportDimensions->GetArraySize(); ++index) { in Parse() 53 auto supportDimension = supportDimensions->GetArrayItem(index); in Parse()
|
/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_info_storage.cpp | 52 const std::vector<int32_t> &supportDimensions, std::vector<int32_t> &results) in find_match_dimensions() argument 54 for (const auto &val : supportDimensions) { in find_match_dimensions() 103 if (filter.supportDimensions.empty()) { in GetFormsInfoByFilter() 107 if (find_match_dimensions(filter.supportDimensions, item.supportDimensions, results)) { in GetFormsInfoByFilter() 109 formInfo.supportDimensions = results; in GetFormsInfoByFilter()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/ |
H A D | mock_form_mgr_adapter.cpp | 36 formInfo.supportDimensions.push_back(0); in GetFormsInfoByModuleWithoutCheck() 37 formInfo.supportDimensions.push_back(1); in GetFormsInfoByModuleWithoutCheck()
|
H A D | mock_form_info_mgr.cpp | 64 formInfo1.supportDimensions.push_back(1); in GetFormsInfoByModule() 70 formInfo2.supportDimensions.push_back(1); in GetFormsInfoByModule()
|
/ohos5.0/foundation/ability/ability_runtime/service_router_framework/interfaces/inner_api/src/ |
H A D | service_info.cpp | 154 CONTAINER_SECURITY_VERIFY(parcel, supportDimensionSize, &supportDimensions); in ReadFromParcel() 160 supportDimensions.emplace_back(parcel.ReadInt32()); in ReadFromParcel() 174 const auto supportDimensionSize = static_cast<int32_t>(supportDimensions.size()); in Marshalling() 177 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, supportDimensions[i]); in Marshalling()
|
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_bundle_manager_form.cpp | 103 form.supportDimensions = { 1, 2 }; in GetAllFormsInfo() 120 form.supportDimensions = { 1, 2 }; in GetFormsInfoByApp() 140 form.supportDimensions = { 1, 2 }; in GetFormsInfoByModule()
|
/ohos5.0/docs/zh-cn/application-dev/form/ |
H A D | arkts-ui-widget-configuration.md | 49 …| supportDimensions | 表示卡片支持的外观规格,取值范围:<br/>- 1 \* 2:表示1行2列的二宫格。<br/>- 2 … 50 | defaultDimension | 表示卡片的默认外观规格,取值必须在该卡片supportDimensions配置的列表中。 | 字符串 | 否 | 103 "supportDimensions": [
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | form_info.cpp | 110 for (const auto &dimension : formInfo.supportDimensions) { in FormInfo() 111 supportDimensions.push_back(dimension); in FormInfo() 180 CONTAINER_SECURITY_VERIFY(parcel, supportDimensionSize, &supportDimensions); in ReadFromParcel() 182 supportDimensions.emplace_back(parcel.ReadInt32()); in ReadFromParcel() 263 const auto supportDimensionSize = static_cast<int32_t>(supportDimensions.size()); in Marshalling() 266 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, supportDimensions[i]); in Marshalling() 358 {JSON_KEY_SUPPORT_DIMENSIONS, formInfo.supportDimensions}, in to_json() 623 formInfo.supportDimensions, in from_json()
|
H A D | extension_form_profile.cpp | 91 std::vector<std::string> supportDimensions {}; member 268 extensionFormProfileInfo.supportDimensions, in from_json() 360 for (const auto &dimension: form.supportDimensions) { in GetMetadata() 385 info.supportDimensions.emplace_back(dimension); in GetMetadata()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/ |
H A D | form_info_mgr_test.cpp | 79 formInfo.supportDimensions = {1, 2}; in GetTestFormInfo() 98 formInfo.supportDimensions = {1, 2}; in GetTestCircleFormInfo() 388 filter.supportDimensions = {1, 2}; 393 EXPECT_EQ(filter.supportDimensions, formInfos[0].supportDimensions); 440 filter.supportDimensions = {1, 2}; 465 filter.supportDimensions = {1, 2}; 471 EXPECT_EQ(filter.supportDimensions, formInfos[0].supportDimensions);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-bundleManager-BundlePackInfo-sys.md | 123 | supportDimensions | Array\<string> | 是 | 否 | 表示卡片外观规格,取值为“1\*2”,“2\*2”,“2\*4”,“4\*4”,定义卡片时至… 124 | defaultDimension | string | 是 | 否 | 表示卡片默认外观规格,取值必须在supportDimensions配置的列表中。 |
|
/ohos5.0/foundation/ability/form_fwk/test/mock/src/ |
H A D | mock_bundle_manager.cpp | 139 form.supportDimensions = {1, 2}; in GetFormsInfoByApp() 158 form.supportDimensions = {1, 2}; in GetFormsInfoByModule()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/test_bundle/sandboxTest/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testHapNoSo/hapNotIncludeso1/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testHapNoSo/hapNotIncludeso2/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testHapNoSo/hapNotIncludeso3/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testHapNoSo/hapNotIncludeso4/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testHapNoSo/hapNotIncludeso5/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testHapNoSo/hapNotIncludeso6/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testHapNoSo/hapSectionContainso1/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testHapNoSo/hapSectionContainso2/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/bundle_dependencies/dependencies_entry/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/bundle_dependencies/dependencies_entry_A/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/bundle_dependencies/dependencies_entry_B/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/bundle_dependencies/dependencies_entry_C/entry/src/main/resources/base/profile/ |
H A D | form_config1.txt | 13 "supportDimensions":[
|