Searched refs:ModuleColorMode (Results 1 – 9 of 9) sorted by relevance
27 enum class ModuleColorMode { enum59 ModuleColorMode colorMode = ModuleColorMode::AUTO;
192 bool result = colormode == static_cast<int>(ModuleColorMode::AUTO); in GetColorModeCase1()198 SetColorMode((int)ModuleColorMode::DARK); in SetColorModeCase1()200 bool result = colormode == static_cast<int>(ModuleColorMode::DARK); in SetColorModeCase1()
1106 if (mode == static_cast<int>(ModuleColorMode::DARK)) { in SetColorMode()1107 hapModInfo->colorMode = ModuleColorMode::DARK; in SetColorMode()1108 } else if (mode == static_cast<int>(ModuleColorMode::LIGHT)) { in SetColorMode()1109 hapModInfo->colorMode = ModuleColorMode::LIGHT; in SetColorMode()1111 hapModInfo->colorMode = ModuleColorMode::AUTO; in SetColorMode()
64 int testValue = static_cast<int>(OHOS::AppExecFwk::ModuleColorMode::DARK);80 int testValue = static_cast<int>(OHOS::AppExecFwk::ModuleColorMode::DARK);96 int testValue = static_cast<int>(OHOS::AppExecFwk::ModuleColorMode::DARK);112 int testValue = static_cast<int>(OHOS::AppExecFwk::ModuleColorMode::DARK);
288 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
75 ModuleColorMode colorMode = ModuleColorMode::AUTO;
65 const std::map<std::string, ModuleColorMode> moduleColorMode = {66 {"auto", ModuleColorMode::AUTO},67 {"dark", ModuleColorMode::DARK},68 {"light", ModuleColorMode::LIGHT},
499 GetValueIfFindKey<ModuleColorMode>(jsonObject, in from_json()
95 const ModuleColorMode COLOR_MODE = ModuleColorMode::AUTO;