Home
last modified time | relevance | path

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

/ide/tools/previewer/jsapp/
H A DJsApp.h71 AvoidRect topRect { 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()
78 AvoidAreas(AvoidRect top, AvoidRect left, AvoidRect right, AvoidRect bottom) : topRect(top), in AvoidAreas()
81 AvoidAreas(const AvoidAreas& other) : topRect(other.topRect), leftRect(other.leftRect), in AvoidAreas()
86 return (topRect == a.topRect && leftRect == a.leftRect && in operator ==()
93 this->topRect = other.topRect; 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()
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()
1677 std::string msg4 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect": in TEST_F()
1685 std::string msg5 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":{"bottomRect": in TEST_F()
1693 std::string msg6 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":{"bottomRect": in TEST_F()
1706 std::string msg1 = R"({"topRect" : {"posX" :0, "posY" : 0, "width" : 2340, "height" : 117}, in TEST_F()
1716 std::string msg2 = R"({"topRect" : {"posX" :0, "posY" : 0, "width" : 2340, "height" : 117}, in TEST_F()
1727 std::string msg3 = R"({"topRect" : {"posX" :0, "posY" : 0, "width" : 2340, "height" : 117}, in TEST_F()
/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()
1542 Json2::Value topRect = args.GetValue("topRect"); in IsSetArgValid() local
1546 if (!IsObjectValid(topRect) || !IsObjectValid(bottomRect) || in IsSetArgValid()
1576 Json2::Value topRectObj = args.GetValue("topRect"); in RunSet()
1577 AvoidRect topRect = AvoidRect(topRectObj["posX"].AsInt(), topRectObj["posY"].AsInt(), in RunSet() local
1588 JsAppImpl::GetInstance().SetAvoidArea(AvoidAreas(topRect, leftRect, rightRect, bottomRect)); in RunSet()
/ide/tools/previewer/jsapp/rich/
H A DJsAppImpl.cpp970 statusArea->topRect_ = {0, 0, deviceWidth, avoidInitialAreas.topRect.height}; in CalculateAvoidAreaByType()
976 UpdateAvoidArea2Ide("topRect", statusArea->topRect_); in CalculateAvoidAreaByType()

Completed in 9 milliseconds