Lines Matching refs:orientation
125 aceRunArgs.deviceConfig.orientation = DeviceOrientation::PORTRAIT; in OrientationChanged()
127 aceRunArgs.deviceConfig.orientation = DeviceOrientation::LANDSCAPE; in OrientationChanged()
130 orientation = commandOrientation; in OrientationChanged()
131 ILOG("OrientationChanged: %s %d %d %f", orientation.c_str(), aceRunArgs.deviceWidth, in OrientationChanged()
137 … ability->SurfaceChanged(aceRunArgs.deviceConfig.orientation, aceRunArgs.deviceConfig.density, in OrientationChanged()
188 SetOrientation(args, orientation); in SetJsAppArgs()
360 deviceCfg.orientation = SetOrientation<OHOS::AbilityRuntime::DeviceOrientation>( in SetSimulatorCommonParams()
361 aceRunArgs.deviceConfig.orientation); in SetSimulatorCommonParams()
388 if (aceRunArgs.deviceConfig.orientation == DeviceOrientation::LANDSCAPE) { in UpdateConfiguration()
389 orientation = "landscape"; in UpdateConfiguration()
407 …windowModel->orientation = SetOrientation<OHOS::Previewer::Orientation>(aceRunArgs.deviceConfig.or… in SetWindowParams()
519 void JsAppImpl::SetOrientation(Platform::AceRunArgs& args, const std::string orientation) const in SetOrientation()
521 ILOG("JsAppImpl::RunJsApp SetOrientation: %s", orientation.c_str()); in SetOrientation()
522 if (orientation == "landscape") { in SetOrientation()
523 args.deviceConfig.orientation = DeviceOrientation::LANDSCAPE; in SetOrientation()
525 args.deviceConfig.orientation = DeviceOrientation::PORTRAIT; in SetOrientation()
621 OHOS::Previewer::PreviewerWindow::TransOrientation(windowModel->orientation))); in ResolutionChanged()
639 … ability->SurfaceChanged(aceRunArgs.deviceConfig.orientation, aceRunArgs.deviceConfig.density, in ResolutionChanged()
671 SetOrientation(aceRunArgs, orientation); in SetResolutionParams()
673 ILOG("ResolutionChanged: %s %d %d %f", orientation.c_str(), aceRunArgs.deviceWidth, in SetResolutionParams()
689 orientation = value; in SetDeviceOrentation()
694 return orientation; in GetOrientation()
767 SetOrientation(args, orientation); in ParseSystemParams()
797 params.orientation = aceRunArgs.deviceConfig.orientation; in SetSystemParams()
822 ((params.orientation == DeviceOrientation::LANDSCAPE) ? "landscape" : "portrait"), in LoadDocument()