Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 5 of 5) sorted by relevance

/ide/tools/previewer/jsapp/rich/
DJsAppImpl.cpp125 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 …]
DJsAppImpl.h183 T SetOrientation(const OHOS::Ace::DeviceOrientation& orientation) const in SetOrientation() argument
186 if (orientation == OHOS::Ace::DeviceOrientation::PORTRAIT) { in SetOrientation()
188 } else if (orientation == OHOS::Ace::DeviceOrientation::LANDSCAPE) { in SetOrientation()
/ide/tools/previewer/jsapp/
DJsApp.cpp40 orientation(""), in JsApp()
167 return orientation; in GetOrientation()
172 orientation = commandOrientation; in OrientationChanged()
DJsApp.h89 std::string orientation; variable
/ide/tools/previewer/util/
DCommandParser.cpp625 string orientation = Value("o"); in IsOrientationValid() local
626 if (orientation != "portrait" && orientation != "landscape") { in IsOrientationValid()