Searched refs:paramObj (Results 1 - 3 of 3) sorted by relevance
| /ide/tools/previewer/jsapp/rich/ |
| H A D | JsAppImpl.cpp | 755 void JsAppImpl::ParseSystemParams(OHOS::Ace::Platform::AceRunArgs& args, const Json2::Value& paramObj) in ParseSystemParams() argument 757 if (paramObj.IsNull()) { in ParseSystemParams() 769 SetDeviceWidth(args, paramObj["width"].AsInt()); in ParseSystemParams() 770 SetDeviceHeight(args, paramObj["height"].AsInt()); in ParseSystemParams() 773 SetColorMode(args, paramObj["colorMode"].AsString()); in ParseSystemParams() 774 SetOrientation(args, paramObj["orientation"].AsString()); in ParseSystemParams() 775 std::string deviceType = paramObj["deviceType"].AsString(); in ParseSystemParams() 777 AdaptDeviceType(args, deviceType, args.deviceWidth, paramObj["dpi"].AsDouble()); in ParseSystemParams() 778 std::string lanInfo = paramObj["locale"].AsString(); in ParseSystemParams() 784 void JsAppImpl::SetSystemParams(OHOS::Ace::Platform::SystemParams& params, const Json2::Value& paramObj) in SetSystemParams() argument [all...] |
| H A D | JsAppImpl.h | 148 void ParseSystemParams(OHOS::Ace::Platform::AceRunArgs& args, const Json2::Value& paramObj); 149 void SetSystemParams(OHOS::Ace::Platform::SystemParams& args, const Json2::Value& paramObj);
|
| /ide/tools/previewer/test/unittest/jsapp/ |
| H A D | JsAppImplTest.cpp | 652 Json2::Value paramObj = JsonReader::CreateNull(); in TEST_F() local 653 JsAppImpl::GetInstance().ParseSystemParams(JsAppImpl::GetInstance().aceRunArgs, paramObj); in TEST_F()
|
Completed in 4 milliseconds