Lines Matching refs:width

140         JsAppImpl::GetInstance().width = 0;
147 EXPECT_EQ(JsAppImpl::GetInstance().width, 0);
150 std::string jsonStr = R"({"aaaaa":1080,"originHeight":2340,"width":1080,"height":2340,"screenDensity":480})";
154 EXPECT_NE(JsAppImpl::GetInstance().width, 1080);
161 JsAppImpl::GetInstance().width = 0;
164 std::string jsonStr = R"({"originWidth":"1080","originHeight":2340,"width":1080,
169 EXPECT_NE(JsAppImpl::GetInstance().width, 1080);
172 JsAppImpl::GetInstance().width = 0;
174 std::string jsonStr1 = R"({"originWidth" : 1080, "originHeight" : 2340, "width" : 1080,
179 EXPECT_EQ(JsAppImpl::GetInstance().width, 0);
186 JsAppImpl::GetInstance().width = 0;
189 std::string jsonStr = R"({"originWidth":5000,"originHeight":2340,"width":1080,
194 EXPECT_NE(JsAppImpl::GetInstance().width, 1080);
197 JsAppImpl::GetInstance().width = 0;
199 std::string jsonStr1 = R"({"originWidth" : 1080, "originHeight" : 2340, "width" : 1080,
204 EXPECT_EQ(JsAppImpl::GetInstance().width, 0);
207 JsAppImpl::GetInstance().width = 0;
209 std::string jsonStr4 = R"({"originWidth" : 1080, "originHeight" : 2340, "width" : 1080,
214 EXPECT_EQ(JsAppImpl::GetInstance().width, 0);
217 JsAppImpl::GetInstance().width = 0;
219 std::string jsonStr5 = R"({"originWidth" : 1080, "originHeight" : 2340, "width" : 1080,
224 EXPECT_EQ(JsAppImpl::GetInstance().width, 0);
231 JsAppImpl::GetInstance().width = 0;
234 std::string jsonStr = R"({"originWidth" : 1080, "originHeight" : 2340, "width" : 1080,
239 EXPECT_EQ(JsAppImpl::GetInstance().width, 1080);
366 std::string msg = R"({"url":"pages/Index","className":"Index","previewParam":{"width":1080,
379 std::string msg = R"({"url" : "pages/Index", "className" : "Index", "previewParam" : {"width" : 1080,
393 std::string msg = R"({"url" : "pages/Index", "className" : "Index", "previewParam" : {"width" : 1080,
403 std::string msg1 = R"({"url" : "pages/Index", "className" : "Index", "previewParam" : {"width" : 1080,
412 std::string msg2 = R"({"url" : "pages/Index", "className" : "Index", "previewParam" : {"width" : 1080,
421 std::string msg3 = R"({"url" : "pages/Index", "className" : "Index", "previewParam" : {"width" : 1080,
435 std::string msg = R"({"url":"pages/Index","className":"Index","previewParam":{"width":1080,
445 msg = R"({"url":"pages/Index","className":"Index","previewParam":{"width":1080,
712 std::string msg1 = R"({"FoldStatus":100,"width":1080,"height":2504})";
715 JsAppImpl::GetInstance().width = 0;
718 EXPECT_NE(JsAppImpl::GetInstance().width, 1080); // 1080 is test width
724 JsAppImpl::GetInstance().width = 0;
727 EXPECT_NE(JsAppImpl::GetInstance().width, 1080); // 1080 is test width
736 std::string msg1 = R"({"FoldStatus":"fold","width":1080,"height":4000})";
739 JsAppImpl::GetInstance().width = 0;
742 EXPECT_NE(JsAppImpl::GetInstance().width, 1080); // 1080 is test width
748 JsAppImpl::GetInstance().width = 0;
751 EXPECT_NE(JsAppImpl::GetInstance().width, 1080); // 1080 is test width
759 std::string msg1 = R"({"FoldStatus":"fold","width":1080,"height":2504})";
762 JsAppImpl::GetInstance().width = 0;
765 EXPECT_EQ(JsAppImpl::GetInstance().width, 1080); // 1080 is test width
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},
1671 "rightRect":{"posX":0,"posY":0,"width":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,
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,
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,