Lines Matching refs:height
141 JsAppImpl::GetInstance().height = 0;
148 EXPECT_EQ(JsAppImpl::GetInstance().height, 0);
150 std::string jsonStr = R"({"aaaaa":1080,"originHeight":2340,"width":1080,"height":2340,"screenDensity":480})";
155 EXPECT_NE(JsAppImpl::GetInstance().height, 2340);
162 JsAppImpl::GetInstance().height = 0;
165 "height":2340,"screenDensity":480})";
170 EXPECT_NE(JsAppImpl::GetInstance().height, 2340);
173 JsAppImpl::GetInstance().height = 0;
175 "height" : 2340, "screenDensity" : 480, "reason" : 333})";
180 EXPECT_EQ(JsAppImpl::GetInstance().height, 0);
187 JsAppImpl::GetInstance().height = 0;
190 "height":2340,"screenDensity":480})";
195 EXPECT_NE(JsAppImpl::GetInstance().height, 2340);
198 JsAppImpl::GetInstance().height = 0;
200 "height" : 2340, "screenDensity" : 480, "reason" : "aaa"})";
205 EXPECT_EQ(JsAppImpl::GetInstance().height, 0);
208 JsAppImpl::GetInstance().height = 0;
210 "height" : 2340, "screenDensity" : 100, "reason" : "resize"})";
215 EXPECT_EQ(JsAppImpl::GetInstance().height, 0);
218 JsAppImpl::GetInstance().height = 0;
220 "height" : 2340, "screenDensity" : 700, "reason" : "resize"})";
225 EXPECT_EQ(JsAppImpl::GetInstance().height, 0);
232 JsAppImpl::GetInstance().height = 0;
235 "height" : 2340, "screenDensity" : 480, "reason" : "resize"})";
240 EXPECT_EQ(JsAppImpl::GetInstance().height, 2340);
367 "height":"2340","locale":"zh_CN","colorMode":"light","orientation":"portrait",
380 "height" : 2340, "locale" : "zh_CN" , "colorMode" : "light", "orientation" : "portrait",
394 "height" : 2340, "locale" : "aa_PP", "colorMode" : "light", "orientation" : "portrait",
404 "height" : 2340, "locale" : "zh_CN", "colorMode" : "aaa", "orientation" : "portrait",
413 "height" : 2340, "locale" : "zh_CN", "colorMode" : "dark", "orientation" : "aaa",
422 "height" : 2340, "locale" : "zh_CN", "colorMode" : "dark", "orientation" : "landscape",
436 "height":2340,"locale":"zh_CN","colorMode":"light","orientation":"portrait",
446 "height":2340,"locale":"zh_CN","colorMode":"light","orientation":"portrait",
712 std::string msg1 = R"({"FoldStatus":100,"width":1080,"height":2504})";
716 JsAppImpl::GetInstance().height = 0;
719 EXPECT_NE(JsAppImpl::GetInstance().height, 2504); // 2504 is test height
720 // height error
722 args1.Replace("height", "aaa");
725 JsAppImpl::GetInstance().height = 0;
728 EXPECT_NE(JsAppImpl::GetInstance().height, 2504); // 2504 is test height
736 std::string msg1 = R"({"FoldStatus":"fold","width":1080,"height":4000})";
740 JsAppImpl::GetInstance().height = 0;
743 EXPECT_NE(JsAppImpl::GetInstance().height, 4000); // 4000 is test height
744 // height error
745 args1.Replace("height", 2504); // 2504 is test height
749 JsAppImpl::GetInstance().height = 0;
752 EXPECT_NE(JsAppImpl::GetInstance().height, 2504); // 2504 is test height
759 std::string msg1 = R"({"FoldStatus":"fold","width":1080,"height":2504})";
763 JsAppImpl::GetInstance().height = 0;
766 EXPECT_EQ(JsAppImpl::GetInstance().height, 2504); // 2504 is test height
1654 std::string msg1 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":
1655 {"bottomRect":0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0}})";
1662 std::string msg2 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":{"bottomRect":
1663 0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0},"rightRect":0})";
1669 std::string msg3 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":
1670 {"bottomRect":0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0},
1677 std::string msg4 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":
1678 {"bottomRect":0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0},
1679 "rightRect":{"posX":0,"posY":0,"width":0,"height":"350"}})";
1685 std::string msg5 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":{"bottomRect":
1686 0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0},
1687 "rightRect":{"posX":0,"posY":0,"width":-1,"height":-1}})";
1693 std::string msg6 = R"({"topRect":{"posX":0,"posY":0,"width":2340,"height":117},"bottomRect":{"bottomRect":
1694 0,"posY":0,"width":0,"height":0},"leftRect":{"posX":0,"posY":0,"width":0,"height":0},
1695 "rightRect":{"posX":0,"posY":0,"width":2340,"height":84}})";
1706 std::string msg1 = R"({"topRect" : {"posX" :0, "posY" : 0, "width" : 2340, "height" : 117},
1707 "bottomRect" : {"posX" : 0, "posY" : 0, "width" : 0, "height" : 0}, "leftRect" : {"posX" : 0,
1708 "posY" : 0, "width" : 0, "height" : 0}, "rightRect" : {"posX" : 0, "posY" : 0, "width" : 2340,
1709 "height" : "84"}})";
1716 std::string msg2 = R"({"topRect" : {"posX" :0, "posY" : 0, "width" : 2340, "height" : 117},
1717 "bottomRect" : {"posX" : 0, "posY" : 0, "width" : 0, "height" : 0}, "leftRect" : {"posX" : 0,
1718 "posY" : 0, "width" : 0, "height" : 0}, "rightRect" : {"posX" : 0, "posY" : -2, "width" : 2340,
1719 "height" : 84}})";
1727 std::string msg3 = R"({"topRect" : {"posX" :0, "posY" : 0, "width" : 2340, "height" : 117},
1728 "bottomRect" : {"posX" : 0, "posY" : 0, "width" : 0, "height" : 0}, "leftRect" : {"posX" : 0,
1729 "posY" : 0, "width" : 0, "height" : 0}, "rightRect" : {"posX" : 0, "posY" : 0, "width" : 2340,
1730 "height" : 84}})";