Home
last modified time | relevance | path

Searched refs:foldable (Results 1 - 11 of 11) sorted by relevance

/ide/tools/previewer/test/mock/window/
H A DMockWindowDisplay.cpp27 void PreviewerDisplay::SetFoldable(const bool foldable) in SetFoldable() argument
29 foldable_ = foldable; in SetFoldable()
/ide/tools/previewer/test/mock/mock/
H A DMockVirtualScreen.cpp109 return foldable; in GetFoldable()
/ide/tools/previewer/util/
H A DCommandParser.h44 bool foldable; member in FoldInfo
160 bool foldable; member in CommandParser::ScreenMode
H A DCommandParser.cpp89 Register("-foldable", 1, "Set foldable for Previewer."); in CommandParser()
909 if (!IsSet("foldable")) { in IsFoldableValid()
912 std::string val = Value("foldable"); in IsFoldableValid()
914 errorInfo = std::string("The foldable argument unsupported."); in IsFoldableValid()
915 ELOG("Launch -foldable parameters abnormal!"); in IsFoldableValid()
919 foldable = true; in IsFoldableValid()
926 if ((!IsSet("foldable")) || Value("foldable") != "true") { in IsFoldStatusValid()
942 if ((!IsSet("foldable")) || Valu in IsFoldResolutionValid()
[all...]
/ide/tools/previewer/mock/
H A DVirtualScreen.h119 bool foldable = false; member in VirtualScreen::LoadDocType::ProtocolVersion::JpgPixCountLevel::JpgQualityLevel
H A DVirtualScreen.cpp321 foldable = value; in SetFoldable()
326 return foldable; in GetFoldable()
/ide/tools/previewer/mock/rich/
H A DVirtualScreenImpl.h28 bool foldable; member in ScreenInfo
H A DVirtualScreenImpl.cpp435 info.foldable = GetFoldable(); in GetScreenInfo()
446 if (parser.IsSet("foldable")) { in InitFoldParams()
447 SetFoldable(info.foldable); in InitFoldParams()
/ide/tools/previewer/test/unittest/mock/
H A DVirtualScreenImplTest.cpp405 std::string foldable = "true"; in TEST_F() local
409 CommandParser::GetInstance().argsMap["-foldable"] = { foldable }; in TEST_F()
412 CommandParser::GetInstance().foldable = (foldable == "true"); in TEST_F()
/ide/tools/previewer/jsapp/rich/
H A DJsAppImpl.cpp208 OHOS::Previewer::PreviewerDisplay::GetInstance().SetFoldable(screenInfo.foldable); in RunJsApp()
/ide/tools/previewer/test/unittest/util/
H A DCommandParserTest.cpp114 "-foldable true "
683 auto it = std::find(validParamVec.begin(), validParamVec.end(), "-foldable"); in TEST_F()
690 *it = "-foldable"; in TEST_F()
703 // no -foldable in TEST_F()
704 auto it = std::find(validParamVec.begin(), validParamVec.end(), "-foldable"); in TEST_F()
710 // param -foldable value is false in TEST_F()
712 *it = "-foldable"; in TEST_F()
736 // no -foldable in TEST_F()
737 auto it = std::find(validParamVec.begin(), validParamVec.end(), "-foldable"); in TEST_F()
743 // param -foldable valu in TEST_F()
[all...]

Completed in 9 milliseconds