Home
last modified time | relevance | path

Searched refs:themeArray (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-with-theme.md182 themeArray: (CustomTheme | undefined)[] = [
211 WithTheme({ theme: this.themeArray[this.themeIndex] }) {
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-with-theme.md168 themeArray: (CustomTheme | undefined)[] = [
197 WithTheme({ theme: this.themeArray[this.themeIndex] }) {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.cpp794 static std::array<std::string, 2> themeArray = { "", "dark" }; in GetResImageUrl() local
798 auto iter = imageUrlMap_.find(splitStr + themeArray[mode]); in GetResImageUrl()
804 …auto jsonFile = std::string(RESOURCES_FOLDER) + "res-" + themeArray[mode] + (themeArray[mode].empt… in GetResImageUrl()
808 if (!themeArray[mode].empty() && imagePath.empty()) { in GetResImageUrl()
810 …std::string(RESOURCES_FOLDER) + "res-" + themeArray[mode] + "-" + "defaults" + std::string(FILE_TY… in GetResImageUrl()
814 if (!themeArray[mode].empty() && imagePath.empty()) { in GetResImageUrl()
815 …jsonFile = std::string(RESOURCES_FOLDER) + "res-" + themeArray[mode] + std::string(FILE_TYPE_JSON); in GetResImageUrl()
824 imageUrlMap_.emplace(splitStr + themeArray[mode], imagePath); in GetResImageUrl()