Lines Matching refs:orientation

126         aceRunArgs.deviceConfig.orientation = DeviceOrientation::PORTRAIT;
128 aceRunArgs.deviceConfig.orientation = DeviceOrientation::LANDSCAPE;
131 orientation = commandOrientation;
132 ILOG("OrientationChanged: %s %d %d %f", orientation.c_str(), aceRunArgs.deviceWidth,
138 ability->SurfaceChanged(aceRunArgs.deviceConfig.orientation, aceRunArgs.deviceConfig.density,
176 SetOrientation(args, orientation);
358 deviceCfg.orientation = SetOrientation<OHOS::AbilityRuntime::DeviceOrientation>(
359 aceRunArgs.deviceConfig.orientation);
386 if (aceRunArgs.deviceConfig.orientation == DeviceOrientation::LANDSCAPE) {
387 orientation = "landscape";
405 windowModel->orientation = SetOrientation<OHOS::Previewer::Orientation>(aceRunArgs.deviceConfig.orientation);
517 void JsAppImpl::SetOrientation(Platform::AceRunArgs& args, const std::string orientation) const
519 ILOG("JsAppImpl::RunJsApp SetOrientation: %s", orientation.c_str());
520 if (orientation == "landscape") {
521 args.deviceConfig.orientation = DeviceOrientation::LANDSCAPE;
523 args.deviceConfig.orientation = DeviceOrientation::PORTRAIT;
615 OHOS::Previewer::PreviewerWindow::TransOrientation(windowModel->orientation)));
635 ability->SurfaceChanged(aceRunArgs.deviceConfig.orientation, aceRunArgs.deviceConfig.density,
667 SetOrientation(aceRunArgs, orientation);
669 ILOG("ResolutionChanged: %s %d %d %f", orientation.c_str(), aceRunArgs.deviceWidth,
685 orientation = value;
690 return orientation;
763 SetOrientation(args, orientation);
774 SetOrientation(args, paramObj["orientation"].AsString());
792 params.orientation = aceRunArgs.deviceConfig.orientation;
808 deviceHeight: %d isRound:%d colorMode:%s orientation: %s deviceType: %s",
816 ((params.orientation == DeviceOrientation::LANDSCAPE) ? "landscape" : "portrait"),