Searched refs:density (Results 1 - 3 of 3) sorted by relevance
| /ide/tools/previewer/jsapp/rich/ |
| H A D | JsAppImpl.cpp | 133 aceRunArgs.deviceHeight, aceRunArgs.deviceConfig.density); in OrientationChanged() 138 ability->SurfaceChanged(aceRunArgs.deviceConfig.orientation, aceRunArgs.deviceConfig.density, in OrientationChanged() 195 ILOG("start ability: %d %d %f", args.deviceWidth, args.deviceHeight, args.deviceConfig.density); in SetJsAppArgs() 361 deviceCfg.density = aceRunArgs.deviceConfig.density; in SetSimulatorCommonParams() 390 std::string density = std::to_string(aceRunArgs.deviceConfig.density); in UpdateConfiguration() local 391 configuration->AddItem(OHOS::AppExecFwk::ConfigurationInner::APPLICATION_DENSITYDPI, density); in UpdateConfiguration() 403 windowModel->density = aceRunArgs.deviceConfig.density; in SetWindowParams() 421 double density = screenDendity > 0 ? screenDendity : watchScreenDensity; AdaptDeviceType() local 428 double density = screenDendity > 0 ? screenDendity : tvScreenDensity; AdaptDeviceType() local 435 double density = screenDendity > 0 ? screenDendity : phoneScreenDensity; AdaptDeviceType() local 442 double density = screenDendity > 0 ? screenDendity : twoInOneScreenDensity; AdaptDeviceType() local 449 double density = screenDendity > 0 ? screenDendity : tabletScreenDensity; AdaptDeviceType() local 456 double density = screenDendity > 0 ? screenDendity : carScreenDensity; AdaptDeviceType() local [all...] |
| /ide/tools/previewer/util/ |
| H A D | CommandParser.cpp | 741 std::string density = Value("sd"); in IsScreenDensityValid() local 742 if (CheckParamInvalidity(density, true)) { in IsScreenDensityValid() 746 ILOG("CommandParser sd: %s", density.c_str()); in IsScreenDensityValid()
|
| /ide/tools/previewer/test/unittest/jsapp/ |
| H A D | JsAppImplTest.cpp | 173 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceConfig.density, 3); in TEST_F() 186 EXPECT_EQ(JsAppImpl::GetInstance().aceRunArgs.deviceConfig.density, 2); in TEST_F() 659 int density = 480; in TEST_F() local 665 paramObj2.Add("dpi", density); in TEST_F()
|
Completed in 4 milliseconds