Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 3 of 3) sorted by relevance

/ide/tools/previewer/mock/lite/
DVirtualLocation.cpp114 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in IsPostionChanged() local
116 …if (std::abs(longitude - longitudeChecked) < pow(PRECISION_BASE_NUMBER, -SharedDataManager::POSITI… in IsPostionChanged()
120 longitudeChecked = longitude; in IsPostionChanged()
DGeoLocation.cpp96 result->longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in SerializeLocData()
/ide/tools/previewer/cli/
DCommandLine.cpp793 string longitude(args["longitude"].asString()); in IsSetArgValid() local
795 if (!regex_match(latitude, isDob) || !regex_match(longitude, isDob)) { in IsSetArgValid()
805 if (!SharedData<double>::IsValid(SharedDataType::LONGITUDE, atof(longitude.data()))) { in IsSetArgValid()
806 ELOG("LocationCommand invalid longitude value: %f", atof(longitude.data())); in IsSetArgValid()
814 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in RunGet() local
818 resultContent["longitude"] = longitude; in RunGet()
826 string longitude(args["longitude"].asString()); in RunSet() local
827 SharedData<double>::SetData(SharedDataType::LONGITUDE, atof(longitude.data())); in RunSet()
831 …ILOG("Set location run finished, latitude: %s,longitude: %s", latitude.c_str(), longitude.c_str()); in RunSet()