Lines Matching refs:aceRunArgs

121     aceRunArgs.deviceWidth = height;
122 aceRunArgs.deviceHeight = width;
124 AdaptDeviceType(aceRunArgs, commandInfo.deviceType, aceRunArgs.deviceWidth);
126 aceRunArgs.deviceConfig.orientation = DeviceOrientation::PORTRAIT;
128 aceRunArgs.deviceConfig.orientation = DeviceOrientation::LANDSCAPE;
132 ILOG("OrientationChanged: %s %d %d %f", orientation.c_str(), aceRunArgs.deviceWidth,
133 aceRunArgs.deviceHeight, aceRunArgs.deviceConfig.density);
138 ability->SurfaceChanged(aceRunArgs.deviceConfig.orientation, aceRunArgs.deviceConfig.density,
139 aceRunArgs.deviceWidth, aceRunArgs.deviceHeight);
146 aceRunArgs.deviceConfig.colorMode = ColorMode::LIGHT;
148 aceRunArgs.deviceConfig.colorMode = ColorMode::DARK;
152 ability->OnConfigurationChanged(aceRunArgs.deviceConfig);
204 SetJsAppArgs(aceRunArgs);
247 ability = Platform::AceAbility::CreateInstance(aceRunArgs);
336 options.modulePath = aceRunArgs.assetPath + FileSystem::GetSeparator() + "modules.abc";
341 options.assetPath = aceRunArgs.assetPath;
342 options.systemResourcePath = aceRunArgs.systemResourcesPath;
343 options.appResourcePath = aceRunArgs.appResourcesPath;
344 options.containerSdkPath = aceRunArgs.containerSdkPath;
345 options.url = aceRunArgs.url;
346 options.language = aceRunArgs.language;
347 options.region = aceRunArgs.region;
348 options.script = aceRunArgs.script;
349 options.themeId = aceRunArgs.themeId;
350 options.deviceWidth = aceRunArgs.deviceWidth;
351 options.deviceHeight = aceRunArgs.deviceHeight;
352 options.isRound = aceRunArgs.isRound;
353 options.onRouterChange = aceRunArgs.onRouterChange;
354 options.pkgContextInfoJsonStringMap = aceRunArgs.pkgContextInfoJsonStringMap;
355 options.packageNameList = aceRunArgs.packageNameList;
357 deviceCfg.deviceType = SetDevice<OHOS::AbilityRuntime::DeviceType>(aceRunArgs.deviceConfig.deviceType);
359 aceRunArgs.deviceConfig.orientation);
360 deviceCfg.colorMode = SetColorMode<OHOS::AbilityRuntime::ColorMode>(aceRunArgs.deviceConfig.colorMode);
361 deviceCfg.density = aceRunArgs.deviceConfig.density;
364 options.configuration = UpdateConfiguration(aceRunArgs);
381 if (aceRunArgs.deviceConfig.colorMode == ColorMode::DARK) {
386 if (aceRunArgs.deviceConfig.orientation == DeviceOrientation::LANDSCAPE) {
390 std::string density = std::to_string(aceRunArgs.deviceConfig.density);
398 windowModel->isRound = aceRunArgs.isRound;
399 windowModel->originWidth = aceRunArgs.deviceWidth;
400 windowModel->originHeight = aceRunArgs.deviceHeight;
401 windowModel->compressWidth = aceRunArgs.deviceWidth;
402 windowModel->compressHeight = aceRunArgs.deviceHeight;
403 windowModel->density = aceRunArgs.deviceConfig.density;
404 windowModel->deviceType = SetDevice<OHOS::Previewer::DeviceType>(aceRunArgs.deviceConfig.deviceType);
405 windowModel->orientation = SetOrientation<OHOS::Previewer::Orientation>(aceRunArgs.deviceConfig.orientation);
406 windowModel->colorMode = SetColorMode<OHOS::Previewer::ColorMode>(aceRunArgs.deviceConfig.colorMode);
624 glfwRenderContext->SetWindowSize(aceRunArgs.deviceWidth, aceRunArgs.deviceHeight);
626 simulator->UpdateConfiguration(*(UpdateConfiguration(aceRunArgs).get()));
633 glfwRenderContext->SetWindowSize(aceRunArgs.deviceWidth, aceRunArgs.deviceHeight);
635 ability->SurfaceChanged(aceRunArgs.deviceConfig.orientation, aceRunArgs.deviceConfig.density,
636 aceRunArgs.deviceWidth, aceRunArgs.deviceHeight, ConvertResizeReason(reason));
655 SetDeviceWidth(aceRunArgs, changedWidth);
656 SetDeviceHeight(aceRunArgs, changedHeight);
660 AdaptDeviceType(aceRunArgs, commandInfo.deviceType, changedOriginWidth);
667 SetOrientation(aceRunArgs, orientation);
668 VirtualScreenImpl::GetInstance().SetCurrentResolution(aceRunArgs.deviceWidth, aceRunArgs.deviceHeight);
669 ILOG("ResolutionChanged: %s %d %d %f", orientation.c_str(), aceRunArgs.deviceWidth,
670 aceRunArgs.deviceHeight, aceRunArgs.deviceConfig.density);
765 AdaptDeviceType(args, commandInfo.deviceType, aceRunArgs.deviceWidth);
786 ParseSystemParams(aceRunArgs, paramObj);
787 params.deviceWidth = aceRunArgs.deviceWidth;
788 params.deviceHeight = aceRunArgs.deviceHeight;
789 params.language = aceRunArgs.language;
790 params.region = aceRunArgs.region;
791 params.colorMode = aceRunArgs.deviceConfig.colorMode;
792 params.orientation = aceRunArgs.deviceConfig.orientation;
793 params.deviceType = aceRunArgs.deviceConfig.deviceType;
794 params.density = aceRunArgs.deviceConfig.density;
819 glfwRenderContext->SetWindowSize(aceRunArgs.deviceWidth, aceRunArgs.deviceHeight);
894 glfwRenderContext->CreateGlfwWindow(aceRunArgs.deviceWidth, aceRunArgs.deviceHeight, false);
912 Ide::StageContext::GetInstance().SetPkgContextInfo(aceRunArgs.pkgContextInfoJsonStringMap,
913 aceRunArgs.packageNameList);
956 uint32_t deviceWidth = static_cast<uint32_t>(aceRunArgs.deviceWidth);
957 uint32_t deviceHeight = static_cast<uint32_t>(aceRunArgs.deviceHeight);