Lines Matching refs:AsInt

196     int32_t pointX = args["x"].AsInt();
197 int32_t pointY = args["y"].AsInt();
259 int32_t pX = args["x"].AsInt();
260 int32_t pY = args["y"].AsInt();
299 int32_t pX = args["x"].AsInt();
300 int32_t pY = args["y"].AsInt();
464 if (args["originWidth"].AsInt() < minWidth || args["originWidth"].AsInt() > maxWidth ||
465 args["originHeight"].AsInt() < minWidth || args["originHeight"].AsInt() > maxWidth ||
466 args["width"].AsInt() < minWidth || args["width"].AsInt() > maxWidth ||
467 args["height"].AsInt() < minWidth || args["height"].AsInt() > maxWidth) {
471 if (args["screenDensity"].AsInt() < minDpi || args["screenDensity"].AsInt() > maxDpi) {
480 int32_t originWidth = args["originWidth"].AsInt();
481 int32_t originHeight = args["originHeight"].AsInt();
482 int32_t width = args["width"].AsInt();
483 int32_t height = args["height"].AsInt();
484 int32_t screenDensity = args["screenDensity"].AsInt();
622 int width = previewParam["width"].AsInt();
623 int height = previewParam["height"].AsInt();
624 int dpi = previewParam["dpi"].AsInt();
981 static_cast<uint8_t>(args["BrightnessMode"].AsInt()));
983 ILOG("Set brightnessMode run finished, the value is: %d", args["BrightnessMode"].AsInt());
996 uint8_t temp = static_cast<uint8_t>(args["BrightnessMode"].AsInt());
1020 static_cast<uint8_t>(args["ChargeMode"].AsInt()));
1022 ILOG("Set chargeMode run finished, the value is: %d", args["ChargeMode"].AsInt());
1035 uint8_t temp = static_cast<uint8_t>(args["ChargeMode"].AsInt());
1059 static_cast<uint8_t>(args["Brightness"].AsInt()));
1062 ILOG("Set brightness run finished, the value is: %d", args["Brightness"].AsInt());
1075 uint8_t temp = static_cast<uint8_t>(args["Brightness"].AsInt());
1099 static_cast<uint8_t>(args["HeartRate"].AsInt()));
1101 ILOG("Set heartRate run finished, the value is: %d", args["HeartRate"].AsInt());
1114 if (args["HeartRate"].AsInt() > UINT8_MAX) {
1118 uint8_t temp = static_cast<uint8_t>(args["HeartRate"].AsInt());
1142 static_cast<uint32_t>(args["StepCount"].AsInt()));
1144 ILOG("Set stepCount run finished, the value is: %d", args["StepCount"].AsInt());
1280 if (args["frequency"].AsInt() < 0) {
1290 int frequency = args["frequency"].AsInt();
1331 if (args["keyAction"].AsInt() < minActionVal || args["keyAction"].AsInt() > maxActionVal) {
1335 int keyCode = args["keyCode"].AsInt();
1346 int pressedCode = arrayNum.GetArrayItem(i).AsInt();
1369 unsigned int codePoint = args["codePoint"].AsInt();
1374 int32_t keyCode = args["keyCode"].AsInt();
1375 int32_t keyAction = args["keyAction"].AsInt();
1379 pressedCodesVec.push_back(pressedCodes.GetArrayItem(i).AsInt());
1419 int32_t pointX = args["x"].AsInt();
1420 int32_t pointY = args["y"].AsInt();
1421 int32_t button = args["button"].AsInt();
1422 int32_t action = args["action"].AsInt();
1423 int32_t sourceType = args["sourceType"].AsInt();
1424 int32_t sourceTool = args["sourceTool"].AsInt();
1460 if (!val.IsInt() || val.AsInt() < -1) {
1463 param.pressedBtnsVec.insert(val.AsInt());
1474 param.button = args["button"].AsInt();
1475 param.action = args["action"].AsInt();
1476 param.sourceType = args["sourceType"].AsInt();
1477 param.sourceTool = args["sourceTool"].AsInt();
1499 if (args["width"].AsInt() < minWidth || args["width"].AsInt() > maxWidth ||
1500 args["height"].AsInt() < minWidth || args["height"].AsInt() > maxWidth) {
1515 int32_t width = args["width"].AsInt();
1516 int32_t height = args["height"].AsInt();
1566 if (val["posX"].AsInt() < 0 || val["posY"].AsInt() < 0 ||
1577 AvoidRect topRect = AvoidRect(topRectObj["posX"].AsInt(), topRectObj["posY"].AsInt(),
1580 AvoidRect bottomRect = AvoidRect(bottomRectObj["posX"].AsInt(), bottomRectObj["posY"].AsInt(),
1583 AvoidRect leftRect = AvoidRect(leftRectObj["posX"].AsInt(), leftRectObj["posY"].AsInt(),
1586 AvoidRect rightRect = AvoidRect(rightRectObj["posX"].AsInt(), rightRectObj["posY"].AsInt(),