Home
last modified time | relevance | path

Searched refs:aceRunArgs (Results 1 - 3 of 3) sorted by relevance

/ide/tools/previewer/jsapp/rich/
H A DJsAppImpl.cpp121 aceRunArgs.deviceWidth = height; in OrientationChanged()
122 aceRunArgs.deviceHeight = width; in OrientationChanged()
124 AdaptDeviceType(aceRunArgs, commandInfo.deviceType, aceRunArgs.deviceWidth); in OrientationChanged()
126 aceRunArgs.deviceConfig.orientation = DeviceOrientation::PORTRAIT; in OrientationChanged()
128 aceRunArgs.deviceConfig.orientation = DeviceOrientation::LANDSCAPE; in OrientationChanged()
132 ILOG("OrientationChanged: %s %d %d %f", orientation.c_str(), aceRunArgs.deviceWidth, in OrientationChanged()
133 aceRunArgs.deviceHeight, aceRunArgs.deviceConfig.density); in OrientationChanged()
138 ability->SurfaceChanged(aceRunArgs in OrientationChanged()
[all...]
H A DJsAppImpl.h161 OHOS::Ace::Platform::AceRunArgs aceRunArgs; member in OHOS::JsAppImpl
/ide/tools/previewer/test/unittest/jsapp/
H A DJsAppImplTest.cpp92 OHOS::Ace::Platform::AceAbility::CreateInstance(JsAppImpl::GetInstance().aceRunArgs); in TEST_F()
118 OHOS::Ace::Platform::AceAbility::CreateInstance(JsAppImpl::GetInstance().aceRunArgs); in TEST_F()
147 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceWidth, 222); in TEST_F()
148 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceHeight, 333); in TEST_F()
171 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceWidth, 111); in TEST_F()
172 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceHeight, 222); in TEST_F()
173 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceConfig.density, 3); in TEST_F()
175 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceConfig.orientation, in TEST_F()
184 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceWidth, 222); in TEST_F()
185 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs in TEST_F()
[all...]

Completed in 3 milliseconds