Home
last modified time | relevance | path

Searched refs:bottomRect (Results 1 - 5 of 5) sorted by relevance

/ide/tools/previewer/jsapp/
H A DJsApp.h74 AvoidRect bottomRect { 0, 0, 0, 0 };
76 AvoidAreas() : topRect(0, 0, 0, 0), leftRect(0, 0, 0, 0), rightRect(0, 0, 0, 0), bottomRect(0, 0, 0, 0) {} in AvoidAreas()
79 leftRect(left), rightRect(right), bottomRect(bottom) {} in AvoidAreas()
82 rightRect(other.rightRect), bottomRect(other.bottomRect) {} in AvoidAreas()
87 rightRect == a.rightRect && bottomRect == a.bottomRect); in operator ==()
96 this->bottomRect = other.bottomRect; in operator =()
/ide/tools/previewer/test/fuzztest/commandparse_fuzzer/
H A DRichCommandParseFuzzer.cpp52 {"AvoidArea", R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":{"posX":
/ide/tools/previewer/test/unittest/cli/
H A DCommandLineTest.cpp1654 std::string msg1 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect": in TEST_F()
1655 {"bottomRect":0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0}})"; in TEST_F()
1662 std::string msg2 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":{"bottomRect": in TEST_F()
1669 std::string msg3 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect": in TEST_F()
1670 {"bottomRect":0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0}, in TEST_F()
1677 std::string msg4 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect": in TEST_F()
1678 {"bottomRect":0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0}, in TEST_F()
1685 std::string msg5 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":{"bottomRect" in TEST_F()
[all...]
/ide/tools/previewer/cli/
H A DCommandLine.cpp1532 if (args.IsNull() || !args.IsMember("topRect") || !args.IsMember("bottomRect") || in IsSetArgValid()
1537 if (!args["topRect"].IsObject() || !args["bottomRect"].IsObject() || !args["leftRect"].IsObject() in IsSetArgValid()
1543 Json2::Value bottomRect = args.GetValue("bottomRect"); in IsSetArgValid() local
1546 if (!IsObjectValid(topRect) || !IsObjectValid(bottomRect) || in IsSetArgValid()
1579 Json2::Value bottomRectObj = args.GetValue("bottomRect"); in RunSet()
1580 AvoidRect bottomRect = AvoidRect(bottomRectObj["posX"].AsInt(), bottomRectObj["posY"].AsInt(), in RunSet() local
1588 JsAppImpl::GetInstance().SetAvoidArea(AvoidAreas(topRect, leftRect, rightRect, bottomRect)); in RunSet()
/ide/tools/previewer/jsapp/rich/
H A DJsAppImpl.cpp979 statusArea->bottomRect_ = {0, deviceHeight - avoidInitialAreas.bottomRect.height, in CalculateAvoidAreaByType()
980 deviceWidth, avoidInitialAreas.bottomRect.height}; in CalculateAvoidAreaByType()
986 UpdateAvoidArea2Ide("bottomRect", statusArea->bottomRect_); in CalculateAvoidAreaByType()

Completed in 13 milliseconds