Searched refs:rectJson (Results 1 – 4 of 4) sorted by relevance
354 nlohmann::json rectJson; variable357 rectJson["dirtySize"] = 2;361 rectJson["dataType"] = 2;365 rectJson["dataType"] = 2;368 rectJson["dirtySize"] = 2;369 rectJson["dataType"] = 2;370 rectJson["3"] = 2;374 rectJson["0"] = testJson;385 rectJson["0"][KEY_POINT_DIRTY_H] = 2;388 rectJson["0"][KEY_POINT_DIRTY_W] = 2;[all …]
220 nlohmann::json rectJson; in SendDirtyData() local221 DirtyVecToJson(rectJson, screenData); in SendDirtyData()223 std::string rectInfo = rectJson.dump(); in SendDirtyData()343 if (rectJson.is_discarded()) { in ProcessDirtyData()347 JsonToDirtyJson(rectJson, dataBuffer); in ProcessDirtyData()354 rectJson["dataType"] = screenData->DataType(); in DirtyVecToJson()355 rectJson["dirtySize"] = dirtyRectVec.size(); in DirtyVecToJson()372 if (!IsInt32(rectJson, "dirtySize") || !IsInt32(rectJson, "dataType")) { in JsonToDirtyJson()383 if (!rectJson.contains(item)) { in JsonToDirtyJson()386 … if (!IsInt32(rectJson[item], KEY_POINT_DIRTY_X) || !IsInt32(rectJson[item], KEY_POINT_DIRTY_Y) || in JsonToDirtyJson()[all …]
112 auto& rectJson = jsonComponent[JsonTagConstants::JSON_RECT]; variable113 rectJson[JsonTagConstants::JSON_RECT_X] = WRONG_TYPE;116 rectJson[JsonTagConstants::JSON_RECT_X] = TestCommon::TEST_COORDINATE;117 rectJson[JsonTagConstants::JSON_RECT_Y] = WRONG_TYPE;121 rectJson[JsonTagConstants::JSON_RECT_WIDTH] = WRONG_TYPE;125 rectJson[JsonTagConstants::JSON_RECT_HEIGHT] = WRONG_TYPE;147 auto& rectJson = jsonComponent[JsonTagConstants::JSON_WINDOW_RECT]; variable148 rectJson[JsonTagConstants::JSON_RECT_X] = WRONG_TYPE;152 rectJson[JsonTagConstants::JSON_RECT_Y] = WRONG_TYPE;156 rectJson[JsonTagConstants::JSON_RECT_WIDTH] = WRONG_TYPE;[all …]
50 void DirtyVecToJson(nlohmann::json &rectJson, const std::shared_ptr<DataBuffer> &screenData);51 void JsonToDirtyJson(nlohmann::json &rectJson, std::shared_ptr<DataBuffer> &screenData);