Searched refs:infoObj (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_on_child_touch_test_function.cpp | 37 JSRef<JSObject> infoObj = JSRef<JSObject>::New(); in CreateTouchTestInfo() local 38 …infoObj->SetProperty<double>("windowX", PipelineBase::Px2VpWithCurrentDensity(info.windowPoint.Get… in CreateTouchTestInfo() 39 …infoObj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(info.windowPoint.Get… in CreateTouchTestInfo() 40 …infoObj->SetProperty<double>("parentX", PipelineBase::Px2VpWithCurrentDensity(info.currentCmpPoint… in CreateTouchTestInfo() 41 …infoObj->SetProperty<double>("parentY", PipelineBase::Px2VpWithCurrentDensity(info.currentCmpPoint… in CreateTouchTestInfo() 42 … infoObj->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(info.subCmpPoint.GetX())); in CreateTouchTestInfo() 43 … infoObj->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(info.subCmpPoint.GetY())); in CreateTouchTestInfo() 44 infoObj->SetPropertyObject("rect", CreateRectangle(info.subRect)); in CreateTouchTestInfo() 45 infoObj->SetProperty<std::string>("id", info.id); in CreateTouchTestInfo() 46 return infoObj; in CreateTouchTestInfo()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/ |
H A D | net_connection_adapter.cpp | 156 int32_t Conv2NetLinkInfo(NetLinkInfo &infoObj, NetConn_ConnectionProperties *prop) in Conv2NetLinkInfo() argument 158 int32_t ret = Conv2Ch(infoObj.ifaceName_, prop->ifaceName); in Conv2NetLinkInfo() 162 ret = Conv2Ch(infoObj.domain_, prop->domain); in Conv2NetLinkInfo() 166 ret = Conv2Ch(infoObj.tcpBufferSizes_, prop->tcpBufferSizes); in Conv2NetLinkInfo() 172 for (const auto &netAddr : infoObj.netAddrList_) { in Conv2NetLinkInfo() 182 prop->netAddrListSize = static_cast<int32_t>(infoObj.netAddrList_.size()); in Conv2NetLinkInfo() 185 for (const auto &dns : infoObj.dnsList_) { in Conv2NetLinkInfo() 195 prop->dnsListSize = static_cast<int32_t>(infoObj.dnsList_.size()); in Conv2NetLinkInfo() 197 ret = Conv2HttpProxy(infoObj.httpProxy_, &(prop->httpProxy)); in Conv2NetLinkInfo()
|
H A D | net_connection.cpp | 168 NetLinkInfo infoObj = NetLinkInfo(); in OH_NetConn_GetConnectionProperties() local 169 int32_t ret = NetConnClient::GetInstance().GetConnectionProperties(netHandleObj, infoObj); in OH_NetConn_GetConnectionProperties() 170 retConv = Conv2NetLinkInfo(infoObj, prop); in OH_NetConn_GetConnectionProperties()
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/mdns/src/ |
H A D | mdns_callback_observer.cpp | 150 napi_value infoObj = CreateCallbackParam(pair->second, env); in CreateServiceWithError() local 151 NapiUtils::SetNamedProperty(env, obj, SERVICEINFO, infoObj); in CreateServiceWithError() 165 napi_value infoObj = CreateCallbackParam(*serviceInfo, env); in CreateService() local 166 NapiUtils::SetNamedProperty(env, obj, SERVICEINFO, infoObj); in CreateService()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_navdestination.cpp | 134 auto infoObj = JSRef<JSObject>::Cast(info[0]); in Create() local 135 if (!infoObj->GetProperty(NG::NAVIGATION_MODULE_NAME)->IsString() || in Create() 136 !infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->IsString()) { in Create() 140 moduleName = infoObj->GetProperty(NG::NAVIGATION_MODULE_NAME)->ToString(); in Create() 141 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 166 auto infoObj = JSRef<JSObject>::Cast(info[1]); in Create() local 167 if (!infoObj->GetProperty(NG::NAVIGATION_MODULE_NAME)->IsString() || in Create() 168 !infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->IsString()) { in Create() 172 moduleName = infoObj->GetProperty(NG::NAVIGATION_MODULE_NAME)->ToString(); in Create() 173 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create()
|
H A D | js_navigation.cpp | 168 auto infoObj = JSRef<JSObject>::Cast(info[0]); in Create() local 169 if (!infoObj->GetProperty(NG::NAVIGATION_MODULE_NAME)->IsString() || in Create() 170 !infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->IsString()) { in Create() 174 moduleName = infoObj->GetProperty(NG::NAVIGATION_MODULE_NAME)->ToString(); in Create() 175 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 193 auto infoObj = JSRef<JSObject>::Cast(info[1]); in Create() local 194 auto isUserCreateStack = infoObj->GetProperty(NG::IS_USER_CREATE_STACK); in Create() 202 if (!infoObj->GetProperty(NG::NAVIGATION_MODULE_NAME)->IsString() || in Create() 203 !infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->IsString()) { in Create() 207 moduleName = infoObj->GetProperty(NG::NAVIGATION_MODULE_NAME)->ToString(); in Create() [all …]
|
H A D | js_image.cpp | 461 auto infoObj = info[0]; in JsImageResizable() local 462 if (!infoObj->IsObject()) { in JsImageResizable() 466 JSRef<JSObject> resizableObject = JSRef<JSObject>::Cast(infoObj); in JsImageResizable()
|
H A D | js_view_abstract.cpp | 10772 auto infoObj = info[0]; in JsBackgroundImageResizable() local 10774 if (!infoObj->IsObject()) { in JsBackgroundImageResizable() 10778 JSRef<JSObject> resizableObject = JSRef<JSObject>::Cast(infoObj); in JsBackgroundImageResizable()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/include/ |
H A D | net_connection_adapter.h | 37 int32_t Conv2NetLinkInfo(NetLinkInfo &infoObj, NetConn_ConnectionProperties *prop);
|