Searched refs:orientation (Results 1 – 5 of 5) sorted by relevance
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()[all …]
183 T SetOrientation(const OHOS::Ace::DeviceOrientation& orientation) const in SetOrientation() argument186 if (orientation == OHOS::Ace::DeviceOrientation::PORTRAIT) { in SetOrientation()188 } else if (orientation == OHOS::Ace::DeviceOrientation::LANDSCAPE) { in SetOrientation()
40 orientation(""), in JsApp()167 return orientation; in GetOrientation()172 orientation = commandOrientation; in OrientationChanged()
89 std::string orientation; variable
625 string orientation = Value("o"); in IsOrientationValid() local626 if (orientation != "portrait" && orientation != "landscape") { in IsOrientationValid()