Lines Matching defs:runArgs
86 inline void DumpAceRunArgs(const AceRunArgs& runArgs)
89 LOGI("runArgs.pageProfile: %{private}s", runArgs.pageProfile.c_str());
90 LOGI("runArgs.asset: %{private}s", runArgs.assetPath.c_str());
91 LOGI("runArgs.systemResources: %{private}s", runArgs.systemResourcesPath.c_str());
92 LOGI("runArgs.appResources: %{private}s", runArgs.appResourcesPath.c_str());
93 LOGI("runArgs.themeId: %{private}u", runArgs.themeId);
94 LOGI("runArgs.deviceConfig.orientation: %{private}d", static_cast<int>(runArgs.deviceConfig.orientation));
95 LOGI("runArgs.deviceConfig.density: %{private}lf", runArgs.deviceConfig.density);
96 LOGI("runArgs.deviceConfig.deviceType: %{private}d", static_cast<int>(runArgs.deviceConfig.deviceType));
97 LOGI("runArgs.deviceConfig.fontRatio: %{private}lf", runArgs.deviceConfig.fontRatio);
98 LOGI("runArgs.deviceConfig.colorMode: %{private}d", static_cast<int>(runArgs.deviceConfig.colorMode));
99 LOGI("runArgs.url: %{private}s", runArgs.url.c_str());
100 LOGI("runArgs.windowTitle: %{private}s", runArgs.windowTitle.c_str());
101 LOGI("runArgs.isRound: %{private}s", runArgs.isRound ? "true" : "false");
102 LOGI("runArgs.viewWidth: %{private}d", runArgs.viewWidth);
103 LOGI("runArgs.viewHeight: %{private}d", runArgs.viewHeight);
104 LOGI("runArgs.deviceWidth: %{private}d", runArgs.deviceWidth);
105 LOGI("runArgs.deviceHeight: %{private}d", runArgs.deviceHeight);
208 AceAbility::AceAbility(const AceRunArgs& runArgs) : runArgs_(runArgs)
214 SystemProperties::SetExtSurfaceEnabled(!runArgs.containerSdkPath.empty());
215 SystemProperties::InitDeviceInfo(runArgs.deviceWidth, runArgs.deviceHeight,
216 runArgs.deviceConfig.orientation == DeviceOrientation::PORTRAIT ? 0 : 1, runArgs.deviceConfig.density,
217 runArgs.isRound);
218 SystemProperties::InitDeviceType(runArgs.deviceConfig.deviceType);
219 SystemProperties::SetColorMode(runArgs.deviceConfig.colorMode);
240 AceContainer::SetComponentModeFlag(runArgs.isComponentMode);
241 SetConfigChanges(runArgs.configChanges);
244 container->SetContainerSdkPath(runArgs.containerSdkPath);
252 config.SetFontRatio(runArgs.deviceConfig.fontRatio);
275 std::unique_ptr<AceAbility> AceAbility::CreateInstance(AceRunArgs& runArgs)
277 DumpAceRunArgs(runArgs);
283 AceApplicationInfo::GetInstance().SetLocale(runArgs.language, runArgs.region, runArgs.script, "");
284 SetFontMgrConfig(runArgs.containerSdkPath);
286 auto aceAbility = std::make_unique<AceAbility>(runArgs);